.studio.auth-shell{--auth-panel:#fffdf8e0;--auth-field:#ffffffb8;--auth-text:#28251f;--auth-muted:#756e63;--auth-line:#5e4c3029;--auth-accent:#9a7046;--auth-button:#28251f;--auth-button-text:#fffdf8;min-height:100svh;color:var(--auth-text);background:radial-gradient(ellipse at 50% 18%,#c59a571a,transparent 55%),var(--paper);font-family:var(--font-ui);flex-direction:column;font-size:16px;line-height:1.5;display:flex}[data-theme=dark] .studio.auth-shell{--auth-panel:#151514e6;--auth-field:#ffffff09;--auth-text:#f1eee8;--auth-muted:#a19b91;--auth-line:#e6d4b226;--auth-accent:#c6a47b;--auth-button:#d0b18c;--auth-button-text:#211c15;background:radial-gradient(at 50% 20%,#916e3e17,#0000 55%),#090909}.auth-shell .scripture-rain{opacity:.14;-webkit-mask-image:linear-gradient(#0000,#000 25% 70%,#0000);mask-image:linear-gradient(#0000,#000 25% 70%,#0000)}.auth-shell .auth-site-header{z-index:1;justify-content:space-between;align-items:center;gap:20px;width:100%;padding:24px 40px;display:flex;position:relative}.auth-shell .auth-site-brand{color:var(--auth-text);letter-spacing:.08em;align-items:center;gap:10px;font-size:20px;font-weight:650;display:inline-flex}.auth-shell .auth-site-brand img.tianji-mark{flex-basis:38px;width:38px;height:38px}.auth-shell .auth-header-actions{align-items:center;gap:26px;display:flex}.auth-shell .auth-back-link{color:var(--auth-muted);white-space:nowrap;align-items:center;gap:8px;font-size:13px;display:flex}.auth-shell .auth-back-link:hover{color:var(--auth-text)}.auth-shell .site-preferences{border:0;margin:0;padding:0;gap:8px!important;display:flex!important}.auth-shell .site-preferences select{width:auto;max-width:128px;min-height:34px;color:var(--auth-muted);border-color:var(--auth-line);background:0 0;border-radius:8px;padding:6px 9px;font-size:12px;line-height:1.5}.studio.auth-shell main#workspace.auth-workspace{flex:1;justify-content:center;align-items:center;width:100%;max-width:none;min-height:0;margin:0;padding:24px 24px 40px;display:flex}.auth-shell .auth-card{width:100%;max-width:436px;min-height:0;color:var(--auth-text);background:var(--auth-panel);border:1px solid var(--auth-line);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border-radius:22px;margin:0;padding:32px;animation:.35s ease-out auth-appear;display:block;box-shadow:0 18px 70px #0000000f,inset 0 1px #ffffff14}[data-theme=dark] .auth-shell .auth-card{box-shadow:0 24px 90px #00000042,inset 0 1px #ffffff09}.auth-shell .auth-card-heading{text-align:center;margin:0 0 24px;padding:0}.auth-shell .auth-heading-mark{width:40px;height:40px;color:var(--auth-accent);background:color-mix(in srgb,var(--auth-accent) 9%,transparent);border:1px solid color-mix(in srgb,var(--auth-accent) 20%,transparent);border-radius:12px;justify-content:center;align-items:center;margin-bottom:14px;display:inline-flex}.studio.auth-shell .auth-card h1{font-family:var(--font-ui);letter-spacing:-.025em;color:var(--auth-text);margin:0 0 9px;font-size:27px;font-weight:650;line-height:1.35}.studio.auth-shell .auth-card-heading p{color:var(--auth-muted);margin:0;font-size:14px;line-height:1.6}.auth-shell .auth-socials{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;display:grid}.auth-shell .auth-social{border:1px solid var(--auth-line);background:var(--auth-field);min-height:46px;color:var(--auth-text);border-radius:10px;justify-content:center;align-items:center;gap:10px;padding:10px 12px;font-size:14px;font-weight:550;line-height:1.5;transition:border-color .18s,background .18s,transform .18s;display:flex}.auth-shell .auth-social svg{flex:0 0 19px}.auth-shell .auth-social:hover{border-color:var(--auth-accent);background:color-mix(in srgb,var(--auth-accent) 7%,transparent);transform:translateY(-1px)}.auth-shell .auth-divider{color:var(--auth-muted);align-items:center;gap:12px;margin:23px 0;font-size:12px;line-height:1.5;display:flex}.auth-shell .auth-divider:before,.auth-shell .auth-divider:after{content:"";background:var(--auth-line);flex:1;height:1px}.auth-shell .auth-divider span{white-space:nowrap}.auth-shell .auth-card .auth-form{width:100%;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;border-radius:0;align-items:stretch;gap:16px;margin:0;padding:0;display:grid}.auth-shell .auth-card .auth-field{width:100%;color:var(--auth-text);flex-direction:column;gap:8px;margin:0;padding:0;font-size:13px;font-weight:500;line-height:1.5;display:flex}.auth-shell .auth-field-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.auth-shell .auth-field-heading label{color:var(--auth-text);margin:0;padding:0;font-size:13px;line-height:1.5;display:block}.auth-shell .auth-card input{border:1px solid var(--auth-line);background:var(--auth-field);width:100%;min-width:0;height:46px;min-height:46px;color:var(--auth-text);font:400 16px/1.5 var(--font-ui);box-shadow:none;border-radius:10px;margin:0;padding:11px 13px;transition:border-color .18s,box-shadow .18s}.auth-shell .auth-card input::placeholder{color:var(--auth-muted);opacity:.68;font-size:14px}.auth-shell .auth-card input:focus{border-color:var(--auth-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--auth-accent) 12%,transparent);outline:none}.auth-shell .auth-password-wrap{width:100%;min-width:0;display:block;position:relative}.auth-shell .auth-password-wrap input{padding-right:47px}.auth-shell .auth-card button{width:auto;font-family:var(--font-ui);box-shadow:none;margin:0;line-height:1.5}.auth-shell .auth-card .auth-password-toggle{width:42px;height:42px;color:var(--auth-muted);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:2px;right:2px}.auth-shell .auth-card .auth-password-toggle:hover{background:color-mix(in srgb,var(--auth-accent) 8%,transparent);color:var(--auth-text)}.auth-shell .auth-card .auth-text-action{min-height:32px;color:var(--auth-accent);white-space:nowrap;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;gap:5px;padding:0;font-size:13px;font-weight:550;display:inline-flex}.auth-shell .auth-card .auth-text-action:hover{color:var(--auth-text);text-underline-offset:4px;background:0 0;text-decoration:underline}.auth-shell .auth-card .auth-submit{background:var(--auth-button);width:100%;min-height:46px;color:var(--auth-button-text);border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:9px;margin-top:3px;padding:11px 16px;font-size:15px;font-weight:650;transition:filter .18s,transform .18s,box-shadow .18s;display:flex}.auth-shell .auth-card .auth-submit:hover:not(:disabled){background:var(--auth-button);filter:brightness(1.08);box-shadow:0 4px 15px #0000001f}.auth-shell .auth-card .auth-submit:active:not(:disabled){transform:translateY(1px)}.auth-shell .auth-card .auth-submit:disabled{opacity:.48}.auth-shell .auth-mode-footer{color:var(--auth-muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:22px 0 0;font-size:13px;line-height:1.6;display:flex}.auth-shell .auth-code-row{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.auth-shell .auth-card .auth-send-code{border:1px solid var(--auth-line);background:color-mix(in srgb,var(--auth-accent) 7%,transparent);min-width:108px;height:46px;color:var(--auth-accent);white-space:nowrap;border-radius:10px;padding:10px 12px;font-size:13px}.auth-shell .auth-card .auth-send-code:hover:not(:disabled){border-color:var(--auth-accent);background:color-mix(in srgb,var(--auth-accent) 12%,transparent)}.auth-shell .auth-method-switch{border:1px solid var(--auth-line);background:var(--auth-field);border-radius:10px;grid-template-columns:1fr 1fr;gap:4px;margin:0 0 2px;padding:4px;display:grid}.auth-shell .auth-card .auth-method-switch button{min-height:35px;color:var(--auth-muted);background:0 0;border:0;border-radius:7px;padding:7px 10px;font-size:13px}.auth-shell .auth-card .auth-method-switch button[aria-pressed=true]{background:color-mix(in srgb,var(--auth-accent) 13%,transparent);color:var(--auth-text)}.auth-shell .auth-verification{min-width:0;max-width:100%}.auth-shell .turnstile-verification{flex-direction:column;align-items:center;gap:8px;max-width:100%;margin:1px 0;display:flex}.auth-shell .turnstile-verification>div{width:100%;min-height:65px}.auth-shell .turnstile-verification p{font-size:12px;line-height:1.6}.studio.auth-shell .auth-error,.studio.auth-shell .auth-notice{border-radius:9px;margin:0;padding:10px 12px;font-size:13px;line-height:1.6}.auth-shell .auth-error{color:#c85f4c;background:#c14a3414;border:1px solid #c14a342e}.auth-shell .auth-notice{color:var(--auth-accent);background:color-mix(in srgb,var(--auth-accent) 8%,transparent);border:1px solid var(--auth-line)}.auth-shell .auth-site-footer{width:min(100%,1040px);color:var(--auth-muted);justify-content:space-between;align-items:center;gap:16px;margin:0 auto;padding:18px 32px 24px;font-size:12px;line-height:1.5;display:flex}.auth-shell .auth-site-footer nav{gap:20px;display:flex}.auth-shell .auth-site-footer a:hover{color:var(--auth-text)}@keyframes auth-appear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (max-width:600px){.auth-shell .auth-site-header{align-items:flex-start;gap:12px;padding:18px 20px}.auth-shell .auth-site-brand{gap:7px;font-size:18px}.auth-shell .auth-site-brand img.tianji-mark{flex-basis:32px;width:32px;height:32px}.auth-shell .auth-header-actions{flex-direction:column;align-items:flex-end;gap:10px}.auth-shell .auth-back-link{font-size:12px}.auth-shell .site-preferences select{max-width:112px;min-height:30px;padding:5px 7px;font-size:11px}.studio.auth-shell main#workspace.auth-workspace{align-items:center;padding:12px 16px 24px}.auth-shell .auth-card{border-radius:18px;max-width:408px;padding:26px 24px}.auth-shell .auth-card-heading{margin-bottom:22px}.studio.auth-shell .auth-card h1{font-size:25px}.auth-shell .auth-site-footer{padding:14px 20px 22px;font-size:11px}}@media (max-width:380px){.auth-shell .auth-site-header{gap:8px;padding:18px 16px}.auth-shell .auth-site-brand{gap:6px;font-size:16px}.auth-shell .auth-site-brand img.tianji-mark{flex-basis:28px;width:28px;height:28px}.auth-shell .site-preferences select{min-width:0;max-width:92px;padding:5px}.auth-shell .site-preferences{gap:5px!important}.auth-shell .auth-card{padding:24px 18px}.auth-shell .auth-socials{grid-template-columns:1fr 1fr;gap:8px}.auth-shell .auth-social{gap:7px;padding:10px 6px;font-size:13px}.auth-shell .auth-social:only-child{grid-column:1/-1}.auth-shell .auth-card .auth-send-code{min-width:96px;padding:10px 8px;font-size:12px}}@media (prefers-reduced-motion:reduce){.auth-shell .auth-card{animation:none}.auth-shell .auth-social,.auth-shell .auth-card input,.auth-shell .auth-card .auth-submit{transition:none;transform:none}}@media (prefers-reduced-transparency:reduce){.auth-shell .auth-card{background:var(--paper);-webkit-backdrop-filter:none}}.auth-shell .auth-registration-rule{border:1px solid var(--auth-line);background:var(--auth-field);border-radius:10px;margin:0 0 20px;padding:14px}.auth-shell .auth-registration-rule p,.auth-shell .auth-registration-note{color:var(--auth-muted);margin:0 0 12px;font-size:12px;line-height:1.7}.auth-shell .auth-registration-rule .auth-field{font-size:12px}.auth-shell .auth-registration-note{border:1px solid var(--auth-line);border-radius:8px;margin-bottom:18px;padding:10px 12px}.auth-shell .auth-password-hint{color:var(--auth-muted);margin-top:7px;font-size:12px;line-height:1.6;display:block}
.studio .studio-logo{flex-shrink:0;align-items:center;gap:8px;min-width:0;min-height:56px;display:flex}.studio .studio-logo img.tianji-mark{object-fit:contain;flex:0 0 48px;width:48px;max-width:none;height:48px}.studio .studio-logo>.site-brand-copy{align-items:center;gap:6px;min-width:0;display:flex}.studio .studio-logo .site-brand-copy strong{font:650 24px/1.15 var(--font-ui);letter-spacing:.025em;color:var(--ink);white-space:nowrap;display:block}.studio .studio-logo .site-brand-context{min-height:24px;font:450 11px/1.3 var(--font-ui);letter-spacing:0;white-space:nowrap;border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);border-radius:5px;justify-content:center;align-items:center;margin:0;padding:4px 5px;display:inline-flex}@media (min-width:761px){.studio .studio-rail{width:210px}.studio .studio-main{margin-left:210px}}@media (max-width:760px){.studio .studio-logo{gap:8px}.studio .studio-logo .site-brand-context{display:inline-flex}}@media (max-width:600px){html[lang=en] .studio .site-preferences{grid-area:2/1/auto/-1;justify-self:start}html[lang=en] .studio .studio-rail nav{grid-row:3}}
:root{--action-bg:#b89485;--action-hover:#c5a293;--action-active:#aa8576;--action-fg:#241d19;--action-ring:#b89485;--action-edge:#6f4d3e57;--action-highlight:#ffffff85}@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){:root{--action-bg:linear-gradient(135deg,#ffffff3b,#ffffff05),#b894856e;--action-hover:linear-gradient(135deg,#ffffff4d,#ffffff0d),#b894858c;--action-active:#b894859e}:root[data-theme=dark]{--action-bg:linear-gradient(135deg,#ffffff17,#ffffff03),#b894853d;--action-hover:linear-gradient(135deg,#ffffff21,#ffffff05),#b8948557;--action-active:#b8948566;--action-fg:#fff5ef;--action-edge:#dbbbac70;--action-highlight:#fff4ec2e}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--action-bg:linear-gradient(135deg,#ffffff17,#ffffff03),#b894853d;--action-hover:linear-gradient(135deg,#ffffff21,#ffffff05),#b8948557;--action-active:#b8948566;--action-fg:#fff5ef;--action-edge:#dbbbac70;--action-highlight:#fff4ec2e}}}.studio :is(.studio-primary,.replica-primary,button.primary,.replica-tool .primary,.bazi-cycle-list button[aria-pressed=true]),.studio .bazi-desk .ai-panel button,.studio.auth-shell .auth-card button.auth-submit,.admin-root :is(button,a).admin-primary{-webkit-backdrop-filter:blur(18px)saturate(125%);backdrop-filter:blur(18px)saturate(125%);box-shadow:inset 0 1px 0 var(--action-highlight),inset 0 -1px 0 #0000000f,0 5px 16px #0000001f;transition:background .18s,border-color .18s,box-shadow .18s;background:var(--action-bg)!important;border-color:var(--action-edge)!important;color:var(--action-fg)!important}.studio :is(.studio-primary,.replica-primary,button.primary,.replica-tool .primary,.bazi-cycle-list button[aria-pressed=true]):hover:not(:disabled),.studio .bazi-desk .ai-panel button:hover:not(:disabled),.studio.auth-shell .auth-card button.auth-submit:hover:not(:disabled),.admin-root :is(button,a).admin-primary:hover:not(:disabled){filter:none;background:var(--action-hover)!important;border-color:var(--action-edge)!important;color:var(--action-fg)!important}.studio :is(.studio-primary,.replica-primary,button.primary,.replica-tool .primary,.bazi-cycle-list button[aria-pressed=true]):active:not(:disabled),.studio .bazi-desk .ai-panel button:active:not(:disabled),.studio.auth-shell .auth-card button.auth-submit:active:not(:disabled),.admin-root :is(button,a).admin-primary:active:not(:disabled){background:var(--action-active)!important;border-color:var(--action-edge)!important;color:var(--action-fg)!important}.studio :is(.studio-primary,.replica-primary,button.primary):focus-visible,.studio.auth-shell .auth-card button.auth-submit:focus-visible,.admin-root :is(button,a).admin-primary:focus-visible{outline:2px solid var(--action-ring);outline-offset:3px}.studio .home-hero .hero-account-link{border:1px solid var(--glass-border);background:var(--glass-fallback);min-height:46px;color:var(--ink);box-shadow:inset 0 1px 0 var(--glass-highlight),0 5px 16px #00000014;border-radius:9px;justify-content:center;align-items:center;padding:12px 18px;transition:background .18s,border-color .18s;display:flex}@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.studio .home-hero .hero-account-link{background:var(--glass-fill);-webkit-backdrop-filter:blur(18px)saturate(125%);backdrop-filter:blur(18px)saturate(125%)}.studio .home-hero .hero-account-link:hover{background:var(--glass-hover)}}@media (prefers-reduced-motion:reduce){.studio :is(.studio-primary,.replica-primary,button.primary,.hero-account-link),.studio.auth-shell .auth-card button.auth-submit,.admin-root :is(button,a).admin-primary{transition:none}}
:root{--control-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238e8a84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}.studio select:not([multiple]):not([size]),.admin-root select:not([multiple]):not([size]),.studio .wheel-date-trigger{appearance:none;background-image:var(--control-chevron);background-position:right 12px center;background-repeat:no-repeat;background-size:16px 16px;padding-right:40px!important}.studio .wheel-date-trigger>.wheel-date-icon{display:none}.studio .birth-clock-fields :is(select,.wheel-date-trigger),.studio-modal .studio-field-grid :is(select,.wheel-date-trigger){box-sizing:border-box;min-height:46px;padding-block:11px;line-height:1.5}@media (forced-colors:active){.studio select:not([multiple]):not([size]),.admin-root select:not([multiple]):not([size]){appearance:auto;background-image:none}.studio .wheel-date-trigger{background-image:none}.studio .wheel-date-trigger>.wheel-date-icon{display:block}}
.studio main#workspace{--card-inset:24px}.studio main#workspace .panel:not(.bazi-chart-result),.studio main#workspace :is(.billing-summary,.bazi-feature-result,.conversation-list article,.calendar-agenda,.user-account-page>header){padding:var(--card-inset);min-width:0}.studio main#workspace .calendar-entry{padding:16px}.studio main#workspace .account-limits>span{overflow-wrap:anywhere;min-width:0;padding:12px 16px}.studio main#workspace :is(.panel,.billing-summary,.bazi-feature-result,.calendar-agenda,.conversation-list article)>:first-child{margin-top:0}.studio main#workspace :is(.panel,.billing-summary,.bazi-feature-result,.calendar-agenda,.conversation-list article)>:last-child{margin-bottom:0}.studio main#workspace .space-toolbar{border-radius:12px;grid-template-columns:minmax(200px,1fr) auto;align-items:end;gap:24px;padding:22px;display:grid}.studio .space-toolbar>.space-project-title{gap:8px;width:auto;min-width:0;display:grid}.studio .space-toolbar .eyebrow{margin:0;font-size:13px;line-height:1.5}.studio main#workspace .space-toolbar input{border:1px solid var(--glass-border,var(--line));background:var(--surface);box-sizing:border-box;border-radius:9px;width:100%;height:48px;min-height:48px;margin:0;padding:10px 16px;line-height:1.5;display:block}.studio .space-toolbar>.space-project-actions{grid-template-columns:minmax(150px,200px) 80px 112px;align-items:stretch;gap:10px;width:auto;min-width:0;display:grid}.studio main#workspace .space-project-actions :is(button,select){box-sizing:border-box;white-space:nowrap;border-radius:9px;width:100%;max-width:none;height:48px;min-height:48px;margin:0;padding:10px 14px;font-size:14px;font-weight:600;line-height:26px;display:block}.studio main#workspace .space-project-actions select{text-align:left;font-weight:400}.floor-plan-upload{border:1px dashed var(--line);background:var(--glass-fill,var(--surface));text-align:center;cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;width:100%;min-width:0;min-height:158px;margin:0;line-height:1.5;position:relative;overflow:hidden;gap:8px!important;padding:20px 12px!important;display:flex!important}.floor-plan-upload:hover{border-color:var(--action-ring,var(--accent))}.floor-plan-upload:focus-within{outline:2px solid var(--action-ring,var(--accent));outline-offset:3px}.floor-plan-upload input[type=file]{opacity:0;clip-path:inset(50%);white-space:nowrap;overflow:hidden;border:0!important;width:1px!important;height:1px!important;min-height:0!important;margin:0!important;padding:0!important;position:absolute!important}.floor-plan-upload-icon{background:var(--surface-soft);width:40px;height:40px;color:var(--ink);border-radius:10px;place-items:center;display:grid}.floor-plan-upload strong{color:var(--ink);font-size:14px;font-weight:600}.floor-plan-upload>span:not(.floor-plan-upload-icon){color:var(--muted);font-size:13px}.floor-plan-upload small{color:var(--muted);overflow-wrap:anywhere;font-size:11px;line-height:1.6}.studio .space-inspector>*{min-width:0;max-width:100%}@media (max-width:1000px){.studio main#workspace .space-toolbar{grid-template-columns:minmax(0,1fr);gap:16px}.studio .space-toolbar>.space-project-actions{grid-template-columns:minmax(0,1fr) 88px 120px;width:100%}}@media (max-width:760px){.studio main#workspace{--card-inset:18px}.studio main#workspace .space-toolbar{gap:16px;padding:16px}.studio .space-toolbar>.space-project-actions{grid-template-columns:minmax(0,1fr) 72px 100px;gap:8px}.studio main#workspace .space-project-actions :is(button,select){padding-inline:10px}}@media (max-width:420px){.studio .space-toolbar>.space-project-actions{grid-template-columns:1fr 1fr}.studio .space-project-actions>select{grid-column:1/-1}}.incense-reference-layout{grid-template-columns:minmax(260px,1fr) minmax(300px,1.5fr);gap:24px;margin-top:24px;display:grid}.incense-reference-layout>section,.incense-reading{border:1px solid var(--line);background:var(--surface);border-radius:16px;padding:24px}.incense-reference-layout label{gap:8px;margin:12px 0;display:grid}.incense-reference-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:540px;display:grid;overflow:auto}.incense-reference-list button{text-align:start;padding:12px}.incense-reference-list button[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 18%,var(--surface))}.incense-reference-list small{color:var(--muted);margin-inline-end:10px}.incense-reading svg{width:100%;max-height:220px}.reading-presentation{padding:20px 0}.reading-presentation h4{justify-content:space-between;gap:16px;display:flex}.reading-presentation section{border:1px solid var(--line);border-radius:12px;margin:12px 0;padding:16px}.reading-presentation meter{width:100%}@media (max-width:760px){.incense-reference-layout{grid-template-columns:1fr}.incense-reference-layout>section,.incense-reading{padding:18px}}.incense-reference-layout{grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);align-items:start}.incense-pattern-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:610px;padding:4px;display:grid;overflow:auto}.incense-pattern-grid button{border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--text);cursor:pointer;border-radius:12px;justify-items:center;gap:8px;padding:12px 8px;display:grid}.incense-pattern-grid button[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 14%,var(--surface));box-shadow:inset 0 0 0 1px var(--accent)}.incense-pattern-grid button img{object-fit:contain;width:100%;max-width:120px;height:112px;display:block}.incense-pattern-grid button span{flex-wrap:wrap;justify-content:center;gap:6px;font-size:14px;line-height:1.5;display:flex}.incense-pattern-grid button small{color:var(--muted)}.incense-source-diagram{object-fit:contain;border:1px solid var(--line);background:color-mix(in srgb,var(--surface) 85%,transparent);border-radius:16px;width:min(100%,300px);height:270px;margin:20px auto;display:block}.incense-reading{position:sticky;top:96px}.incense-reading h3{margin:20px 0 12px}.incense-reading p{line-height:1.85}@media (max-width:760px){.incense-reference-layout{grid-template-columns:1fr}.incense-pattern-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:380px}.incense-pattern-grid button img{height:90px}.incense-reading{position:static}.incense-source-diagram{height:230px}}@media (prefers-reduced-motion:no-preference){.incense-pattern-grid button{transition:border-color .15s,background .15s}.incense-pattern-grid button:hover{border-color:var(--accent)}}.oracle-source-diagram{border:1px solid var(--line);background:var(--surface);border-radius:16px;justify-items:center;gap:12px;margin:24px 0;padding:20px;display:grid}.oracle-source-diagram img{object-fit:contain;box-sizing:border-box;background:#fff;border-radius:8px;width:auto;max-width:100%;max-height:360px;padding:16px;display:block}.oracle-source-diagram figcaption{color:var(--muted);font-size:13px}.tarot-guide-figure{gap:12px;margin:28px 0;display:grid}.tarot-guide-figure img{object-fit:contain;background:var(--surface);border-radius:14px;width:100%;height:auto;max-height:560px;display:block}.tarot-guide-figure figcaption{color:var(--muted);font-size:13px}.tarot-reference-guide ol{gap:10px;margin:18px 0 28px;padding:0;list-style:none;display:grid}.tarot-reference-guide li{border:1px solid var(--line);border-radius:10px;padding:14px 18px}.tarot-single-guide{border:1px solid var(--line);background:var(--surface);border-radius:16px;place-items:center;width:130px;height:200px;margin:28px 0;font-size:36px;display:grid}.studio main#workspace .replica-detail{overflow-wrap:anywhere;width:100%;min-width:0;max-width:100%;margin:0;padding:clamp(20px,3vw,36px)}.studio main#workspace .replica-detail>h1{margin:20px 0 24px;line-height:1.35}.studio main#workspace .replica-detail>a:first-child{margin:0;line-height:1.6;display:inline-flex}.studio main#workspace .replica-detail>nav{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:12px 20px;margin:24px 0 0;padding-top:20px;display:flex}.studio main#workspace .replica-detail .replica-long-text{white-space:pre-wrap;overflow-wrap:anywhere}.studio main#workspace .replica-detail>img{max-width:100%;height:auto;margin:24px auto;display:block}.studio main#workspace .replica-detail .oracle-reading{min-width:0;padding:8px 0 0}.studio main#workspace .replica-detail .oracle-reading header{min-width:0}.studio main#workspace .tarot-position-reading{padding:var(--card-inset);overflow-wrap:anywhere;min-width:0}@media (max-width:760px){.studio main#workspace .replica-detail{padding:var(--card-inset)}.studio main#workspace .replica-detail>h1{margin:18px 0 20px}}.studio .studio-footer{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:16px 24px;padding:24px clamp(20px,2.4vw,32px);display:grid}.studio .studio-footer>span{overflow-wrap:anywhere;min-width:0}.studio .studio-footer>span:last-child{text-align:end}.studio .studio-footer nav{flex-wrap:wrap;gap:12px 20px;min-width:0;display:flex}.studio .studio-footer nav a{line-height:1.8;display:inline-block}@media (max-width:1000px){.studio .studio-footer{grid-template-columns:minmax(0,1fr) auto}.studio .studio-footer>span:last-child{text-align:start;grid-column:1/-1}}@media (max-width:760px){.studio .studio-footer{padding:22px 20px max(24px,env(safe-area-inset-bottom,0px));grid-template-columns:minmax(0,1fr);gap:14px;margin:28px 16px 0}.studio .studio-footer nav{gap:10px 24px}.studio .studio-footer>span:last-child{grid-column:auto}.auth-shell .auth-site-footer{padding-bottom:max(24px,env(safe-area-inset-bottom,0px));flex-direction:column;align-items:flex-start;gap:12px}.auth-shell .auth-site-footer nav{flex-wrap:wrap;gap:10px 20px;min-width:0}}
@media (max-width:760px){.studio main#workspace{padding-inline:12px}.studio main#workspace .replica-tool{min-width:0;margin-inline:0;padding:12px}.studio main#workspace .studio-result-entry{min-width:0;padding-inline:0}.studio main#workspace .bazi-reading-options{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;margin-top:24px;padding:0}.studio main#workspace .ai-panel{min-width:0;padding:14px!important}.studio main#workspace .bazi-reading-options .ai-panel{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0!important;border:0!important;border-radius:0!important;padding:0!important}.studio main#workspace .conversation-list article{min-width:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0;margin:18px 0 0;border:0!important;border-top:1px solid var(--line)!important;background:0 0!important;padding:16px 0!important}.studio main#workspace .conversation-list h3{overflow-wrap:anywhere;margin:0 0 12px;font-size:14px;line-height:1.7}.studio main#workspace .ai-output{width:100%;min-width:0;max-width:100%;box-shadow:none;letter-spacing:normal;overflow-wrap:anywhere;background:0 0;border:0;border-radius:0;margin:12px 0 0;font-size:16px;line-height:1.9;padding:0!important}.studio main#workspace .replica-detail .ai-panel{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0!important;border-left:0!important;border-right:0!important;border-radius:0!important;padding:16px 0!important}.studio main#workspace :is(article.studio-reading,.replica-detail){padding:18px 16px}.studio main#workspace .bazi-reading-options [role=tabpanel]{padding:0}.studio main#workspace .bazi-reading-options .bazi-feature-result{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border:0;padding:16px 0!important}.studio main#workspace .conversation-actions{flex-wrap:wrap;gap:10px}.studio main#workspace .conversation-actions button{max-width:100%}}
.studio{isolation:isolate;background-color:var(--paper);position:relative}.studio>.scripture-rain{z-index:0;contain:strict;opacity:1;pointer-events:none;-webkit-mask-image:none;mask-image:none}.scripture-rain>canvas{pointer-events:none;width:100%;height:100%;display:block}.studio>.studio-main{z-index:1;min-height:100vh;position:relative}.studio>.studio-rail{z-index:40}.studio.auth-shell>:is(.auth-site-header,.auth-workspace,.auth-site-footer){z-index:1;position:relative}.studio.auth-shell>.scripture-rain{opacity:.14}@media (prefers-reduced-motion:reduce){.studio>.scripture-rain{display:none}}.studio>.scripture-rain{--scripture-opacity:.27}:root[data-theme=dark] .studio>.scripture-rain{--scripture-opacity:.21}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .studio>.scripture-rain{--scripture-opacity:.21}}.studio>.studio-main>#workspace{background:color-mix(in srgb,var(--paper) 74%,transparent);background-clip:padding-box}.studio .studio-top,.studio .studio-footer{background:color-mix(in srgb,var(--paper) 94%,transparent)}.studio .studio-rail{background:color-mix(in srgb,var(--paper) 95%,transparent)}@media (max-width:760px){.studio>.studio-main>#workspace{background:color-mix(in srgb,var(--paper) 88%,transparent)}.studio>.studio-rail{position:relative}}
