/* Shared light editor theme. Canvas artwork colors are controlled separately. */
:root{color-scheme:light;--panel:#fff;--line:#dfe4e9;--muted:#66717e;--blue:#1768bc}
body,body.item-page{background:#f5f7f9;color:#25313e}
button{background:#f4f6f8;color:#344252;border-color:#cdd5dd}button:hover{background:#e8eef4}button:disabled{opacity:.5}
.primary{background:#1768bc;border-color:#1768bc;color:#fff}.primary:hover{background:#12579d}
header,.site-shell,.easy-top,.unified-shell>header{background:#fff;color:#25313e;border-color:#dfe4e9}
.site-brand{color:#161b21}.site-brand:hover{color:#1768bc}.site-context,.studio{color:#6b7886}.site-language{color:#526171}
label,summary,.panel-section>summary{color:#344252}
input:not([type=range]):not([type=color]):not([type=file]),textarea,select{background:#fff;color:#25313e;border-color:#c5cfd9}
input[type=color]{background:#fff;border-color:#c5cfd9}input[type=range]{accent-color:#1768bc}
input[type=file]::file-selector-button{background:#f0f4f8;color:#344252;border:1px solid #c5cfd9;border-radius:5px;padding:8px 12px}
nav,aside,.unified-shell .item-controls,.easy-form{background:#fff;border-color:#dfe4e9;scrollbar-color:#c4cdd6 transparent}
nav button:first-child,.seg .active,.item-mode-switch button[aria-pressed=true]{background:#e4effb;border-color:#6e9fcd;color:#164f87}
.panel-section>summary:hover{background:#f2f6fa}.panel-section>summary:before{color:#718294}
.badge{background:#edf1f5;color:#576777}.image-icon{color:#637f99}
.drop,.easy-drop{border-color:#9cadbe;background:#fafcfe}.drop:hover,.drop.drag{background:#eaf3fc;border-color:#548cc2}
.workspace,.unified-shell .item-preview{background:#e9edf1}.stage{background:radial-gradient(ellipse at center,#f9fafc,#e4e9ee)}
.document,.canvasbar,footer{background:#f7f9fb;border-color:#d9e1e8;color:#5a6b7b}
.ruler{background:repeating-linear-gradient(90deg,transparent 0,transparent 9px,#a3afbc 10px,transparent 11px) bottom/100% 5px no-repeat,#f0f3f6;color:#667787}
canvas{box-shadow:0 12px 30px #263e5426}.layer,.appearance-row{border-color:#e1e6eb}.stathead{color:#667787}
.appearance-row output,#panelOpacity output,#statOpacity output,.easy-form output{color:#245d92}
.license-link,.item-controls>a{color:#24649d}
.easy-form p,.item-controls p,.item-preview-top,#itemStatus{color:#586d80}
.easy-form .step-actions{background:#fff}#stepProgress span{background:#dce4ec}#stepProgress .done{background:#4a87be}
.preset-grid button{border-color:#ccd7e1}.preset-grid button.chosen{outline-color:#387fbe}
#easyMessage,.game-budget,.stat-role,.completion>span{color:#245f94}.item-step-progress{color:#245f94!important}
.item-controls>details,.game-rules,.custom-font-ui{border-color:#d7e0e8}
.item-controls textarea[readonly]{background:#f2f5f8;color:#4e6579}
.privacy-notice{background:#f3f7fb;color:#586f84;border-color:#9ebbd3}
.matchups td,.matchups th{border-color:#ccd8e2}.matchups .strong{background:#e0edf8;color:#23527c}
.selection-tools{background:#eaf2fa;color:#345b7b}.selection-tools span{color:#345b7b}
.font-permission{background:#fff;color:#25313e;border-color:#b8c8d6}.font-permission::backdrop{background:#263e5466}
#toast{background:#fff;color:#25313e;border-color:#b4c8da;box-shadow:0 5px 25px #263e5426}
#guideLine{stroke:#287bbd;filter:drop-shadow(0 1px 2px #ffffff)}#guideBox{stroke:#287bbd;fill:#287bbd0b}

.issuance-dialog{border:1px solid #dfe4e9;border-radius:16px;background:white;color:#252c34;padding:32px;max-width:calc(100vw - 48px)}.issuance-dialog::backdrop{background:#ffffffaa;backdrop-filter:blur(3px)}
