:root{--bg:#f5f7fb;--panel:#fff;--text:#202c43;--muted:#7a8599;--line:#e8edf5;--blue:#3478f6;--soft:#edf4ff;--shadow:0 8px 30px #24365206;--radius:20px;color-scheme:light}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans KR',sans-serif;background:var(--bg);color:var(--text);line-height:1.5}body.dark{--bg:#111823;--panel:#1a2432;--text:#e7edf8;--muted:#98a6bb;--line:#2b3749;--soft:#223754;--shadow:none;color-scheme:dark}button,input,select,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation;border:1px solid var(--line);border-radius:11px;padding:10px 15px;background:var(--panel);color:var(--text);font-weight:600;min-height:44px}button:hover{filter:brightness(.97)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #3478f650;outline-offset:2px}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--blue);border-color:var(--blue);color:white}.quiet{background:transparent}.danger{color:#d3505b}.icon-btn{width:44px;padding:8px;font-size:23px}.wide{width:100%}.hidden{display:none!important}.muted,small{color:var(--muted)}small{font-size:12px}.eyebrow{font-size:11px;letter-spacing:1.5px;color:var(--muted);font-weight:600}h1,h2,h3,p{margin-top:0}h1{font-size:28px;letter-spacing:-1.2px;margin-bottom:0}h2{font-size:21px;letter-spacing:-.6px}h3{font-size:16px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;white-space:nowrap}.brand img{width:38px;height:38px}.shell{display:grid;grid-template-columns:235px 1fr;min-height:100dvh}.sidebar{background:var(--panel);border-right:1px solid var(--line);padding:34px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100dvh}.sidebar .eyebrow{margin:12px 0 35px}nav{display:flex;flex-direction:column;gap:8px}nav button{border:0;text-align:left;color:var(--muted);background:transparent;font-size:14px;display:flex;align-items:center;gap:15px;height:50px}nav button span{font-size:23px;width:24px;text-align:center}nav button.active{background:var(--soft);color:var(--blue)}.sidebar-bottom{margin-top:auto;font-size:12px;color:var(--muted)}.sidebar-bottom button{display:flex;justify-content:space-between;width:100%;margin:15px 0}.private-mark{padding:14px;border:1px solid var(--line);border-radius:12px;font-size:11px}.private-mark::first-letter{color:#27a385}main{padding:32px 38px;min-width:0;max-width:1600px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:26px}.topbar .muted{font-size:12px}.top-actions{display:flex;align-items:center;gap:10px}.save-status{font-size:11px;color:#27a385;white-space:nowrap}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}.card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card{padding:22px;position:relative;min-height:140px}.card .eyebrow{margin-bottom:10px}.card h2{font-size:25px;margin-bottom:8px}.card .card-mark{position:absolute;right:20px;top:20px;color:var(--blue);background:var(--soft);width:38px;height:38px;display:grid;place-items:center;border-radius:12px;font-size:19px}.card .muted{font-size:12px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.panel{padding:24px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-title h2,.panel-title h3{margin:0}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.between{justify-content:space-between}.calendar-tools{display:flex;align-items:center;gap:6px}.calendar-tools button{min-height:36px;height:36px;font-size:13px;padding:5px 10px}.calendar-tools .icon-btn{width:34px;font-size:19px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.weekday{text-align:center;color:var(--muted);font-size:11px;padding:7px 0 13px}.weekday.sun{color:#dd6875}.weekday.sat{color:var(--blue)}.date-cell{padding:9px 5px 7px;min-height:95px;border-radius:12px;border:1px solid transparent;display:flex;flex-direction:column;align-items:center;gap:7px;position:relative;background:transparent;font-weight:400}.date-cell:hover{background:var(--bg)}.date-cell.selected{border-color:var(--blue);background:var(--soft)}.date-cell.today .num{background:var(--blue);color:white}.date-cell.outside{opacity:.35}.num{font-size:13px;height:25px;width:25px;display:grid;place-items:center;border-radius:50%}.date-cell.sun .num{color:#dd6875}.date-cell.sat .num{color:var(--blue)}.date-cell.today .num{color:white}.chip{font-size:11px;font-weight:650;padding:4px 8px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;max-width:100%}.note-dot{width:4px;height:4px;background:var(--muted);border-radius:50%;position:absolute;bottom:5px}.legend{display:flex;gap:14px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:15px;padding-top:17px;font-size:11px;color:var(--muted)}.legend span{display:flex;align-items:center;gap:6px}.dot{width:7px;height:7px;border-radius:50%;display:inline-block}.side-stack{display:flex;flex-direction:column;gap:18px}.selected-date{font-size:12px;color:var(--muted);margin-bottom:8px}.selected-shift{font-size:29px;font-weight:800;margin:8px 0}.detail-info{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:20px 0}.detail-info small{display:block;margin-bottom:4px}.memo{white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere;line-height:1.7}.empty{color:var(--muted);padding:30px 12px;text-align:center;font-size:13px}.tip{background:var(--soft);color:var(--blue);font-size:12px;padding:14px 16px;border-radius:12px;margin-top:18px}.next-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.next-item:last-child{border:0}.next-day{font-size:18px;font-weight:700;min-width:32px}.next-info{flex:1;font-size:13px}.next-info small{display:block}.list-row{display:flex;gap:16px;align-items:center;border-bottom:1px solid var(--line);padding:16px 0}.list-row:last-child{border:0}.list-date{min-width:70px;font-size:13px}.list-info{flex:1;min-width:0}.list-info p{margin:4px 0;font-size:12px;overflow-wrap:anywhere}.section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.cycle{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.cycle .chip{min-width:35px}.section-grid .panel h2{margin-bottom:6px}.metric{font-size:34px;font-weight:800}.bar{height:8px;border-radius:5px;background:var(--bg);overflow:hidden;margin:10px 0 20px}.bar div{height:100%;border-radius:5px}.settings-row{padding:18px 0;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.settings-row p{margin:0;font-weight:600;font-size:14px}.settings-row small{display:block;margin-top:5px}.settings-row select{width:auto;min-width:115px}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;margin:16px 0}input,select,textarea{width:100%;min-width:0;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font-size:16px}input[type=checkbox]{width:20px;height:20px;accent-color:var(--blue)}input[type=color]{padding:4px;height:46px}textarea{resize:vertical;min-height:100px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-grid label{margin:8px 0}.check-label{flex-direction:row;align-items:center}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px;flex-wrap:wrap}.choice-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.choice-grid button{min-height:65px;font-size:13px}.choice-grid button.selected{outline:2px solid var(--blue);outline-offset:2px}.auth{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;max-width:1400px;margin:auto;align-items:center;padding:60px}.auth-art{background:#edf3ff;color:#233f73;border-radius:32px;padding:60px 48px;height:580px;display:flex;flex-direction:column;justify-content:center;margin-right:70px}.auth-art img{width:60px;margin-bottom:30px}.auth-art h1{font-size:42px;line-height:1.35;letter-spacing:-2px;margin-bottom:20px}.auth-art p{font-size:15px;color:#6d83a5;line-height:1.8}.art-days{display:flex;gap:12px;margin-top:30px}.art-days span{border-radius:16px;background:white;padding:20px 24px;font-size:22px;font-weight:700;color:#3478f6}.art-days span:nth-child(3){color:#7656d8}.art-days span:nth-child(4){color:#27a385}.auth-form{max-width:370px;width:100%}.auth-form h2{font-size:28px}.auth-form .brand{margin-bottom:45px}.auth-form>small{display:block;margin-top:25px;text-align:center}.error{font-size:13px;color:#cf4655;min-height:20px}dialog{width:min(560px,calc(100% - 28px));max-height:85dvh;border:1px solid var(--line);border-radius:22px;background:var(--panel);color:var(--text);padding:24px;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#12223d66;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-head h2{margin:0}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#24344d;color:white;border-radius:12px;padding:12px 20px;font-size:13px;z-index:20;max-width:90%;display:none;box-shadow:0 8px 30px #0002}.no-wrap{white-space:nowrap}.split{display:flex;align-items:center;gap:12px}.notice{padding:14px;background:var(--bg);font-size:13px;border-radius:12px;line-height:1.7}.setting-card{margin-bottom:18px}.pattern-line{display:flex;gap:7px;align-items:center;margin-bottom:8px}.pattern-line select{flex:1}.pattern-line button{font-size:18px;padding:6px 12px}.month-select{display:flex;align-items:center;gap:8px;margin-bottom:20px}.month-select input{width:180px}.color-swatch{height:38px;width:38px;border-radius:12px;display:grid;place-items:center;font-weight:700}.account-list{font-size:13px;margin-top:10px}.account-list div{padding:9px 0;border-bottom:1px solid var(--line)}
@media(min-width:1550px){.date-cell{min-height:112px}}@media(max-width:1150px){main{padding:28px 24px}.workspace{grid-template-columns:1fr}.side-stack{display:grid;grid-template-columns:1fr 1fr}.sidebar{padding:30px 16px}.shell{grid-template-columns:210px 1fr}.date-cell{min-height:90px}.card{padding:18px}.card .card-mark{display:none}}@media(max-width:760px){.shell{display:block}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;height:auto;z-index:10;padding:6px 6px max(8px,env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line)}.sidebar>.brand,.sidebar>.eyebrow,.sidebar-bottom{display:none}nav{flex-direction:row;gap:0;justify-content:space-around}nav button{flex-direction:column;justify-content:center;gap:0;padding:4px 2px;font-size:10px;flex:1;height:52px;border-radius:10px}nav button span{font-size:21px;line-height:1.3}.topbar{margin-bottom:20px}.topbar h1{font-size:24px}.top-actions{gap:6px}.top-actions .primary{font-size:12px;padding:8px 10px;min-height:38px}.top-actions .icon-btn{width:35px;height:38px;min-height:38px}.save-status{display:none}main{padding:24px 14px calc(95px + env(safe-area-inset-bottom));margin:0}.cards{gap:8px;margin-bottom:16px}.card{padding:13px 11px;min-height:114px;border-radius:15px}.card h2{font-size:21px;letter-spacing:-1px}.card .eyebrow{font-size:10px;margin-bottom:10px;letter-spacing:0}.card .muted{font-size:10px}.panel{padding:18px 14px;border-radius:17px}.workspace{gap:16px}.side-stack{display:flex}.calendar-grid{gap:2px}.date-cell{min-height:78px;padding:8px 2px;gap:6px;border-radius:10px}.date-cell .chip{font-size:10px;padding:3px 6px;max-width:100%;overflow:hidden}.num{font-size:12px}.panel-title{margin-bottom:15px;gap:5px}.panel-title h2{font-size:19px}.calendar-tools button{font-size:11px;padding:4px 7px}.calendar-tools .icon-btn{width:29px}.legend{gap:12px;font-size:10px}.section-grid{grid-template-columns:1fr;gap:15px}.settings-row{gap:12px}.settings-row button{font-size:12px;padding:8px 12px}.settings-row select{font-size:14px;min-width:100px}.auth{display:flex;min-height:100dvh;justify-content:center;padding:35px 25px}.auth-art{display:none}.auth-form .brand{margin-bottom:50px}.choice-grid{grid-template-columns:repeat(3,1fr)}.form-grid{gap:8px}.form-actions>*{flex:1;white-space:nowrap}.memo{font-size:14px}dialog{padding:20px}.list-row{gap:10px}.list-date{min-width:55px}.chip{font-size:11px}.list-row .quiet{padding:8px 10px}.calendar-tools{gap:3px}}@media print{.sidebar,.topbar,.side-stack,.calendar-tools,button#logout{display:none!important}.shell{display:block}main{padding:0}.card,.panel{box-shadow:none}.workspace{display:block}.date-cell{min-height:85px}.calendar-grid button{print-color-adjust:exact}.calendar-grid{break-inside:avoid}body{background:white}.topbar{display:block}}
