:root{color-scheme:dark;font-family:system-ui,-apple-system,"Malgun Gothic",sans-serif;color:#f4f7ff;background:#0b1423;font-size:16px;--muted:#adbbd0;--line:#ffffff24;--blue:#7bafff}*{box-sizing:border-box}body{margin:0;min-height:100svh}.backdrop{position:fixed;inset:0;z-index:-1;background:linear-gradient(90deg,#07111feb,#0b162bbb 60%,#07111f8a),linear-gradient(0deg,#061020d9,transparent),url('/assets/office.png') center/cover no-repeat}.shell{max-width:1320px;margin:auto;padding:0 64px;min-height:100svh;display:flex;flex-direction:column}header{display:flex;justify-content:space-between;align-items:center;padding:35px 0;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;align-items:center;gap:15px;text-decoration:none;color:inherit}.logo{width:52px;height:64px;background:#fff;border:3px solid #fff;border-radius:7px;overflow:hidden;box-shadow:0 4px 24px #0006}.logo img{width:100%;height:100%;object-fit:contain}.wordmark{font-size:21px;font-weight:750;letter-spacing:2px}.wordmark span{display:block;font-size:10px;letter-spacing:2.4px;color:#9daec5;margin-top:6px}button,input,select{font:inherit}button{border:1px solid #ffffff2e;border-radius:9px;background:#ffffff09;color:inherit;padding:11px 17px;cursor:pointer;min-height:44px}button:hover{background:#ffffff18;border-color:#84b4ff88}button:disabled{opacity:.4;cursor:default}.manage{font-size:14px;background:#15233899;backdrop-filter:blur(20px)}main{flex:1;padding:76px 0 92px}.intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:64px}.eyebrow{font-size:12px;letter-spacing:3px;color:var(--blue);font-weight:650;margin:0 0 20px}h1{font-size:clamp(29px,3.2vw,44px);letter-spacing:-1.8px;font-weight:750;margin:0;line-height:1.4}h1 span{font-weight:350;color:#dce6f6}.lead{color:var(--muted);font-size:17px;margin:16px 0 0}.clock{text-align:right;flex-shrink:0}.clock time{display:block;color:var(--muted);font-size:14px}.clock strong{font-size:35px;display:block;font-weight:300;letter-spacing:2px;margin-top:9px;font-variant-numeric:tabular-nums}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}h2{font-size:19px;font-weight:600;margin:0}#count{font-size:13px;color:#a6c9ff;margin-left:10px;background:#5797ff19;border:1px solid #659bff33;border-radius:6px;padding:2px 7px}.section-note{font-size:13px;color:#98a9c1}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:18px}.card{position:relative;text-decoration:none;color:inherit;min-height:267px;padding:28px 25px 23px;display:flex;flex-direction:column;background:linear-gradient(135deg,#40577755,#17263da8);border:1px solid #ffffff27;border-radius:16px;backdrop-filter:blur(24px);box-shadow:0 14px 40px #0002;transition:transform .18s,border-color .18s,background .18s;overflow:hidden}.card:hover{transform:translateY(-5px);border-color:#80b4ff99;background:linear-gradient(135deg,#41689b77,#192c49c9)}.card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.icon{width:49px;height:49px;border-radius:13px;display:grid;place-items:center;color:#93bcff;background:#5792ff20;border:1px solid #94bcff25}.icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.cyan .icon{color:#81dcdf;background:#46d1d019}.violet .icon{color:#c7b2ff;background:#a483ff20}.slate .icon{color:#bdcce3;background:#acc2df18}.number{font-size:12px;color:#8c9eb9;letter-spacing:2px}.card h3{font-size:21px;font-weight:650;margin:0 0 12px;overflow-wrap:anywhere}.card p{color:#b9c7da;font-size:14px;line-height:1.7;margin:0 0 27px;overflow-wrap:anywhere}.card-bottom{border-top:1px solid #ffffff16;display:flex;justify-content:space-between;padding-top:18px;margin-top:auto;font-size:13px;color:#b3cfff}.card-bottom b{font-size:18px;line-height:1}.empty{padding:40px;border:1px dashed var(--line);border-radius:14px;color:var(--muted)}footer{display:flex;justify-content:space-between;gap:16px;padding:24px 0 30px;border-top:1px solid var(--line);font-size:12px;color:#8b9bb1}footer>span:last-child{letter-spacing:2px;font-size:10px}.footer-divider{margin:0 10px;color:#59708c}dialog{background:#111e32;color:#f4f7ff;border:1px solid #456185;border-radius:18px;padding:28px;width:min(440px,calc(100% - 28px));box-shadow:0 30px 100px #0009;max-height:90svh}dialog::backdrop{background:#020918bd;backdrop-filter:blur(8px)}dialog.admin{width:min(920px,calc(100% - 24px))}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.dialog-head .eyebrow{margin-bottom:10px}.close{font-size:26px;padding:0 10px;background:transparent;border:0}.muted{color:var(--muted);font-size:14px;line-height:1.8}.primary{background:#397ade;border-color:#5c95ec;color:white}.primary:hover{background:#488af0}.danger{color:#ffb7b7;border-color:#dc6e6e66}label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#c5d2e6}input,select{width:100%;min-width:0;background:#081323;border:1px solid #455776;border-radius:7px;padding:11px;color:#f5f8ff;min-height:44px}input[type=checkbox]{width:19px;min-height:19px;accent-color:#71a9ff}.toolbar{display:flex;justify-content:space-between;gap:10px;margin:22px 0}.editor{padding:20px;border:1px solid #ffffff21;background:#ffffff03;border-radius:12px;margin:14px 0}.edit-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px}.edit-head strong{overflow-wrap:anywhere}.actions{display:flex;gap:5px;flex-shrink:0}.actions button{padding:6px 10px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wide{grid-column:1/-1}.check{flex-direction:row;align-items:center}.savebar{position:sticky;bottom:-28px;background:#111e32;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 0 10px;border-top:1px solid var(--line);margin-top:20px}#save-status{font-size:14px;color:#9fbce4}[role=alert]{color:#ffb5b5;font-size:14px}#login-form>.primary{width:100%;margin-top:10px}:focus-visible{outline:3px solid #92bdff;outline-offset:4px}body:has(dialog[open]){overflow:hidden}@media(max-width:800px){.shell{padding:0 26px}main{padding:48px 0 64px}.intro{margin-bottom:42px}.clock strong{font-size:27px}.clock time{font-size:12px}.card{min-height:255px}header{padding:24px 0}}@media(max-width:540px){.shell{padding:0 20px}.wordmark{font-size:17px}.wordmark span{font-size:8px;letter-spacing:1.4px}.logo{width:39px;height:49px}.brand{gap:10px}.manage{padding:10px;font-size:12px}.intro{display:block}.clock{display:flex;justify-content:space-between;align-items:center;margin-top:28px;text-align:left}.clock strong{margin:0;font-size:23px}.cards{grid-template-columns:1fr}.card{min-height:225px;padding:23px}.card-top{margin-bottom:20px}h1{font-size:29px;letter-spacing:-1px}h1 span{display:block}.fields{grid-template-columns:1fr}.wide{grid-column:auto}.editor{padding:14px}dialog{padding:20px}.savebar{bottom:-20px}.section-note{display:none}footer>span:last-child{display:none}.edit-head{align-items:flex-start}.actions{gap:2px}.actions button{padding:6px 8px}}@media(prefers-reduced-motion:reduce){.card{transition:none}.card:hover{transform:none}}


.pattern-panel[hidden]{display:none}.pattern-grid{position:relative;display:grid;grid-template-columns:repeat(3,1fr);width:min(100%,240px);aspect-ratio:1;margin:12px auto;touch-action:none;user-select:none}.pattern-grid svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.pattern-grid polyline{fill:none;stroke:#68baff;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}.pattern-dot{z-index:1;justify-self:center;align-self:center;border-radius:50%;width:48px;height:48px;padding:0;background:#18334f;border:2px solid #89b7e3;color:#fff}.pattern-dot.selected{background:#167dde;border-color:#a1ddff}.pattern-panel{padding:6px;border:1px solid #ffffff25;border-radius:12px;margin:8px 0 16px}.pattern-panel p{font-size:13px}.pattern-panel>button{font-size:13px}input[hidden]{display:none}
