*{box-sizing:border-box}body{margin:0;font:14px/1.5 Arial,sans-serif;background:#edf3f4;color:#214653}a{color:#206a78}button,input,select,textarea{font:inherit}button{cursor:pointer;padding:10px 13px;border:1px solid #b4cbce;border-radius:8px;background:white;color:#204b5a}button:hover{border-color:#238577}button:disabled{opacity:.5;cursor:wait}.primary{background:#176c70;color:white;border-color:#176c70}.subtle{font-size:12px;margin:8px 0}input,select,textarea{width:100%;padding:10px;border:1px solid #b1c7cd;border-radius:7px;background:#fff;color:#173f51}input[type=color]{width:48px;height:38px;padding:3px}input[type=checkbox]{width:auto}textarea{min-height:85px;resize:vertical}label{display:block;margin:13px 0;font-size:12px;font-weight:600}label input,label select,label textarea{margin-top:6px}h1{font-size:24px;margin:0}h2{font-size:18px}p{color:#58737c;font-size:13px}.editor-header{display:flex;align-items:center;justify-content:space-between;padding:18px 25px;background:#17485b;color:white;gap:20px}.editor-header a{color:#e0f6f3;text-decoration:none;font-size:12px}.editor-header strong{letter-spacing:.12em}.editor-header span{font-weight:400;letter-spacing:0;margin-left:12px}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;gap:20px}.editor-toolbar p{margin:4px 0}.editor-actions{display:flex;gap:8px}#editor-notice:not(:empty){background:#fff4d8;color:#59451f;margin:0 25px 16px;padding:12px;border-radius:8px}#editor-gate{padding:40px}.studio-layout{display:grid;grid-template-columns:350px minmax(0,1fr);gap:20px;padding:0 22px 25px}.controls{background:white;border:1px solid #cadbdd;border-radius:16px;padding:16px;max-height:calc(100vh - 180px);overflow:auto;position:sticky;top:10px}.editor-tabs{display:flex;gap:5px;position:sticky;top:-16px;background:white;padding:10px 0;z-index:2}.editor-tabs button{font-size:12px;flex:1;padding:9px 6px}.editor-tabs button[aria-pressed=true]{background:#d8efe8;border-color:#6baea2}.color-field{display:grid;grid-template-columns:1fr 48px 54px;align-items:center;gap:8px;border-bottom:1px solid #e3ecee;padding:8px 0}.color-field label{margin:0}.color-field button{font-size:11px;padding:6px}.preview-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:end;background:white;padding:8px 16px;border-radius:12px}.preview-controls label{flex:1;min-width:110px;margin:4px 0}.preview-controls label:nth-child(2){flex:2}.preview-help{font-size:11px;letter-spacing:.05em}.frame-wrap{display:flex;justify-content:center;overflow:auto;min-height:600px;background:#b9cdd1;border-radius:12px;padding:12px}iframe{border:0;width:100%;height:calc(100vh - 260px);min-height:620px;background:white;flex-shrink:0;border-radius:5px}.section-setting{padding:12px;background:#f0f6f5;border:1px solid #d5e4e3;border-radius:8px;margin:12px 0}.section-setting strong{font-size:13px}.section-actions{display:flex;gap:5px;align-items:center}.section-actions button{padding:5px 9px}.section-setting label{margin:8px 0}.field{border-bottom:1px solid #dce8e9;padding:12px 0;scroll-margin:65px}.field:focus-within{background:#f0faf6}.field small{color:#748991;word-break:break-all}.field img{max-width:100%;max-height:90px;object-fit:contain;margin:8px 0;background:#edf3f3}.upload input{font-size:12px}.history-item{border-bottom:1px solid #d5e4e5;padding:14px 0}.history-item button{font-size:12px}.empty-note{padding:10px}.selected-field{outline:2px solid #43a78d;outline-offset:3px}:focus-visible{outline:3px solid #37b19a;outline-offset:2px}[hidden]{display:none!important}@media(max-width:1000px){.studio-layout{grid-template-columns:300px minmax(0,1fr)}.editor-header span{display:none}}@media(max-width:760px){.studio-layout{display:flex;flex-direction:column;padding:0 12px 20px}.controls{max-height:60vh;position:static}.preview-area{min-width:0}.frame-wrap{justify-content:flex-start}.editor-toolbar{padding:18px 12px;flex-wrap:wrap}.editor-header{padding:14px 12px}.editor-header strong{display:none}iframe{min-height:600px}.editor-actions{width:100%}.editor-actions button{flex:1}}

#page-focus{padding:10px 0 14px;border-bottom:1px solid #d5e4e3}#back-to-page{width:100%;text-align:start;background:#e4f3ed;font-weight:700}#focus-title{overflow-wrap:anywhere;margin:16px 0 6px}#page-focus p{margin-bottom:0}

#theme-focus{padding:10px 0 14px;border-bottom:1px solid #d5e4e3}#back-to-theme{width:100%;text-align:start;background:#e4f3ed;font-weight:700}#theme-focus-title{overflow-wrap:anywhere;margin:16px 0 6px}
