/* A single navigation surrounds all illustrated pages; the entire 1600×1000 stage scales. */
#atelier-stage header{position:relative;z-index:10;background:#faf1e3;border-bottom-color:#d5bb98;padding-inline:45px}
#atelier-stage header nav{gap:25px}.brand{font-size:24px}.brand small{font-size:7px}
#atelier-stage .primary{background:linear-gradient(#568b7b,#346e63);border-color:#3c7569;color:#fff4df;border-radius:9px}
#atelier-stage .secondary{background:#fff2de;border-color:#c89e6e;border-radius:8px;color:#704d2d}
.audio-options{font-size:11px;color:#7c795f;padding:10px 4px;margin-left:-14px}.audio-mixer{position:absolute;right:28px;top:70px;width:270px;padding:20px;background:#fbefdb;border:1px solid #c6a274;border-radius:10px;box-shadow:0 6px 25px #61422733;z-index:30}.audio-mixer label{display:flex;justify-content:space-between;font-size:12px;color:#73583c;margin:2px 0 8px}.audio-mixer input{width:100%;accent-color:#4c8172;margin-bottom:17px}.audio-mixer small{font-size:10px;color:#94816a}
.illustrated-room-back{position:absolute;top:30px;left:132px;z-index:2;font-size:16px;color:#795634!important;padding:4px 0}
.illustrated-draftbook,.illustrated-handbook,.illustrated-collection,.illustrated-exhibition{position:relative;color:#65482e;max-width:none!important;width:100%;height:100%;margin:0!important}
.illustrated-draftbook{background:url('assets/pages/draft-desk.webp') center/100% 100% no-repeat;padding:132px 125px 38px 148px!important;display:grid;grid-template-rows:74px minmax(0,1fr) 45px 88px;gap:8px}
.illustrated-draftbook .draftbook-head{grid-row:1}.illustrated-draftbook .draftbook-head>div{display:flex;align-items:center;gap:25px}.illustrated-draftbook h2{font-size:34px;margin:0;white-space:nowrap}.illustrated-draftbook .draftbook-head p{font:16px var(--serif);color:#8f7556}.illustrated-draftbook .draftbook-head .primary{min-height:46px;font-size:17px;padding-inline:25px}
.illustrated-draftbook .draftbook-caption,.illustrated-draftbook .draft-storage-note{display:none}
.illustrated-draftbook .draftbook-grid{grid-row:2;min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch}
.illustrated-draftbook .draft-card{min-height:0;padding:14px 15px 15px;background:#fff3dfba;border:1px solid #dfba8c;border-radius:12px;box-shadow:0 4px 8px #7c543820;display:flex;flex-direction:column}
.illustrated-draftbook .draft-card[hidden],.illustrated-collection .gallery-piece[hidden]{display:none!important}
.illustrated-draftbook .draft-paper{flex:1;min-height:0;aspect-ratio:auto;box-shadow:none;background:#fbf2df}.illustrated-draftbook .draft-paper img{object-fit:contain}.illustrated-draftbook .draft-paper-label{display:none}
.illustrated-draftbook .draft-card-title{margin-top:13px;border-bottom:1px solid #dfc7a5;padding-bottom:8px}.illustrated-draftbook .draft-card-title h3{font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.illustrated-draftbook .draft-card-title button{min-width:33px;min-height:30px;font-size:19px;color:#785332}.illustrated-draftbook .draft-card>p{font-size:11px;color:#937b5e;margin:8px 0 12px}.illustrated-draftbook .draft-card .secondary{min-height:38px;font:17px var(--serif);color:#fff4df;background:linear-gradient(#70977e,#4a806d);border:0;border-radius:20px}
.illustrated-draftbook .draft-knowledge{grid-row:4;margin:0;padding:11px 16px;grid-template-columns:240px 1fr;gap:20px;border:1px solid #dcc7a5;border-radius:10px;background:#f8efdb8c;align-items:center;min-height:0}.illustrated-draftbook .draft-fact-tabs{gap:2px}.illustrated-draftbook .draft-fact-tabs button{font-size:11px;min-height:18px;padding:0}.illustrated-draftbook #draft-fact-copy p{font-size:11px;line-height:1.7;margin:0;max-width:none;color:#8c775b}.illustrated-draftbook #draft-fact-copy a{font-size:9px}.illustrated-draftbook .draftbook-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px}
.illustrated-pagination{display:flex;justify-content:center;align-items:center;gap:23px;font:17px var(--serif);color:#775539;min-height:42px}.illustrated-draftbook .illustrated-pagination{grid-row:3}.illustrated-pagination button{border:1px solid #caa676;border-radius:50%;width:36px;height:36px;font:28px/1 var(--serif);background:#fff3df}.illustrated-pagination button:disabled{opacity:.3}.illustrated-pagination small{font:11px sans-serif;color:#9a8467;margin-left:10px}
.illustrated-handbook{isolation:isolate;background:url('assets/pages/draft-desk.webp') center/100% 100% no-repeat;padding:75px 140px 37px!important;overflow:hidden}
.handbook-paper{position:absolute;z-index:-1;left:15px;top:-40px;width:calc(100% - 30px);height:calc(100% + 40px);object-fit:fill;pointer-events:none}
.illustrated-handbook .illustrated-room-back{top:85px;left:150px}.illustrated-handbook .technique-heading{display:block;text-align:center;height:99px}.illustrated-handbook .technique-heading h2{font-size:41px;margin:0 0 5px}.illustrated-handbook .technique-heading p{font:15px var(--serif);letter-spacing:1px;margin:5px 0;color:#7f6041}.illustrated-handbook .technique-pill{position:absolute;right:147px;top:107px;padding:5px 9px;font-size:9px;border-color:#d9c19c;background:#fbefdd99}
.illustrated-handbook .technique-nav{margin:6px 0 17px;gap:0;border-bottom:1px solid #ddc5a1;min-height:43px}.illustrated-handbook .technique-nav button{min-width:170px;font-size:20px;letter-spacing:2px;padding:7px 16px 11px;color:#80603f}.illustrated-handbook .technique-nav button[aria-pressed=true]{color:#fff2d9;border-radius:23px;background:#4c8171;border:0}.illustrated-handbook .technique-nav small{font-size:12px}
.illustrated-handbook .technique-detail{grid-template-columns:1fr 1fr;gap:105px;align-items:start}.illustrated-handbook .technique-reading>.eyebrow{display:none}.illustrated-handbook .technique-reading h2{font-size:35px;margin:3px 0 9px}.illustrated-handbook .technique-definition{font:14px/1.9 var(--serif);color:#75583d;margin:0 0 9px}.illustrated-handbook .technique-reading h3{font-size:21px;margin:13px 0 8px}.illustrated-handbook .technique-reading ol{font:15px/1.75 var(--serif);color:#73543b;padding-left:25px;margin:6px 0}.illustrated-handbook .technique-reading li{margin:7px 0}.illustrated-handbook .technique-observe{margin:15px 0;padding:10px 13px;background:#dbe1c67a;border:0;border-radius:7px}.illustrated-handbook .technique-observe b{font-size:13px}.illustrated-handbook .technique-observe p{font-size:11px;line-height:1.7;margin:5px 0 0;color:#7a765d}.illustrated-handbook .result-actions{gap:12px;margin-top:15px}.illustrated-handbook .result-actions button{font-size:14px;padding:0 15px;min-height:45px;letter-spacing:1px}
.illustrated-handbook .technique-animation{padding:14px 0 0;background:transparent;border:0}.illustrated-handbook .technique-animation>p{font-size:12px;color:#8c7457;margin:4px 0}.illustrated-handbook .technique-tools{gap:45px;margin-top:8px;padding-top:8px;border-color:#dcc8a6}.illustrated-handbook .technique-tools svg{height:65px;width:130px}.illustrated-handbook .technique-tools span{font-size:12px;color:#7e5c3c}
.illustrated-handbook .technique-foot{position:absolute;left:150px;right:140px;bottom:29px;gap:20px;margin:0;padding:8px 0 0;border-color:#dfcaa9}.illustrated-handbook .technique-foot p{font-size:9px;margin:0;max-width:660px;line-height:1.6}.illustrated-handbook .technique-foot a{font-size:9px}
.illustrated-collection{background:url('assets/pages/collection-wall.webp') center/100% 100% no-repeat;padding:50px 90px 22px 205px!important;display:grid;grid-template-rows:82px minmax(0,1fr) 57px;gap:12px}.illustrated-collection .illustrated-room-back{top:16px;left:208px;font-size:13px}.illustrated-collection .gallery-head{grid-row:1;align-items:center;margin:0;gap:20px}.illustrated-collection h2{font-size:37px;margin:0 0 8px}.illustrated-collection .gallery-head p{font-size:12px!important;color:#8f7558}.illustrated-collection .gallery-head-actions{flex-wrap:nowrap;gap:10px}.illustrated-collection .gallery-head-actions button{font-size:13px;min-height:44px;white-space:nowrap;padding-inline:15px;letter-spacing:1px}
.illustrated-collection .gallery-grid{grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:65px;max-width:1080px;width:100%;margin:0 auto;align-items:start;min-height:0}.illustrated-collection .gallery-piece{padding:0;background:transparent;border:0;min-width:0}.illustrated-collection .gallery-piece h3{font:20px var(--serif);background:#fff1d7eb;border:1px solid #ceaa7a;border-radius:8px 8px 0 0;padding:11px 8px 3px;margin:15px 17px 0;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.illustrated-collection .gallery-piece>p{background:#fff1d7eb;border:1px solid #ceaa7a;border-top:0;border-radius:0 0 8px 8px;margin:0 17px;padding:5px 8px 10px;text-align:center;font-size:10px;color:#866343}
.illustrated-collection .illustrated-pagination{grid-row:3;align-self:end}.illustrated-collection #sample-note{position:absolute;bottom:7px;left:210px;margin:0!important;font-size:9px}.mounted-frame{padding:0!important;border:10px solid #b88754!important;border-radius:1px;background:#eadfc9!important;box-shadow:inset 0 0 0 2px #e4bd83,0 0 0 1px #785330,3px 6px 12px #68482d38!important;aspect-ratio:2/3;overflow:hidden}.mounted-frame>svg{display:block;width:100%;height:100%}.mounted-art{filter:brightness(.97) saturate(.95)}
.room-finished-work .mounted-art{filter:brightness(.96) saturate(.94)}
.illustrated-exhibition{background:#f8eddc;padding:26px 38px 18px!important;display:grid;grid-template-rows:89px 43px minmax(0,1fr) 34px;gap:8px}.illustrated-exhibition .exhibition-heading{grid-row:1;margin:0;align-items:center}.illustrated-exhibition .exhibition-heading h2{font-size:36px;margin:0 0 4px}.illustrated-exhibition .exhibition-heading p{font:14px var(--serif);color:#8c6c4e;margin:5px 0}.illustrated-exhibition .exhibition-heading-actions{gap:12px}.illustrated-exhibition .exhibition-heading-actions button{font-size:15px;min-height:44px}.illustrated-exhibition .exhibition-tabs{grid-row:2;display:flex;align-items:center;gap:30px;border-bottom:1px solid #ddc6a5;margin:0;padding:0}.illustrated-exhibition .exhibition-tabs button{font:18px var(--serif);padding:8px 10px;color:#816245;border:0;background:none}.illustrated-exhibition .exhibition-tabs button[aria-pressed=true]{color:#286b65;border-bottom:3px solid #3e7b70}
.illustrated-exhibition .exhibition-layout{grid-row:3;min-height:0;gap:16px;grid-template-columns:275px minmax(0,1fr)}.illustrated-exhibition .exhibition-layout:not(.is-curating){grid-template-columns:minmax(0,1fr)}
.illustrated-exhibition .curation-panel{min-height:0;overflow:auto;padding:18px 17px 12px;background:#fbf0dc;border:1px solid #d8b78e;border-radius:12px}.illustrated-exhibition .curation-panel h3{font-size:23px}.illustrated-exhibition #curation-list{max-height:260px;overflow:auto;padding-right:5px}.illustrated-exhibition .curation-item{gap:13px;margin:10px 0;font:16px/1.5 var(--serif);color:#6c4b2e}.illustrated-exhibition .curation-item img{width:58px;height:67px;border:1px solid #dac19e;border-radius:4px;object-fit:contain}.illustrated-exhibition .curation-item input{width:18px;height:18px;accent-color:#3c8177;flex:none}.illustrated-exhibition .light-panel{margin-top:16px;padding-top:13px;border-color:#dcc39d}.illustrated-exhibition .light-panel h3{font-size:18px}.illustrated-exhibition .light-presets button{border-radius:8px;min-height:32px;color:#89684b}.illustrated-exhibition .light-presets button.active{background:#5c8b79;color:#fff4df;border-color:#497361}.illustrated-exhibition .control-label{margin:14px 0 5px;font-size:12px}.illustrated-exhibition .curation-help{font-size:10px;color:#9c8367}.illustrated-exhibition .curation-selected-count{font:17px var(--serif);text-align:center;color:#3f786d;background:#d8dfc8;border-radius:18px;padding:7px;margin:12px 30px 0}
.illustrated-exhibition .room-area{min-height:0;display:flex;flex-direction:column}.illustrated-exhibition .digital-room{--room-strength:.55;min-height:0!important;flex:1;background:none;border:1px solid #bf9b71;border-radius:10px;isolation:isolate}.illustrated-exhibition .digital-room:before{content:'';position:absolute;inset:0;background:url('assets/pages/exhibition-room.webp') center/cover no-repeat;filter:brightness(calc(.7 + var(--room-strength) * .5));z-index:-1;transition:filter .15s}.illustrated-exhibition .room-wall-light{inset:0;z-index:3;background:var(--room-light);opacity:calc(var(--room-strength) * .19);mix-blend-mode:soft-light;pointer-events:none}.illustrated-exhibition .room-floor,.illustrated-exhibition .room-label{display:none}.illustrated-exhibition .exhibition-works{padding:75px 14% 60px;gap:42px;align-items:center;justify-content:center}.illustrated-exhibition .exhibition-work{width:calc((100% - 84px)/3);max-width:232px!important;min-width:0}.illustrated-exhibition .exhibition-work .art-frame{border-width:7px!important;padding:0!important}.illustrated-exhibition .exhibition-work span{font-size:14px;text-align:center;color:#70543c;margin:13px 0 3px}.illustrated-exhibition .exhibition-work small{text-align:center;font-size:8px;color:#998064}.illustrated-exhibition .room-caption{font-size:10px;color:#997d5a;margin-top:9px}.illustrated-exhibition .exhibition-footnote{grid-row:4;display:flex;flex-wrap:nowrap;gap:16px;padding:7px 0 0;margin:0;border-color:#ddc6a5;overflow:hidden}.illustrated-exhibition .exhibition-footnote>span{font-size:12px;white-space:nowrap}.illustrated-exhibition .exhibition-footnote p{font-size:9px;margin:0;max-width:none}.illustrated-exhibition .exhibition-footnote>a{font-size:9px;white-space:nowrap}.illustrated-exhibition .museum-note{margin-bottom:18px}.illustrated-exhibition .museum-note b{font:16px var(--serif);display:block;margin-bottom:5px}.illustrated-exhibition .museum-note span,.illustrated-exhibition .museum-note p{font-size:10px;line-height:1.7;color:#91795d}
/* Keep the live gallery title readable across the painted wall rail. */
.illustrated-collection .gallery-head{padding:10px 18px;background:#fbefdaed;border:1px solid #e0c5a1;border-radius:9px}
.illustrated-collection .gallery-head h2{font-size:33px;margin-bottom:4px}
#atelier-stage .illustrated-draftbook .draft-card .secondary{color:#fff4df;background:linear-gradient(#70977e,#4a806d);border:0;border-radius:20px}
/* V20: align content with the book's two pages and the gallery's clear wall. */
.illustrated-handbook{padding:130px 144px 78px!important}
.handbook-paper{left:20px;top:-20px;width:calc(100% - 40px);height:calc(100% + 20px)}
.illustrated-handbook .illustrated-room-back{top:22px;left:144px;font-size:14px;padding:7px 12px;background:#fbefd8ed;border:1px solid #d6b68e;border-radius:7px}
.illustrated-handbook .technique-heading{height:98px;display:grid;grid-template-columns:1fr 1fr;gap:105px;text-align:left;align-items:start}
.illustrated-handbook .technique-heading h2{font-size:39px;letter-spacing:6px;line-height:1.3;margin:0 0 10px}
.illustrated-handbook .technique-heading p{font-size:15px;line-height:1.8;margin:0;letter-spacing:1px}
.illustrated-handbook .technique-pill{position:static;justify-self:end;align-self:start;margin:9px 0 0;padding:7px 11px;font-size:11px;background:transparent;border:0;border-bottom:1px solid #d9c19c;letter-spacing:1px;color:#927253}
.illustrated-handbook .technique-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:calc((100% - 105px)/2);min-height:43px;margin:1px 0 19px;padding:0 0 12px;gap:6px}
.illustrated-handbook .technique-nav button{min-width:0;font-size:17px;letter-spacing:1px;padding:8px 6px;white-space:nowrap}.illustrated-handbook .technique-nav small{font-size:11px;margin-right:6px}
.illustrated-handbook .technique-detail{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:105px;align-items:start}
.illustrated-handbook .technique-reading h2{font-size:31px;line-height:1.4;margin:0 0 12px}.illustrated-handbook .technique-definition{font-size:15px;line-height:1.9;margin-bottom:18px}
.illustrated-handbook .technique-reading h3{font-size:22px;margin:16px 0 12px}.illustrated-handbook .technique-reading ol{font-size:16px;line-height:1.8;margin:0;padding-left:26px}.illustrated-handbook .technique-reading li{margin:8px 0}
.illustrated-handbook .technique-observe{padding:12px 15px;margin:19px 0 0}.illustrated-handbook .technique-observe b{font-size:14px}.illustrated-handbook .technique-observe p{font-size:12px;line-height:1.8;margin-top:5px}
.illustrated-handbook .result-actions{gap:14px;margin-top:21px;flex-wrap:nowrap}.illustrated-handbook .result-actions button{font-size:15px;min-height:48px;padding-inline:18px;white-space:nowrap}
.illustrated-handbook .technique-animation{margin-top:-78px;padding:0}.illustrated-handbook #detail-demo{max-width:540px;margin-inline:auto}
.illustrated-handbook .technique-animation>p{font-size:13px;line-height:1.8;text-align:center;margin:0 0 17px}.illustrated-handbook .technique-tools{justify-content:space-evenly;gap:20px;padding-top:16px;margin-top:10px}
.illustrated-handbook .technique-tools svg{height:72px;width:145px}.illustrated-handbook .technique-tools span{font-size:13px}
.illustrated-handbook .technique-foot{left:144px;right:144px;bottom:64px;padding-top:11px;align-items:center;gap:23px}.illustrated-handbook .technique-foot p{font-size:10px;line-height:1.75;max-width:690px}.illustrated-handbook .technique-foot a{font-size:10px;white-space:nowrap}
.illustrated-collection{padding:96px 95px 20px 205px!important;grid-template-rows:100px minmax(0,1fr) 80px;gap:18px}.illustrated-collection .illustrated-room-back{top:23px;left:205px;font-size:14px}
.illustrated-collection .gallery-head{padding:0;background:none;border:0;border-radius:0;align-items:flex-start;gap:28px}.illustrated-collection .gallery-head h2{font-size:39px;line-height:1.3;letter-spacing:5px;margin:0 0 12px}.illustrated-collection .gallery-head p{font-size:14px!important;line-height:1.8;margin:0}
.illustrated-collection .gallery-head-actions{margin-top:8px;gap:12px;align-items:center}.illustrated-collection .gallery-head-actions button{font-size:14px;min-height:47px;padding-inline:17px;letter-spacing:1px}
.illustrated-collection .gallery-grid{height:100%;max-width:1110px;gap:70px;align-items:stretch}.illustrated-collection .gallery-piece{display:flex;flex-direction:column;align-items:center;height:100%;min-height:0}.illustrated-collection .gallery-piece .mounted-frame{height:calc(100% - 108px);width:auto;max-width:100%;flex:none;aspect-ratio:2/3}
.illustrated-collection .gallery-piece h3{width:100%;font-size:20px;line-height:1.4;margin:16px 0 0;padding:10px 10px 4px;min-height:44px}.illustrated-collection .gallery-piece>p{width:100%;line-height:1.5;margin:0;padding:4px 10px 10px;font-size:11px}.illustrated-collection .illustrated-pagination{align-self:end;padding-bottom:3px}
.illustrated-draftbook .draft-card-actions{display:flex;align-items:center;gap:10px;flex:none}.illustrated-draftbook .draft-card-actions .secondary{flex:1;min-width:0}.illustrated-draftbook .draft-delete{flex:none;min-width:46px;min-height:38px;border:1px solid #d9b48f;border-radius:7px;color:#a36a50;font-size:12px;background:#fff0df80}.illustrated-draftbook .draft-delete:hover{background:#f2d8bf;color:#82442d}
.draft-trash-list{max-height:50vh;overflow:auto;margin-top:20px}.draft-trash-row{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:15px 0;border-bottom:1px solid #d9c4a5}.draft-trash-row>span{font:18px var(--serif)}.draft-trash-row small{display:block;font:11px sans-serif;color:#9c8366;margin-top:7px}

.illustrated-pagination .trash-link{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 width:auto;height:36px;min-height:0;padding:0 12px;margin-left:5px;
 border:1px solid #caa676;border-radius:20px;font:13px var(--serif);color:#6e4d31;
}
.trash-link .trash-count{
 min-width:20px;height:20px;display:grid;place-items:center;
 border-radius:50%;background:#ead7b8;font:11px/1 sans-serif;
}
.draft-trash-row > span{overflow-wrap:anywhere;min-width:0}
.draft-trash-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.draft-trash-actions .secondary,.draft-trash-actions .danger-button{min-height:38px;padding:0 12px;font-size:13px}
.danger-button{
 border:1px solid #ceaa91;border-radius:7px;background:#fff1e2;
 color:#963f34;white-space:nowrap;padding:8px 13px;
}
.danger-button:hover{background:#f7decd;border-color:#ab6957}
#work-delete{margin-top:14px}
.illustrated-collection .collection-card{position:relative;min-width:0;min-height:0}
.illustrated-collection .collection-card[hidden]{display:none!important}
.illustrated-collection .gallery-piece{width:100%}
.illustrated-collection .gallery-piece:hover{transform:none}
.collection-empty{
 grid-column:1/-1;align-self:center;text-align:center;
 color:#795d41;font:22px var(--serif);
}

.work-viewer{position:fixed;inset:0;width:min(96vw,1680px);height:94dvh;max-width:none;max-height:none;margin:auto;padding:0;overflow:hidden;border:1px solid #786552;border-radius:8px;background:#302721;color:#fff2dc;box-shadow:0 22px 70px #160e0ba8}
.work-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.work-viewer::backdrop{background:#1d1815d9}
.work-viewer-heading,.work-viewer-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 18px;background:#3e332b}
.work-viewer-heading{border-bottom:1px solid #665244}
.work-viewer-heading h2{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px;letter-spacing:1px}
.work-viewer-stage{position:relative;overflow:hidden;min-width:0;background:#26201c;touch-action:none;cursor:zoom-in}
.work-viewer-stage:focus-visible{outline:2px solid #e9cfad;outline-offset:-3px}
.work-viewer-stage[data-zoomed]{cursor:grab}
.work-viewer-stage[data-dragging]{cursor:grabbing}
.work-viewer-stage img{position:absolute;left:50%;top:50%;width:100%;height:100%;object-fit:contain;transform:translate(-50%,-50%);user-select:none;pointer-events:none}
.work-viewer-error{position:absolute;inset:45% 12px auto;margin:0;text-align:center}
.work-viewer-footer{border-top:1px solid #665244;flex-wrap:wrap}
.work-viewer-zoom,.work-viewer-actions{display:flex;align-items:center;gap:7px}
.work-viewer button,.work-viewer summary{display:grid;place-items:center;min-height:38px;min-width:38px;padding:0 10px;border:1px solid #8a7461;border-radius:4px;color:inherit;font-size:13px}
.work-viewer button:not(:disabled):hover,.work-viewer summary:hover{background:#574536}
.work-viewer :is(button,summary):focus-visible{outline:2px solid #e9cfad;outline-offset:2px}
.work-viewer output{min-width:43px;text-align:center;font:12px sans-serif;font-variant-numeric:tabular-nums}
#work-viewer-close{font-size:22px;line-height:1}
#work-download{background:#e9d5b9;color:#33281f;border-color:#e9d5b9}
#work-download:hover{background:#fbebd1}
.work-viewer-more{position:relative}
.work-viewer-more summary{cursor:pointer;list-style:none}
.work-viewer-more summary::-webkit-details-marker{display:none}
.work-viewer-more>div{position:absolute;right:0;bottom:calc(100% + 8px);z-index:1;display:grid;gap:4px;padding:5px;min-width:140px;background:#3e332b;border:1px solid #8a7461;border-radius:5px;box-shadow:0 7px 20px #231a14b3}
.work-viewer-more button{white-space:nowrap;border-color:transparent}
#work-delete{color:#ffb9a2}
@media(max-width:550px){
 .work-viewer{width:100vw;height:100dvh;border-radius:0}
 .work-viewer-heading,.work-viewer-footer{padding-inline:10px}
 .work-viewer-footer{padding-bottom:max(8px,env(safe-area-inset-bottom))}
}

#friend-feedback-form textarea {
 width: 100%;
 resize: vertical;
 padding: .7rem .8rem;
 border: 1px solid #bfae97;
 border-radius: .35rem;
 background: #fffaf0;
 color: inherit;
 font: inherit;
}
