/* Reference-pinned finish: Artful Tea Art. Presentation only; no business state. */
:root{--ui-ink:#1a1a1a;--ui-paper:#f7f4ed;--ui-seal:#c8402a;--ui-gold:#b08d57;--ui-line:#ded8ce;--ui-muted:#706d66;--ui-ease:cubic-bezier(.2,.7,.2,1)}
body.reference-overlay-open{overflow:hidden}
.site-header .icon-control{width:44px;min-height:44px;height:44px;border-radius:3px;transition:background .18s,color .18s}
.site-header .icon-control:hover{background:var(--secondary);color:var(--primary)}
.reference-dialog .dialog-close{display:grid;place-items:center;width:44px;height:44px;min-height:44px;right:8px;top:8px;padding:12px;border-radius:3px}
.reference-dialog .dialog-close:hover{background:var(--secondary);color:var(--ink)}
.reference-dialog[open]{animation:ui-dialog-in .18s var(--ui-ease)}
.reference-dialog::backdrop{background:rgb(26 26 26 / .62)}
#reference-search[open]{display:flex;flex-direction:column;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:28px;overflow:hidden}
#reference-search>h2{padding-right:36px;margin-bottom:8px;flex-shrink:0}
#reference-search>p{margin-bottom:20px;flex-shrink:0}
.reference-search-form{flex-shrink:0;margin-bottom:16px;align-items:stretch}
.reference-search-form input{flex:1;box-sizing:border-box;min-height:48px;font-size:16px}
#global-search-go{flex:0 0 72px;min-width:72px;min-height:48px;white-space:nowrap;padding:10px 16px;margin:0}
#reference-search-results{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#reference-search-results>p{font-size:12px;line-height:1.8;color:var(--muted-foreground);margin:0 0 12px}
.reference-dialog .search-result{padding:0}
.reference-dialog .search-hit{display:flex;align-items:center;gap:16px;width:100%;padding:12px 6px;min-height:72px;color:var(--ink);border-radius:3px}
.reference-dialog .search-hit:hover{background:var(--secondary)}
.search-hit img{width:48px;height:48px;object-fit:cover;border-radius:3px;background:var(--ink);flex-shrink:0}
.search-hit-copy{flex:1;min-width:0}
.search-hit-copy strong{display:block;font:500 16px/1.6 var(--font-display);overflow-wrap:anywhere}
.search-hit-copy small{display:block;color:var(--muted-foreground);font-size:11px;margin-top:2px}
.search-hit>.ui-icon{color:var(--gold);width:18px;height:18px}
.search-empty{padding:28px 8px;text-align:center;border-block:1px solid var(--border)}
.search-empty .ui-icon{width:28px;height:28px;color:var(--gold);margin-bottom:10px}
.search-empty h3{margin:0 0 8px;font-size:20px}.search-empty p{font-size:13px;line-height:1.8;color:var(--muted-foreground)}
#reference-nav nav a{min-height:48px;display:flex;align-items:center;padding:10px 4px;border-bottom:1px solid var(--border);transition:color .18s}
#reference-nav nav a[aria-current="page"]{color:var(--primary)}
#reference-nav nav a:hover{color:var(--primary)}
#reference-nav nav a>.ui-icon{width:16px;height:16px;margin-left:auto;color:var(--gold)}
#reference-nav nav a:last-child{margin-top:12px;border:0}
.account-guest-services{margin-top:48px}
.reference-account #auth-modes{gap:0;border-bottom:1px solid var(--border)}
.reference-account #auth-modes button{background:none;color:var(--muted-foreground);border:0;border-bottom:2px solid transparent;border-radius:0;min-height:48px;padding:10px 18px;margin:0;flex:1;white-space:nowrap}
.reference-account #auth-modes button[aria-pressed="true"]{color:var(--ink);border-bottom-color:var(--primary)}
.reference-account #form>label:first-child{margin-top:0}
.reference-account #form>#submit{width:100%;min-height:48px;margin-top:12px}
.reference-account #status:not(:empty){max-width:512px;margin:16px auto;padding:14px 18px;border-left:2px solid var(--primary);background:var(--secondary);font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.reference-account .account-disclosure>summary{min-height:44px;transition:color .18s}
.reference-account .account-disclosure>summary:hover{color:var(--primary)}
.reference-account .account-disclosure[open]>summary .ui-icon{transform:rotate(90deg)}
.reference-account .account-disclosure>summary .ui-icon{transition:transform .18s}
.reference-account .account-profile-action.secondary:hover{background:var(--secondary);color:var(--ink);border-color:var(--gold)}
/* Work surfaces share the reference identity with denser task typography. */
body.console-page{background:var(--ui-paper);background-image:none}
body.console-page .console-header{min-height:80px;padding:16px 28px;background:var(--ui-paper)}
.console-header .brand{gap:12px}.console-header .brand-seal{display:grid;place-items:center;width:32px;height:37px;flex-shrink:0;background:var(--ui-seal);color:var(--ui-paper);font:21px 'Noto Serif SC',serif;border-radius:2px;outline:1px solid var(--ui-paper);outline-offset:-4px}
.console-header .brand small{font-size:10px;letter-spacing:1px;margin-top:3px}
body.console-page .console-layout{grid-template-columns:220px minmax(0,1fr)}
body.console-page #console-nav{position:sticky;top:0;max-height:100dvh;overflow:auto;padding:20px 16px;background:var(--ui-paper);border-right:1px solid var(--ui-line);min-height:calc(100dvh - 80px);gap:0;align-items:stretch;scrollbar-width:thin}
.console-nav-group{margin:0 0 20px}.console-nav-group:last-child{margin-bottom:0}
.console-nav-group>p{margin:0 12px 8px;font-size:11px;letter-spacing:1px;color:var(--ui-muted)}
body.console-page #console-nav a{display:flex;align-items:center;min-height:44px;padding:10px 12px;margin:2px 0;border:0;border-left:2px solid transparent;color:var(--ui-ink);border-radius:3px;font-size:14px;line-height:1.6;transition:background .18s,color .18s}
body.console-page #console-nav a:hover{background:#eeeae1;color:var(--ui-seal)}
body.console-page #console-nav a{justify-content:flex-start;text-align:left}
body.console-page #console-nav a.active{border-left-color:var(--ui-seal);background:#eeeae1;color:var(--ui-seal);font-weight:500}
body.console-page .console-layout main{background:var(--ui-paper);padding:28px 32px 48px}
body.console-page .console-heading{padding-bottom:20px;border-bottom:1px solid var(--ui-line);margin-bottom:24px}
body.console-page #workspace{position:relative;min-height:160px;transition:opacity .15s}
body.console-page #workspace[aria-busy="true"]{opacity:.45;pointer-events:none}
body.console-page #console-status:empty{display:none}
body.console-page #console-status{padding:12px 16px;margin:0 0 18px;border:1px solid var(--ui-line);background:#eeeae1;font-size:14px;line-height:1.8}
body.console-page #console-status[data-loading="true"]{display:flex;gap:10px;align-items:center}
body.console-page #console-status[data-loading="true"]::before{content:'';display:block;flex:0 0 14px;height:14px;border:1.5px solid var(--ui-line);border-top-color:var(--ui-gold);border-radius:50%;animation:ui-spin .8s linear infinite}
body.console-page #workspace .task-workbench>h2{margin-top:0}
body.console-page .task-queues{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;border-top:0}
body.console-page .task-queues article{padding:24px 0;gap:16px;min-width:0}
body.console-page .task-queues h3{font:500 18px/1.5 'Noto Sans SC',sans-serif}
body.console-page .task-queues p{font-size:13px;line-height:1.7}
body.console-page .task-queues button{min-width:76px;background:transparent;border:1px solid var(--ui-line);color:var(--ui-ink);gap:4px}
body.console-page .task-queues button:hover{border-color:var(--ui-gold);background:#eeeae1}
body.console-page .task-queues button span{font-size:11px;color:var(--ui-muted)}
body.console-page .table-wrap{border-radius:4px;border-color:var(--ui-line);background:#fcfbf8}
body.console-page table th{font-size:12px;letter-spacing:.4px;color:var(--ui-muted);background:#eeeae1;font-weight:500}
body.console-page table tbody tr:hover{background:#f7f4ed}
body.console-page .console-layout button{transition:background .18s,border-color .18s,color .18s}
body.console-page #editor{border:1px solid var(--ui-line);border-radius:6px;box-shadow:0 24px 80px rgb(26 26 26 / .2)}
body.console-page #editor[open],body.console-page #access-result[open]{animation:ui-dialog-in .18s var(--ui-ease)}
body.console-page #editor .editor-heading{padding:18px 24px;background:#fcfbf8;align-items:center}
body.console-page #editor .editor-heading h2{font:500 22px/1.5 'Noto Serif SC',serif}
body.console-page #editor-fields{gap:20px 24px}
body.console-page #editor-fields label{margin:0;gap:8px;font-size:14px;line-height:1.6}
body.console-page #editor input,body.console-page #editor select{box-sizing:border-box;min-height:44px;font-size:16px;padding:10px 12px;margin:0}
body.console-page #editor .editor-actions{background:#fcfbf8}
body.console-page #editor input[type="checkbox"]{min-height:0;padding:0}
body.console-page .console-menu-heading h2{font-size:24px}
body.console-page #toast{max-width:min(560px,calc(100vw - 32px));box-sizing:border-box;padding:14px 20px;line-height:1.7;overflow-wrap:anywhere;box-shadow:0 8px 24px rgb(26 26 26 / .12)}
@keyframes ui-dialog-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes ui-spin{to{transform:rotate(360deg)}}
.tool-label-short{display:none}
/* Home is a quiet original-art introduction; exhibition controls belong to detail views. */
@media(max-width:700px){
 #app[data-view="shop"] .hero{display:flex;flex-direction:column;height:auto;min-height:0}
 #app[data-view="shop"] .hero-inner{order:1;display:block;height:auto;padding:36px 0 12px}
 #app[data-view="shop"] .hero-copy{max-width:100%;padding:0}
 #app[data-view="shop"] .hero-copy h1{font-size:clamp(27px,7.8vw,31px);line-height:1.55;margin:18px 0 14px}
 #app[data-view="shop"] .hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
 #app[data-view="shop"] .hero-actions .button{display:flex;justify-content:center;gap:8px;min-width:0;min-height:44px;height:auto;padding:10px 8px;margin:0;font-size:12px;white-space:nowrap}
 #app[data-view="shop"] .hero>.hero-image{order:2;position:static;inset:auto;width:100%;max-width:100%;height:clamp(250px,76vw,360px);object-fit:cover;object-position:right center;opacity:1;pointer-events:none}
 #app[data-view="shop"] .hero-caption,#app[data-view="shop"] .hero-pages{display:none}
 #app[data-view="shop"] .gift-finder>summary{padding-right:108px;font-size:20px;line-height:1.6;overflow-wrap:break-word}
}
body.console-page .record-tools{display:flex;gap:8px 20px;align-items:flex-start;flex-wrap:wrap;margin:0 0 12px}
body.console-page .record-tools .records-advanced,body.console-page .record-tools .saved-views,body.console-page .record-tools .batch-tools{margin:0;max-width:none;flex:none}
body.console-page .record-tools details[open]{flex-basis:100%;width:100%}
body.console-page .record-tools summary{display:flex;align-items:center;min-height:44px;font-size:14px;cursor:pointer}
body.console-page .record-tools summary::before{content:'+';margin-right:6px;color:var(--ui-muted)}
body.console-page .record-tools details[open]>summary::before{content:'−'}
body.console-page .record-tools .records-advanced>div{display:flex;flex-wrap:wrap;gap:12px;padding:12px 0}
body.console-page .record-tools .records-advanced label{display:grid;gap:6px;font-size:14px;min-width:0}
body.console-page .record-tools .records-advanced input,body.console-page .record-tools .records-advanced select{box-sizing:border-box;min-height:44px;max-width:100%;font-size:16px}
.mine-gift-tasks .gift-task-group{border-top:1px solid var(--border);margin:20px 0 0;padding:0;max-width:none}
.mine-gift-tasks .gift-task-group>h3,.mine-gift-tasks .gift-task-group>summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:0;padding:18px 0;font:500 20px/1.6 var(--font-display);cursor:pointer}
.mine-gift-tasks .gift-task-group>h3{cursor:default}
.gift-task-group>h3 span,.gift-task-group>summary span{font:13px/1.6 var(--font-sans);color:var(--muted-foreground)}
.gift-task-group>summary>.ui-icon{margin-left:auto;color:var(--gold);width:18px;height:18px;transition:transform .18s}
.gift-task-group[open]>summary>.ui-icon{transform:rotate(90deg)}
.mine-gift-tasks .gift-task-item{padding:18px 0;border-top:1px solid var(--border)}
.gift-task-item h4{margin:0 0 8px;font:500 18px/1.6 var(--font-display)}
.gift-task-item .gift-order-ref{font-size:12px;color:var(--muted-foreground);overflow-wrap:anywhere}
@media(max-width:600px){body.console-page .record-tools{gap:4px 10px;margin-bottom:8px}body.console-page .record-tools summary{padding:4px 0;font-size:13px}body.console-page .record-tools .tool-label-wide{display:none}body.console-page .record-tools .tool-label-short{display:inline}body.console-page .record-tools .records-advanced>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body.console-page .console-layout .status-tabs{gap:8px;min-height:52px;align-items:flex-start;scrollbar-width:thin;padding:0 0 8px;margin:0 0 8px}body.console-page .console-layout .status-tabs button{min-height:44px;padding:8px 12px;border:1px solid var(--ui-line);background:#fcfbf8;border-radius:3px;color:var(--ui-muted);font-size:13px;white-space:nowrap;flex-shrink:0}body.console-page .console-layout .status-tabs button[aria-pressed="true"]{color:var(--ui-ink);background:#eeeae1;border-color:var(--ui-gold);font-weight:600;text-decoration:underline;text-underline-offset:5px}.gift-task-group>summary{min-height:52px}.gift-task-group>h3 span,.gift-task-group>summary span{font-size:12px}}
@media(max-width:900px){body.console-page .console-layout{grid-template-columns:minmax(0,1fr)}body.console-page #console-nav{position:static;max-height:none;min-height:0;border:0;padding:16px 20px}body.console-page .console-header{padding:16px 20px}.console-nav-group>p{margin-left:12px}body.console-page .console-layout main{padding:24px 20px 40px}}
@media(max-width:600px){#reference-search[open]{padding:24px 20px;max-height:calc(100dvh - 24px)}.reference-search-form{gap:8px}#global-search-go{flex-basis:64px;min-width:64px;padding-inline:10px}.reference-account #auth-modes button{padding-inline:8px;font-size:14px}.reference-account .account-guest-services{margin-top:36px}body.console-page .console-layout main{padding:20px 16px 40px}body.console-page .console-heading{padding-bottom:16px;margin-bottom:20px}body.console-page .task-queues{grid-template-columns:minmax(0,1fr)}body.console-page .task-queues article{padding:20px 0}body.console-page #editor{border-radius:10px 10px 0 0}body.console-page #editor .editor-heading{padding:14px 16px}body.console-page #editor-fields{padding:20px 16px;gap:20px}body.console-page #toast{bottom:calc(20px + env(safe-area-inset-bottom))}body.console-page .table-wrap table:not(.order-summary) td[data-label]:first-child{font-weight:500;font-size:16px}body.console-page .table-wrap table:not(.order-summary) td[data-label]:first-child::before{font-weight:400;font-size:12px}}
@media(prefers-reduced-motion:reduce){.reference-dialog[open],body.console-page #editor[open],body.console-page #access-result[open],body.console-page #console-status[data-loading="true"]::before{animation:none}.site-header .icon-control,#reference-nav nav a,.reference-account .account-disclosure>summary .ui-icon,body.console-page #console-nav a,body.console-page #workspace,body.console-page .console-layout button{transition:none}}
