:root{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#dbe8df;background:#101713;--bg:#101713;--panel:#17221b;--line:#2b3b30;--muted:#9caf9f;--accent:#60df99;--paper:#fff;--ink:#202a24}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[contenteditable]:focus-visible{outline:2px solid #2bc877;outline-offset:2px}.top{height:72px;background:#111b15;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 22px;gap:12px}.brand{display:flex;align-items:center;gap:12px}.mark{color:var(--accent);font-size:32px}.brand strong{font-size:19px;letter-spacing:-.5px}.brand em{color:var(--accent);font-style:normal}.brand small{display:block;font-size:10px;letter-spacing:1.6px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:8px}.top-actions button,.toolbar button,.toolbar select,menu button{border:1px solid var(--line);background:#223027;color:#e9f2eb;padding:9px 12px;border-radius:8px}.top-actions .primary,.primary{background:#56d68c!important;color:#0d2517!important;border-color:#56d68c!important;font-weight:700}.top-actions #saveState{font-size:12px;color:var(--muted);margin-right:8px}.layout{display:grid;grid-template-columns:238px minmax(0,1fr) 288px;height:calc(100dvh - 72px);min-height:480px}.sidebar,.inspector{background:var(--panel);padding:22px 16px;overflow:auto}.sidebar{border-right:1px solid var(--line)}.inspector{border-left:1px solid var(--line)}h3{font-size:11px;letter-spacing:1.5px;color:#a4b6a7;margin:8px 0 15px}.sidebar button{display:block;width:100%;border:0;background:transparent;color:#d9e6dc;text-align:left;padding:10px;border-radius:8px;font-size:13px}.sidebar button:hover,.sidebar button:focus-visible{background:#29392e}.sidebar hr{border:0;border-top:1px solid var(--line);margin:16px 0}.templates{display:grid;grid-template-columns:1fr 1fr;gap:5px}.templates button{background:#243328;text-align:center;font-size:12px}.aside-note{font-size:11px;line-height:1.6;color:var(--muted);padding:14px;background:#213026;border-radius:10px;margin-top:22px}.workspace{min-width:0;display:flex;flex-direction:column;background:#e8eeea}.toolbar{background:#f9fbf9;border-bottom:1px solid #d5ded7;display:flex;align-items:center;gap:5px;padding:10px 16px;overflow-x:auto;flex-shrink:0}.toolbar button,.toolbar select{color:#27382b;background:#fff;border:1px solid #d9e2dc;padding:8px 10px;white-space:nowrap}.toolbar button:hover{background:#e8f6ed}.toolbar .sep{width:1px;height:24px;background:#d2ddd4;flex-shrink:0;margin:0 4px}.paper-wrap{overflow:auto;flex:1;padding:30px 22px}.paper{background:var(--paper);color:var(--ink);max-width:830px;min-height:850px;margin:auto;padding:52px 65px;box-shadow:0 6px 30px #263a2a1a;border-radius:4px}.paper label,.inspector label{font-size:10px;font-weight:700;letter-spacing:1.2px;color:#76887a;display:block;margin:16px 0 7px}.paper textarea,.paper input{width:100%;border:0;outline:0;resize:vertical;background:transparent;color:#202b23}.paper textarea:focus,.paper input:focus{outline:0;border-bottom:1px solid #65ce91}.paper #headline{font-size:30px;line-height:1.2;font-weight:750;min-height:80px}.paper #subtitle{font-size:18px;font-weight:600;min-height:55px}.paper #lead{font-size:17px;line-height:1.6;color:#58675c;min-height:90px}.meta-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.meta-row input{text-align:right;max-width:220px;font-size:12px}.tag{color:#1b8d4b;background:#e9f8ee;border-radius:4px;padding:5px 8px;font-size:10px;font-weight:800;letter-spacing:1px}.byline{display:flex;gap:18px;border-bottom:1px solid #e3e9e3;padding-bottom:20px}.byline label{flex:1}.byline input{margin-top:5px;font-size:13px}.body-label{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.body-label span{font-size:11px;color:#8a978c}#editor{min-height:360px;font:16px/1.85 Georgia,serif;outline:0;overflow-wrap:anywhere}#editor:empty:before{content:attr(data-placeholder);color:#9aa99e}#editor h2{font:700 23px/1.3 Inter,system-ui,sans-serif;margin-top:24px}#editor h3{font:700 19px/1.4 Inter,system-ui,sans-serif;color:#202a24;letter-spacing:0}#editor blockquote{border-left:4px solid #50c987;padding:6px 18px;margin:18px 0;background:#f4faf5}#editor img{max-width:100%;height:auto}#editor table{border-collapse:collapse;max-width:100%;width:100%}#editor td,#editor th{border:1px solid #aebeb0;padding:8px}#editor a{color:#167944}.status{background:#f6f8f6;border-top:1px solid #d5ded7;color:#66786b;display:flex;justify-content:space-between;padding:9px 18px;font-size:11px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:22px}.metrics div{background:#25352a;padding:14px;border-radius:10px}.metrics strong{font-size:24px;display:block;color:#f1fff4}.metrics span{font-size:11px;color:#b4c4b7}.inspector h3{margin-top:23px}.meter span{font-size:12px;color:var(--muted)}.meter div{background:#304238;border-radius:20px;height:7px;margin-top:10px;overflow:hidden}.meter i{display:block;width:0;height:100%;background:#5ad48b;transition:width .2s}.checks{list-style:none;padding:0;font-size:12px;line-height:1.55}.checks li{margin-bottom:9px;display:flex;gap:8px}.checks .good{color:#72dca0}.checks .warn{color:#efc27e}.inspector input:not([type=checkbox]),.inspector textarea{background:#233127;border:1px solid #34493a;color:#f4fff7;border-radius:8px;padding:10px;width:100%;font-size:13px}.inspector textarea{resize:vertical}.inspector small{color:var(--muted)}.inspector .toggle{letter-spacing:0;font-size:12px;font-weight:400;color:#d9e6dc;display:flex;align-items:center;gap:9px}.toggle input{accent-color:#50d48b}.focus .sidebar,.focus .inspector{display:none}.focus .layout{grid-template-columns:minmax(0,1fr)}.focus .paper{max-width:900px}.light{--bg:#f1f5f1;--panel:#f9fcfa;--line:#d6e2d9;--muted:#627b69;color:#1d2b20;background:#f1f5f1}.light .top{background:#eaf2eb}.light .sidebar button,.light .inspector .toggle{color:#24372a}.light .sidebar button:hover{background:#e0eee3}.light .templates button,.light .aside-note,.light .metrics div{background:#e4efe6}.light .metrics strong{color:#1c3424}.light .inspector input:not([type=checkbox]),.light .inspector textarea{background:white;color:#223527;border-color:#cbdcce}.light .top-actions button{color:#24372a;background:#f7faf7}.light .brand strong{color:#24372a}dialog{border:1px solid #4b6852;border-radius:14px;background:#17231b;color:#e9f4eb;max-width:min(650px,94vw);width:100%;box-shadow:0 30px 100px #0008}dialog::backdrop{background:#07120bd0}dialog header{display:flex;justify-content:space-between;align-items:center}dialog header button{background:transparent;color:white;border:0;font-size:20px}dialog h2{font-size:19px}dialog input,dialog textarea,dialog select{width:100%;background:#26372b;color:white;border:1px solid #4a5f4e;border-radius:7px;padding:10px;margin:7px 0 12px}dialog textarea{min-height:130px}dialog label{font-size:12px}dialog menu{display:flex;justify-content:flex-end;gap:10px;padding:0}dialog menu button{border:1px solid #526b58;background:#26372b;color:white;border-radius:7px;padding:9px 16px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#17492a;color:white;padding:12px 20px;border-radius:9px;box-shadow:0 5px 24px #0005;display:none;z-index:10;max-width:90vw;text-align:center}@media(max-width:1180px){.layout{grid-template-columns:200px minmax(0,1fr)}.inspector{display:none}.paper{padding:38px 42px}}@media(max-width:760px){.top{height:auto;min-height:64px;padding:10px}.top-actions #saveState,.top-actions #focusBtn span{display:none}.top-actions button{padding:8px}.brand strong{font-size:15px}.brand small{font-size:8px}.layout{display:flex;flex-direction:column;height:auto;min-height:calc(100dvh - 64px)}.sidebar{display:flex;flex-wrap:nowrap;overflow-x:auto;padding:7px;border-bottom:1px solid var(--line);gap:5px;flex-shrink:0}.sidebar h3,.sidebar hr,.sidebar .aside-note{display:none}.sidebar button,.sidebar .templates button{white-space:nowrap;width:auto;flex-shrink:0;padding:8px 10px;background:#23362a}.templates{display:flex;gap:5px}.workspace{min-height:calc(100dvh - 115px)}.toolbar{padding:8px}.paper-wrap{padding:12px}.paper{padding:25px 20px;min-height:650px}.paper #headline{font-size:25px}.paper #lead{font-size:16px}.body-label span{display:none}.status{font-size:10px}.byline{flex-wrap:wrap;gap:8px}.byline label{min-width:120px}.focus .sidebar{display:none}}

/* DRÖMA identity skin · v1.1 */
:root{--bg:#080b09;--panel:#101712;--line:#294233;--muted:#9db6a5;--accent:#8bf2aa;--paper:#ffffff;--ink:#17251b;color:#e8f5eb;background:#080b09}
body{background:#080b09}
.top{background:linear-gradient(110deg,#090d0a 0%,#101c13 65%,#0c120e 100%);border-bottom:1px solid #305e3e;box-shadow:0 3px 18px #0004}
.brand .mark{display:grid;place-items:center;width:44px;height:44px;border:1px solid #64d58c80;border-radius:12px;background:linear-gradient(135deg,#172e1d,#0a110d);color:#9af6b7;box-shadow:inset 0 0 15px #4cc8791c,0 0 18px #4cc87915;font-weight:900}
.brand strong{font-weight:800;letter-spacing:-.6px}.brand em{color:#8bf2aa}.brand small{letter-spacing:2px;color:#a7c5af}
.top-actions button,.toolbar button,.toolbar select,menu button{border-radius:9px}.top-actions button{background:#18271c;border-color:#36533d;color:#e4f5e7}
.top-actions .primary,.primary{background:linear-gradient(135deg,#a0f9b9,#50d982)!important;border-color:#70e99a!important;color:#082012!important;box-shadow:0 2px 14px #39cf7040}
.sidebar,.inspector{background:linear-gradient(180deg,#111b14,#0b120e)}
.sidebar button{color:#dbeee0}.sidebar button:hover,.sidebar button:focus-visible{background:#1e3826;color:#b2ffc6}
.templates button{background:#193122;border:1px solid #294b34}.aside-note{background:#14271b;border:1px solid #294a32}
.workspace{background:#dfe7e0}.toolbar{background:#f4f8f4}.paper{box-shadow:0 18px 55px #0c271b2b;border:1px solid #d9e5db;border-radius:8px}
.tag{background:#e1f9e8;color:#167b39}.metrics div{background:#1a3121;border:1px solid #2d4b35}.metrics strong{color:#b7ffc8}
.inspector input:not([type=checkbox]),.inspector textarea{background:#18291d;border-color:#31503a}
#editor blockquote{border-left-color:#50c977}.status{background:#edf4ee}
dialog{background:#0e1b12;border-color:#4c865b}dialog::backdrop{background:#030b06dd}
#toast{background:#174f2b}
button,select,input,textarea{transition:border-color .15s,background-color .15s,box-shadow .15s}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
@media(max-width:760px){.brand .mark{width:36px;height:36px;font-size:24px}.sidebar button,.sidebar .templates button{background:#172b1d;border:1px solid #294b34}.top{gap:7px}.top-actions{gap:4px}}
/* Dröma 2026 visual alignment: neutral graphite foundation, bright lime accents. */
:root{--bg:#101110;--panel:#171917;--line:#343a34;--muted:#abb3aa;--accent:#d7f66b;--paper:#fff;--ink:#222622;color:#f1f3ed;background:#101110}
body{background:#101110}
.top{background:#151715;border-bottom-color:#373b35;box-shadow:none}
.brand .mark{background:#242923;border:1px solid #4b5741;color:#d7f66b;box-shadow:none}
.brand em{color:#d7f66b}.brand small{color:#b2b9ae}
.top-actions button{background:#252924;border-color:#3b4338;color:#f1f3ed}
.top-actions .primary,.primary{background:#d7f66b!important;border-color:#d7f66b!important;color:#1c2314!important;box-shadow:none}
.sidebar,.inspector{background:#171917}.sidebar button{color:#e3e8dd}.sidebar button:hover,.sidebar button:focus-visible{background:#2c3429;color:#eaffad}
.templates button,.aside-note{background:#222720;border-color:#41483c}.workspace{background:#e8eae5}.toolbar{background:#f6f7f4}.paper{border-color:#daddd5;box-shadow:0 12px 36px #10151020}
.metrics div{background:#242a22;border-color:#3c4537}.metrics strong{color:#e9ffad}
.inspector input:not([type=checkbox]),.inspector textarea{background:#252a23;border-color:#454d41}
.tag{background:#eef6d2;color:#4a6421}.meter i{background:#c9e95e}#editor blockquote{border-left-color:#b5d84c}
dialog{background:#191d18;border-color:#535d49}#toast{background:#343f25;color:#f7ffec}
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[contenteditable]:focus-visible{outline-color:#bde45a}
@media(max-width:760px){.sidebar button,.sidebar .templates button{background:#222720;border-color:#41483c}}
