.appearance-workspace{--ap-paper:#f3f2eb;--ap-green:#536849;--ap-muted:#7b8274;--ap-line:#d9decf;--ap-surface:#fafaf5;--ap-error:#a55342}
.appearance-workspace .ap-heading{margin-bottom:28px}
.ap-heading h1{font-size:clamp(24px,2.5vw,35px)}
.ap-rules-button{font-size:11px;flex-shrink:0}
.ap-layout{display:grid;grid-template-columns:minmax(280px,1.1fr) minmax(315px,1fr) 218px;gap:24px;align-items:start}
.ap-catalog,.ap-details,.ap-summary{min-width:0}
.ap-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ap-section-heading h2{font-size:15px;font-weight:600}
.ap-section-heading .eyebrow{font-size:9px;letter-spacing:.13em;margin-bottom:4px}
.ap-small-stat{font:9px/1.5 var(--mono,monospace);color:var(--ap-muted);white-space:nowrap}
.ap-small-stat i{font-style:normal;margin:0 4px;color:#b3b9a7}
.ap-section-copy{font-size:11px;line-height:1.9;color:var(--ap-muted);margin:12px 0 18px}
.ap-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ap-preset{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;min-height:130px;padding:10px 8px 13px;border:1px solid var(--ap-line);border-radius:7px;background:#f8f8f0;text-align:center;overflow:hidden}
.ap-preset:hover{border-color:#9bab86;background:#eef1e4}
.ap-preset.is-selected{background:#e8eede;border-color:var(--ap-green);box-shadow:inset 0 0 0 1px #53684915}
.ap-preset.is-selected::after{content:'';position:absolute;bottom:0;left:calc(50% - 14px);width:28px;height:3px;border-radius:3px 3px 0 0;background:var(--ap-green)}
.ap-preset-top{display:flex;align-items:center;justify-content:space-between;width:100%;color:#9da58f;font:9px/1 var(--mono,monospace)}
.ap-change-dot{width:5px;height:5px;border-radius:50%;background:var(--ap-green)}
.ap-unmodified-mark{font-size:9px;color:#bbc1b3}
.ap-preset-icon{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;margin:11px 0 9px}
.ap-preset-icon img,.ap-menu-icon img,#ap-icon-preview img{display:block;width:40px;height:40px;object-fit:contain;image-rendering:pixelated}
.ap-native-icon{position:relative;display:grid;place-items:center;width:36px;height:32px;border:1px solid #7b8770;border-radius:3px;font:600 15px/1 var(--mono,monospace);letter-spacing:-.04em;color:#66745a;background:#e8eddf;box-shadow:inset 0 0 0 2px #ffffff55}
.ap-native-icon::after{content:'';position:absolute;width:5px;height:3px;right:3px;bottom:3px;background:#a4b28f;border-radius:1px}
.ap-preset strong{display:block;max-width:100%;font-size:11px;font-weight:500;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ap-preset-subtitle{display:block;max-width:100%;font:8px/1.5 var(--mono,monospace);color:#929a85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}
.ap-draft-label{color:var(--ap-error);font-size:9px;line-height:1.2;margin-top:5px}
.ap-source-note{font-size:10px;line-height:1.8;color:#89907f;margin-top:14px}
.ap-grain-shortcut{font-size:11px;color:var(--ap-green);margin-top:8px;display:flex;justify-content:space-between;width:100%;min-height:38px}
.ap-details{border:1px solid var(--ap-line);background:var(--ap-surface);border-radius:9px;padding:23px;scroll-margin-top:24px}
.ap-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.ap-detail-heading .eyebrow{font-size:9px;margin-bottom:5px}
.ap-detail-heading h2{font:500 24px/1.4 var(--serif,Georgia,serif);outline-offset:4px}
.ap-detail-type{font-size:9px;white-space:nowrap;border:1px solid #d9e0cd;background:#edf1e5;color:#7c886d;padding:3px 7px;border-radius:4px}
.ap-menu-preview{background:#20251f;color:#f3f3e9;padding:14px 16px 17px;border-radius:6px;box-shadow:inset 0 0 0 1px #ffffff09}
.ap-menu-label{display:flex;justify-content:space-between;align-items:center;color:#8d9b7d;font:8px/1 var(--mono,monospace);letter-spacing:.1em;margin-bottom:14px}
.ap-menu-label span{font:9px/1 var(--sans,sans-serif);letter-spacing:0;color:#9ba58f}
.ap-menu-line{display:flex;align-items:center;gap:13px;min-height:45px}
.ap-menu-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0}
.ap-menu-icon .ap-native-icon{border-color:#87917d;color:#cfdbbd;background:#354130;box-shadow:inset 0 0 0 2px #44533c}
.ap-menu-icon .ap-native-icon::after{background:#8c9e76}
.ap-menu-line strong{font:500 15px/1.4 var(--mono,monospace);overflow-wrap:anywhere;min-width:0}
.ap-menu-arrow{margin-left:auto;color:#9fb087;font-size:22px;line-height:1}
.ap-name-field{margin-top:24px}
.ap-field-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.ap-field-heading label,.ap-field-heading h3{font-size:12px;font-weight:500}
.ap-name-count,.ap-dimension{font:10px/1.5 var(--mono,monospace);color:#8b957d}
.ap-name-count.is-invalid{color:var(--ap-error)}
.ap-name-field input[type=text]{width:100%;height:44px;font:13px/1.5 var(--mono,monospace);background:#f7f9f1;border-color:#cdd7be}
.ap-name-field input::placeholder{color:#a0a794}
.ap-name-field input[aria-invalid=true]{border-color:#b46c5c;background:#fff9f3}
.ap-field-note{font-size:10px;line-height:1.9;color:var(--ap-muted);margin-top:7px}
.ap-field-error{font-size:11px;line-height:1.8;color:var(--ap-error);margin-top:6px}
.ap-field-error:empty{display:none}
.ap-name-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:6px;min-height:34px}
.ap-name-footer .text-button{font-size:10px;flex-shrink:0;min-height:36px}
.ap-save-state{font-size:10px;line-height:1.8;color:#879573}
.ap-name-field:has(input[aria-invalid=true]) .ap-save-state{color:#a17865}
.ap-lock-label{font-size:9px;color:#929b84;background:#edf0e7;padding:2px 6px;border-radius:3px}
.ap-locked-name{display:block;border:1px solid #dce0d3;background:#eff2e8;color:#8a947e;border-radius:5px;padding:11px;font:13px/1.5 var(--mono,monospace)}
.ap-icon-field{border-top:1px solid var(--ap-line);margin-top:20px;padding-top:20px}
.ap-icon-editor{display:flex;align-items:center;gap:15px;margin-top:12px}
.ap-icon-proof{display:grid;place-items:center;flex-shrink:0;width:76px;height:76px;border:1px solid #dce2d0;border-radius:6px;background:conic-gradient(#e0e4d7 25%,#f5f6ed 0 50%,#e0e4d7 0 75%,#f5f6ed 0) 0 0 / 12px 12px}
#ap-icon-preview{display:grid;place-items:center}
.ap-icon-actions{min-width:0}
.ap-icon-actions .button{font-size:11px;padding:8px 13px;min-height:41px}
.ap-icon-actions .ap-field-note{margin-top:6px;font-size:9px}
.ap-icon-links{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:9px}
.ap-icon-links .text-button{font-size:10px;color:var(--ap-green);min-height:36px}
.ap-text-editor{border-top:1px dashed #d7deca;margin-top:16px;padding-top:3px}
.ap-text-editor summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;font-size:11px;padding:12px 0;min-height:44px}
.ap-text-editor summary::-webkit-details-marker{display:none}
.ap-text-editor[open] summary{margin-bottom:2px}
.ap-text-editor[open] summary span{transform:rotate(45deg)}
.ap-text-controls{display:flex;align-items:end;gap:14px}
.ap-text-field{flex:1;min-width:0;font-size:10px;color:var(--ap-muted)}
.ap-text-field input[type=text]{display:block;width:100%;height:44px;font-size:15px;margin-top:6px}
.ap-text-preview{display:grid;place-items:center;flex-shrink:0;width:48px;height:44px;overflow:hidden;white-space:nowrap;line-height:1;border-radius:3px;font:600 20px var(--mono,monospace);border:1px solid #00000012}
.ap-text-colors{display:flex;align-items:center;gap:12px;margin-top:12px}
.ap-text-colors label{display:flex;align-items:center;gap:6px;color:var(--ap-muted);font-size:10px}
.ap-text-colors input[type=color]{padding:2px;width:32px;height:36px;border:1px solid #d7deca;background:#f9fbf1;border-radius:4px;cursor:pointer}
.ap-text-colors .button{margin-left:auto;min-height:37px;padding:7px 10px;font-size:10px}
.ap-grain-setting{border-top:1px solid var(--ap-line);padding-top:20px;margin-top:21px}
.ap-grain-label{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;min-height:44px}
.ap-grain-label strong{display:block;font-size:12px;font-weight:500}
.ap-grain-label small{display:block;color:#8f9982;font-size:9px;margin-top:4px}
.ap-switch{position:relative;display:inline-flex;flex-shrink:0;width:42px;height:26px}
.ap-switch input{position:absolute;inset:-9px 0;opacity:0;width:100%;height:44px;margin:0;cursor:pointer;z-index:1}
.ap-switch>span{display:block;width:42px;height:26px;border-radius:20px;background:#d9dece;transition:background .18s}
.ap-switch>span::after{content:'';display:block;width:20px;height:20px;border-radius:50%;background:#f9fbf2;box-shadow:0 1px 3px #23321a22;transform:translate(3px,3px);transition:transform .18s}
.ap-switch input:checked+span{background:var(--ap-green)}
.ap-switch input:checked+span::after{transform:translate(19px,3px)}
.ap-switch input:focus-visible+span{outline:2px solid var(--ap-green);outline-offset:4px}
.ap-grain-setting .ap-save-state{margin-top:7px}
.ap-summary{border-top:2px solid #c3cdb3;padding-top:15px}
.ap-summary .ap-section-heading h2{font-size:13px}
.ap-change-count{font:9px/1.5 var(--mono,monospace);color:#7c8e65;background:#e5ecd9;padding:3px 6px;border-radius:4px;white-space:nowrap}
.ap-summary-list{list-style:none;padding:0;margin:12px 0 0}
.ap-summary-list li{border-bottom:1px solid #dde2d4}
.ap-summary-preset{display:flex;align-items:flex-start;gap:9px;width:100%;padding:13px 0;text-align:left;border:0;background:none;border-radius:3px;min-height:48px}
.ap-summary-preset:hover{background:#e8eddf}
.ap-summary-number{font:9px/1.6 var(--mono,monospace);color:#a0aa92;flex-shrink:0;min-width:16px}
.ap-summary-preset>span:nth-child(2){min-width:0;flex:1}
.ap-summary-preset strong{font-size:11px;line-height:1.7;font-weight:500;display:block}
.ap-summary-value{display:block;font:10px/1.6 var(--mono,monospace);color:#85916f;overflow-wrap:anywhere;margin-top:3px}
.ap-summary-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.ap-summary-tags i{font-style:normal;font-size:8px;line-height:1.6;color:#8c977d;border:1px solid #d5dfc6;padding:0 4px;border-radius:3px}
.ap-summary-arrow{font-size:11px;color:#a7b198;margin-left:auto}
.ap-summary-empty{padding:31px 0 26px}
.ap-summary-empty>span{font-size:25px;color:#b1bba2;display:block;margin-bottom:11px}
.ap-summary-empty p{font:500 17px/1.6 var(--serif,serif);color:#758266}
.ap-summary-empty small{display:block;color:#9aA38e;font-size:10px;line-height:1.9;margin-top:5px}
.ap-summary-footnote{color:#979f8d;font-size:10px;line-height:1.9;margin-top:16px}
.ap-draft-note{padding:9px 10px;background:#f4eee3;border-radius:4px;font-size:10px;line-height:1.8;color:#a07858;margin-top:13px}
.ap-back-button{display:none}
.appearance-workspace button:focus-visible,.appearance-workspace input:focus-visible,.appearance-workspace summary:focus-visible{outline:2px solid var(--ap-green);outline-offset:4px}
@media(max-width:1180px){.ap-layout{grid-template-columns:minmax(280px,1fr) minmax(310px,1fr);gap:28px}.ap-summary{grid-column:1/-1}.ap-summary-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:24px}.ap-summary-empty{padding:20px 0 10px}.ap-summary-empty>span{display:none}.ap-summary-footnote{margin-top:12px}.ap-details{padding:22px}.ap-preset{min-height:136px}}
@media(max-width:900px){.ap-layout{gap:20px;grid-template-columns:minmax(240px,1fr) minmax(290px,1fr)}.ap-preset-grid{gap:8px}.ap-preset{padding:10px 5px 11px;min-height:128px}.ap-preset strong{font-size:10px}.ap-details{padding:19px}.ap-text-colors{gap:8px}.ap-text-colors label{gap:4px}.ap-text-colors .button{padding:7px 8px}}
@media(max-width:760px){.appearance-workspace .ap-heading{margin-top:27px;margin-bottom:25px;align-items:flex-start;gap:12px}.ap-heading h1{font-size:26px;max-width:270px}.ap-rules-button{min-height:36px;padding:7px 10px;font-size:10px;gap:6px;margin-top:5px}.ap-layout{grid-template-columns:minmax(0,1fr);gap:25px}.ap-catalog{scroll-margin-top:24px}.ap-section-heading h2{font-size:16px}.ap-section-copy{margin:11px 0 15px;font-size:12px}.ap-small-stat{font-size:10px}.ap-preset-grid{gap:10px}.ap-preset{min-height:125px;padding:10px 7px 12px}.ap-preset strong{font-size:12px}.ap-preset-subtitle{font-size:8px}.ap-preset-icon{margin:9px 0 8px}.ap-source-note{font-size:10px}.ap-details{padding:20px;border-radius:9px;scroll-margin-top:16px}.ap-back-button{display:flex;align-items:center;gap:7px;color:var(--ap-green);font-size:11px;min-height:38px;margin-bottom:14px;margin-top:-6px}.ap-detail-heading{margin-bottom:18px}.ap-detail-heading h2{font-size:25px}.ap-menu-preview{padding:15px 17px 18px}.ap-menu-line strong{font-size:16px}.ap-name-field{margin-top:23px}.ap-name-field input[type=text],.ap-text-field input[type=text]{font-size:16px;height:47px}.ap-field-heading label,.ap-field-heading h3{font-size:13px}.ap-field-note{font-size:11px;line-height:1.85}.ap-name-count{font-size:11px}.ap-name-footer .text-button,.ap-icon-links .text-button{min-height:42px;font-size:11px}.ap-save-state{font-size:11px}.ap-icon-actions .button{min-height:44px;font-size:12px}.ap-icon-actions .ap-field-note{font-size:10px}.ap-icon-proof{width:82px;height:82px}.ap-text-editor summary{font-size:12px;min-height:47px}.ap-text-colors{gap:13px}.ap-text-colors label{gap:7px;font-size:11px}.ap-text-colors input[type=color]{width:36px;height:42px}.ap-text-colors .button{min-height:42px;padding:8px 12px;font-size:11px}.ap-text-field{font-size:11px}.ap-text-preview{width:52px;height:47px}.ap-grain-label strong{font-size:13px}.ap-grain-label small{font-size:10px}.ap-summary{grid-column:auto;margin-top:2px}.ap-summary .ap-section-heading h2{font-size:15px}.ap-summary-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}.ap-summary-preset strong{font-size:12px}.ap-summary-value{font-size:11px}.ap-summary-tags i{font-size:9px}.ap-summary-empty p{font-size:20px}.ap-summary-empty small,.ap-summary-footnote{font-size:11px}}
@media(max-width:380px){.ap-heading h1{font-size:24px}.ap-rules-button{font-size:9px;padding:6px 8px}.ap-preset-grid{gap:7px}.ap-preset{min-height:120px}.ap-preset strong{font-size:11px}.ap-details{padding:17px}.ap-text-colors{gap:9px}.ap-text-colors label{gap:5px}.ap-text-colors .button{padding:8px 10px}.ap-summary-list{column-gap:15px}}
@media(prefers-reduced-motion:reduce){.appearance-workspace *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
