:root{font-family:'Apple SD Gothic Neo','Malgun Gothic',system-ui,sans-serif;color:#493b42;background:#faf5f7;font-synthesis:none;--navy:#644653;--gold:#e8b7ca;--line:#eee2e8;--muted:#857580;--green:#19765c}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible{outline:3px solid #a56a83;outline-offset:3px}button{border:0}a{color:inherit}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:27px;line-height:1.4;letter-spacing:-1px}h2{font-size:18px;letter-spacing:-.6px}h3{font-size:16px}p{line-height:1.65}small,.muted{color:var(--muted)}small{font-size:12px;line-height:1.6}.shell{max-width:1180px;margin:auto;min-height:100vh}.sidebar{position:fixed;top:0;bottom:0;width:228px;background:var(--navy);color:#fff;padding:30px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;letter-spacing:-.7px}.mark{background:var(--gold);color:var(--navy);width:34px;height:37px;display:grid;place-items:center;border-radius:11px 11px 4px 11px;font-family:Georgia,serif;font-size:27px;font-weight:800}.brand small{color:#c0ccd6;font-size:10px;display:block;letter-spacing:0;font-weight:400;margin-top:3px}.side-nav{display:grid;gap:7px;margin-top:50px}.side-nav button{display:flex;gap:13px;align-items:center;background:transparent;color:#bcc9d5;padding:13px 14px;border-radius:9px;text-align:left;font-size:14px}.side-nav button.active{background:#2c4156;color:white}.side-foot{margin-top:auto;border-top:1px solid #3a4d5e;padding-top:20px;font-size:12px;color:#bdc9d4;line-height:1.7}.main{margin-left:228px;padding:0 38px 55px}.topbar{height:83px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);margin-bottom:21px}.topbar .crumb{font-size:14px;color:var(--muted)}.top-actions{display:flex;gap:10px;align-items:center}.role{background:#fff;border:1px solid var(--line);padding:8px 11px;border-radius:8px;font-size:12px;color:var(--navy)}.iconbtn{display:flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:50%;background:#fff;color:var(--navy);position:relative}.dot{position:absolute;right:7px;top:6px;background:#bd723c;width:6px;height:6px;border-radius:50%}.devbar{font-size:12px;background:#fff6df;border:1px solid #efdfb7;color:#735822;padding:9px 12px;border-radius:7px;margin-bottom:24px;display:flex;justify-content:space-between;gap:12px}.devbar button{background:transparent;text-decoration:underline;color:inherit;white-space:nowrap;font-size:12px}.heading{display:flex;align-items:flex-end;justify-content:space-between;margin:25px 0 22px;gap:12px}.heading p{font-size:14px;margin-top:6px;color:var(--muted)}.badge{font-size:11px;font-weight:600;padding:5px 8px;border-radius:5px;background:#e7f2ee;color:#236b55;display:inline-block;white-space:nowrap}.badge.gold{background:#fcf0d5;color:#8b681f}.badge.gray{background:#edf0f4;color:#667586}.hero{background:var(--navy);color:white;padding:25px 26px;border-radius:16px;position:relative;overflow:hidden;margin-bottom:22px}.hero .badge{background:#365044;color:#deefdc}.hero h2{font-size:23px;margin:14px 0 8px}.hero .sub{font-size:13px;color:#c3ced8}.hero .progress{height:4px;background:#3c4d60;border-radius:3px;margin:22px 0 10px;overflow:hidden}.hero .progress span{display:block;height:100%;background:var(--gold)}.hero .row small{color:#c3ced8}.hero .btn{margin-top:20px;background:#f4d5e1;color:var(--navy)}.hero-deco{position:absolute;right:20px;top:34px;opacity:.16;transform:rotate(-12deg)}.hero-deco svg{width:100px;height:100px;stroke-width:1}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:21px;margin-bottom:18px}.panel .section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.line{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #f0f2f4;font-size:14px}.line:last-child{border:0}.line .label{color:var(--muted)}.actions{display:flex;gap:10px;flex-wrap:wrap}.btn{border-radius:8px;padding:12px 16px;background:var(--navy);color:#fff;font-weight:600;font-size:14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px}.btn.secondary{background:#eef2f5;color:var(--navy)}.btn.gold{background:#edc3d3;color:var(--navy)}.btn.outline{border:1px solid var(--line);background:white;color:var(--navy)}.btn.full{width:100%}.textbtn{background:none;color:#62798c;font-size:12px;padding:7px}.shortcut{display:flex;gap:13px;background:#fff;padding:18px;text-align:left;align-items:center;border:1px solid var(--line);border-radius:12px;color:var(--navy)}.shortcut small{display:block;margin-top:5px}.shortcut .tile{width:42px;height:42px;display:grid;place-items:center;background:#f8eaf0;color:#a56c84;border-radius:12px}.stack{display:grid;gap:12px}.activity{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid #f1f3f5;font-size:13px}.activity:last-child{border:0}.activity .circle{width:30px;height:30px;display:grid;place-items:center;background:#edf5f1;color:var(--green);border-radius:50%}.activity .circle svg{width:17px}.activity p{line-height:1.4}.activity small{display:block;margin-top:4px}.bottomnav{display:none}label{display:grid;gap:7px;font-size:13px;font-weight:600;min-width:0}input,select,textarea{width:100%;min-width:0;border:1px solid #d8e0e7;background:white;border-radius:8px;padding:12px;color:var(--navy);outline:none}input:focus,select:focus,textarea:focus{border-color:#ae718c;box-shadow:0 0 0 2px #faedf3}textarea{min-height:90px;resize:vertical}form .grid{gap:15px;margin-bottom:16px}.field{margin-bottom:16px}.hint{font-size:12px;color:var(--muted);line-height:1.7;margin:10px 0}.notice{padding:13px 15px;background:#f6f8fa;border-radius:8px;font-size:12px;line-height:1.7;color:#617184;margin:14px 0}.notice.warn{background:#fff7e7;color:#805f29}.types{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.type{border:1px solid var(--line);background:#fff;color:var(--navy);border-radius:10px;padding:15px 8px;line-height:1.5;font-weight:600;font-size:13px}.type.active{border:2px solid var(--navy);background:#edf2f7;padding:14px 7px}.type small{display:block;margin-top:6px;font-size:11px;font-weight:400}.steps{display:flex;gap:5px;margin:18px 0}.steps span{flex:1;font-size:12px;padding:10px 0;border-bottom:3px solid #dfe5ea;color:var(--muted)}.steps span.active{color:var(--navy);border-color:#ad718a;font-weight:700}.checks{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.check{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:400;line-height:1.6}.check input{width:18px;height:18px;flex-shrink:0;accent-color:var(--navy)}.large-number{font-size:29px;font-weight:750;letter-spacing:-1px}.total{border-top:2px solid var(--navy);margin-top:8px;padding-top:15px}.summary{background:#f5f7f9;border-radius:10px;padding:15px;margin:16px 0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th,td{padding:12px 9px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}th{background:#f7f9fa;color:var(--muted);font-weight:500}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin:15px 0}.day{background:#f3f6f8;color:var(--navy);min-height:43px;border-radius:8px;font-size:12px}.day.selected{background:var(--navy);color:white}.day.done{box-shadow:inset 0 -3px #4f997f}.tabset{display:flex;gap:8px;margin-bottom:18px;flex-wrap:wrap}.tabset button{background:#e8edf1;color:#63768a;border-radius:7px;padding:9px 15px;font-size:13px}.tabset button.active{background:var(--navy);color:white}.doc{padding:15px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:13px}.doc svg{color:#a28242}.doc div{flex:1}.doc small{display:block;margin-top:4px}.empty{padding:35px 15px;text-align:center;color:var(--muted);font-size:14px;line-height:1.9}.review{color:#ad7c22;font-size:20px}.chip{display:inline-block;padding:6px 9px;background:#f2f5f7;border-radius:5px;font-size:12px;margin:4px 3px 4px 0}.login{max-width:550px;margin:70px auto;padding:28px}.login .brand{margin-bottom:35px}.login h1{margin:20px 0 12px}.login p{font-size:14px;color:var(--muted)}.role-cards{display:grid;gap:12px;margin:25px 0}.role-card{display:flex;align-items:center;gap:15px;background:white;border:1px solid var(--line);border-radius:12px;padding:20px;text-align:left;color:var(--navy)}.role-card strong{display:block;margin-bottom:5px}.role-card svg{width:29px;height:29px}.role-card:hover{border-color:#c19a4c}.mobile-brand{display:none}#toast{position:fixed;bottom:85px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;padding:12px 20px;border-radius:10px;max-width:90vw;z-index:100;box-shadow:0 5px 20px #0002;font-size:13px;display:none}dialog{max-width:510px;width:calc(100% - 32px);border:0;border-radius:15px;padding:25px;box-shadow:0 20px 60px #0003;color:var(--navy)}dialog::backdrop{background:#152c4266}dialog h2{margin-bottom:14px}dialog .actions{margin-top:22px}.signature{border:1px dashed #bdc8d2;border-radius:9px;width:100%;height:140px;touch-action:none;background:#fbfcfd}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.stat{padding:16px;background:white;border:1px solid var(--line);border-radius:10px}.stat strong{display:block;font-size:24px;margin-top:7px}.pill{background:#e9eff4;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:12px;font-weight:600}.hidden{display:none!important}@media(min-width:1000px){.home-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:22px}.home-columns .hero{min-height:270px}.mobile-only{display:none}}@media(max-width:760px){body{background:#faf6f8}.sidebar{display:none}.main{margin:0;padding:0 18px 100px}.topbar{height:73px;margin-bottom:16px}.crumb{display:none}.mobile-brand{display:flex}.brand{font-size:20px}.brand small{font-size:9px}.mark{width:29px;height:33px;font-size:23px}.role{max-width:115px;padding:8px;font-size:11px}.top-actions{gap:7px}.devbar{margin-bottom:20px;font-size:11px;padding:8px 10px}.heading{margin-top:19px}h1{font-size:24px}.heading p{font-size:12px}.hero{padding:22px;border-radius:13px}.hero h2{font-size:22px}.hero-deco{right:12px;top:45px}.hero-deco svg{width:85px}.panel{padding:18px;margin-bottom:15px}.grid{gap:10px}.shortcut{padding:14px 12px;gap:10px}.shortcut strong{font-size:13px}.shortcut small{font-size:11px}.shortcut .tile{width:32px;height:36px}.bottomnav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:30}.bottomnav button{background:none;color:#8b98a5;font-size:10px;display:grid;justify-items:center;gap:5px;padding:5px 1px}.bottomnav button.active{color:var(--navy);font-weight:700}.bottomnav svg{width:21px;height:21px}.types{gap:7px}.type{font-size:12px;padding:12px 5px}.type.active{padding:11px 4px}.type small{font-size:10px}.stat{padding:12px}.stat small{font-size:11px}.stat strong{font-size:21px}.login{margin:20px auto;padding:22px}.topbar .iconbtn{width:33px;height:33px}form .grid{grid-template-columns:1fr 1fr}.btn{padding:12px;font-size:13px}.large-number{font-size:26px}}@media(max-width:360px){.grid{grid-template-columns:1fr}form .grid{grid-template-columns:1fr}.shortcut small{font-size:12px}.top-actions .iconbtn{display:none}}@media print{.sidebar,.topbar,.bottomnav,.devbar,.btn,.tabset,#toast{display:none!important}.main{margin:0;padding:0}.panel{break-inside:avoid}body{background:white}.print-label{display:block}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Mobile application layout: cream and blush. */
.shell{max-width:560px;min-height:100dvh;background:#faf7f8}.sidebar{display:none}.main{margin:0;padding:0 22px calc(110px + env(safe-area-inset-bottom))}.topbar{height:82px;border:0;margin-bottom:8px;padding-top:env(safe-area-inset-top)}.crumb{display:none}.mobile-brand{display:flex}.brand small{color:#957a87}.mark{background:#f0cedd;color:#86546b;border-radius:13px}.role{max-width:112px;min-height:40px;border:0;background:#f5ebf0;font-size:11px}.iconbtn{min-width:44px;min-height:44px;background:transparent}.devbar{border:0;background:transparent;color:#8c7983;font-size:11px;padding:0 0 10px;margin-bottom:8px}.heading{margin:20px 0}h1{font-size:27px;letter-spacing:-1.2px}.home-columns{display:block}.home-columns .hero{min-height:0}.hero{background:#f0d5df;color:#503440;border:1px solid #ebc8d6;padding:26px;border-radius:26px}.hero .sub,.hero .row small{color:#826372}.hero .badge{background:#fff8fc;color:#88546d}.hero h2{font-size:25px;margin-top:18px}.hero .progress{background:#dfb6c8;margin-top:26px}.hero .progress span{background:#a26881}.hero .btn{background:#fff9fc;color:#684655}.panel{border:0;border-radius:24px;padding:23px;box-shadow:0 4px 22px #6d3c5005}.grid{gap:12px}.shortcut{border:0;border-radius:20px;flex-direction:column;align-items:flex-start;gap:14px;padding:20px 15px}.shortcut strong{font-size:15px}.shortcut small{font-size:11px;line-height:1.6}.shortcut .tile{width:42px;height:42px;border-radius:14px}.btn{background:#a46580;border-radius:15px;min-height:52px;font-size:15px;padding:14px 18px}.btn.secondary{background:#f5e8ef;color:#805168}.btn.outline{border-color:#e9dbe2;color:#775565}.textbtn{color:#8c667b;min-height:44px}.line{padding:14px 0;border-color:#f3ebef}.total{border-color:#e5c6d3}.badge.gold{background:#f8e8ef;color:#925d77}.notice,.summary{background:#faf1f6;color:#806575;border-radius:14px}.type.active{border-color:#bb829c;background:#fcf0f6}.day.selected,.tabset button.active{background:#a36881}.bottomnav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:560px;background:#fffdfef5;backdrop-filter:blur(16px);border:1px solid #eee3e8;border-bottom:0;border-radius:25px 25px 0 0;padding:12px 9px calc(12px + env(safe-area-inset-bottom));z-index:30}.bottomnav button{display:grid;justify-items:center;align-content:center;gap:6px;background:transparent;color:#9c8b95;min-height:48px;font-size:11px}.bottomnav button.active{color:#995c79;font-weight:750}.bottomnav svg{width:23px;height:23px}input,select,textarea{font-size:16px;min-height:48px;border-color:#e6d9e1;border-radius:12px}.check input{min-height:20px;width:20px;accent-color:#a46b83}.login{max-width:560px;min-height:100dvh;margin:0 auto;padding:calc(38px + env(safe-area-inset-top)) 30px calc(28px + env(safe-area-inset-bottom));background:#fffafa;display:flex;flex-direction:column}.login .brand{margin:0}.welcome-art{height:210px;display:grid;place-items:center;margin:40px 0 8px;background:radial-gradient(ellipse at center,#f3d3e2 0%,#fbeef4 47%,transparent 70%)}.welcome-art svg{width:100px;height:100px;color:#b47993;stroke-width:1.1;transform:rotate(-9deg)}.login h1{font-size:33px;line-height:1.5;letter-spacing:-1.4px;margin:0 0 40px}.login-actions{display:grid;gap:12px;margin-top:auto;padding-top:24px}.login-actions .btn{min-height:58px}.btn.kakao{background:#fee500;color:#291b1c}.role-card{border-radius:18px;border-color:#eee2e8;min-height:72px}.role-card strong{margin:0}.role-card:hover{border-color:#c58ba5}dialog{border-radius:25px;color:#59434d}dialog::backdrop{background:#45303e66}.mobile-only{display:block}
@media(max-width:380px){.main{padding-left:16px;padding-right:16px}.login{padding-left:24px;padding-right:24px}.login h1{font-size:29px}.grid{grid-template-columns:1fr 1fr}form .grid{grid-template-columns:1fr}.welcome-art{height:170px;margin-top:25px}.panel{padding:20px}}
@media(min-width:761px){.shell,.login{box-shadow:0 0 65px #71485e0c}.main{padding-top:8px}}
@media print{.shell{max-width:none}.main{padding:0}.bottomnav{display:none!important}}

.login-actions .email-login{font-size:12px;font-weight:400;min-height:44px;justify-self:center;padding:8px 16px;background:transparent;color:#826b78;opacity:1}

/* Keep app labels unselectable while preserving text editing. */
body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input,textarea,[contenteditable="true"]{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}img,svg{-webkit-user-drag:none}
