:root{color:#17202c;background:#f5f7fa;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0}a{color:#0b5f8a;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button{min-height:2.35rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#17202c;cursor:pointer;padding:.48rem .72rem}button:hover:not(:disabled){border-color:#0b5f8a}button:disabled{cursor:not-allowed;opacity:.55}button.primary{background:#0b5f8a;border-color:#0b5f8a;color:#fff}.app-shell{min-height:100vh;display:flex;flex-direction:column;padding-bottom:4.5rem}.site-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:1rem;padding:.8rem clamp(1rem,4vw,3rem);background:#fffffff7;border-bottom:1px solid #dce3eb}.brand{color:#17202c;font-weight:760;white-space:nowrap}.site-nav{display:flex;align-items:center;gap:.85rem;flex:1;overflow-x:auto}.site-nav a{color:#475569;white-space:nowrap}.site-nav a.router-link-active{color:#0b5f8a;font-weight:700}.header-actions{display:flex;align-items:center;gap:.45rem}.header-button{min-height:2.1rem;display:inline-flex;align-items:center;border:1px solid #cbd5e1;border-radius:6px;padding:.36rem .58rem;color:#334155;background:#fff;white-space:nowrap;font-size:.92rem}.header-button:hover,.header-button.router-link-active{border-color:#0b5f8a;color:#0b5f8a;text-decoration:none}.language-switcher select,select,input[type=text]{border:1px solid #cbd5e1;border-radius:6px;padding:.5rem .62rem;background:#fff;color:#17202c}main{flex:1}.page{width:min(1220px,calc(100% - 2rem));margin:0 auto;padding:1.25rem 0 3rem}.page.narrow{width:min(900px,calc(100% - 2rem))}.hero-tool,.content-block,.tool-shell{background:#fff;border:1px solid #dce3eb;border-radius:8px}.hero-tool{padding:clamp(1rem,3vw,1.5rem)}.page-heading{margin-bottom:1rem}.page-heading h1{margin:.35rem 0 .45rem;font-size:clamp(1.85rem,3vw,2.65rem);line-height:1.15;letter-spacing:0}.page-heading p{max-width:850px;color:#526173;margin:0}.badge{display:inline-flex;align-items:center;min-height:1.65rem;padding:.18rem .52rem;border-radius:999px;background:#e8f4ee;color:#17634f;font-size:.88rem;font-weight:650}.tool-shell{padding:1rem}.tool-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:1rem;align-items:start}.control-panel,.preview-panel{min-width:0}.field-row{display:grid;grid-template-columns:minmax(0,1fr) 8rem 8rem;gap:.75rem}label{display:flex;flex-direction:column;gap:.35rem;color:#334155;font-weight:650}label span{font-size:.9rem}input[type=color]{width:100%;min-height:2.4rem;padding:.2rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff}.text-field{margin-top:.75rem}.text-field input{width:100%}.tool-toolbar{display:flex;flex-wrap:wrap;gap:.5rem;margin:.9rem 0}.layer-list{display:grid;gap:.75rem}.layer-card{border:1px solid #dce3eb;border-radius:8px;padding:.85rem;background:#fbfcfe}.layer-card header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.7rem}.mini-actions{display:flex;flex-wrap:wrap;gap:.35rem}.mini-actions button{min-height:1.95rem;padding:.25rem .45rem;font-size:.84rem}.slider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.72rem}input[type=range]{width:100%;accent-color:#0b5f8a}.color-control,.check-control{justify-content:end}.check-control{flex-direction:row;align-items:center;font-weight:600}.preview-stage{min-height:320px;display:grid;place-items:center;border:1px solid #dce3eb;border-radius:8px;overflow:hidden;padding:1.25rem}.box-preview{width:min(78%,320px);aspect-ratio:1.55;display:grid;place-items:center;border-radius:8px;color:#17202c;font-weight:760;text-align:center;padding:1rem}.text-preview{max-width:90%;color:#fff;font-size:clamp(2rem,5vw,3.4rem);font-weight:800;text-align:center;line-height:1.1}.drop-preview{width:180px;height:180px;clip-path:polygon(50% 0,90% 22%,86% 78%,50% 100%,14% 78%,10% 22%)}.result-panel,.status-card{margin-top:.85rem;border:1px solid #dce3eb;border-radius:8px;background:#fbfcfe;padding:.85rem}.result-panel h2{margin:0 0 .55rem;font-size:1rem}pre{width:100%;margin:.5rem 0 0;border:1px solid #cbd5e1;border-radius:6px;background:#fff;padding:.75rem;overflow:auto;white-space:pre-wrap;word-break:break-word;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.88rem}.status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.status-card{display:flex;flex-direction:column;gap:.3rem;color:#526173}.status-card strong{color:#17202c}.tool-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}.content-block{padding:1rem}.content-block h2{margin:0 0 .6rem;font-size:1.18rem}.content-block p{color:#526173;margin:.35rem 0}.content-block ol,.plain-list{margin:0;padding-left:1.25rem;color:#526173}.content-block details{border-bottom:1px solid #e2e8f0;padding:.75rem 0}.content-block details:last-child{border-bottom:0}.content-block summary{cursor:pointer;font-weight:700;color:#17202c}.terms-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:1rem;background:#fff;border:1px solid #dce3eb;border-radius:8px;padding:1.25rem}.terms-copy h1{margin:0 0 .5rem}.terms-copy p,.terms-copy span{color:#526173}.terms-list{list-style:none;padding:0;margin:0;display:grid;gap:.75rem}.terms-list li{border:1px solid #e2e8f0;border-radius:8px;padding:.85rem;background:#fbfcfe;display:grid;gap:.25rem}.terms-list span{color:#526173}.site-footer{position:fixed;left:0;right:0;bottom:0;background:#fffffff7;border-top:1px solid #dce3eb;padding:.75rem 1rem}.footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:1rem}.footer-links a{color:#475569}@media(max-width:980px){.site-header{align-items:flex-start;flex-wrap:wrap}.site-nav{order:3;flex-basis:100%}.tool-layout,.tool-guide,.terms-layout{grid-template-columns:1fr}.field-row{grid-template-columns:1fr 1fr}.field-row label:first-child{grid-column:1 / -1}}@media(max-width:620px){.page{width:min(100% - 1rem,1220px);padding-top:.75rem}.header-actions{width:100%;overflow-x:auto}.slider-grid,.status-grid,.field-row{grid-template-columns:1fr}.layer-card header{align-items:flex-start;flex-direction:column}.preview-stage{min-height:250px}.box-preview{width:92%}}
