:root{--bg:#f7f3eb;--paper:#fffdf8;--ink:#263849;--muted:#65717a;--line:#dedbd2;--orange:#dc743d;--orange-dark:#a95029;--navy:#193249;--soft:#f3e5d3;--shadow:0 14px 35px #2d2c2812}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Malgun Gothic",sans-serif;line-height:1.55}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
a{color:inherit}
.shell{width:min(1500px,calc(100% - 40px));margin-inline:auto}
.studio-header{position:sticky;top:0;z-index:20;background:#fffdf8ef;backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;gap:18px;min-height:70px}
.brand{text-decoration:none;font-size:23px;font-weight:900;letter-spacing:-.065em;white-space:nowrap}
.brand-mark{display:inline-grid;place-items:center;width:32px;height:32px;margin-right:5px;background:var(--orange);color:#fff;border-radius:9px;font-size:20px;letter-spacing:0}
.header-label{border-left:1px solid var(--line);padding-left:18px;font-weight:800;color:var(--muted)}
.back-link{margin-left:auto;text-decoration:none;font-weight:700;font-size:14px;color:var(--navy)}
.back-link:hover{text-decoration:underline}
.page-intro{display:grid;grid-template-columns:1fr minmax(270px,370px);gap:28px;align-items:end;padding:45px 0 30px}
.eyebrow{font-size:11px;letter-spacing:.2em;color:var(--orange-dark);font-weight:900}
h1,h2,h3,p{margin-top:0}
h1{margin:10px 0 15px;font-size:clamp(31px,4vw,55px);line-height:1.15;letter-spacing:-.055em;word-break:keep-all}
h1 em{font-style:normal;color:var(--orange-dark)}
.page-intro p{margin-bottom:0;color:var(--muted);max-width:700px;word-break:keep-all}
.intro-note{padding:20px 22px;background:#f6ead7;border:1px solid #ead9bd;border-radius:18px}
.intro-note strong{display:block;margin-bottom:6px;color:#6f4227}
.intro-note p{font-size:13px;color:#6e5a46}
.studio-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}
.draft-sidebar,.editor-card,.preview-card{background:var(--paper);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}
.draft-sidebar{position:sticky;top:90px;padding:20px}
.sidebar-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}
.sidebar-head h2{font-size:19px;margin:4px 0 0;letter-spacing:-.04em}
.sidebar-head h2 span{color:var(--orange-dark)}
.control{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:800;color:#384b58}
.control small,.form-group small{font-size:11px;color:var(--muted);font-weight:500}
.control.compact{margin:10px 0}
.sales-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:13px 0;padding:10px 6px;border:1px solid #ead9c4;background:#fff7ec;border-radius:11px}
.sales-summary span{text-align:center;color:#685343;font-size:10px;font-weight:700;line-height:1.35}
.sales-summary b{display:block;color:var(--orange-dark);font-size:16px}
.control input,.control textarea,.control select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cdd5d9;border-radius:10px;background:#fff;color:var(--ink);font-size:14px;font-weight:500;outline:none}
.control textarea{resize:vertical;min-height:76px}
.control input:focus,.control textarea:focus,.control select:focus{border-color:var(--orange);box-shadow:0 0 0 3px #dc743d25}
.control input::placeholder,.control textarea::placeholder{color:#8c979d}
.required{color:var(--orange-dark);font-size:11px}
.draft-list{display:grid;gap:8px;max-height:360px;overflow:auto;padding:4px 2px 14px}
.draft-item{width:100%;padding:13px;text-align:left;border:1px solid var(--line);border-radius:12px;background:#fff;transition:transform .15s,border-color .15s,background .15s}
.draft-item:hover{transform:translateY(-2px);border-color:#e2ae8f}
.draft-item.active{border-color:var(--orange);background:#fff4e9}
.draft-item strong{display:block;margin-bottom:3px;font-size:14px;line-height:1.3}
.draft-item small{display:block;color:var(--muted);font-size:11px}
.draft-item .item-state{display:inline-block;margin-top:7px;padding:2px 7px;border-radius:100px;background:#eff3f5;color:#355368;font-size:11px;font-weight:700}
.draft-item .item-state.approved{background:#e0f1e5;color:#20623f}
.draft-item .sales-stage{display:block;margin-top:7px;color:#714e35;font-size:11px;font-weight:800}
.draft-item .next-action{display:block;margin-top:2px;color:#6b7a81;font-size:11px}
.empty{margin:12px 0;color:var(--muted);font-size:13px;line-height:1.6}
.export-box{border-top:1px solid var(--line);padding-top:17px}
.export-box h3{font-size:15px;margin-bottom:5px}
.export-box p{color:var(--muted);font-size:12px;line-height:1.55}
.export-box .micro{margin:8px 0 0;font-size:11px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:43px;padding:10px 15px;border:1px solid transparent;border-radius:10px;text-decoration:none;font-size:14px;font-weight:800;line-height:1.3;transition:transform .15s,background .15s,border-color .15s}
.button:hover:not(:disabled){transform:translateY(-2px)}
.button:disabled{opacity:.48;cursor:not-allowed}
.button.small{min-height:35px;padding:7px 10px;font-size:12px}
.button.full{width:100%;margin-top:7px}
.button.primary{background:var(--orange);color:#fff}
.button.primary:hover:not(:disabled){background:var(--orange-dark)}
.button.outline{background:#fff;border-color:#b8c4cb;color:var(--navy)}
.button.outline:hover:not(:disabled){border-color:var(--orange)}
.button.dark{background:var(--navy);color:#fff}
.button.text{color:var(--navy);background:#f2f5f6;border-color:#e4e9ec}
.file-label{cursor:pointer}
.delete-button{color:#974332!important;background:#fff7f4!important;border-color:#ecd8d1!important}
.work-area{display:grid;grid-template-columns:minmax(380px,1.18fr) minmax(300px,.82fr);gap:22px;align-items:start}
.editor-card{padding:26px}
.editor-head,.preview-head{display:flex;align-items:start;justify-content:space-between;gap:12px}
.editor-head h2,.preview-head h2{margin:5px 0 4px;font-size:23px;letter-spacing:-.045em}
.editor-head p{margin:0;color:var(--muted);font-size:12px}
.status-badge{padding:5px 10px;border-radius:100px;background:#fff0e5;color:#8c4b23;font-size:12px;font-weight:800;white-space:nowrap}
.status-badge.approved{background:#e0f1e5;color:#20623f}
.status-badge.review{background:#e4edf9;color:#315a93}
.source-note{margin:20px 0 12px;padding:15px 17px;border:1px solid #ecdac1;background:#fff8ed;border-radius:14px}
.source-note strong{font-size:13px;color:#764526}
.source-note p{margin:4px 0 5px;color:#695c50;font-size:12px}
.source-note small{display:block;color:#846b54;font-size:11px}
.form-group{min-width:0;margin:24px 0 0;padding:0;border:0}
.form-group legend{display:block;width:100%;margin:0 0 13px;padding:0 0 8px;border-bottom:1px solid var(--line);font-size:16px;font-weight:900;letter-spacing:-.035em}
.sales-group{padding:18px;margin-top:27px;border:1px solid #ddc9ae;border-radius:16px;background:#fffaf2}
.sales-group legend{width:auto;margin:0;padding:0 6px;border:0}
.sales-explainer{margin:0 0 14px;color:#665d52;font-size:12px;line-height:1.6}
.offer-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:17px}
.offer-actions p{margin:0;color:var(--muted);font-size:11px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.control.wide{grid-column:1/-1}
.menu-rows{display:grid;gap:9px;margin-bottom:12px}
.menu-row{display:grid;grid-template-columns:1fr 110px;gap:8px;padding:10px;background:#f5f6f4;border:1px solid #e2e6e3;border-radius:12px}
.menu-row .menu-desc{grid-column:1/-1}
.menu-row input{width:100%;min-height:39px;padding:8px 10px;border:1px solid #cdd5d9;border-radius:8px;background:#fff;color:var(--ink)}
.menu-row button{justify-self:end;grid-column:1/-1;border:0;background:none;color:#9b4a32;font-size:12px;font-weight:800}
.menu-help{color:var(--muted);font-size:12px}
.action-stack{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.approval-panel{margin-top:22px;padding:18px;background:#f2f6f6;border:1px solid #dce5e5;border-radius:15px}
.approval-panel h3{font-size:15px;margin-bottom:4px}
.approval-panel p{font-size:12px;color:var(--muted);line-height:1.6}
.approval-panel .action-stack{margin-top:12px}
.message{min-height:20px;margin:16px 0 0;color:#246243;font-size:13px;font-weight:700}
.message.error{color:#b0392e}
.preview-card{position:sticky;top:90px;padding:22px}
.preview-head{align-items:center}
.preview-head h2{font-size:20px}
.preview-head>span{font-size:11px;color:var(--muted)}
.phone{width:min(100%,360px);margin:18px auto;padding:10px;background:#1c2834;border-radius:31px;box-shadow:0 17px 35px #273a492b}
.phone:before{content:"";display:block;width:78px;height:7px;margin:5px auto 9px;border-radius:100px;background:#5c6871}
.phone iframe{display:block;width:100%;height:610px;border:0;border-radius:21px;background:#fff}
.checklist,.handoff{padding:13px 15px;border-radius:12px;background:#fff5e9;color:#714a2d}
.checklist strong,.handoff strong{font-size:13px}
.checklist p,.handoff p{margin:5px 0 0;font-size:12px;line-height:1.55}
.handoff{margin-top:10px;background:#edf3f6;color:#3a5a71}
.site-footer{padding:36px 0;color:var(--muted);font-size:12px;text-align:center}
@media(max-width:1280px){.studio-layout{grid-template-columns:240px 1fr}.work-area{grid-template-columns:1fr}.preview-card{position:static}.phone iframe{height:490px}}
@media(max-width:850px){.studio-layout{display:block}.draft-sidebar{position:static;margin-bottom:18px}.draft-list{max-height:200px}.page-intro{grid-template-columns:1fr}.intro-note{max-width:620px}.work-area{display:block}.preview-card{margin-top:18px}}
@media(max-width:560px){.shell{width:calc(100% - 24px)}.header-inner{gap:9px;min-height:60px}.brand{font-size:19px}.brand-mark{width:27px;height:27px;font-size:17px}.header-label{padding-left:9px;font-size:12px}.back-link{font-size:11px}.page-intro{padding:30px 0 20px}.editor-card,.preview-card,.draft-sidebar{padding:17px;border-radius:16px}.form-grid{grid-template-columns:1fr}.control.wide{grid-column:auto}.action-stack .button{flex:1 1 150px}.phone iframe{height:560px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button,.draft-item{transition:none}.button:hover:not(:disabled),.draft-item:hover{transform:none}}

/* 상점 페이지 제작 화면 */
.header-nav{display:flex;gap:20px;margin-left:auto;font-size:14px;font-weight:800}
.header-nav a{text-decoration:none}.header-nav a:hover{text-decoration:underline}
.studio-top{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:28px 0 20px}
.studio-top h1{font-size:clamp(26px,3vw,40px);margin:5px 0}.studio-top p{margin:0;color:var(--muted);font-size:14px}
.storage-note{max-width:230px;color:var(--muted);font-size:12px;text-align:right}
.studio-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 18px;margin-bottom:14px;background:#fffdf8;border:1px solid var(--line);border-radius:16px}
.toolbar-identity{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.toolbar-identity strong{font-size:19px}.toolbar-identity small{width:100%;color:var(--muted)}
.toolbar-actions{display:flex;flex-wrap:wrap;gap:7px}.toolbar-actions .button{min-height:39px;padding:8px 12px;font-size:12px}
.store-panel{margin-bottom:14px;padding:18px;background:#fffdf8;border:1px solid var(--line);border-radius:16px}
.store-panel[hidden],.edit-section[hidden]{display:none}
.store-panel-head{display:flex;justify-content:space-between;gap:18px}.store-panel-head p{margin:3px 0 10px;color:var(--muted);font-size:12px}
.store-panel .control{max-width:340px}.store-panel .draft-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));max-height:300px;margin-top:12px;gap:8px}
.studio-layout{display:grid;grid-template-columns:220px minmax(0,1fr) 300px;gap:14px;align-items:start}
.section-sidebar,.preview-card,.editor-card{background:var(--paper);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}
.section-sidebar,.editor-card{padding:18px}.section-sidebar{position:sticky;top:84px}
.panel-title h2,.preview-head h2,.editor-head h2{font-size:19px;margin:3px 0}.panel-title p,.editor-head p{font-size:12px;color:var(--muted);margin:0 0 14px}
.section-list{display:grid;gap:7px}
.section-row{display:grid;grid-template-columns:1fr auto;gap:5px;padding:5px;border:1px solid var(--line);border-radius:10px;background:#fff}
.section-row.active{border-color:var(--orange);background:#fff5ec}.section-row.hidden-section{opacity:.55}
.section-select{padding:8px 5px;text-align:left;background:none;border:0;color:var(--ink);font-size:13px;font-weight:800}
.section-tools{display:flex;gap:1px}.section-tools button{min-width:25px;min-height:28px;padding:0;border:0;border-radius:6px;background:#f0f2f0;color:var(--navy);font-size:12px}
.section-tools button:disabled{opacity:.3;cursor:default}.section-tools button:hover:not(:disabled){background:#ead7c6}
.section-tip,.template-hint,.field-help{color:var(--muted);font-size:11px;line-height:1.55}
.template-picker{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.template-picker .control{margin-top:12px}
.template-hint{padding:10px;background:#fff4e5;border-radius:9px;color:#79512d}
.preview-card{position:sticky;top:84px;min-width:0;padding:17px}.preview-head{align-items:center}
.view-switch{display:flex;gap:2px;padding:3px;border-radius:9px;background:#edf0ef}.view-switch button{min-height:31px;padding:4px 10px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:12px;font-weight:800}
.view-switch button[aria-pressed=true]{background:#fff;color:var(--navy);box-shadow:0 1px 4px #0002}
.canvas{height:min(76vh,850px);min-height:540px;margin-top:12px;overflow:auto;padding:14px;background:#e7e9e7;border-radius:14px;text-align:center}
.canvas iframe{display:block;width:100%;height:100%;margin:auto;border:0;background:#fff;transition:width .2s ease}
.canvas.mobile iframe{max-width:390px;border:9px solid #243340;border-radius:24px;box-shadow:0 16px 28px #162a3636}
.canvas.desktop iframe{max-width:100%;border:1px solid #bbc5c8;border-radius:8px}
.preview-note{margin:10px 0 0;color:var(--muted);font-size:11px}
.editor-card{min-width:0}.editor-head{display:block}.editor-head h2{font-size:22px}
.source-note{margin:10px 0 16px;padding:11px}.source-note p{margin:4px 0 0}
.edit-section{border:0;margin:0;padding:0}.edit-section legend{margin-bottom:12px;font-size:15px;font-weight:900}
.edit-section .control,.reference-details .control,.review-box .control{margin-bottom:12px}
.edit-section .control input,.edit-section .control select{min-height:42px}
.menu-row{grid-template-columns:1fr 90px}
.reference-details{margin-top:20px;border-top:1px solid var(--line);padding-top:15px}
.reference-details summary{cursor:pointer;font-size:12px;font-weight:800}.reference-details .control:first-of-type{margin-top:13px}
.review-box{margin-top:18px;padding:13px;background:#f2f6f6;border-radius:12px}.review-box strong{font-size:13px}.review-box>p{font-size:11px;color:var(--muted)}
.review-box .control{margin-top:14px}.review-box .button{width:100%;font-size:12px}
.photo-list{display:grid;gap:9px;margin-top:12px}.photo-item{display:grid;grid-template-columns:68px 1fr;gap:8px;align-items:center;padding:7px;background:#f5f5f0;border-radius:9px}
.photo-item img{width:68px;height:68px;object-fit:cover;border-radius:6px}.photo-item input{width:100%;min-height:36px;padding:6px;border:1px solid #ccd3d5;border-radius:7px}
.photo-item button{grid-column:2;border:0;background:none;color:#9b4a32;text-align:left;font-size:11px;font-weight:800}
.upload-button{cursor:pointer;font-size:12px}.site-footer a{font-weight:800}
@media(max-width:1300px){.studio-layout{grid-template-columns:190px minmax(0,1fr) 280px}}
@media(max-width:1050px){.studio-layout{display:grid;grid-template-columns:180px minmax(0,1fr)}.editor-card{grid-column:2}.preview-card{position:static}.section-sidebar{grid-row:1/3}.canvas{height:650px}}
@media(max-width:700px){.studio-layout{display:flex;flex-direction:column}.section-sidebar,.preview-card,.editor-card{position:static;width:100%}.section-list{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-toolbar,.studio-top{align-items:start;flex-direction:column}.storage-note{text-align:left}.toolbar-actions{width:100%}.toolbar-actions .button{flex:1 1 42%}.canvas{height:600px}.header-nav{gap:10px;font-size:12px}}
@media(max-width:450px){.shell{width:calc(100% - 24px)}.studio-top{padding-top:20px}.header-label{display:none}.canvas{padding:6px;min-height:500px}.canvas.mobile iframe{max-width:350px}.section-list{grid-template-columns:1fr 1fr}.section-tools button{min-width:22px}.section-select{font-size:12px}}

/* 업종별 홈페이지형 초안 편집 */
.design-entry{margin:9px 0 13px;background:#fff1e4;border-color:#e8c4a5;color:#753e24}
.design-entry.active{background:#e7aa78;border-color:#e7aa78;color:#3a2419}
.choice-label{display:block;margin:8px 0 9px;font-size:13px;font-weight:850;color:var(--ink)}
.hero-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:17px}
.hero-choice{min-width:0;padding:6px;border:2px solid #d9dfdf;border-radius:11px;background:#fff;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .15s,transform .15s,background .15s}
.hero-choice:hover{transform:translateY(-2px);border-color:#ca8d61}
.hero-choice[aria-pressed=true]{border-color:var(--orange);background:#fff6ef}
.hero-choice:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.hero-choice strong{display:block;padding:6px 3px 2px;font-size:11px;line-height:1.3;word-break:keep-all}
.hero-choice-art{position:relative;display:block;min-height:82px;overflow:hidden;border-radius:6px;background-color:#efddc9;background-size:cover;background-position:center}
.hero-choice-art .mini-store{position:absolute;z-index:1;display:block;max-width:90%;overflow:hidden;font-size:10px;font-weight:900;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.choice-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#1c252bb8,transparent 75%)}
.choice-cover .mini-store{bottom:9px;left:8px;color:#fff}
.choice-split{background-image:linear-gradient(90deg,#f6e7d4 0 53%,#ceb8a0 53%)}
.choice-split.has-photo{background-size:47% 100%;background-repeat:no-repeat;background-position:right center;background-color:#f6e7d4}
.choice-split .mini-store{top:33px;left:6px;max-width:50%;color:#433126}
.choice-poster{background:repeating-linear-gradient(-35deg,#f6e5d0 0 20px,#ecd5b9 21px 22px)}
.choice-poster:after{content:"";position:absolute;right:-20px;bottom:-31px;width:100px;height:100px;border:6px solid #c77344;border-radius:50%;opacity:.45}
.choice-poster .mini-store{top:29px;left:9px;right:6px;font-size:13px;color:#754424}
.legacy-design-notice{padding:15px;border:1px solid #e6c49c;border-radius:12px;background:#fff7e9}
.legacy-design-notice strong{display:block;font-size:13px;color:#754424}
.legacy-design-notice p{margin:7px 0 12px;font-size:12px;line-height:1.55;color:#6d5b4a}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.edit-section input[type=range]{min-height:24px;padding:0;accent-color:var(--orange)}
@media(max-width:1050px){.hero-choice-art{min-height:98px}}
@media(max-width:400px){.hero-choices{gap:5px}.hero-choice{padding:4px}.hero-choice strong{font-size:10px}.hero-choice-art{min-height:70px}}
@media(prefers-reduced-motion:reduce){.hero-choice{transition:none}.hero-choice:hover{transform:none}}

/* 비공개 서버 이력과 한 장 팜플렛 편집 */
.server-history{margin:0 0 14px;padding:17px 20px;border:1px solid #d8dfd8;border-radius:16px;background:#f8fbf7}
.server-history [hidden],.website-only[hidden]{display:none!important}
.server-history-head{display:flex;justify-content:space-between;align-items:start;gap:14px}
.server-history-head strong{font-size:15px}.server-history-head p{max-width:720px;margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.55}
.server-status{flex:none;padding:5px 10px;border-radius:100px;background:#edf1f1;color:#3f5257;font-size:11px;font-weight:850}
.server-status.ready{background:#dff1e5;color:#266344}.server-status.warning{background:#fff0de;color:#81532e}
.server-login{display:flex;align-items:end;gap:10px;margin-top:15px}.server-login .control{flex:1;max-width:280px;margin:0}.server-login .button{flex:none}
.server-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}
.server-message{min-height:18px;margin:10px 0 0;color:#286448;font-size:12px;font-weight:750}.server-message.error{color:#a44335}
.server-draft-list,.server-revision-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.server-draft-list button,.server-revision-list button{padding:8px 10px;border:1px solid #cad9cc;border-radius:9px;background:#fff;color:#294638;font-size:12px;font-weight:750;text-align:left}
.server-draft-list button:hover,.server-revision-list button:hover{border-color:#6b9c7a}
.server-revision-list{padding-top:10px;border-top:1px solid #dce5dc}.server-revision-list:empty{display:none}
.server-password-change{margin-top:13px;font-size:12px}.server-password-change summary{cursor:pointer;font-weight:800}.server-password-change form{display:flex;align-items:end;flex-wrap:wrap;gap:9px;margin-top:10px}.server-password-change .control{min-width:185px;margin:0}
.pamphlet-mode .section-row{grid-template-columns:1fr}.pamphlet-mode .section-select{min-height:38px}.pamphlet-mode .section-tip{margin-top:13px}

/* 새 팜플렛의 분류별 메뉴 편집 */
.menu-extras{margin-bottom:17px;padding:15px;border:1px solid #e7d8c7;border-radius:12px;background:#fffaf2}
.menu-extras[hidden]{display:none!important}.menu-extras .control{margin:0 0 8px}.menu-extras .field-help{margin:0 0 11px}
.menu-presets{display:flex;flex-wrap:wrap;gap:7px}.menu-presets button{min-height:38px;padding:6px 11px;border:1px solid #d6b998;border-radius:8px;background:#fff;color:#694326;font-size:12px;font-weight:800}
.menu-presets button:hover{background:#f5e4d0}.menu-presets button:focus-visible,.menu-row-actions button:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.menu-rows{display:grid;gap:10px}.menu-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;padding:12px;border:1px solid #e1d8cc;border-radius:10px;background:#fff}
.menu-row input{min-width:0;width:100%;min-height:39px;padding:7px 9px;border:1px solid #d1d7d5;border-radius:7px;background:#fff;color:var(--ink);font-size:13px}
.menu-row .menu-name,.menu-row .menu-desc{grid-column:1/-1}.menu-row-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:5px}
.menu-row-actions button{min-width:39px;min-height:36px;border:1px solid #d2d6d3;border-radius:7px;background:#f6f7f4;color:#34505a;font-weight:900}
.menu-row-actions .remove-menu{padding:0 11px;color:#9d4c36}.menu-rows.legacy-menu .menu-group,.menu-rows.legacy-menu .menu-badge{display:none}
@media(max-width:450px){.menu-row{grid-template-columns:1fr}.menu-row .menu-name,.menu-row .menu-desc,.menu-row-actions{grid-column:1}}
@media(max-width:700px){.server-history-head{flex-direction:column}.server-login{align-items:stretch;flex-direction:column}.server-login .control{max-width:none}.server-password-change form{display:grid}.server-password-change .control{min-width:0}}
