:root{--ink:#183a34;--muted:#73817c;--green:#20594c;--line:#e2e7e2;--paper:#f5f6f2;--white:#fff;--soft:#eaf0e9;--red:#a23333}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button{cursor:pointer;border:0;transition:background .15s}button:disabled{opacity:.5;cursor:wait}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1.2px;line-height:1.35}h2{font-size:17px;letter-spacing:-.4px}h3{font-size:14px}.muted{color:var(--muted)}[hidden]{display:none!important}.app{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#eef1eb;border-right:1px solid var(--line);padding:34px 22px;display:flex;flex-direction:column}.brand,.auth-brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:13px;font-weight:750;letter-spacing:1.1px;line-height:1.4}.brand small,.auth-brand small{display:block;font-size:8px;font-weight:500;letter-spacing:1.6px;color:#64736c;margin-top:4px}.brand-mark{height:34px;width:34px;border-radius:10px;background:var(--green);color:#fff;display:grid;place-items:center;font:italic 23px Georgia,serif}.nav-label{font-size:11px;letter-spacing:1px;color:#7a8980;margin:52px 12px 12px}nav{display:grid;gap:8px}.nav-task{display:flex;align-items:center;gap:12px;text-align:left;padding:15px 13px;background:transparent;color:#65746d;border-radius:8px;width:100%}.nav-task .task-icon{font-size:17px;width:22px;font-weight:700}.nav-task[aria-current=true]{background:#dae5d9;color:#234e41;font-weight:650}.nav-task:hover{background:#e1e9df}.sidebar-bottom{margin-top:auto;padding:28px 10px 0;font-size:12px}.sidebar-bottom small{display:block;color:var(--muted);font-size:11px;margin:8px 0 24px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#669777;margin-right:6px;vertical-align:middle}.plain{display:block;background:none;color:#60736a;font-size:12px;padding:6px 0}.workspace{margin-left:236px;width:calc(100% - 236px);padding:0 40px;max-width:1700px}.topbar{display:flex;justify-content:space-between;align-items:center;height:80px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.breadcrumb span{margin:0 14px;color:#b2bcb6}.admin-badge{color:#536a5e}.page-heading{padding:34px 0 26px;display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:650;color:#7c8d80;margin-bottom:8px}.page-heading .muted{font-size:12px;margin-top:10px}.heading-actions{display:flex;gap:10px}.primary,.secondary{padding:11px 19px;border-radius:6px;font-size:13px;font-weight:600;white-space:nowrap}.primary{background:var(--green);color:white}.primary:hover{background:#164438}.secondary{background:white;border:1px solid #d7ded6;color:#3c584b}.secondary:hover{background:#edf3eb}.notice{display:flex;align-items:center;gap:11px;padding:13px 17px;background:#eaf0e8;border:1px solid #dae5d7;border-radius:7px;color:#58715e;font-size:12px;margin-bottom:25px}.notice-icon{display:grid;place-items:center;flex-shrink:0;width:17px;height:17px;border:1px solid #78937c;border-radius:50%;font:12px Georgia,serif}fieldset{border:0;margin:0;padding:0;min-width:0}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}.editor-main{min-width:0}.card{background:white;border:1px solid var(--line);border-radius:10px;padding:26px;margin-bottom:20px;box-shadow:0 2px 3px #20352502}.section-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:25px}.section-heading p{font-size:12px;color:var(--muted);margin-top:3px}.section-number{font-size:11px;display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;background:#edf2eb;border-radius:6px;color:#799174;margin-top:1px}.soa-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.soa-row label{margin:0;font-size:15px}.soa-row .unit-input{width:150px}.soa-row input{font-size:23px;font-weight:650;color:var(--green);height:53px}label{display:block;font-size:12px;font-weight:600;margin:0 0 8px}.field-help{color:#829084;font-size:11px;margin:5px 0 0;font-weight:400}.unit-input{position:relative}.unit-input input{padding-right:52px}.unit-input>span{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:11px;color:#849187;pointer-events:none}input:not([type=checkbox]),select,textarea{background:#fff;border:1px solid #dce3dc;border-radius:5px;padding:10px 12px;width:100%;color:var(--ink);min-width:0}input:focus,select:focus,textarea:focus{border-color:#658a70;outline:2px solid #cce0cf;outline-offset:1px}textarea{resize:vertical;line-height:1.9;font-size:13px;min-height:180px}select{min-height:43px}.presets{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end;margin:12px 0 20px}.presets button{font-size:10px;border-radius:4px;padding:5px 10px;background:#f3f5f0;border:1px solid #e6eae2;color:#788772}.presets button.active{color:var(--green);border-color:#9db79a;background:#ebf1e8}.timing-sequence{display:flex;justify-content:center;align-items:center;gap:7px;background:#f7f8f4;border-radius:5px;padding:14px 8px;margin-bottom:25px;font-size:10px;color:#7a8b7c;flex-wrap:wrap}.timing-sequence span,.timing-sequence strong{padding:5px 6px;border:1px solid #e0e6dc;border-radius:4px;background:white;font-weight:500}.timing-sequence strong{background:#e3ecdf;color:var(--green);border-color:#c6d7c1}.timing-sequence i{font-style:normal;color:#abb8aa}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.span-two{grid-column:1/-1}.inline-note{font-size:11px;color:#8b968a;border-top:1px solid #edf0e9;margin-top:22px;padding-top:15px}.toggle-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #edf0e9;padding:0 0 17px;margin-bottom:17px}.toggle-row strong{font-size:13px;font-weight:550}.toggle-row small{font-size:11px;color:#899588;display:block;font-weight:400;margin-top:3px}.toggle-row input{appearance:none;width:35px;height:20px;background:#d7dfd4;border-radius:20px;position:relative;flex-shrink:0;cursor:pointer}.toggle-row input:after{content:'';position:absolute;width:14px;height:14px;left:3px;top:3px;border-radius:50%;background:white;box-shadow:0 1px 2px #0001}.toggle-row input:checked{background:#437652}.toggle-row input:checked:after{left:18px}.text-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);margin:24px 0 18px}.text-tabs button{font-size:12px;background:none;padding:11px 8px;color:#889288;border-bottom:2px solid transparent}.text-tabs button[aria-selected=true]{color:var(--green);font-weight:650;border-color:var(--green)}.character-count{text-align:right;color:#9aa597;font-size:10px;margin-top:5px}.variables{font-size:11px;color:#71816e;margin-top:13px}.variables summary{cursor:pointer}.variables p{margin:10px 0}.variables button{background:#f0f4ed;color:#607f59;border:1px solid #e1e8dc;font-size:10px;padding:5px 8px;border-radius:4px;margin:0 5px 5px 0}.preview-column{position:sticky;top:22px}.preview-card{padding:22px}.preview-heading{margin-bottom:20px}.preview-heading h2{font-size:15px;display:inline}.pill{float:right;font-size:9px;color:#7d8c7c;background:#edf2e9;border-radius:4px;padding:3px 7px}.preview-screen{background:#fafbf8;border:1px solid #e6eae1;border-radius:6px;min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 15px}.preview-screen #preview-text{text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.95;color:#3c4c3d;width:100%}.preview-key{font-size:8px;letter-spacing:1px;color:#8c9985;border:1px solid #dbe3d5;border-bottom-width:2px;border-radius:4px;padding:4px 14px;margin-top:25px}.preview-card .field-help{margin-top:14px;line-height:1.8;font-size:10px}.summary-card{padding:20px 24px;background:#eef1e9;border-radius:9px;color:#60735a}.summary-card h3{font-size:12px;margin-bottom:15px}.summary-card dl{margin:0;font-size:11px}.summary-card dl div{display:flex;justify-content:space-between;margin:10px 0}.summary-card dt{color:#8b9883}.summary-card dd{margin:0;font-weight:550}.optional{font-size:10px;font-weight:400;color:#96a08e;margin-left:5px}.save-row{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:22px}.save-row>span{color:#8b9986;font-size:11px}.message{padding:12px 15px;background:#e2efdf;color:#305e35;border:1px solid #cbdcc6;border-radius:6px;margin:0 0 18px;font-size:12px}.message.error{color:var(--red);background:#fff1ee;border-color:#e9cdc5}.error{font-size:12px;color:var(--red);margin:12px 0}.error:empty{display:none}footer{font-size:10px;color:#a1ac9b;text-align:center;padding:15px 0 30px}.auth-shell{max-width:420px;margin:10vh auto;padding:20px}.auth-brand{margin-bottom:40px;justify-content:center}.auth-card{background:white;border:1px solid var(--line);border-radius:12px;padding:32px}.auth-card h1{font-size:24px;margin-bottom:12px}.auth-card .muted{font-size:12px;margin-bottom:25px}.auth-card input{margin-bottom:16px}.full{width:100%}.auth-foot{font-size:10px;text-align:center;color:#8a9784;margin-top:20px}.loading{padding:20vh 20px;text-align:center;color:#809079;font-size:13px}dialog{border:1px solid var(--line);border-radius:12px;padding:28px;width:min(620px,94vw);max-height:85vh;color:var(--ink);box-shadow:0 12px 80px #17391f26}dialog::backdrop{background:#152c2644}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.icon-button{background:#f1f4ed;color:#64785d;border-radius:50%;font-size:22px;line-height:30px;width:30px;height:30px}#history-list{margin-top:20px}.history-row{padding:16px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:center}.history-row strong{font-size:13px}.history-row p{font-size:12px;overflow-wrap:anywhere}.history-row small{display:block;font-size:10px;color:#8a9783}#password-form input{margin-bottom:18px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1500px){.workspace{padding:0 60px}.editor-grid{grid-template-columns:minmax(0,800px) 340px}}@media(max-width:1200px){.sidebar{width:202px;padding:30px 16px}.workspace{margin-left:202px;width:calc(100% - 202px);padding:0 24px}.editor-grid{grid-template-columns:minmax(0,1fr) 260px;gap:18px}.card{padding:20px}.preview-card{padding:18px}.brand{font-size:11px}}@media(max-width:980px){.editor-grid{grid-template-columns:1fr}.preview-column{position:static;display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.summary-card{align-self:start}.preview-screen{min-height:200px}.page-heading{align-items:flex-start;flex-direction:column}.heading-actions{width:100%;justify-content:flex-end}.preview-card{margin-bottom:0}}@media(max-width:680px){.app{display:block}.sidebar{position:static;width:100%;padding:18px 18px 12px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:12px}.nav-label{display:none}nav{grid-template-columns:1fr 1fr 1fr;gap:5px;margin-top:18px}.nav-task{padding:11px 7px;gap:7px;font-size:11px;justify-content:center}.nav-task .task-icon{font-size:13px;width:auto}.sidebar-bottom{display:none}.workspace{margin:0;width:100%;padding:0 16px}.topbar{height:54px}.page-heading{padding:23px 0 20px;gap:16px}h1{font-size:26px}.notice{font-size:11px;padding:11px 13px}.card{padding:20px 17px}.field-grid{gap:15px}.preview-column{grid-template-columns:1fr}.preview-screen{min-height:260px}.summary-card{margin-bottom:15px}.soa-row .unit-input{width:115px;flex-shrink:0}.soa-row .field-help{max-width:160px}.heading-actions .primary{flex:1}.heading-actions .secondary{flex:1}.auth-shell{margin:5vh auto}.auth-card{padding:25px}.save-row{align-items:flex-start;flex-direction:column}.save-row .primary{width:100%}.timing-sequence{font-size:9px;gap:4px}.timing-sequence span,.timing-sequence strong{padding:4px}.topbar .admin-badge{cursor:default}}
@media(max-width:680px){.sidebar-bottom{display:flex;align-items:center;justify-content:flex-end;gap:15px;padding:8px 0 0;font-size:0}.sidebar-bottom small,.sidebar-bottom>.status-dot{display:none}.sidebar-bottom .plain{display:inline-block;font-size:10px;padding:3px 0}}

.sidebar{padding-top:26px}.nav-actions{display:grid;gap:4px;margin:28px 0 20px}.nav-main{background:none;text-align:left;padding:10px 12px;color:#536a5d;border-radius:6px}.nav-main.active{background:#d9e6d8;color:#24513e;font-weight:700}#catalog-search,#category-filter{font-size:11px;background:#f7f9f4;margin-bottom:9px;padding:8px}.nav-label{margin:8px 8px;font-size:10px}#task-nav{overflow-y:auto;display:block;flex:1;min-height:80px;margin:3px -6px;padding:0 6px}.nav-task{font-size:11px;padding:9px 9px;gap:6px;margin-bottom:3px;line-height:1.6}.nav-task .task-icon{font-size:11px;width:17px;flex-shrink:0}.sidebar-bottom{padding-top:15px;font-size:11px;flex-shrink:0}.sidebar-bottom small{margin-bottom:10px}.catalog-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:26px}.stat-card{border:1px solid var(--line);background:#fff;border-radius:9px;padding:20px}.stat-card span{font-size:11px;color:var(--muted)}.stat-card strong{display:block;font-size:27px;margin-top:8px;font-weight:600}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;font-size:12px;color:var(--muted)}#status-filter{width:180px;font-size:12px}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:30px}.catalog-card{border:1px solid var(--line);background:#fff;text-align:left;border-radius:9px;padding:22px;display:flex;flex-direction:column;gap:9px;color:var(--ink);min-height:174px}.catalog-card:hover{border-color:#9eb69a;background:#fbfcf8}.catalog-card .category{font-size:10px;color:#83917a}.catalog-card h2{font-size:16px;line-height:1.5}.catalog-card p{font-size:11px;color:var(--muted);font-weight:400;flex:1}.catalog-card .card-foot{font-size:10px;display:flex;justify-content:space-between;color:#66835e}.catalog-card.archived{background:#f1f3ee;color:#7b8475}.catalog-card.paused .card-foot{color:#9b642b}.empty{text-align:center;padding:55px;color:var(--muted)}.experiment-link{font-size:11px;display:inline-block;margin-top:9px;color:#5e8161;text-underline-offset:3px}#generic-fields-content{display:grid;grid-template-columns:1fr 1fr;gap:20px}.generic-field.wide{grid-column:1/-1}.generic-field textarea{min-height:150px}.generic-field label{font-size:12px}#generic-preview-title{font-size:14px;line-height:1.6;margin-bottom:20px;text-align:center}#generic-preview-text{white-space:pre-wrap;font-size:12px;text-align:center;overflow-wrap:anywhere}#generic-dirty{font-size:11px;color:var(--muted)}.user-row{display:grid;grid-template-columns:minmax(130px,1fr) 170px auto;align-items:center;gap:18px;border-top:1px solid var(--line);padding:20px 0;margin-top:15px}.user-row strong{display:block;font-size:14px}.user-row small{font-size:11px;color:var(--muted)}.user-row select{font-size:11px}.user-actions{display:flex;gap:8px}.user-actions button{padding:8px 11px;font-size:11px}.badge{font-size:9px;background:#e7efe1;color:#60804e;border-radius:4px;padding:3px 7px;display:inline-block;margin-left:8px}.badge.inactive{background:#eee9df;color:#8f7a55}.audit-row{display:flex;justify-content:space-between;gap:15px;font-size:11px;padding:12px 0;border-bottom:1px solid var(--line)}.audit-row small{color:#8b9884}#username-wrap .field-help{margin:-10px 0 18px}#reset-user-label{margin-bottom:20px}#reset-form input{margin-bottom:12px}#reset-form .primary{margin-top:20px}#accounts-message.error{background:#fff1ee;color:var(--red)}
@media(max-width:1200px){.catalog-grid{grid-template-columns:1fr 1fr}.user-row{grid-template-columns:1fr 150px}.user-actions{grid-column:1/-1}.sidebar-bottom small{font-size:10px}}@media(max-width:680px){.nav-actions{display:flex;margin:16px 0 12px}.nav-main{flex:1;text-align:center}#task-nav{display:none}#catalog-search{width:57%;margin:0 3% 0 0}#category-filter{width:40%;margin:0}#nav-count{margin-bottom:0}.catalog-grid{grid-template-columns:1fr;gap:12px}.catalog-card{min-height:140px;padding:19px}.catalog-stats{gap:8px}.stat-card{padding:13px}.stat-card strong{font-size:23px}.stat-card span{font-size:9px}#generic-fields-content{grid-template-columns:1fr}.generic-field.wide{grid-column:1}.user-row{grid-template-columns:1fr}.user-actions{flex-wrap:wrap}.audit-row{flex-direction:column;gap:3px}.sidebar-bottom{display:flex;padding-top:7px}#accounts-view .page-heading p{font-size:11px}.catalog-toolbar{gap:15px}#status-filter{width:150px;font-size:11px}.catalog-stats{margin-top:2px}.notice{font-size:11px}}
