:root{font-family:Inter,"Pretendard","Noto Sans KR","Malgun Gothic",sans-serif;color:#203046;background:#f4f6f9;font-synthesis:none;font-size:14px;--blue:#2163f0;--navy:#132238;--muted:#7b8799;--border:#e7ecf2;--green:#15896c;--radius:16px}*{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:wait;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #94baff;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #aac8ff;border-color:var(--blue)}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1.2px;font-weight:750}h2{font-size:17px;letter-spacing:-.4px}h3{font-size:15px}small,.muted{color:var(--muted)}.skip{position:fixed;top:-60px;background:white;padding:12px;z-index:100}.skip:focus{top:8px}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:7px;font-size:24px;font-weight:800}.boot span{color:var(--blue)}.boot small{display:block;font-size:12px;font-weight:400}.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:850;letter-spacing:-.7px;white-space:nowrap}.brand-mark{display:flex;align-items:center;justify-content:center;background:var(--blue);color:white;width:34px;height:34px;border-radius:10px;letter-spacing:-6px;padding-right:5px;font-size:19px;font-weight:900}.brand .amp{color:#71a5ff}.brand-sub{font-size:9px;color:#96a5ba;letter-spacing:2px;font-weight:500;margin-top:4px}.sidebar{width:238px;position:fixed;left:0;top:0;bottom:0;background:var(--navy);color:#c4cedd;display:flex;flex-direction:column;padding:28px 18px;z-index:30}.sidebar .brand{padding:0 7px;color:white}.workspace-select{display:flex;align-items:center;gap:10px;border:1px solid #344158;border-radius:10px;margin:32px 5px 25px;padding:12px}.workspace-select strong{color:#f7f9fe;font-size:12px;display:block;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-select small{font-size:10px;color:#90a1ba}.workspace-avatar{height:29px;width:29px;border-radius:8px;background:#32445e;display:grid;place-items:center;color:#dae8ff;font-size:12px}.nav-group{font-size:9px;color:#7b8da6;letter-spacing:1.6px;padding:22px 15px 10px}.nav{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:8px;margin:3px 0;font-size:13px;transition:background .15s}.nav:hover{background:#1d304a;color:white}.nav.active{background:#2864eb;color:white;box-shadow:0 4px 12px #06172b40}.nav .icon{width:18px;height:18px}.nav .tiny{margin-left:auto;font-size:9px;letter-spacing:.5px;color:#afcaff;border:1px solid #617697;border-radius:4px;padding:1px 3px}.sidebar-bottom{margin-top:auto;padding-top:20px}.side-caption{margin:16px 10px 0;padding-top:16px;border-top:1px solid #2b3a50;font-size:10px;line-height:1.9;color:#7e90ac}.layout{margin-left:238px}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:#ffffffd9;border-bottom:1px solid var(--border);gap:15px}.crumb{font-size:12px;color:#8b95a3}.crumb strong{color:#34465b;font-weight:500;margin-left:12px}.header-right{display:flex;align-items:center;gap:17px}.scope{font-size:11px;color:#718196;display:flex;align-items:center;gap:5px}.scope .icon{width:14px;height:14px}.user-button{border:0;background:transparent;display:flex;gap:10px;align-items:center;text-align:left;padding:0}.avatar{height:34px;width:34px;display:grid;place-items:center;border-radius:50%;background:#e9edff;color:#536cc6;font-size:11px;font-weight:700;flex-shrink:0}.user-button strong{font-size:12px;display:block}.user-button small{font-size:10px}.icon-button{display:grid;place-items:center;background:transparent;border:1px solid var(--border);border-radius:8px;width:34px;height:34px;color:#66778e}.mobile-menu{display:none}.content{max-width:1500px;margin:auto;padding:32px 36px 40px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;color:#8a97a8;margin-bottom:8px}.page-heading p{color:#8090a3;font-size:12px;margin-top:9px;line-height:1.7}.heading-actions{display:flex;align-items:center;gap:9px}.date-chip{padding:9px 12px;border:1px solid #dfe6ed;background:white;border-radius:8px;color:#67768a;font-size:11px;display:flex;align-items:center;gap:7px}.date-chip .icon{width:14px;height:14px}.button{border:1px solid #dfe5ec;background:white;color:#334257;padding:10px 15px;border-radius:8px;font-weight:600;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.4}.button.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 3px 7px #2563eb14}.button:hover{filter:brightness(.97)}.button .icon{width:16px;height:16px}.button.small{padding:6px 10px;font-size:11px}.button.danger{color:#c84e5e;border-color:#f0d7db;background:#fffafa}.button.ghost{background:transparent;border-color:transparent;color:#697c94}.button.full{width:100%}.hero{border-radius:var(--radius);background:#eaf0fc;border:1px solid #e0e8f8;min-height:162px;padding:28px 30px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.hero h2{font-size:23px;letter-spacing:-1px;line-height:1.5}.hero h2 span{color:var(--blue)}.hero p{font-size:12px;color:#6e819d;margin-top:8px;line-height:1.8}.hero-overline{font-size:9px;letter-spacing:2px;color:#4a79cb;font-weight:750;margin-bottom:9px}.hero-art{display:flex;align-items:center;gap:10px;margin-right:15px}.flow-tile{width:65px;height:71px;background:#ffffffb8;border:1px solid #ffffff;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;box-shadow:0 6px 15px #6585ae10;color:#6482b5;transform:rotate(-4deg);font-size:9px}.flow-tile .icon{height:25px;width:25px}.flow-tile:nth-child(2){background:var(--blue);color:white;transform:translateY(-12px) rotate(4deg);box-shadow:0 8px 18px #2163f02b}.flow-tile:nth-child(3){transform:rotate(-3deg)}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{padding:20px 21px;background:white;border:1px solid var(--border);border-radius:13px;min-height:130px}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#7b8b9e}.stat-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#edf3ff;color:#547feb}.stat-icon.green{background:#ecf8f3;color:#31977a}.stat-icon.orange{background:#fff5e8;color:#d99a40}.stat-icon.purple{background:#f2eeff;color:#8d6dcd}.stat-icon .icon{width:16px;height:16px}.stat-value{font-size:27px;letter-spacing:-1px;font-weight:750;margin-top:7px;color:#24354b}.stat-value small{font-size:12px;margin-left:5px;letter-spacing:0;font-weight:400;color:#7b899b}.stat-note{font-size:10px;color:#8794a5;margin-top:8px}.stat-note .positive{color:#279173}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(285px,1fr);gap:20px;margin-bottom:20px}.card{background:white;border:1px solid var(--border);border-radius:var(--radius);min-width:0;overflow:hidden}.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 23px 15px}.card-head small{display:block;font-size:10px;margin-top:6px}.card-head h2{font-size:15px}.text-link{font-size:11px;color:#778aa2;display:inline-flex;align-items:center;gap:4px;border:0;background:none;white-space:nowrap}.text-link .icon{width:13px;height:13px}.card-body{padding:10px 23px 23px}.chart{width:100%;height:200px;display:block}.chart text{font-family:inherit;fill:#8a98aa;font-size:10px}.chart .bar{fill:#cedefd}.chart .bar.today{fill:#3474f3}.chart .grid{stroke:#eef1f6;stroke-dasharray:3 4}.chart-caption{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;font-size:11px;color:#8796a8}.chart-caption b{color:#24374e;font-size:22px;letter-spacing:-.7px;margin-right:5px}.legend{display:flex;align-items:center;gap:5px;font-size:10px;color:#8b98a8}.legend:before{content:'';width:6px;height:6px;background:#397bf6;border-radius:2px}.row-item{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #f0f3f7}.row-item:last-child{border:0}.row-item .grow{flex:1;min-width:0}.row-item strong{font-size:12px;display:block}.row-item small{font-size:10px;display:block;margin-top:5px}.badge{font-size:10px;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;padding:4px 8px;border-radius:5px;background:#eef3ff;color:#537cce}.badge.green{background:#edf8f2;color:#28865b}.badge.orange{background:#fff5e6;color:#b78a36}.badge.red{background:#fff0f1;color:#ba616a}.badge.gray{background:#f1f3f6;color:#7a899c}.badge.blue{background:#ebf1fe;color:#5277c8}.progress{width:100%;height:7px;margin-top:11px;display:block}.goal-row{padding:13px 0 16px;border-bottom:1px solid #f0f3f7}.goal-row:last-child{border:0}.goal-line{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.goal-line b{color:#4f7ed7;font-size:13px}.goal-meta{font-size:10px;color:#909bab;margin-top:8px}.bottom-note{color:#9ba7b5;font-size:10px;margin-top:24px;text-align:center}.demo-banner{padding:9px 20px;font-size:11px;background:#fffae9;border-bottom:1px solid #f1e8bf;color:#96803d;text-align:center;line-height:1.7}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.search{min-width:240px;max-width:400px;flex:1;position:relative}.search input{padding-left:35px}.search .icon{position:absolute;left:11px;top:10px;width:16px;height:16px;color:#99a6b7}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#52637a}.field input,.field select,.field textarea,input.control,select.control{width:100%;border:1px solid #dce4ee;background:white;border-radius:8px;min-height:39px;padding:9px 11px;color:#30445c;font-size:12px}.field textarea{resize:vertical;min-height:85px}.field small{font-size:10px;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.span2{grid-column:1/-1}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:12px}th{font-size:10.2px;font-weight:700;text-align:center;letter-spacing:.2px;background:#fafbfd;color:#8a98a9;padding:14px 20px;border-bottom:1px solid var(--border)}td{padding:15px 20px;border-bottom:1px solid #eff2f6;color:#5c6b7e}tbody tr:last-child td{border:0}tbody tr:hover{background:#fcfdff}.person-cell{display:flex;align-items:center;gap:10px}.person-cell strong{font-size:12px;color:#33475d}.person-cell small{display:block;font-size:10px;margin-top:4px}.person-cell .avatar{height:31px;width:31px}.table-footer{padding:15px 21px;color:#8f9caf;font-size:10px;border-top:1px solid var(--border)}.empty{padding:42px 20px;text-align:center;color:#8a99ab;font-size:12px;line-height:1.9}.empty .icon{display:block;width:28px;height:28px;margin:0 auto 12px;color:#abbacd}.empty strong{display:block;color:#50647b;font-size:14px;margin-bottom:5px}.inline-note{padding:14px 18px;border:1px solid #e2eafa;background:#f4f7fd;border-radius:10px;color:#7689a5;line-height:1.8;font-size:11px;margin-bottom:20px}.split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-tile{background:white;border:1px solid var(--border);border-radius:12px;padding:18px;text-align:left;color:#40516b;transition:.15s}.product-tile:hover{border-color:#8caee9;transform:translateY(-2px);box-shadow:0 5px 15px #25416a08}.product-tile .product-art{height:65px;display:grid;place-items:center;border-radius:8px;background:#f3f6fb;margin-bottom:15px;color:#789aca}.product-art .icon{width:30px;height:30px}.product-tile strong{display:block;font-size:13px}.product-tile small{font-size:10px;display:block;margin:7px 0 11px}.product-tile b{font-size:15px;color:#3469c3}.cart{position:sticky;top:20px}.cart-item{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:15px 0;border-bottom:1px solid var(--border)}.cart-item strong{font-size:12px}.cart-item small{display:block;margin-top:6px;font-size:11px}.qty{display:flex;align-items:center;gap:10px}.qty button{width:25px;height:25px;border:1px solid var(--border);background:white;border-radius:5px;color:#7a8ba4}.cart-total{display:flex;justify-content:space-between;padding:22px 0;font-size:13px}.cart-total b{font-size:22px;color:#2c5aa6}.goals-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.goal-card{padding:23px}.goal-card h2{font-size:16px;margin:12px 0 10px;line-height:1.7}.goal-card .value{font-size:30px;font-weight:700;margin:25px 0 5px;color:#326adc}.goal-card p{font-size:10px;color:#899bb1;line-height:1.8}.goal-card .button{margin-top:20px}.schedule-strip{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--border)}.schedule-time{font-size:12px;font-weight:700;color:#507ac4;min-width:110px}.schedule-strip strong{font-size:12px}.schedule-strip small{font-size:10px;display:block;margin-top:5px}.schedule-strip .button{margin-left:auto}.assistant-layout{max-width:900px;margin:0 auto}.assistant-welcome{text-align:center;padding:22px 10px 28px}.assistant-orb{width:65px;height:65px;display:grid;place-items:center;border-radius:20px;background:#eaf0ff;color:#4a77d7;margin:0 auto 18px;box-shadow:0 8px 25px #4e7cea15}.assistant-orb .icon{width:30px;height:30px}.assistant-welcome h2{font-size:24px;line-height:1.5}.assistant-welcome p{font-size:12px;color:#8a99ad;margin-top:12px;line-height:1.8}.suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.suggestions button{font-size:12px;padding:17px;background:white;color:#60738d;border:1px solid var(--border);border-radius:10px;text-align:left;line-height:1.8}.chat-box{min-height:200px;padding:25px}.bubble{border-radius:12px;padding:14px 17px;font-size:13px;line-height:1.9;white-space:pre-wrap;margin-bottom:13px;max-width:90%}.bubble.user{background:#edf3fe;color:#456ca9;margin-left:auto}.bubble.assistant{background:#f6f8fb;color:#52647a}.bubble small{display:block;font-size:10px;margin-top:8px;color:#8292aa}.chat-form{display:flex;gap:9px;padding:18px;border-top:1px solid var(--border)}.chat-form input{flex:1;min-width:0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .card-body{display:flex;flex-direction:column;gap:16px}.auth-page{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:white}.auth-story{background:#132238;color:white;padding:45px 10%;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story:after{content:'';width:500px;height:500px;border:1px solid #334664;border-radius:50%;position:absolute;bottom:-190px;right:-150px;box-shadow:0 0 0 80px #24365345,0 0 0 160px #24365325;pointer-events:none}.auth-story .brand{position:relative;z-index:1}.auth-copy{position:relative;z-index:1;padding:70px 0}.auth-copy .eyebrow{color:#7395c8;font-size:10px}.auth-copy h1{font-size:43px;line-height:1.45;letter-spacing:-2px;margin:25px 0}.auth-copy h1 span{color:#7ba6ff}.auth-copy p{color:#9faec3;font-size:13px;line-height:2}.auth-modules{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap}.auth-modules span{border:1px solid #3a4b64;padding:9px 12px;border-radius:7px;font-size:11px;color:#b4c5df}.auth-foot{position:relative;z-index:1;font-size:10px;letter-spacing:1px;color:#6e83a1}.auth-panel{display:flex;align-items:center;justify-content:center;padding:40px 30px}.auth-form-wrap{width:100%;max-width:375px}.auth-form-wrap h2{font-size:26px;letter-spacing:-1px}.auth-form-wrap p{font-size:12px;color:#8b98aa;margin:12px 0 28px;line-height:1.8}.auth-tabs{display:flex;border-bottom:1px solid var(--border);margin-bottom:25px}.auth-tabs button{flex:1;border:0;border-bottom:2px solid transparent;background:none;color:#8a97a8;padding:13px 0;font-size:12px}.auth-tabs button.active{color:#326ce3;border-bottom-color:#326ce3;font-weight:700}.auth-form{display:flex;flex-direction:column;gap:17px}.auth-form .button{margin-top:7px;min-height:43px}.auth-note{margin-top:20px!important;font-size:10px!important;text-align:center}.auth-error,.form-error{color:#bf5464;font-size:12px;line-height:1.7}.demo-cta{margin-top:24px;border-top:1px solid var(--border);padding-top:22px}.demo-cta p{margin:8px 0;font-size:10px;text-align:center}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}dialog{border:1px solid #e4eaf2;border-radius:17px;padding:27px;width:min(560px,calc(100vw - 32px));box-shadow:0 25px 100px #1322382b;color:#304259;max-height:90vh}dialog::backdrop{background:#10243c5c;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.dialog-head h2{font-size:19px}.code-box{padding:15px;background:#f1f5fb;border:1px solid #e1e9f5;border-radius:8px;word-break:break-all;font-family:monospace;font-size:13px;color:#4366a0;user-select:all;margin:18px 0}.dialog-copy{font-size:12px;color:#7b8da4;line-height:1.9}.loading{padding:70px;color:#8c9caf;text-align:center;font-size:12px}.alert-panel{background:white;border:1px solid #f0d5da;padding:30px;border-radius:12px;color:#b35768;line-height:1.9}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);padding:13px 20px;border-radius:10px;background:#23374e;color:white;font-size:12px;box-shadow:0 8px 30px #102b4233;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:90vw;line-height:1.7}#toast.show{opacity:1;transform:translate(-50%,0)}.screen-shade{display:none}.tabs-inline{display:flex;gap:8px;flex-wrap:wrap}.tabs-inline .button{font-size:11px}.tabs-inline .selected{background:#e9f0ff;color:#3b6acf;border-color:#cdddf7}.num{font-variant-numeric:tabular-nums}.wide-text{white-space:normal;min-width:140px;max-width:280px;line-height:1.7}.page-label{font-size:10px;color:#7489a5}.count-dot{font-size:10px;background:#edf3fd;color:#6183ba;border-radius:4px;margin-left:7px;padding:2px 5px}
@media(min-width:1450px){.content{padding:38px 45px}.topbar{padding:0 45px}.hero{min-height:177px}.chart{height:215px}}
@media(max-width:1150px){.sidebar{width:210px;padding:25px 13px}.layout{margin-left:210px}.content{padding:25px}.topbar{padding:0 25px}.hero-art{display:none}.stat{padding:17px}.stat-value{font-size:24px}.dashboard-grid{grid-template-columns:1.3fr 1fr}.product-grid{grid-template-columns:repeat(2,1fr)}.goals-grid{grid-template-columns:repeat(2,1fr)}.sidebar .brand{font-size:12px;gap:7px}.auth-copy h1{font-size:36px}}
@media(max-width:850px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:235px}.sidebar.open{transform:translateX(0)}.screen-shade.open{display:block;position:fixed;inset:0;background:#17283f66;z-index:25;border:0;width:100%;height:100%}.layout{margin-left:0}.mobile-menu{display:grid}.crumb{display:none}.topbar{height:65px;padding:0 22px}.header-right{margin-left:auto}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(265px,1fr)}.auth-page{grid-template-columns:1fr}.auth-story{padding:27px 30px}.auth-copy{padding:30px 0}.auth-copy h1{font-size:29px;margin:10px 0}.auth-copy p,.auth-modules,.auth-foot{display:none}.auth-panel{padding:35px 24px}.auth-form-wrap{max-width:420px}.auth-story:after{width:280px;height:280px}.settings-grid{grid-template-columns:1fr}}
@media(max-width:620px){.content{padding:24px 17px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:20px}h1{font-size:24px}.page-heading p{font-size:11px;max-width:245px}.heading-actions .date-chip{display:none}.heading-actions .button{padding:9px 10px;font-size:11px}.hero{padding:22px;min-height:150px}.hero h2{font-size:20px}.hero p{font-size:11px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.stat{padding:15px;min-height:118px}.stat-value{font-size:24px}.stat-top{font-size:10px}.stat-note{font-size:9px}.dashboard-grid,.split{grid-template-columns:1fr;gap:16px}.card-head{padding:20px 20px 12px}.card-body{padding:9px 20px 20px}.scope{display:none}.goals-grid{grid-template-columns:1fr}.suggestions{grid-template-columns:1fr}.assistant-welcome h2{font-size:21px}.suggestions button{padding:12px 16px}.chat-box{padding:16px}.bubble{max-width:96%;font-size:12px}.chat-form{padding:12px}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.toolbar .search{min-width:180px}.cart{position:static}.schedule-time{min-width:85px;font-size:10px}.schedule-strip{gap:8px}.demo-banner{font-size:10px;padding:6px 14px}.boot{font-size:18px;flex-wrap:wrap}.boot small{width:100%;text-align:center}.user-button strong{font-size:11px}.user-button small{font-size:9px}.header-right{gap:11px}.page-label{display:none}}
.ai-consent{display:flex;align-items:flex-start;gap:9px;padding:14px 20px;font-size:11px;line-height:1.8;color:#71839c;border-top:1px solid var(--border)}.ai-consent input{margin-top:5px}.sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(171,190,214,.24) transparent}.sidebar::-webkit-scrollbar{width:7px}.sidebar::-webkit-scrollbar-track{background:transparent}.sidebar::-webkit-scrollbar-thumb{background:rgba(171,190,214,.24);border-radius:8px}.sidebar::-webkit-scrollbar-thumb:hover{background:rgba(171,190,214,.4)}.inline-note{margin-top:16px}
@media(max-width:850px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Company standards and reusable weekly work types. */
.personnel-catalogs{margin-top:24px}.catalog-list{min-height:80px}.work-type-card{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid #e8edf4}.work-type-card:last-child{border:0}.work-type-card p{margin:8px 0;color:#5a6980}.work-type-card small{color:#5a6980}.work-editor{width:100%;min-width:0}dialog:has(.work-editor){width:min(1140px,calc(100vw - 32px));max-width:1140px}.work-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}.work-toolbar p{color:#637187;font-size:13px}.work-day{border:1px solid #dfe6ef;border-radius:12px;margin:12px 0;padding:12px 16px}.work-day legend{padding:0 8px;font-weight:600}.work-day-fields{display:grid;grid-template-columns:1fr 90px 1fr 150px 72px;gap:14px;align-items:center}.time-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.time-pair input{min-width:0;width:100%;padding:9px 6px}.check-field{display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap}.check-field input{width:16px;height:16px;accent-color:#4076df}.work-flags{display:grid;gap:9px}.day-total{font-size:14px;font-weight:700;color:#315faf;text-align:center}.day-off{background:#f6f8fb}.day-off .work-day-fields{opacity:.55}.work-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.work-summary>div{padding:16px;background:#f0f5ff;border-radius:10px;color:#536780;font-size:12px}.work-summary strong{display:block;font-size:21px;color:#244c94;margin-top:8px}#work-preview h3{margin:24px 0 12px}.danger{color:#b33131}.settings-grid+.card,.settings-grid~.card{margin-bottom:24px}
@media(max-width:900px){.work-day-fields{grid-template-columns:1fr 1fr}.work-flags{grid-template-columns:repeat(2,1fr);grid-column:1/-1}.work-summary{grid-template-columns:1fr 1fr}.work-toolbar{align-items:flex-start;flex-direction:column}.work-type-card{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.work-day-fields{grid-template-columns:1fr}.work-flags{grid-template-columns:1fr}.day-total{text-align:left}.work-day{padding:10px}.work-summary>div{padding:12px}.work-summary strong{font-size:18px}}
.search input.control{padding-left:42px;width:100%}.toolbar .search .icon{left:14px;top:50%;transform:translateY(-50%);pointer-events:none}.people-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;padding:18px;background:#fff;border:1px solid var(--border);border-radius:12px}.people-filters select{width:100%;min-width:0}.filter-summary{padding:14px 2px;color:#69788d;font-size:13px}.filter-summary strong{color:#2163f0}@media(max-width:520px){.people-filters{grid-template-columns:1fr 1fr;padding:12px;gap:12px}.toolbar .search{min-width:0;flex-basis:100%;max-width:none}}

.report-summary{display:flex;flex-wrap:wrap;gap:22px;background:#f2f6fd;padding:18px;border-radius:12px;margin-bottom:18px;color:#65758b}.report-summary strong{color:#234f94;margin-left:6px}.barcode-bar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px;margin:18px 0}.barcode-bar .field{flex:1;min-width:220px}.barcode-bar small{flex-basis:100%}.inventory-filters .field{min-width:180px}.receipt-summary{line-height:1.9;margin-bottom:18px}.receipt-summary small{overflow-wrap:anywhere}@media(max-width:520px){.barcode-bar .field{min-width:0;flex-basis:100%}.report-summary{gap:10px;flex-direction:column}.inventory-filters .field{min-width:0;flex:1}}
.catalog-create{display:flex;align-items:end;gap:12px;margin-bottom:20px}.catalog-create .field{flex:1}.product-photo{width:100%;height:100%;object-fit:contain;border-radius:8px}.product-thumb{width:44px;height:44px;overflow:hidden}.product-art .product-photo{max-height:140px}.product-image-preview{height:90px;width:100px;background:#f2f5fa;border-radius:10px;display:grid;place-items:center}.discount-editor{border:1px solid #dfe6f0;border-radius:12px;margin:18px 0;padding:16px}.product-detail{display:flex;align-items:center;gap:22px;margin-bottom:24px;line-height:1.9}.detail-photo{height:160px;width:180px;flex-shrink:0;background:#f1f5fa;border-radius:14px;display:grid;place-items:center}.detail-photo .icon{width:54px;height:54px;color:#87a1c0}.product-note{white-space:pre-wrap;padding:16px;background:#f6f8fc;margin:12px 0 22px;border-radius:10px}dialog.product-detail-dialog{width:min(940px,calc(100vw - 32px));max-width:940px}.product-detail-dialog h3{margin:18px 0 12px}@media(max-width:520px){.catalog-create{align-items:stretch;flex-direction:column}.product-detail{align-items:flex-start;flex-direction:column}}
.mail-toolbar,.mail-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0;flex-wrap:wrap}.tabs-inline{display:flex;gap:8px;flex-wrap:wrap}.tabs-inline .selected{background:#eaf1ff;color:#2854ae;border-color:#a9c0ed}.mail-unread{background:#f4f8ff}.mail-unread .text-link{font-weight:700}.unread-dot{display:inline-block;width:7px;height:7px;background:#377ce8;border-radius:50%;margin-right:8px}.mail-kind{display:block;color:#668098;margin-top:5px}.message-dialog{width:min(760px,calc(100vw - 32px));max-width:760px}.recipient-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:240px;overflow:auto;margin:14px 0 22px}.recipient-option{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid #e1e8f2;border-radius:9px}.recipient-option[hidden]{display:none}.recipient-option input,.check-field input,[data-message-check]{width:17px;height:17px;accent-color:#437be1}.recipient-option small{display:block;color:#718098;margin-top:4px}.message-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;padding:20px;background:#f5f7fb;border-radius:12px;min-height:100px}.message-file-preview{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.attachment-tile{width:160px;padding:12px;border:1px solid #dce5f0;border-radius:10px;display:flex;flex-direction:column;gap:8px;overflow-wrap:anywhere}.attachment-tile img{width:100%;height:110px;object-fit:contain}.attachment-tile small{color:#728198}.mail-pagination{justify-content:center}@media(max-width:600px){.recipient-list{grid-template-columns:1fr}.header-right>.button{font-size:12px;padding:8px}.mail-toolbar{align-items:stretch}.attachment-tile{width:130px}}
.employee-photo{width:100%;height:100%;object-fit:cover;border-radius:inherit}.employee-photo-editor{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.employee-photo-editor>.avatar{width:80px;height:80px;flex-shrink:0}.employee-dialog{width:min(780px,calc(100vw - 32px));max-width:780px}.employee-policy{border-top:1px solid #e0e6ef;margin-top:24px;padding-top:18px}.system-identifier{display:flex;flex-direction:column;gap:8px;background:#f5f7fb;padding:14px;border-radius:8px}.system-identifier code{overflow-wrap:anywhere;font-size:12px}.system-identifier small{color:#718098}
#employee-message-choices[hidden]{display:none}
.schedule-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.schedule-toolbar>.field{margin:0;min-width:220px}.schedule-toolbar input[type=date]{padding:9px;border:1px solid #dce4ef;border-radius:9px}.schedule-state{display:flex;gap:8px;flex-wrap:wrap}.schedule-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;border:1px solid #dce5f0;background:#dce5f0;border-radius:14px;overflow:hidden}.schedule-calendar.day{grid-template-columns:1fr}.calendar-weekday{text-align:center;padding:12px;background:#f4f7fc;font-size:12px;font-weight:600}.calendar-day,.calendar-blank{background:white;min-height:170px;padding:10px;min-width:0}.calendar-blank{background:#f8fafd}.calendar-day.is-today{background:#f4f8ff;box-shadow:inset 0 3px #477df0}.calendar-date{display:flex;justify-content:space-between;align-items:center;margin:4px 0 10px}.calendar-date small{color:#8492a7;font-size:11px}.calendar-entry{width:100%;text-align:left;display:flex;flex-direction:column;gap:5px;border:1px solid #dce6f7;border-left:3px solid #8392ac;border-radius:7px;background:#f6f8fc;padding:8px;margin:8px 0;font:inherit;cursor:pointer;overflow-wrap:anywhere}.calendar-entry strong{font-size:12px}.calendar-entry span,.calendar-entry small{font-size:10px;line-height:1.5}.state-pending{border-left-color:#e3a33d;background:#fff9eb}.state-accepted{border-left-color:#43a8a0;background:#f0fcf8}.state-confirmed{border-left-color:#4881f0;background:#edf4ff}.state-rejected{border-left-color:#da7281;background:#fff3f4}.state-waitlist{border-left-color:#9a84c1;background:#f8f4ff}.capacity-label{display:block;color:#7d8ca4;font-size:11px;margin:8px 0}.calendar-empty{display:block;color:#a4afbf;font-size:11px;margin-top:16px}.calendar-period{font-size:16px;margin:24px 0 14px}.schedule-legend{display:flex;gap:18px;margin:16px 0;color:#75849c;font-size:12px;flex-wrap:wrap}.pattern-code{display:block;max-width:260px;overflow-wrap:anywhere;margin:6px 0;color:#7e8a9c;font-size:10px}.pattern-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:1px solid #dde4ee;border-radius:10px;margin:18px 0;padding:16px}.pattern-row legend{padding:0 6px;font-weight:600}.pattern-choices{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0;max-height:220px;overflow:auto}.schedule-dialog{max-width:850px;width:calc(100vw - 32px)}#pattern-overtime[hidden]{display:none}.schedule-dialog .field{min-width:0}.schedule-calendar.week .calendar-day{min-height:320px}@media(max-width:1050px){.schedule-calendar.month,.schedule-calendar.week{grid-template-columns:repeat(7,minmax(120px,1fr));overflow:auto;display:grid}.schedule-calendar{border-radius:10px}.content:has(.schedule-calendar){overflow:auto}.calendar-entry strong{font-size:11px}}@media(max-width:600px){.pattern-row{grid-template-columns:1fr}.schedule-toolbar>.field{min-width:180px}}
.schedule-legend span{padding:5px 9px;border-left:3px solid;border-radius:4px}.schedule-calendar .calendar-entry:focus-visible{outline:2px solid #2766dc;outline-offset:2px}
.sidebar-clock{display:flex;gap:8px;margin:8px 10px 18px}.sidebar-clock .button{flex:1;justify-content:center;padding:8px;font-size:12px}.participant-list{max-height:240px;overflow:auto;border:1px solid #dfe7f2;border-radius:10px;padding:10px}.participant-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px;border-bottom:1px solid #eef2f7}.participant-row .check-field{flex:1}.participant-picker [data-participant-panel]{background:#f5f8fc;padding:16px;margin-top:14px;border:1px solid #dce5ef;border-radius:12px}.participant-picker [data-participant-panel][hidden]{display:none}.participant-picker .recipient-option{margin:5px 0}.schedule-date-capacity{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e0e6ef;border-radius:8px;padding:10px;width:100%}.schedule-date-capacity input[type=number]{width:78px;padding:7px;border:1px solid #d4dfec;border-radius:7px}.participant-picker .field{display:block}#schedule-create-days{display:block;max-height:300px}#schedule-create-days .schedule-date-capacity{margin:6px 0}@media(max-width:600px){.schedule-date-capacity{flex-wrap:wrap}.participant-row{align-items:flex-start}}

.clock-caption{font-size:11px;color:#b9c7db;text-align:center;margin:0 12px 14px}.sidebar-clock .clock-done{background:#dce1e8;color:#64748b;opacity:1}.sidebar-clock .shift-finished{background:#dcfce7;color:#166534;opacity:1;width:100%}.approval-policy{margin:24px 0;padding-top:20px;border-top:1px solid var(--line,#e4e8ef)}[data-approval-row][hidden]{display:none}.recipient-list[hidden]{display:none}

.calendar-date-button{border:0;background:transparent;color:var(--blue,#2563eb);font:inherit;font-weight:700;cursor:pointer;padding:4px;border-radius:5px}.calendar-date-button:hover{background:#eaf1ff}#saved-assignments{max-height:320px;overflow:auto;margin-top:12px}
/* Shared dialog form layout: one rhythm for every editor. */
#modal-form{display:flex;flex-direction:column;gap:20px;min-width:0}
#modal-form>*{min-width:0;margin-top:0;margin-bottom:0}
#modal-form>[hidden],#modal-form .form-error:empty{display:none}
#dialog .field{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;margin:0;font-size:13px;line-height:20px;color:#52637a}
#dialog .field :is(input:not([type=checkbox]):not([type=radio]),select){height:44px;min-height:44px;width:100%;min-width:0;margin:0;padding:10px 12px;border:1px solid #dce4ee;border-radius:8px;background:#fff;color:#30445c;font-size:14px;line-height:22px;box-sizing:border-box}

.popup-search-controls,#dialog .field.popup-search-controls{display:flex;flex-direction:row;align-items:flex-end;gap:8px;min-width:0}
.popup-search-controls>.field{flex:1 1 0;min-width:0;margin:0}
.popup-search-controls>.button{flex:0 0 auto;min-height:44px;white-space:nowrap}
#dialog .field input[type=file]{padding:7px 10px;font-size:12px}
#dialog input[type=file]::file-selector-button{height:28px;margin:0 10px 0 0;padding:0 10px;border:0;border-radius:5px;background:#edf3ff;color:#315995;font:inherit}
#dialog .field textarea{width:100%;min-width:0;min-height:108px;margin:0;padding:10px 12px;font-size:14px;line-height:22px;border:1px solid #dce4ee;border-radius:8px;resize:vertical}
#dialog .field small{font-size:11px;line-height:18px}
#dialog .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
#dialog .form-grid>.span2{grid-column:1/-1}
#dialog :is(.check-field,.recipient-option){font-size:13px;line-height:20px;white-space:normal;min-height:28px}
#dialog :is(.check-field,.recipient-option) input{width:17px;height:17px;min-height:17px;margin:0;flex:0 0 17px}
#dialog .check-field{gap:8px}
#modal-form :is(.approval-policy,.employee-policy,.work-editor){display:flex;flex-direction:column;gap:20px}
#modal-form :is(.approval-policy,.employee-policy)>*{margin-top:0;margin-bottom:0}
#modal-form :is(.pattern-row,.discount-editor){margin:0;padding:18px;min-width:0}
#modal-form .discount-editor{display:flex;flex-direction:column;gap:16px}
#modal-form .pattern-row{gap:16px;align-items:start}
#modal-form .pattern-row>.check-field{grid-column:1/-1}
#modal-form .work-day{margin:0;min-width:0}
#modal-form .work-day-fields{align-items:end}
#modal-form .time-pair{min-width:0;gap:12px}
#modal-form .work-day-fields>.check-field{min-height:44px}
#modal-form .work-toolbar{margin:0}
#modal-form .form-actions{margin:0;padding-top:20px;border-top:1px solid var(--border);gap:10px;flex-wrap:wrap}
#modal-form .form-actions>.button{min-height:42px;min-width:84px}
#modal-form .schedule-toolbar{margin:0 0 14px;align-items:end}
#modal-form .schedule-date-capacity>label:not(.check-field){display:flex;align-items:center;gap:8px;line-height:20px;font-size:13px}
#modal-form .schedule-date-capacity input[type=number]{height:44px;min-height:44px;padding:10px 12px}
#dialog .field :is(input,select,textarea):disabled{background:#f4f6f9;color:#7b8799}
#modal-form h3{line-height:24px}
#modal-form .dialog-copy{line-height:1.8}
@media(max-width:620px){
 dialog{padding:20px}
 #modal-form{gap:18px}
 #dialog .form-grid{grid-template-columns:minmax(0,1fr);gap:18px}
 #modal-form .pattern-row{grid-template-columns:minmax(0,1fr)}
 #modal-form .form-actions>.button{flex:1}
}

#dialog .catalog-create{gap:16px}#dialog .catalog-create>.button{min-height:44px}#dialog .field :is(input,select,textarea):focus{border-color:var(--blue)}

/* Workspace summaries keep related information on one readable row. */
.settings-grid.personnel-catalogs{margin-bottom:24px}
.work-type-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;min-width:0}
.work-type-summary>p,.work-type-summary>small{margin:0;padding-left:16px;border-left:1px solid #d6deeb}
.work-type-summary>strong{flex-shrink:0}
.work-type-card>button{flex-shrink:0}
@media(max-width:620px){.work-type-summary{flex-direction:column;align-items:flex-start}.work-type-summary>p,.work-type-summary>small{border-left:0;padding-left:0}}

.employee-extra>summary{cursor:pointer;color:#526580;font-size:13px}.employee-extra[open]>summary{margin-bottom:16px}
.field-heading{display:flex;align-items:center;gap:0}
.field-help-button{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:8px;width:24px;min-width:24px;height:24px;box-sizing:border-box;border:0;border-radius:0;background:transparent;color:#526b8e;font-size:18px;font-weight:600;line-height:1;cursor:pointer;padding:0;text-align:center}
.field-help-button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}
.field-help-popover{position:fixed;inset:auto;margin:0;box-sizing:border-box;background:#fff;font-size:13px;max-width:min(420px,calc(100vw - 48px));padding:20px;border:1px solid #d9e2ef;border-radius:14px;color:#34465f;line-height:1.7;box-shadow:0 12px 40px #172b4d26}
.contract-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}
.contract-draw{margin:24px 0}.contract-draw canvas{display:block;width:100%;max-width:600px;height:auto;aspect-ratio:10/3;border:1px dashed #8ca0bb;border-radius:12px;background:#fafcff;touch-action:none}.contract-signatures svg{display:block;max-width:100%}.contract-batch{margin:24px 0;padding:16px;border:1px solid #dfe7f0;border-radius:12px}.contract-batch summary{cursor:pointer}
.contract-stat{display:flex;flex-direction:column;gap:12px;align-items:flex-start;border:1px solid #dfe7f0;background:#fff;border-radius:14px;padding:22px;color:#4b6078;cursor:pointer;font:inherit}.contract-stat strong{font-size:30px;color:#142236}.contract-stat.selected{border-color:#447be6;background:#f1f6ff}
.contract-guide{padding:24px;border-radius:16px;background:#edf3fb;margin-bottom:24px;line-height:1.8}.contract-guide p{margin:8px 0}.contract-guide span{margin:0 10px;color:#7c91ae}.contract-guide small{color:#546b86}
dialog.contract-dialog{width:min(960px,calc(100vw - 32px));max-width:960px}.contract-detail-bar{display:flex;gap:16px;align-items:center;margin-bottom:20px}.contract-paper{background:white;border:1px solid #e1e6ef;padding:32px;margin:20px 0;color:#20324b;line-height:1.85;overflow-wrap:anywhere}.contract-paper-head{text-align:center;border-bottom:2px solid #273e5a;padding-bottom:20px;margin-bottom:24px}.contract-paper-head h2{font-size:27px;margin:12px 0}.contract-paper h3{font-size:15px;margin:18px 0 6px}.contract-paper section>p{white-space:pre-wrap;margin:4px 0 16px}.contract-parties{display:grid;grid-template-columns:150px 1fr;gap:12px;margin-bottom:24px}.contract-parties dt{color:#62728a}.contract-parties dd{margin:0}.contract-signatures{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid #dde5ef;margin-top:30px}.contract-sign-name{font-size:24px}.contract-delivery{background:#f4f7fb;padding:20px;border-radius:12px}.contract-delivery h3{margin-top:0}.contract-actions{flex-wrap:wrap;justify-content:flex-start}.contract-audit{margin:20px 0;color:#586b82;line-height:1.8}.contract-audit summary{cursor:pointer}.contract-hash{overflow-wrap:anywhere;font-size:12px}.contract-dialog .form-actions{flex-wrap:wrap}.contract-dialog .check-field{margin:20px 0}
@media(max-width:620px){.contract-summary{grid-template-columns:1fr 1fr;gap:10px}.contract-stat{padding:16px}.contract-paper{padding:18px}.contract-parties{grid-template-columns:1fr;gap:5px}.contract-parties dd{margin-bottom:10px}.contract-signatures{grid-template-columns:1fr}.contract-guide span{margin:0 3px}.contract-dialog .form-grid{grid-template-columns:1fr}}
@media print{body.printing-contract>*:not(#dialog){display:none!important}body.printing-contract #dialog{position:static;display:block;max-height:none!important;max-width:none!important;width:100%;margin:0;padding:0;border:0;overflow:visible}body.printing-contract #dialog::backdrop{display:none}body.printing-contract #dialog .dialog-head,body.printing-contract #dialog .form-actions,body.printing-contract #dialog .form-error,body.printing-contract #dialog .contract-audit{display:none!important}.contract-paper{border:0;padding:0}.contract-paper section{break-inside:avoid}.contract-paper-head h2{font-size:24px}.contract-paper{font-size:11pt}.contract-delivery{background:none} }
.integration-section{margin-bottom:32px;scroll-margin-top:24px}.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.integration-grid .card{margin:0;display:flex;flex-direction:column}.integration-grid .card small{display:block;color:var(--muted,#68717e);line-height:1.7}.integration-status{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0}.integration-facts{display:grid;grid-template-columns:86px 1fr;gap:12px;margin:20px 0;flex:1}.integration-facts dt{color:var(--muted,#68717e)}.integration-facts dd{margin:0;overflow-wrap:anywhere}.integration-notice{padding:16px 20px;background:#eef4fa;border:1px solid #d8e4f0;border-radius:12px;line-height:1.7;margin-bottom:20px}.integration-help{padding:20px 0;line-height:1.8}.integration-help summary{cursor:pointer;font-weight:600}.integration-help li{margin:8px 0}.integration-section .card-head p{margin:8px 0;color:var(--muted,#68717e)}.integration-dialog{width:min(760px,calc(100vw - 32px));max-width:760px}.integration-dialog h3{margin:22px 0 12px}.integration-dialog .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.integration-dialog .check-field{margin:12px 0;display:flex;align-items:center;gap:10px}.identity-page{max-width:720px;margin:60px auto;padding:24px}.identity-page .card{padding:24px;line-height:1.8}.identity-page #status{overflow-wrap:anywhere}.identity-page .check-field{display:flex;gap:10px;align-items:center}.integration-section table td:last-child{min-width:240px}.integration-section table td:last-child button{margin-top:8px;display:block}@media(max-width:850px){.integration-grid,.integration-dialog .form-grid{grid-template-columns:1fr}.integration-section .card-head{align-items:flex-start;gap:16px}.identity-page{margin:16px auto}}
.identity-page [hidden]{display:none!important}

.notice-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85}.workspace-notice-banner{display:block;padding:14px 20px;margin-bottom:20px;background:#eaf1ff;color:#254c85;border:1px solid #cbdcf7;border-radius:10px;text-decoration:none;overflow-wrap:anywhere}

.platform-management-banner{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:16px 28px;background:#e4edff;border-bottom:1px solid #b8cef3;color:#244773}.platform-management-banner a{margin-left:auto;color:inherit;font-weight:700}

/* Notice formatting is a fixed class palette; user HTML/CSS is never executed. */
.notice-dialog{width:min(880px,94vw);max-width:880px}.notice-content{overflow-wrap:anywhere}.notice-paragraph{white-space:pre-wrap;line-height:1.65;margin:0 0 16px}.notice-size-14{font-size:14px}.notice-size-16{font-size:16px}.notice-size-20{font-size:20px}.notice-size-24{font-size:24px}.notice-size-32{font-size:32px}.notice-color-ink{color:#17243b}.notice-color-gray{color:#64748b}.notice-color-red{color:#b42318}.notice-color-orange{color:#a6470a}.notice-color-green{color:#167348}.notice-color-blue{color:#1d4ed8}.notice-color-purple{color:#7e22ce}.notice-align-left{text-align:left}.notice-align-center{text-align:center}.notice-align-right{text-align:right}.notice-bold{font-weight:700}.notice-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.notice-toolbar label{display:grid;gap:5px;font-size:12px}.notice-toolbar select{padding:8px;border:1px solid #dce3ed;border-radius:8px;background:white}.notice-edit-block{padding:16px;margin:12px 0;border:1px solid #dce3ed;border-radius:12px;background:#f8fafc}.notice-edit-block .field{margin-top:12px}.notice-attachments{display:grid;gap:14px;margin-top:20px}.notice-attachments figure{margin:0}.notice-attachments img{max-width:100%;max-height:600px;object-fit:contain;border-radius:10px}.notice-attachments figcaption{font-size:12px;color:#64748b;margin-top:6px}.notice-file{display:flex;flex-wrap:wrap;gap:12px;padding:14px;border:1px solid #dce3ed;border-radius:10px;overflow-wrap:anywhere}.notice-editor-files{display:grid;gap:8px;margin:12px 0}.notice-editor-file{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:10px;border:1px solid #dce3ed;border-radius:8px;overflow-wrap:anywhere}.notice-editor-file img{width:80px;height:60px;object-fit:contain}.notice-editor-file span{flex:1;min-width:100px}.notice-preview:not(:empty){margin:18px 0;padding:20px;border:1px solid #cbd5e1;border-radius:12px;background:white}

/* Work hub: scoped tasks, review-only attendance signals, and approved leave. */
.hub-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.hub-tabs>.button:last-child{margin-left:auto}.hub-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.hub-metrics>div{border:1px solid #e4e8ef;border-radius:12px;padding:18px;background:#fff}.hub-metrics span{display:block;color:#526078;font-size:13px}.hub-metrics strong{display:block;font-size:28px;margin-top:10px;color:#233c61}.hub-metrics small{font-size:13px;font-weight:400;margin-left:6px}.hub-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;color:#526078;font-size:13px}.hub-pager>div{display:flex;gap:8px}.hub-flag{display:block;margin:3px 0;color:#8a541c;font-size:12px}.hub-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:20px 0}.hub-day{border:1px solid #e4e8ef;border-radius:12px;background:#fff;padding:12px;min-height:160px;overflow-wrap:anywhere}.hub-day h3{margin:0 0 8px;font-size:16px}.hub-day>strong{color:#547068;font-size:13px}.hub-day small{font-size:12px;font-weight:400;color:#69768a}.hub-leave{display:flex;gap:5px;flex-direction:column;background:#edf6f1;border-radius:7px;padding:8px;margin-top:10px;font-size:13px}.hub-day .muted{font-size:12px}@media(max-width:1100px){.hub-calendar{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:680px){.hub-metrics,.hub-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-tabs>.button:last-child{margin-left:0}.hub-pager{align-items:flex-start;flex-direction:column}.hub-day{min-height:130px}}

.lv-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}
.lv-card{border:1px solid #e0e7f0;background:#fff;border-radius:14px;padding:22px;display:flex;flex-direction:column;gap:10px}
.lv-card strong{font-size:27px;color:#265e9c;line-height:1.3}.lv-card small,.lv-card span{color:#61738a;font-size:12px}
.lv-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0;align-items:center}.lv-filters{align-items:end}
.lv-weekdays{display:flex;gap:14px;margin:16px 0;border:1px solid #dce4ed;border-radius:8px;padding:14px}
.lv-check{display:flex;gap:8px;align-items:center;margin:10px 0}
#lv-accrual-result,#lv-close-result,#lv-import-result{max-height:380px;overflow:auto;margin-top:16px}
@media(max-width:1000px){.lv-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.lv-cards{grid-template-columns:1fr}.lv-card strong{font-size:24px}.lv-weekdays{flex-wrap:wrap}}
.employee-leave-policy{margin:20px 0;padding:18px;border:1px solid #dbe2ec;border-radius:12px;background:#f8faff}.employee-leave-policy h3{margin:0 0 12px}.employee-leave-policy fieldset{border:0;margin:0;padding:0}.employee-leave-policy legend{font-weight:600;margin-bottom:10px}.leave-policy-option{display:flex;gap:10px;padding:12px;background:white;border:1px solid #dce4ef;border-radius:8px;margin-bottom:8px;cursor:pointer}.leave-policy-option input[type=radio]{width:18px;height:18px;flex:0 0 18px;margin-top:3px;accent-color:#3466c2}.leave-policy-option span{display:block}.leave-policy-option small{display:block;line-height:1.6;color:#566278;margin-top:4px}.weekly-hours-dialog{width:min(1160px,94vw);max-width:94vw;max-height:90vh;padding:24px;border:1px solid #dce4ef;border-radius:16px;color:#1b2d48;overflow:auto}.weekly-hours-dialog::backdrop{background:#17243a88}.weekly-hours-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.weekly-hours-header h2{margin:0;font-size:21px}.weekly-hours-controls{display:flex;gap:14px;flex-wrap:wrap;align-items:end;margin:16px 0}.weekly-hours-controls label,.weekly-review label{display:flex;flex-direction:column;gap:6px}.weekly-hours-dialog select,.weekly-hours-dialog textarea{padding:9px 12px;border:1px solid #ccd6e4;border-radius:8px;background:white;color:#1b2d48;font:inherit}.weekly-hours-notice{background:#eef3fa;padding:12px 16px;border-radius:8px;line-height:1.7;font-size:13px}.weekly-hours-scroll{overflow-x:auto}.weekly-hours-table{width:100%;border-collapse:collapse;min-width:850px;font-size:13px}.weekly-hours-table th,.weekly-hours-table td{padding:12px 10px;text-align:left;border-bottom:1px solid #e4e9f0;vertical-align:top}.weekly-hours-table th{text-align:center;background:#f5f7fb;white-space:nowrap}.weekly-hours-table summary{cursor:pointer;min-width:195px}.weekly-hours-table details p{line-height:1.6;max-width:260px}.weekly-status{display:inline-block;padding:4px 8px;border-radius:6px;background:#edf1f6;white-space:nowrap}.status-eligible{color:#14673e;background:#e6f5ed}.status-not_eligible{color:#9a2638;background:#fbe9ed}.status-review_required{color:#895816;background:#fff2d8}.weekly-review{padding:18px;background:#f7f9fc;border:1px solid #dce4ef;border-radius:10px;margin:16px 0;display:grid;gap:12px}.weekly-review h4{margin:0}.weekly-review textarea{min-height:75px}.weekly-review [role=status]{color:#a42333}.weekly-hours-dialog button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:600px){.weekly-hours-dialog{padding:16px}.weekly-hours-header h2{font-size:18px}}
.weekly-hours-dialog [data-weekly-content]>p{margin:12px 0}.weekly-hours-table details p{margin:8px 0}.weekly-hours-dialog [data-weekly-detail] h3{margin:20px 0 10px}

.selection-dialog{width:min(640px,94vw);max-width:94vw;max-height:88vh;overflow:auto;border:1px solid var(--border);border-radius:16px;padding:24px;color:inherit}.selection-dialog::backdrop{background:#17243a88}.selection-dialog>.field{margin:16px 0 12px}.picker-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.picker-results{height:min(360px,44vh);overflow:auto;border:1px solid var(--border);border-radius:8px;padding:8px}.picker-results .recipient-option{display:flex;margin:0;padding:10px}.picker-results .recipient-option span{display:flex;flex-direction:column;gap:4px}.approval-target-summary{display:flex;align-items:center;gap:12px;margin-top:12px}.approval-target-summary[hidden]{display:none}.system-code-name{font:inherit;font-weight:inherit;letter-spacing:inherit;color:inherit;background:none;border:0;border-bottom:1px dotted #8494aa;padding:0;text-align:left;cursor:copy}.system-code-name:hover{color:var(--blue)}.system-code-popover{margin:0;width:min(350px,90vw);padding:14px 18px;border:1px solid #cdd8e8;border-radius:10px;box-shadow:0 8px 30px #1c315526;background:white;overflow-wrap:anywhere}.system-code-popover strong,.system-code-popover code,.system-code-popover span{display:block}.system-code-popover code{margin:8px 0;user-select:all}.system-code-popover span{font-size:12px;color:#566278}.hourly-settings-section{margin:18px 0}.hourly-settings-section>.dialog-copy{margin:10px 0 16px}.hourly-workdays{border:1px solid var(--border);border-radius:10px;padding:14px;margin:16px 0}.hourly-workdays legend{font-weight:600;padding:0 6px}.hourly-day-row{display:grid;grid-template-columns:90px 1fr;gap:14px;align-items:center;margin:8px 0}.hourly-day-row .field{margin:0}.hourly-day-row input:not([type=checkbox]){font-variant-numeric:tabular-nums}.hourly-day-row .check-field{white-space:nowrap}@media(max-width:600px){.selection-dialog{padding:16px}.hourly-day-row{grid-template-columns:70px 1fr;gap:8px}.hourly-day-row .field-heading{font-size:12px}}


.hourly-settings-dialog{width:min(820px,94vw);max-width:820px}.hourly-settings-dialog .hourly-workdays{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.hourly-settings-dialog .hourly-day-row{grid-template-columns:64px minmax(0,1fr);margin:0;gap:8px}.hourly-settings-dialog .hourly-day-row .field{margin:0}
@media(max-width:680px){.hourly-settings-dialog .hourly-workdays{grid-template-columns:1fr}}

.employee-hourly-settings{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}.employee-hourly-settings>h3{margin:0 0 14px}.employee-hourly-settings>[data-hourly-fields]{border:0;padding:0;margin:16px 0 0;min-width:0}.employee-hourly-settings [hidden]{display:none!important}.employee-hourly-settings .hourly-workdays{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.employee-hourly-settings .hourly-day-row{grid-template-columns:64px minmax(0,1fr);gap:8px;margin:0}
.lv-filters>.field{flex:0 0 120px;min-width:0}.lv-filters :is([name=lv-year],[name=lv-basis]){width:120px;height:39px;min-height:39px;box-sizing:border-box}.lv-filters .lv-query-button{height:39px;min-width:72px;box-sizing:border-box}.lv-filters .lv-settings-button{width:39px;height:39px;flex:0 0 39px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--blue)}.lv-filters .lv-settings-button:hover{background:#eef4ff;border-color:#b8cbef}.leave-settings-dialog{width:min(920px,94vw);max-width:920px}
@media(max-width:680px){.employee-hourly-settings .hourly-workdays{grid-template-columns:1fr}}
/* 회사 가입 및 필수 서명 전용 화면 */
.membership-join{max-width:560px;margin:48px auto;padding:32px;background:#fff;border:1px solid #e1e7ef;border-radius:16px}
.membership-join fieldset{border:0;padding:0;margin:0;display:grid;gap:16px}
.membership-join fieldset[hidden]{display:none}
.contract-gate{max-width:1040px;margin:0 auto;padding:28px}
.gate-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.gate-notice{padding:24px;margin-bottom:24px;border:1px solid #c8d9f1;border-radius:14px;background:#f2f7ff}
.gate-notice .form-actions{flex-wrap:wrap}
@media(max-width:600px){.membership-join{margin:16px;padding:20px}.contract-gate{padding:16px}.gate-notice{padding:18px}}
/* Inline membership registration preserves the surrounding login shell. */
.registration-fields{display:grid;gap:12px;border:0;padding:0;margin:0;min-width:0}
.registration-fields .field{min-width:0}
.registration-fields input{box-sizing:border-box;max-width:100%;min-width:0}
.registration-field-error{color:#b42318;font-size:12px;line-height:1.5}
.registration-hint{font-size:12px;line-height:1.6;color:#64748b}
.registration-terms{display:grid;gap:16px;min-width:0}
.registration-terms section{border:1px solid #dbe3ed;border-radius:10px;padding:12px;min-width:0}
.registration-terms summary{cursor:pointer;overflow-wrap:anywhere;font-weight:600}
.registration-terms-body{max-height:220px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13px;line-height:1.7}
.registration-terms .check-field{margin-top:12px;align-items:flex-start}
.registration-back{display:inline-block;margin-top:18px}
.registration-success{padding:14px;border-radius:8px;background:#ecfdf3;color:#166534}
.registration-pane{animation:registration-enter 160ms ease-out}
@keyframes registration-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.registration-pane{animation:none}}

.login-remember{display:flex;flex-wrap:wrap;gap:12px 20px;font-size:13px}.login-remember label{display:flex;align-items:center;gap:7px;cursor:pointer}.login-remember input{width:16px;height:16px;accent-color:var(--primary,#2563eb)}

/* Independent audit and attendance history filters and 20-row pagination. */
.activity-section{margin-bottom:24px}.activity-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:4px 0 10px}.activity-filters>.field{flex:0 1 155px;min-width:0}.activity-filters>.activity-query{flex:1 1 220px}.activity-filter-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.activity-filter-actions .button{min-height:39px}.activity-filter-note{font-size:11px;color:#7b8da4;line-height:1.7;margin:0 0 18px}.activity-pagination{justify-content:center;margin:18px 0}.activity-pagination [role=status]{font-size:12px;color:#66788e}.activity-section td.wide-text small{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:620px){.activity-filters>.field{flex:1 1 calc(50% - 6px)}.activity-filters>.activity-query{flex-basis:100%}.activity-filter-actions{width:100%}.activity-filter-actions .button{min-height:44px}.activity-pagination{gap:10px}.activity-pagination [role=status]{flex-basis:100%;text-align:center;order:-1}}
.member-status{display:flex;flex-direction:column;align-items:flex-start;gap:5px}

.employee-identity-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
@media(max-width:600px){.employee-identity-fields{grid-template-columns:minmax(0,1fr)}}

/* Align controls with their label-free input row across menu toolbars. */
.toolbar,.schedule-toolbar{align-items:flex-end}
#main :is(.toolbar,.schedule-toolbar) :is(.button,.icon-button){height:39px;min-height:39px;box-sizing:border-box}
#main :is(.toolbar,.schedule-toolbar) :is(input:not([type=checkbox]):not([type=radio]),select){height:39px;min-height:39px;box-sizing:border-box}
.schedule-toolbar .tabs-inline{align-items:center}
.lv-filters .lv-settings-button .icon{width:18px;height:18px}
.member-actions{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.member-actions .button{min-width:48px}
#modal-form>.form-actions>.employee-delete-button{margin-right:auto}
@media(max-width:600px){.lv-filters>.field{flex:1 1 120px}.lv-filters :is([name=lv-year],[name=lv-basis]){width:100%}#modal-form>.form-actions>.employee-delete-button{flex:0 0 100%;margin-right:0}}

/* Member role shares the organization column. */
.member-role-name{display:block;color:#2163F0;font-size:11px;font-weight:600;margin-top:5px}

/* Member editor uses one shared save action across four sections. */
.employee-editor-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:0 0 1px;border-bottom:1px solid #e2e9f3}
.employee-editor-tab{position:relative;border:0;border-radius:9px 9px 0 0;background:transparent;color:#65768e;min-height:51px;padding:12px 7px 15px;font:inherit;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .18s ease,color .18s ease}
.employee-tab-content{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
.employee-tab-icon{width:18px;height:18px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.employee-editor-tab:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:#2163F0;opacity:0;transform:scaleX(.35);transition:opacity .18s ease,transform .18s ease}
.employee-editor-tab:hover{background:#f5f8fd;color:#203b60}
.employee-editor-tab[aria-selected=true]{background:#f2f6fe;color:#2163F0;font-weight:700}
.employee-editor-tab[aria-selected=true]:after{opacity:1;transform:scaleX(1)}
.employee-editor-tab:focus-visible{outline:2px solid #2163F0;outline-offset:2px}
.employee-tab-panel{display:flex;flex-direction:column;gap:20px;min-width:0}
.employee-tab-panel[hidden]{display:none}
.employee-tab-panel>.employee-policy,.employee-tab-panel>.approval-policy,.employee-tab-panel>.employee-hourly-settings{margin:0}
.employee-tab-panel>:is(.employee-policy,.approval-policy,.employee-hourly-settings):first-child{border-top:0;padding-top:0}
.employee-tab-intro{padding:14px 16px;border:1px solid #dce7f7;border-radius:9px;background:#f5f8fd;color:#5d718c;font-size:12px;line-height:1.8}
.employee-editor-section{display:flex;flex-direction:column;gap:16px}
.employee-editor-section>h3{margin:0;font-size:14px;color:#30445c}
.employee-editor-section .dialog-copy{margin:0}
.employee-connected-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 16px;border:1px solid #e0e7f0;border-radius:9px;background:#f8fafd}
.employee-connected-summary div{display:flex;flex-direction:column;gap:5px;min-width:0}
.employee-connected-summary small{color:#7c8da5;font-size:11px}
.employee-connected-summary strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}
@media(max-width:620px){.employee-editor-tabs{gap:3px}.employee-editor-tab{font-size:11px;padding:9px 2px 12px;min-height:70px;white-space:normal;line-height:1.45}.employee-tab-content{flex-direction:column;gap:5px}.employee-tab-icon{width:17px;height:17px}.employee-editor-tab:after{left:5px;right:5px}.employee-connected-summary{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.employee-editor-tab,.employee-editor-tab:after{transition:none}}

.employee-payroll-fields{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:24px;min-width:0}
.employee-payroll-fields[hidden]{display:none}
.employee-payroll-item{display:grid;grid-template-columns:minmax(110px,1.4fr) minmax(85px,.9fr) minmax(95px,1fr) minmax(90px,.9fr) auto;gap:10px;align-items:end;padding:14px;background:#f8fafd;border:1px solid #e1e7ef;border-radius:9px}
.employee-payroll-item+.employee-payroll-item{margin-top:12px}
.employee-payroll-item>.button{min-height:44px}
.employee-payroll-add{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.employee-payroll-add>span{margin-left:auto;font-size:11px;color:#7c8da5}
.employee-payroll-total{border:1px solid #dce6f6;border-radius:9px;padding:12px 16px;background:#f2f6fc;font-size:12px;color:#425c83;font-weight:600}
.employee-payroll-active{padding:12px 16px;border-left:3px solid #2163F0;background:#f2f6fc;font-size:12px;line-height:1.8;color:#425c83;margin:0}
@media(max-width:680px){.employee-payroll-item{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.employee-payroll-item>.button{grid-column:1/-1;width:100%}}

/* Member-only shell locks its initial basic-information size. */
dialog.employee-fixed-dialog{height:min(var(--employee-editor-height),90dvh);max-height:90dvh;overflow:hidden}
dialog.employee-fixed-dialog.employee-hr-wide-dialog{width:min(1600px,calc(100vw - 48px));max-width:1600px}
dialog.employee-fixed-dialog[open]{display:flex;flex-direction:column}
.employee-fixed-dialog>.dialog-head{flex:0 0 auto;margin-bottom:20px}
.employee-fixed-dialog>#modal-form{flex:1 1 auto;min-height:0;overflow:hidden;gap:16px}
.employee-fixed-dialog .employee-editor-tabs{flex:0 0 auto}
.employee-fixed-dialog .employee-editor-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:5px}
.employee-fixed-dialog .employee-tab-panel{padding-bottom:5px}
.employee-fixed-dialog #modal-form>.form-actions{flex:0 0 auto;padding-top:16px}
.employee-fixed-dialog #modal-form>.form-error{flex:0 0 auto;max-height:65px;overflow:auto}
.employee-fixed-dialog .employee-delete-button[hidden]{display:none}
.hr-detail-section{padding-top:22px;border-top:1px solid #e3e9f2}
.hr-section-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hr-section-head h3{margin:0;flex:1 1 auto;font-size:14px}
.hr-section-head>small{font-size:11px;white-space:nowrap;color:#7b8da4}
.hr-record-scroll{max-width:100%;overflow-x:auto;border:1px solid #dfe7f1;border-radius:10px;background:white}
.hr-record-table{width:100%;border-collapse:collapse;min-width:800px;font-size:12px}
.hr-record-table th{background:#f5f7fb;padding:12px 10px;white-space:nowrap;text-align:center;border-bottom:1px solid #e0e7f0;font-size:11px;font-weight:700;color:#526982}
.hr-record-table td{padding:10px;vertical-align:top;border-bottom:1px solid #e7edf4;min-width:150px;white-space:normal}
.employee-hr-wide-dialog [data-hr-section=personnel_records] .hr-record-table td:not(.hr-record-number):not(.hr-row-actions){min-width:120px}
.hr-record-table tr:last-child td{border-bottom:0}
.hr-record-table td.hr-record-number,.hr-record-table td.hr-row-actions{min-width:64px;text-align:center;vertical-align:middle}
#dialog .hr-record-table .field{gap:5px;font-size:12px}
#dialog .hr-record-table .field input,#dialog .hr-record-table .field select{height:38px;min-height:38px;font-size:12px;padding:8px 9px}
#dialog .hr-record-table .field textarea{min-height:70px;max-height:170px;font-size:12px;padding:8px 9px}
.hr-cell-label{display:none}
.hr-record-table output{display:block;text-align:center;white-space:nowrap;padding:10px 0}
.hr-record-table .hr-document-name{display:block;overflow-wrap:anywhere;min-width:180px;max-width:250px;font-size:12px;margin-bottom:5px}
.hr-document-error{font-size:11px;color:#c34858;line-height:1.6;margin-top:5px}
.hr-document-error:empty{display:none}
.hr-empty{font-size:12px;line-height:1.8}
.hr-empty[hidden]{display:none}
.payroll-estimate-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px;background:#f0f5ff;border:1px solid #d9e5fa;border-radius:10px}
.payroll-estimate-summary>div{display:flex;flex-direction:column;gap:7px;min-width:0}
.payroll-estimate-summary small{font-size:11px;color:#617891}
.payroll-estimate-summary strong{font-size:18px;font-weight:700;overflow-wrap:anywhere;color:#244c8e}
.payroll-estimate-summary>p,.payroll-estimate-summary>ul{grid-column:1/-1;margin:0;font-size:11px;line-height:1.7;color:#6a7f9b}
.payroll-estimate-summary>ul{padding-left:18px;color:#a56c1b}
.payroll-base-row{display:grid;grid-template-columns:minmax(80px,1fr) minmax(160px,1.8fr) minmax(90px,1fr);gap:12px;align-items:center;border:1px solid #dfe6f0;border-radius:9px;padding:14px;background:#f8fafd}
.payroll-base-row>div{display:flex;flex-direction:column;gap:5px}
.payroll-base-row strong{font-size:13px}
.payroll-base-row small{font-size:11px}
.employee-payroll-item.payroll-detail-item{grid-template-columns:minmax(115px,1.4fr) minmax(70px,.8fr) minmax(100px,1.2fr) minmax(75px,.85fr);gap:12px}
.payroll-detail-item .payroll-ordinary-check{grid-column:1/3;min-height:32px}
.payroll-detail-item>[data-payroll-item-remove]{grid-column:3/5;min-height:32px;justify-self:end}
.payroll-presets{display:flex;gap:7px;flex-wrap:wrap}
.payroll-deduction-fields{display:flex;flex-direction:column;gap:18px;min-width:0;border:0;margin:0;padding:0}
.payroll-manual-tax{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:16px;border:1px solid #e0e7f1;border-radius:10px;background:#f9fbfe}
.payroll-manual-tax>div{display:flex;flex-direction:column;gap:12px;min-width:0}
.payroll-insurance-rule{border:1px solid #dfe6f0;border-radius:10px;padding:16px;min-width:0;display:flex;flex-direction:column;gap:14px}
.payroll-insurance-rule legend{font-size:13px;font-weight:600;padding:0 6px;color:#526982}
.employee-payroll-total>div+div{margin-top:8px}
.employee-payroll-total small{display:block;margin-top:8px;font-size:11px;line-height:1.7;font-weight:400}
[data-payroll-company-tax-rates]{min-width:0;max-width:100%;overflow-x:auto}
[data-payroll-units-field][hidden]{display:none!important}
.company-tax-editor,.company-tax-rate-list{display:grid;gap:16px;min-width:0}
.company-tax-rate{border:1px solid #dfe6f0;border-radius:10px;margin:0;padding:16px;min-width:0}
.company-tax-rate legend{font-size:13px;font-weight:600;padding:0 6px}
@media(max-width:680px){
 .employee-payroll-item.payroll-detail-item{grid-template-columns:repeat(2,minmax(0,1fr))}
 .payroll-detail-item .payroll-ordinary-check{grid-column:1/2}.payroll-detail-item>[data-payroll-item-remove]{grid-column:2/3;width:auto}
 .payroll-base-row{grid-template-columns:minmax(0,1fr)}
 .payroll-estimate-summary{grid-template-columns:minmax(0,1fr);gap:12px}.payroll-estimate-summary>div{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.payroll-estimate-summary strong{font-size:17px}
 .payroll-manual-tax{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:620px){
 dialog.employee-fixed-dialog{padding:18px}
 dialog.employee-fixed-dialog.employee-hr-wide-dialog{width:calc(100vw - 32px)}
 .employee-fixed-dialog>.dialog-head{margin-bottom:16px}
 .employee-fixed-dialog>#modal-form{gap:13px}.employee-fixed-dialog .employee-editor-body{padding-right:3px}
 .hr-record-scroll{border:0;background:transparent;overflow:visible}
 .hr-record-table,.hr-record-table tbody{display:block;min-width:0;width:100%}
 .hr-record-table thead{display:none}
 .hr-record-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid #dfe7f1;border-radius:10px;background:#f9fbfe;padding:14px}
 .hr-record-table tr+tr{margin-top:14px}
 .hr-record-table td{display:block;min-width:0;padding:0;border:0}
 .employee-hr-wide-dialog [data-hr-section=personnel_records] .hr-record-table td:not(.hr-record-number):not(.hr-row-actions){min-width:0}
 .hr-record-table td.hr-record-number{grid-column:1/-1;text-align:left;min-width:0;font-weight:600;color:#647b99}
 .hr-record-table td.hr-record-number:before{content:'기록 '}
 .hr-record-table td.hr-row-actions{grid-column:1/-1;text-align:right;min-width:0}
 .hr-cell-label{display:block;font-size:11px;line-height:1.6;color:#657c97}
 #dialog .hr-record-table .field input,#dialog .hr-record-table .field select{height:40px;min-height:40px}
 .hr-record-table td:has(textarea){grid-column:1/-1}
 .hr-document-table tr{grid-template-columns:minmax(0,1fr)}
 .hr-document-table td{grid-column:1/-1}.hr-document-table td:first-child{font-size:11px;color:#7185a0}
 .hr-record-table .hr-document-name{min-width:0;max-width:none}
 .hr-section-head>small{flex-basis:100%}
}
/* Center the member directory without changing other tables. */
#people-table :is(th,td){text-align:center;vertical-align:middle}
#people-table .person-cell{flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}
#people-table .person-cell>div{display:flex;flex-direction:column;align-items:center;min-width:0;text-align:center}
#people-table .person-cell :is(strong,small){text-align:center}
#people-table :is(.member-status,.member-actions){align-items:center;justify-content:center;text-align:center}
#people-table .member-role-name{text-align:center}
.access-profile-policy{border:0;margin:0;padding:0;min-width:0}
.access-profile-policy:disabled{opacity:.55}

.member-access-fields{display:grid;gap:24px}.member-access-fields h3{margin-bottom:10px;color:#203b60}.access-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.access-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid #dce5f1;border-radius:10px;background:#f8fafd}.access-toggle>span{display:flex;flex-direction:column;gap:4px;min-width:0}.access-toggle strong{font-size:12px}.access-toggle small{font-size:10px;line-height:1.6;color:#71839a}.access-toggle input{appearance:none;width:34px;height:20px;border-radius:20px;background:#c9d3e3;position:relative;flex:none;cursor:pointer;transition:background .15s}.access-toggle input:before{content:"";position:absolute;width:14px;height:14px;left:3px;top:3px;border-radius:50%;background:white;box-shadow:0 1px 3px #1a38562b;transition:transform .15s}.access-toggle input:checked{background:#2163F0}.access-toggle input:checked:before{transform:translateX(14px)}.access-toggle.is-locked{background:#f3f5f8}.access-toggle input:disabled{opacity:.55;cursor:default}.access-toggle input:focus-visible{outline:2px solid #2163F0;outline-offset:3px}.access-group-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 0}.access-base-group{font-size:12px;color:#617891;background:#f1f6fe;border-radius:8px;padding:12px 14px;margin-top:10px}.access-group-list .check-field{flex-wrap:wrap}.access-group-list small{color:#2163F0;font-size:10px}.access-profile-policy{border:0;padding:0;margin:0;min-width:0}.member-access-dialog{width:min(780px,calc(100vw - 32px));overflow-y:auto}.member-access-fields>section{min-width:0}.access-role-change-note[hidden]{display:none}@media(max-width:620px){.access-toggle-grid,.access-group-list{grid-template-columns:minmax(0,1fr)}}@media(prefers-reduced-motion:reduce){.access-toggle input,.access-toggle input:before{transition:none}}
.member-basic-fields,.employee-basic-fields,.employee-hr-fields{margin:0;padding:0;min-width:0;border:0}

/* Approval group draft: one shared row for member and access editors. */
.approval-management-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid var(--line,#e1e5eb);border-radius:12px;background:var(--surface,#fff)}
.approval-management-row .approval-base-choice{display:flex;align-items:center;gap:10px;margin:0;min-width:0;flex:1}
.approval-management-row .approval-base-choice input{flex:0 0 auto;width:18px;height:18px}
.approval-management-row .approval-base-choice span{overflow-wrap:anywhere}
.approval-management-row .button{flex:0 0 auto;margin:0}
.approval-management-summary{margin:10px 0;color:var(--muted,#626b7a);font-size:13px;overflow-wrap:anywhere}
@media(max-width:520px){.approval-management-row{gap:12px;padding:12px}.approval-management-row .button{padding:9px 12px;font-size:12px}.approval-management-row .approval-base-choice{font-size:13px}}
.employee-hourly-settings .hourly-apply-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}
.employee-hourly-settings .hourly-apply-actions>span{font-size:12px;line-height:1.7;color:var(--muted,#626b7a)}
.employee-hourly-settings .hourly-work-source{display:grid;gap:10px;padding:15px 16px;margin-bottom:18px;border:1px solid #dce5f2;border-radius:10px;background:#f5f8fd;min-width:0}
.employee-hourly-settings .hourly-work-source>strong{font-size:13px;color:#405672;overflow-wrap:anywhere}
.employee-hourly-settings .hourly-work-source>p,.employee-hourly-settings .hourly-work-source>span{font-size:12px;line-height:1.8;color:#697e9a;margin:0;overflow-wrap:anywhere}
.employee-hourly-settings .hourly-work-source>span:empty{display:none}
.employee-hourly-settings .hourly-work-source>.button{justify-self:start}
.employee-hourly-settings input[readonly]{background:#f3f6fb;color:#657892}
.employee-hourly-settings .hourly-settings-error{font-size:12px;line-height:1.7;color:#b33131;margin:12px 0;overflow-wrap:anywhere}
.employee-hourly-settings .hourly-settings-error:empty{display:none}
@media(max-width:520px){.employee-hourly-settings .hourly-work-source{padding:13px}.employee-hourly-settings .hourly-apply-actions{align-items:flex-start}.employee-hourly-settings .hourly-apply-actions>span{flex:1 1 100%}}
.points-page{display:grid;gap:22px;min-width:0}.points-wallet{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);gap:34px;padding:30px 32px;border:1px solid #dce7ff;border-radius:18px;background:linear-gradient(120deg,#edf3ff,#f9fbff);overflow:hidden}.points-wallet h2{font-size:20px;color:#1f3657}.points-wallet p{font-size:12px;color:#73859e;margin:9px 0 0;line-height:1.8}.points-wallet .eyebrow{color:#6283b9}.points-balance{font-size:46px;font-weight:800;letter-spacing:-1.7px;color:#2163f0;margin:18px 0 10px;line-height:1.1;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.points-balance span{font-size:22px;font-weight:650;margin-left:9px;letter-spacing:0}.points-wallet small{font-size:11px;color:#7487a2;line-height:1.6}.points-wallet-aside{position:relative;display:flex;flex-direction:column;justify-content:center;gap:18px;padding:20px 26px;border:1px solid #e0e9fa;border-radius:14px;background:#ffffffb3;min-width:0}.points-wallet-mark{position:absolute;right:18px;top:11px;color:#d8e5ff;font-size:48px;font-weight:850;line-height:1;pointer-events:none}.points-fee{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0}.points-fee span{font-size:12px;color:#5c7291}.points-fee strong{color:#345b98;font-size:18px;font-variant-numeric:tabular-nums;white-space:nowrap}.points-fee small{font-size:10px;font-weight:400;color:#7e8fa6}.points-alert{border:1px solid #f0e3c3;border-radius:12px;padding:16px 20px;background:#fffaf0;color:#876428;font-size:12px;line-height:1.8}.points-alert p{color:#937948;margin-top:4px}.points-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.points-stats article{padding:20px 22px;border:1px solid var(--border);background:#fff;border-radius:13px;min-width:0}.points-stats span{color:#8090a3;font-size:11px}.points-stats strong{display:block;font-size:23px;font-weight:750;color:#314765;margin-top:10px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.points-content-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,1.1fr);gap:22px}.points-charge .card-head,.points-guide .card-head{padding-bottom:20px}.points-charge .card-body{padding-top:0}.points-charge form{display:grid;gap:15px}.points-charge .field input{font-size:17px;font-weight:600}.points-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.points-amounts .button{padding:9px 5px;font-weight:500;font-size:11px}.points-amounts .button.active{border-color:#93b5ff;background:#f1f6ff;color:#2163f0}.points-charge-summary{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-top:1px solid #eef2f7;font-size:12px;color:#7587a0}.points-charge-summary strong{font-size:20px;color:#2163f0;font-variant-numeric:tabular-nums}.points-charge-help{font-size:11px;line-height:1.9;color:#8291a6;margin-top:16px}.points-charge .form-error:empty{display:none}.points-guide .card-body{padding-top:0}.points-guide ol{margin:0;padding-left:22px;display:grid;gap:22px;color:#7193c7}.points-guide li{padding-left:6px}.points-guide strong{color:#405877;font-size:12px}.points-guide li p{font-size:11px;color:#7c8ca2;line-height:1.9;margin-top:8px}.points-test-notice{padding:15px 18px;border:1px solid #f0e0be;border-radius:12px;background:#fffbf2;color:#9a742d;font-size:12px;line-height:1.8;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.points-test-notice p{flex:1;min-width:180px}.points-test-notice strong{font-size:12px;font-weight:600}.points-test-label{display:block;font-size:10px;color:#b08937;margin-top:5px}.points-ledger .card-head{padding-bottom:18px;gap:20px;flex-wrap:wrap}.points-history-filter{display:flex;gap:10px;align-items:flex-end}.points-history-filter .field{min-width:130px}.points-history-filter .field select{min-height:36px;font-size:11px}.points-history td,.points-orders td{font-size:11px}.points-history th,.points-orders th{font-size:10px}.points-history .points-note{min-width:170px;max-width:380px;white-space:normal;overflow-wrap:anywhere;line-height:1.8}.points-value{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.points-credit{color:#168563}.points-debit{color:#bf4055}.points-order-id{font-size:10px;font-family:ui-monospace,Consolas,monospace}.points-receipt{display:inline-block;font-size:11px;color:#2163f0;margin-right:10px}.points-orders .button.small{padding:5px 8px}.points-checkout-dialog{width:min(680px,calc(100vw - 32px));max-width:680px;padding:0;border:0;border-radius:18px;background:#fff;max-height:calc(100dvh - 36px);overflow:auto;box-shadow:0 24px 80px #14243b33}.points-checkout-dialog::backdrop{background:#14243b80}.points-checkout-dialog .dialog-head{padding:22px 24px}.points-checkout-dialog .dialog-head h2{font-size:18px}.points-checkout-body{padding:24px}.points-checkout-total{display:flex;justify-content:space-between;align-items:center;padding:10px 0 15px;font-size:12px;color:#76869d}.points-checkout-total strong{font-size:25px;color:#26456e}.points-checkout-body .form-error{margin:12px 0;line-height:1.8}.points-checkout-body .form-error:empty{display:none}.points-checkout-body .points-test-notice{margin-bottom:20px}.points-checkout-body>.points-charge-help{margin-top:0;margin-bottom:12px}.points-checkout-body>.button{margin-top:12px}.points-policy-overview{display:flex;gap:14px;align-items:center;margin:0 0 22px;font-size:12px;color:#70829b;line-height:1.8;flex-wrap:wrap}.points-cost-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.points-cost-grid input{font-size:21px!important;font-weight:650}.points-policy-help{font-size:12px;color:#7688a0;line-height:1.9;margin:18px 0}.points-admin-wallet{display:flex;justify-content:space-between;align-items:center;gap:18px;border:1px solid #dbe6fc;background:#f4f7ff;border-radius:12px;padding:17px 20px;margin-bottom:22px;font-size:12px;color:#657da4}.points-admin-wallet strong{font-size:25px;color:#2163f0;font-variant-numeric:tabular-nums}.points-admin-grant-dialog .field+.field{margin-top:20px}.points-admin-dialog{width:min(1000px,calc(100vw - 32px));max-width:1000px}.points-admin-dialog h3{font-size:14px;margin:24px 0 14px}.points-admin-dialog .points-history,.points-admin-dialog .points-orders{border:1px solid var(--border);border-radius:12px}.points-admin-actions{white-space:nowrap}.points-admin-stats small{font-size:13px;margin-left:7px;font-weight:400}.points-admin-stats b{font-size:27px!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}#point-cost-form fieldset{margin:0;padding:0;border:0;min-width:0}#point-cost-form .form-actions{justify-content:space-between;align-items:center}#point-cost-form .muted{font-size:11px}
@media(max-width:1050px){.points-wallet{gap:22px;padding:26px}.points-wallet-aside{padding:20px}.points-content-grid{grid-template-columns:1fr 1fr}.points-fee{flex-wrap:wrap;gap:7px}.points-fee strong{font-size:17px}.points-stats article{padding:18px}.points-stats strong{font-size:20px}.points-admin-stats b{font-size:22px!important}}
@media(max-width:650px){.points-page{gap:16px}.points-wallet{grid-template-columns:1fr;gap:22px;padding:24px}.points-wallet h2{font-size:18px}.points-balance{font-size:38px;margin:18px 0 12px}.points-wallet-aside{gap:14px;padding:18px}.points-fee{flex-wrap:nowrap;gap:12px}.points-fee strong{font-size:17px}.points-fee span{font-size:11px}.points-wallet-mark{font-size:38px;right:14px;top:8px}.points-content-grid{grid-template-columns:1fr;gap:16px}.points-stats{gap:8px}.points-stats article{padding:14px 11px}.points-stats span{font-size:9px}.points-stats strong{font-size:16px;margin-top:8px}.points-ledger .card-head{padding:20px 18px 16px}.points-history-filter{width:100%;justify-content:space-between}.points-history-filter .field{flex:1}.points-history-filter .button{height:36px}.points-cost-grid{grid-template-columns:1fr;gap:18px}.points-test-notice{align-items:flex-start}.points-test-notice p{min-width:0;flex-basis:100%}.points-checkout-body{padding:20px 16px}.points-checkout-dialog .dialog-head{padding:20px 16px}.points-admin-wallet{padding:15px;gap:12px}.points-admin-wallet strong{font-size:21px}.points-admin-dialog h3{font-size:13px}.points-admin-stats b{font-size:19px!important}#point-cost-form .form-actions{align-items:flex-start;flex-direction:column}}
.points-settings-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.points-settings-summary>strong{font-size:26px;color:#2163f0;font-variant-numeric:tabular-nums}.points-alert>.button{margin-top:12px}@media(max-width:650px){.points-wallet-mark{display:none}}
.approval-extra-members{display:grid;gap:12px;padding:16px;border:1px solid #dce5f1;border-radius:12px;background:#f8fafd;min-width:0}
.approval-extra-members h4{margin:0;color:#30445c;font-size:13px}
.approval-individual-list{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.approval-individual-chip{display:inline-flex;align-items:center;gap:10px;padding:6px 8px 6px 12px;border:1px solid #dce5f1;border-radius:9px;background:#fff;color:#30445c;font-size:12px;max-width:100%}
.approval-individual-chip>span{overflow-wrap:anywhere;min-width:0}
.approval-individual-chip .button{flex:none;padding:4px 8px}
@media(max-width:620px){.approval-extra-members{padding:12px}.approval-individual-chip{width:100%;justify-content:space-between}}
.employee-payroll-options{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin:0 0 16px}
.employee-payroll-options .check-field{margin:0}
.payroll-business-estimate{display:grid;gap:6px;padding:12px 14px;margin-top:12px;border:1px solid #dce5f1;border-radius:10px;background:#f1f6fe;color:#30445c;font-size:12px;line-height:1.65}
.payroll-business-estimate strong{color:#2163F0}
@media(max-width:620px){.employee-payroll-options{align-items:flex-start;gap:12px}.employee-payroll-options .check-field{width:100%}}

/* Personalized dashboard and access-region weather */
.hero.dashboard-hero{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:24px;padding:22px 26px;background:linear-gradient(115deg,#edf3ff 0%,#f5f8ff 67%,#eaf2ff 100%);border-color:#e0e9f8;min-height:0}
.dashboard-hero-copy{min-width:0;padding:3px 0}
.dashboard-hero .hero-overline{color:#6c89bb;font-size:9px;letter-spacing:1.8px;margin-bottom:10px}
.hero.dashboard-hero .dashboard-greeting{font-size:22px;line-height:1.5;letter-spacing:-.75px;font-weight:650;color:#273c58;word-break:keep-all;overflow-wrap:anywhere}
.hero.dashboard-hero .dashboard-greeting-name{display:block;color:#2163F0;font-size:26px;font-weight:750;letter-spacing:-.9px;margin-bottom:4px}
.hero.dashboard-hero .dashboard-greeting-message{display:block;color:#273c58}
.dashboard-weather{width:100%;min-width:0;color:#fff;background:linear-gradient(140deg,#5c93ff 0%,#367aee 50%,#2163F0 100%);border:1px solid #6a9cf5;border-radius:20px;box-shadow:0 12px 28px #2163f023;overflow:hidden}
.dashboard-weather.is-night{background:linear-gradient(140deg,#5275c2,#325995 58%,#294776);border-color:#6480b5}
.weather-card{position:relative;min-height:164px;padding:14px 18px 12px;isolation:isolate}
.weather-card:before{content:'';position:absolute;inset:auto -34px -130px auto;width:250px;height:250px;border-radius:50%;background:#ffffff07;border:1px solid #ffffff14;z-index:-1;pointer-events:none}
.weather-location{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:600;line-height:1.5;min-height:24px}
.weather-location>div{display:flex;align-items:baseline;gap:10px;min-width:0}
.weather-location-name{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.weather-location small{display:block;flex-shrink:0;font-size:9px;font-weight:400;color:#e4edff}
.weather-live{border:1px solid #ffffff45;background:#ffffff0c;border-radius:5px;padding:3px 6px;font-size:8px;letter-spacing:1px;flex-shrink:0;font-weight:500}
.weather-content{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr) minmax(0,1fr);align-items:center;gap:14px;margin-top:9px;min-height:77px}
.weather-main{display:flex;justify-content:space-between;align-items:center;gap:4px;min-width:0}
.weather-main>div{min-width:0;flex:0 0 auto}
.weather-main .weather-illustration{min-width:0;flex-shrink:1}
.weather-temperature{font-size:43px;font-weight:600;line-height:1.1;letter-spacing:-2px;font-variant-numeric:tabular-nums;white-space:nowrap}
.weather-temperature span{font-size:18px;font-weight:400;letter-spacing:-.6px;margin-left:2px;color:#e7efff}
.dashboard-weather .weather-condition{font-size:11px;font-weight:500;margin-top:3px;color:#fff;line-height:1.4}
.weather-summary{min-width:0;padding-left:14px;border-left:1px solid #ffffff30}
.weather-feels{display:flex;align-items:baseline;gap:6px;font-size:9px;color:#e3edff;line-height:1.4;white-space:nowrap}
.weather-feels strong{font-size:21px;color:#fff;font-weight:550;letter-spacing:-.6px}
.weather-illustration{width:82px;height:67px;flex-shrink:0;filter:drop-shadow(0 5px 10px #1857b81a)}
.weather-range{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:9px;color:#e3edff;margin-top:8px}
.weather-range strong{font-size:11px;color:#fff;font-weight:550;margin-left:3px}
.weather-details{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding-left:14px;border-left:1px solid #ffffff30;min-width:0}
.weather-details>span{display:flex;justify-content:space-between;align-items:baseline;gap:6px}
.weather-details small{font-size:9px;font-weight:400;color:#e4edff}
.weather-details strong{font-size:12px;font-weight:550;color:#fff;white-space:nowrap}
.dashboard-weather .weather-note{font-size:8px;line-height:1.5;color:#dfeaff;margin-top:8px}
.weather-note a{text-decoration:underline;text-decoration-color:#ffffff66;text-underline-offset:2px}
.weather-loading,.weather-empty{display:flex;align-items:center;text-align:left;justify-content:center;min-height:103px;font-size:11px;line-height:1.65;gap:16px}
.weather-loading .weather-illustration,.weather-empty .weather-illustration{width:92px;height:75px}
.weather-loading p,.weather-empty p{max-width:242px;color:#f4f8ff}
.weather-empty{gap:14px}
.weather-empty-copy{min-width:0}
.weather-retry{font-size:10px;font-weight:550;padding:6px 12px;margin-top:2px;border:1px solid #ffffff60;border-radius:7px;background:#ffffff15;color:#fff;cursor:pointer}
.weather-retry:hover{background:#ffffff25}
.weather-retry:focus-visible,.weather-note a:focus-visible{outline-color:#fff;outline-width:2px}
@media(max-width:1100px){.hero.dashboard-hero{gap:18px;padding:20px}.hero.dashboard-hero .dashboard-greeting{font-size:19px}.hero.dashboard-hero .dashboard-greeting-name{font-size:23px}.dashboard-greeting-break{display:none}.weather-card{padding:14px 14px 12px}.weather-content{grid-template-columns:minmax(0,1.45fr) minmax(0,.95fr) minmax(0,1fr);gap:10px}.weather-illustration{width:63px;height:52px}.weather-temperature{font-size:36px}.weather-temperature span{font-size:15px}.weather-summary,.weather-details{padding-left:10px}.weather-feels{gap:4px}.weather-feels strong{font-size:18px}}
@media(min-width:701px) and (max-width:980px){.hero.dashboard-hero{grid-template-columns:1fr;gap:14px}.hero.dashboard-hero .dashboard-greeting-name{display:inline;margin-right:8px}.hero.dashboard-hero .dashboard-greeting-message{display:inline}.weather-card{min-height:160px}.weather-illustration{width:82px;height:67px}.weather-temperature{font-size:41px}.weather-temperature span{font-size:17px}.weather-summary,.weather-details{padding-left:16px}.weather-feels strong{font-size:21px}}
@media(max-width:700px){.hero.dashboard-hero{grid-template-columns:1fr;gap:16px;padding:18px;min-height:0}.hero.dashboard-hero .dashboard-greeting{font-size:20px;line-height:1.5}.hero.dashboard-hero .dashboard-greeting-name{font-size:23px}.dashboard-weather{max-width:100%;border-radius:16px}.weather-card{padding:13px 14px 11px;min-height:182px}.weather-location>div{display:block}.weather-location small{font-size:9px;margin-top:2px}.weather-content{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:8px 12px;margin-top:7px;min-height:0}.weather-main{gap:3px}.weather-illustration{width:54px;height:44px}.weather-temperature{font-size:36px}.weather-temperature span{font-size:15px}.weather-summary{padding-left:12px}.weather-feels{gap:4px}.weather-feels strong{font-size:19px}.weather-range{gap:4px 8px;margin-top:5px}.weather-details{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-left:0;border-top:1px solid #ffffff30;padding:8px 0 0}.weather-details>span{flex-direction:column;align-items:flex-start;gap:2px}.weather-details small{font-size:8px}.weather-details strong{font-size:11px}.dashboard-weather .weather-note{font-size:8px;margin-top:7px}.weather-loading,.weather-empty{min-height:120px;gap:10px}.weather-loading .weather-illustration,.weather-empty .weather-illustration{width:76px;height:62px}.weather-loading p,.weather-empty p{font-size:10px}.weather-retry{font-size:9px;padding:5px 9px}}
@media(prefers-reduced-motion:no-preference){.weather-loading .weather-illustration{animation:weather-float 3s ease-in-out infinite}@keyframes weather-float{50%{transform:translateY(-4px)}}}
.attendance-management{min-width:0}.attendance-scope-note{display:flex;justify-content:space-between;gap:12px;padding:13px 17px;background:#edf3ff;border:1px solid #dce8ff;border-radius:12px;color:#506584;font-size:12px;margin-bottom:18px}.attendance-scope-note strong{color:#345785;font-weight:650}.attendance-scope-note span{color:#76869b}.attendance-management-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:20px}.attendance-management-metrics article{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px;min-width:0}.attendance-management-metrics article>span{display:block;color:var(--muted);font-size:11px;margin-bottom:12px}.attendance-management-metrics strong{display:block;font-size:23px;letter-spacing:-.5px;line-height:1.4;overflow-wrap:anywhere}.attendance-management-metrics strong small{font-size:11px;margin-left:5px;font-weight:500}.attendance-management-metrics article:nth-child(3) strong{font-size:18px;color:var(--blue)}.attendance-management-metrics article:nth-child(4) strong,.attendance-management-metrics article:nth-child(5) strong{color:#b17c32}.attendance-management-filters{display:grid;grid-template-columns:repeat(2,minmax(125px,.8fr)) minmax(170px,1.3fr) repeat(4,minmax(115px,1fr));gap:12px;align-items:end;background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px;margin-bottom:18px}.attendance-management-filters .field{min-width:0;margin:0;font-size:11px}.attendance-management-filters input,.attendance-management-filters select{height:39px;min-width:0;width:100%;padding:9px 10px}.attendance-filter-actions{display:flex;gap:8px;grid-column:1/-1;justify-content:flex-end}.attendance-filter-actions .button{height:39px}.attendance-management-card{border:1px solid var(--border);border-radius:16px;background:#fff;overflow:hidden}.attendance-table-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:20px 22px}.attendance-table-heading small{display:block;margin-top:7px;font-size:11px}.attendance-table-heading>span{font-size:11px;color:var(--muted)}.attendance-download-actions{display:flex;align-items:center;gap:8px}.attendance-download-actions select{height:38px;border:1px solid var(--border);border-radius:8px;padding:7px 10px;background:#fff;color:#61758f;font-size:12px}.attendance-download-actions .button{height:38px}.attendance-management-scroll{overflow:auto;max-width:100%;isolation:isolate}.attendance-management-scroll:focus-visible{outline:2px solid #94baff;outline-offset:-2px}.attendance-management-scroll table{--attendance-select-width:0px;min-width:1812px;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:12px}.attendance-management-scroll table:has(.attendance-col-selection){--attendance-select-width:44px;min-width:1856px}.attendance-management-scroll th{background:#f6f8fc;font-weight:600;color:#748299;font-size:11px;white-space:nowrap;padding:14px 10px;border-bottom:1px solid var(--border)}.attendance-management-scroll td{border-bottom:1px solid #edf1f6;padding:15px 10px;text-align:center;vertical-align:middle;overflow-wrap:anywhere;line-height:1.65}.attendance-management-scroll th,.attendance-management-scroll td{width:100px}.attendance-management-scroll .attendance-col-selection{width:44px;position:sticky;left:0;z-index:3;padding-left:10px;padding-right:10px}.attendance-col-selection input{width:17px;height:17px;accent-color:var(--blue);vertical-align:middle}.attendance-management-scroll .attendance-col-date{width:110px;position:sticky;left:var(--attendance-select-width);z-index:2}.attendance-management-scroll .attendance-col-identity{width:130px;position:sticky;left:calc(var(--attendance-select-width) + 110px);z-index:2;border-right:1px solid #e5ebf4}.attendance-management-scroll td.attendance-col-selection,.attendance-management-scroll td.attendance-col-date,.attendance-management-scroll td.attendance-col-identity{background:#fff}.attendance-management-scroll tbody tr:hover td{background:#f7faff}.attendance-management-scroll tbody tr.attendance-row-selected td{background:#edf4ff}.attendance-management-scroll .attendance-col-position{width:142px}.attendance-management-scroll .attendance-col-mode{width:156px}.attendance-management-scroll .attendance-col-plan{width:126px}.attendance-management-scroll .attendance-col-duration{width:138px}.attendance-management-scroll .attendance-col-regular{width:132px}.attendance-work-time-split>span{font-weight:600}.attendance-management-scroll .attendance-col-late,.attendance-management-scroll .attendance-col-early{width:84px}.attendance-management-scroll .attendance-col-weekly{width:164px}.attendance-management-scroll .attendance-col-actions{width:120px}.attendance-management-scroll td small{display:block;font-size:10px;margin-top:3px;color:var(--muted)}.attendance-management-scroll td .member-role-name{color:#2163F0;font-weight:600}.attendance-management-scroll td.attendance-duration{font-weight:600}.attendance-time-edit{border:0;background:transparent;padding:4px 6px;border-radius:7px;width:100%;color:inherit;line-height:1.65;font-weight:600;font-size:inherit}.attendance-time-edit:hover{background:#e8f1ff;color:#2163f0}.attendance-time-edit:focus-visible{outline:2px solid #2163f0;outline-offset:2px}.attendance-management-scroll .attendance-time-edit-hint{font-size:9px;color:#2163f0;font-weight:500}.attendance-management-scroll td.attendance-empty{height:190px;text-align:center;position:static;background:#fff}.attendance-empty strong,.attendance-empty span{display:block}.attendance-empty span{color:var(--muted);font-size:12px;margin-top:9px}.attendance-weekly-button{border:0;background:transparent;padding:0;max-width:100%;color:inherit}.attendance-weekly-button .badge{font-size:10px}.attendance-weekly-button:hover .badge{text-decoration:underline}.attendance-management-pager{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 22px;color:#7d8b9d;font-size:12px}.attendance-pager-leading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.attendance-pager-leading [data-attendance-selection-count]{color:#2163f0;white-space:nowrap}.attendance-pager-navigation{display:flex;gap:8px;flex-shrink:0}.attendance-management-notices{margin-top:18px;font-size:11px;line-height:1.8;color:#7c8ca1}.attendance-management-notices p+p{margin-top:6px}.attendance-weekly-detail{display:grid;gap:15px;margin-bottom:15px}.attendance-weekly-detail .badge{justify-self:start}.attendance-weekly-detail dl{display:flex;justify-content:space-between;padding:14px;background:#f4f7fb;border-radius:10px;margin:0}.attendance-weekly-detail dd{margin:0;font-weight:650}.attendance-record-actions{display:flex;flex-direction:column;align-items:center;gap:7px}.attendance-record-actions .button{white-space:nowrap}.attendance-delete-link{color:#c65462;font-size:11px}.attendance-management .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:1300px){.attendance-management-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.attendance-management-metrics article{padding:15px}.attendance-management-metrics strong{font-size:21px}.attendance-management-metrics article:nth-child(3) strong{font-size:15px}}@media(max-width:700px){.attendance-scope-note{flex-direction:column;gap:5px;line-height:1.7}.attendance-management-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.attendance-management-metrics article:nth-child(3){grid-column:1/-1;grid-row:2}.attendance-management-metrics article:nth-child(3) strong{font-size:21px}.attendance-management-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px}.attendance-management-filters .attendance-search{grid-column:1/-1}.attendance-filter-actions .button{flex:1;justify-content:center}.attendance-table-heading{align-items:flex-start;flex-direction:column;padding:17px}.attendance-download-actions{width:100%}.attendance-download-actions select{flex:1;min-width:0}.attendance-management-pager{align-items:flex-start;flex-direction:column;padding:15px 17px}.attendance-pager-leading{gap:10px;width:100%}.attendance-pager-leading>span:last-child{font-size:11px}.attendance-pager-navigation{width:100%}.attendance-pager-navigation .button{flex:1;justify-content:center}.attendance-management-scroll .attendance-col-identity{position:static}.attendance-management-scroll td.attendance-col-date{box-shadow:2px 0 6px #192d4910}.attendance-management-scroll table{font-size:11px}.attendance-management-notices{font-size:10px}}
.group-clock-dialog{width:min(780px,calc(100vw - 32px));padding:26px}.group-clock-dialog .dialog-head small,.clock-auth-dialog .dialog-head small{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.group-clock-dialog .dialog-head{margin-bottom:18px}.group-clock-form{display:grid;gap:17px}.group-clock-intro,.clock-auth-intro{font-size:12px;line-height:1.8;color:#75879f}.group-clock-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.group-clock-options>label{display:flex;align-items:flex-start;gap:10px;border:1px solid #dfe7f2;border-radius:12px;padding:15px 13px;cursor:pointer}.group-clock-options>label:has(input:checked){border-color:#9bbaf6;background:#f3f7ff}.group-clock-options input{margin:3px 0;accent-color:var(--blue);flex-shrink:0}.group-clock-options strong{font-size:13px;display:block;color:#3b506d}.group-clock-options small{font-size:10px;line-height:1.6;display:block;margin-top:6px;color:#8191a7}.group-clock-section{padding:20px;background:#fafbfd;border:1px solid #e6ecf5;border-radius:13px;min-width:0}.group-clock-section[hidden]{display:none}.group-clock-section-head{margin-bottom:17px}.group-clock-section h3{font-size:14px}.group-clock-section-head p{margin-top:7px;font-size:11px;line-height:1.7;color:#8191a7}.group-clock-section .field{font-size:12px;display:flex;flex-direction:column;gap:8px;min-width:0}.group-clock-section input:not([type=checkbox]){width:100%;min-width:0;border:1px solid #dce4ee;border-radius:8px;padding:10px 12px;min-height:42px;background:#fff;box-sizing:border-box}.group-clock-section .form-grid{margin-top:15px;gap:14px}.clock-address-search{display:flex;gap:8px;min-width:0}.clock-address-search input{flex:1}.clock-address-search .button{flex-shrink:0}.clock-location-results{display:grid;gap:6px;margin-top:8px;font-size:11px;line-height:1.8;color:#7d8ba0}.clock-location-option{border:1px solid #e4eaf2;border-radius:8px;background:white;color:#4e6789;padding:11px 12px;text-align:left;font-size:12px;line-height:1.6}.clock-location-option:hover{background:#f0f5ff;border-color:#afc8f7}.clock-location-results small{font-size:9px;color:#8b97aa}.clock-radius-presets{display:flex;align-items:flex-end;gap:7px;padding-bottom:1px}.clock-network-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:16px 0 10px}.clock-network-label strong{font-size:12px;font-weight:600}.clock-wifi-row{display:flex;gap:8px;margin-bottom:8px;min-width:0}.clock-wifi-row input{flex:1}.clock-wifi-row .button{flex-shrink:0}.clock-wifi-capability{padding:12px 14px;border-radius:9px;border:1px solid #eedbbd;background:#fff9ee;color:#967549;font-size:11px;line-height:1.8;margin-top:12px}.clock-qr-preview{display:flex;align-items:center;gap:18px;border:1px dashed #d4e0f1;background:white;border-radius:10px;padding:15px;margin-top:15px;min-height:110px}.clock-qr-preview img{width:150px;height:150px;object-fit:contain;flex-shrink:0}.clock-qr-preview p{font-size:12px;line-height:1.9;color:#75869d;max-width:330px}.clock-qr-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.clock-config-status,.clock-auth-status{font-size:12px;color:var(--blue);line-height:1.8;min-height:0}.group-clock-form>.form-actions{margin-top:0;padding-top:16px;border-top:1px solid #e6ecf5}.clock-auth-dialog{width:min(570px,calc(100vw - 32px));padding:25px}.clock-auth-dialog .dialog-head{margin-bottom:14px}.clock-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:17px}.clock-method{padding:14px 9px;border:1px solid #dfe7f2;border-radius:10px;background:white;color:#607792;text-align:center}.clock-method strong{display:block;font-size:12px}.clock-method small{display:block;margin-top:7px;font-size:10px;line-height:1.7}.clock-method.selected{border-color:#9abbfa;background:#eef4ff;color:#2163f0}.clock-method:disabled{opacity:.5;cursor:not-allowed}.clock-auth-panel{margin-top:17px}.clock-auth-location{text-align:center;padding:20px 18px;border-radius:12px;background:#f6f8fc}.clock-auth-symbol{display:grid;place-items:center;margin:0 auto 12px;width:56px;height:56px;border-radius:16px;background:#e8f0ff;color:#2163f0;font-size:34px}.clock-auth-location strong{font-size:14px}.clock-auth-location p{margin-top:9px}.clock-auth-confirm{width:100%;justify-content:center;margin-top:14px;min-height:43px}.clock-camera{display:block;width:100%;height:240px;background:#132238;border-radius:12px;object-fit:cover;margin:12px 0}.clock-camera-actions{display:flex;gap:8px;flex-wrap:wrap}.clock-image-label{position:relative;overflow:hidden;cursor:pointer}.clock-image-label input{position:absolute;width:100%;height:100%;inset:0;opacity:0;cursor:pointer}.clock-auth-dialog>.form-error,.clock-auth-status{margin-top:12px}.clock-auth-dialog .form-actions{margin-top:16px}.group-clock-dialog button:focus-visible,.clock-auth-dialog button:focus-visible{outline:2px solid #2163f0;outline-offset:3px}@media(max-width:620px){.group-clock-dialog,.clock-auth-dialog{padding:18px}.group-clock-dialog .dialog-head h2,.clock-auth-dialog .dialog-head h2{font-size:18px}.group-clock-options{grid-template-columns:1fr;gap:8px}.group-clock-options>label{padding:12px}.group-clock-options small{margin-top:3px}.group-clock-section{padding:15px}.group-clock-section .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.clock-qr-preview{flex-direction:column;text-align:center;gap:12px}.clock-qr-preview img{width:170px;height:170px}.clock-qr-actions .button{flex:1;justify-content:center}.clock-methods{grid-template-columns:1fr;gap:7px}.clock-method{text-align:left;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:7px}.clock-method small{margin-top:0;max-width:155px;text-align:right}.clock-camera{height:220px}.clock-camera-actions>*{flex:1;justify-content:center}.group-clock-form>.form-actions>.button,.clock-auth-dialog>.form-actions>.button{flex:1;justify-content:center;min-height:42px}}
.clock-recent-logs{margin-top:12px;font-size:11px;color:#8191a7;line-height:1.8}.clock-log-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e9edf4;padding:12px 0}.clock-log-row:last-child{border-bottom:0}.clock-log-row>div{flex:1;min-width:0}.clock-log-row strong{display:block;font-size:12px;color:#536782}.clock-log-row small{display:block;font-size:10px}.clock-log-row b{font-size:11px;font-weight:600}.clock-log-success{color:#379175}.clock-log-failed{color:#bd616b}

/* Workspace identity and group authentication */
.workspace-groups table th,.workspace-groups table td{text-align:center}.workspace-groups table td:last-child{white-space:normal}
.company-assets-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.company-asset-form{border:1px solid var(--border);border-radius:12px;padding:20px;min-width:0}.company-asset-preview{height:112px;display:flex;align-items:center;justify-content:center;background:#f5f7fb;border-radius:10px;margin-bottom:16px}.company-asset-preview img{max-width:90%;max-height:90px;object-fit:contain}
.brand-mark.company-brand-mark{padding:0;letter-spacing:normal;background:white;overflow:hidden}.company-brand-mark img{width:100%;height:100%;object-fit:contain;padding:2px}.brand:hover{opacity:.9}
.brand.company-brand{width:100%;max-width:310px;min-width:0;height:64px;flex-shrink:0;display:flex;justify-content:center}.sidebar .brand.company-brand{padding:0 7px}.company-brand-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.company-asset-form[data-company-asset=logo] .company-asset-preview{width:100%;height:100px}.company-asset-form[data-company-asset=logo] .company-asset-preview img{width:100%;height:100%;max-width:320px;object-fit:contain}
.dashboard-layout-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.dashboard-layout-groups fieldset{border:1px solid #e1e8f2;border-radius:10px;padding:16px;min-width:0}.dashboard-layout-groups legend{color:#536c91;font-size:12px;font-weight:600;padding:0 6px}.dashboard-layout-groups label{display:flex;align-items:flex-start;gap:9px;margin:11px 0;color:#53657c;font-size:12px;line-height:1.6}.dashboard-layout-groups input{flex-shrink:0;accent-color:#2163f0}.dashboard-layout-order{list-style:none;padding:0;margin:14px 0 20px;max-width:650px}.dashboard-layout-order li{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #e8edf5;padding:12px 0;font-size:12px}.dashboard-layout-order li>div{display:flex;gap:14px}.dashboard-layout-order button:disabled{cursor:default}.dashboard-layout-order+.dialog-copy{margin-top:12px}#dashboard-layout-form>.field{max-width:350px}#dashboard-layout-form .form-error:empty{display:none}.dashboard-grid[data-dashboard-columns="1"]{grid-template-columns:1fr}.dashboard-grid>.card:only-child{grid-column:1/-1}@media(max-width:650px){.dashboard-layout-groups{grid-template-columns:1fr}.dashboard-layout-order li>span{max-width:65%;line-height:1.6}#dashboard-layout-form .form-actions{flex-wrap:wrap;justify-content:flex-start}.brand.company-brand{max-width:100%}}
.contract-company-stamp{display:block;max-width:100%;margin:10px auto}.contract-stamp-options{border:1px solid #dbe6f9;background:#f5f8ff;border-radius:12px;padding:20px;margin:18px 0}.contract-stamp-preview{min-height:100px;display:grid;place-items:center;background:white;border:1px dashed #d6dfee;border-radius:8px;padding:12px;margin-top:12px}.contract-stamp-preview img{max-width:100%;object-fit:contain}.contract-stamp-options[hidden],.contract-stamp-preview[hidden]{display:none}
@media(max-width:640px){.company-assets-grid{grid-template-columns:1fr}.company-asset-form{padding:14px}.contract-stamp-options{padding:14px}}

.contract-company-stamp.stamp-size-15{width:15mm;height:15mm}
.contract-company-stamp.stamp-size-16{width:16mm;height:16mm}
.contract-company-stamp.stamp-size-17{width:17mm;height:17mm}
.contract-company-stamp.stamp-size-18{width:18mm;height:18mm}
.contract-company-stamp.stamp-size-19{width:19mm;height:19mm}
.contract-company-stamp.stamp-size-20{width:20mm;height:20mm}
.contract-company-stamp.stamp-size-21{width:21mm;height:21mm}
.contract-company-stamp.stamp-size-22{width:22mm;height:22mm}
.contract-company-stamp.stamp-size-23{width:23mm;height:23mm}
.contract-company-stamp.stamp-size-24{width:24mm;height:24mm}
.contract-company-stamp.stamp-size-25{width:25mm;height:25mm}
.contract-company-stamp.stamp-size-26{width:26mm;height:26mm}
.contract-company-stamp.stamp-size-27{width:27mm;height:27mm}
.contract-company-stamp.stamp-size-28{width:28mm;height:28mm}
.contract-company-stamp.stamp-size-29{width:29mm;height:29mm}
.contract-company-stamp.stamp-size-30{width:30mm;height:30mm}
.contract-company-stamp.stamp-size-31{width:31mm;height:31mm}
.contract-company-stamp.stamp-size-32{width:32mm;height:32mm}
.contract-company-stamp.stamp-size-33{width:33mm;height:33mm}
.contract-company-stamp.stamp-size-34{width:34mm;height:34mm}
.contract-company-stamp.stamp-size-35{width:35mm;height:35mm}
.contract-company-stamp.stamp-size-36{width:36mm;height:36mm}
.contract-company-stamp.stamp-size-37{width:37mm;height:37mm}
.contract-company-stamp.stamp-size-38{width:38mm;height:38mm}
.contract-company-stamp.stamp-size-39{width:39mm;height:39mm}
.contract-company-stamp.stamp-size-40{width:40mm;height:40mm}
.contract-company-stamp.stamp-size-41{width:41mm;height:41mm}
.contract-company-stamp.stamp-size-42{width:42mm;height:42mm}
.contract-company-stamp.stamp-size-43{width:43mm;height:43mm}
.contract-company-stamp.stamp-size-44{width:44mm;height:44mm}
.contract-company-stamp.stamp-size-45{width:45mm;height:45mm}
.contract-company-stamp.stamp-size-46{width:46mm;height:46mm}
.contract-company-stamp.stamp-size-47{width:47mm;height:47mm}
.contract-company-stamp.stamp-size-48{width:48mm;height:48mm}
.contract-company-stamp.stamp-size-49{width:49mm;height:49mm}
.contract-company-stamp.stamp-size-50{width:50mm;height:50mm}
.contract-company-stamp.stamp-size-51{width:51mm;height:51mm}
.contract-company-stamp.stamp-size-52{width:52mm;height:52mm}
.contract-company-stamp.stamp-size-53{width:53mm;height:53mm}
.contract-company-stamp.stamp-size-54{width:54mm;height:54mm}
.contract-company-stamp.stamp-size-55{width:55mm;height:55mm}
.contract-company-stamp.stamp-size-56{width:56mm;height:56mm}
.contract-company-stamp.stamp-size-57{width:57mm;height:57mm}
.contract-company-stamp.stamp-size-58{width:58mm;height:58mm}
.contract-company-stamp.stamp-size-59{width:59mm;height:59mm}
.contract-company-stamp.stamp-size-60{width:60mm;height:60mm}

.company-assets-card .card-head p{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.7}

/* Group GPS modes and scoped attendance-location detail */
@media(min-width:621px){.group-clock-options{grid-template-columns:repeat(4,minmax(0,1fr))}}
.attendance-location-time{padding:5px 8px;border:0;background:#edf4ff;border-radius:7px;color:#2163f0;font:inherit;cursor:pointer;white-space:nowrap}.attendance-location-time:hover{background:#dce9ff}.attendance-location-time:focus-visible{outline:2px solid #2163f0;outline-offset:2px}.attendance-location-dialog{width:min(560px,calc(100vw - 28px));max-height:90vh;overflow:auto;padding:24px}.attendance-location-dialog .dialog-head{margin-bottom:20px}.attendance-location-dialog .dialog-head small{font-size:11px;color:#7a8ca2}.attendance-location-content{display:grid;gap:24px}.attendance-location-section h3{font-size:15px;margin:0 0 12px;color:#34465f}.attendance-location-section h3 time{font-size:13px;font-weight:400;margin-left:5px}.attendance-location-map-wrap{height:240px;border:1px solid #e0e7f1;border-radius:12px;overflow:hidden;background:#f3f6fb}.attendance-location-map{display:block;width:100%;height:100%;border:0}.attendance-location-coordinates{display:grid;gap:6px;margin-top:10px;font-size:11px;color:#61778f}.attendance-location-coordinates small{font-size:10px;color:#8695a7}.attendance-location-coordinates a{color:#2163f0;justify-self:start}.attendance-location-modified{font-size:11px;line-height:1.7;color:#9d702c;background:#fff8ec;border-radius:8px;padding:10px;margin-top:9px}.attendance-location-empty,.attendance-location-map-unavailable{padding:24px;font-size:12px;line-height:1.8;color:#8291a5}.attendance-location-summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px 16px;border-top:1px solid #e4ebf5;padding-top:20px;margin:0;font-size:13px;color:#3a4d68}.attendance-location-summary dt{font-weight:600}.attendance-location-summary dd{margin:0;overflow-wrap:anywhere}.attendance-location-summary small{display:block;color:#8b99ab;line-height:1.8;font-size:10px;margin-top:4px}.attendance-location-notice{font-size:10px;color:#8b99ab;line-height:1.8;margin:0}.attendance-location-dialog .form-actions{margin-top:20px}.attendance-location-dialog .button{min-width:90px;justify-content:center}@media(max-width:620px){.attendance-location-dialog{padding:18px}.attendance-location-map-wrap{height:210px}.attendance-location-section h3 time{font-size:12px}.attendance-location-summary{font-size:12px;gap:11px}.attendance-location-content{gap:20px}}
/* HTML notices share the server whitelist and wrap inside the workspace. */
.notice-html{white-space:normal;overflow-wrap:anywhere;line-height:1.75}.notice-html table{border-collapse:collapse;width:100%;table-layout:fixed}.notice-html th,.notice-html td{border:1px solid #dce3ec;padding:10px;text-align:left;overflow-wrap:anywhere}.notice-html pre{white-space:pre-wrap;overflow:auto;padding:14px;background:#f4f6fa;border-radius:8px}.notice-html blockquote{margin:12px 0;padding:4px 16px;border-left:3px solid #889bc0}.points-request-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid #e2e8f0}.points-request-row:last-of-type{border-bottom:0}.points-request-row p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.points-request-row small{color:#64748b}@media(max-width:600px){.points-request-row{align-items:flex-start;flex-direction:column}.points-request-row .button{width:100%}}
.notice-normal{font-weight:400}

/* Keep shell controls readable when a narrow screen needs more than one row. */
.topbar .header-right{min-width:0}
.topbar .header-right>.button,.topbar .icon-button,.topbar .user-button{flex-shrink:0}
.topbar .header-right>.button,.topbar .user-button strong,.topbar .user-button small{white-space:nowrap}
.topbar .user-button>span:last-child{min-width:0}
@media(max-width:1150px){
 .topbar .crumb{display:none}
 .topbar .header-right{gap:10px}
}
@media(max-width:620px){
 .topbar{height:auto;min-height:65px;align-items:flex-start;gap:10px;padding:12px 16px}
 .topbar .mobile-menu{margin-top:2px}
 .topbar .header-right{flex:1;flex-wrap:wrap;justify-content:flex-end;gap:9px}
 .topbar .header-right>.button{padding:8px 10px;font-size:11px}
 .topbar .user-button{gap:7px;max-width:calc(100% - 44px);min-width:0;flex-shrink:1}
 .topbar .user-button>span:last-child{overflow:hidden}
 .topbar .user-button strong{overflow:hidden;text-overflow:ellipsis}
 .page-heading{flex-direction:column;align-items:stretch;gap:14px}
 .page-heading>div:first-child{min-width:0}
 .page-heading p{max-width:none}
 .heading-actions{flex-wrap:wrap;justify-content:flex-start}
 .heading-actions .button{flex-shrink:0;white-space:nowrap;min-height:38px}
}
@media(max-width:480px){
 .topbar .header-right>.button{order:1}
 .topbar .header-right>.user-button{flex:1 0 calc(100% - 43px);max-width:calc(100% - 43px);justify-content:flex-end}
}

/* Shared workspace rhythm. Compact record actions and navigation remain small. */
:root{
 --ui-space-actions:8px;
 --ui-space-fields:16px;
 --ui-space-section:24px;
 --ui-card-padding:24px;
 --ui-control-height:39px;
 --ui-compact-height:30px;
 --ui-form-action-height:42px;
}
.button{min-height:var(--ui-control-height);padding:9px 14px}
.button.small{min-height:var(--ui-compact-height);padding:6px 10px}
.heading-actions>.button:not(.small){min-height:var(--ui-control-height)}
.heading-actions,.form-actions,.tabs-inline,.picker-controls{gap:var(--ui-space-actions)}
.form-actions{flex-wrap:wrap}
.form-actions>.button:not(.small){min-height:var(--ui-form-action-height)}
.form-grid{gap:var(--ui-space-fields);grid-template-columns:repeat(2,minmax(0,1fr))}
.card-head{padding:var(--ui-card-padding) var(--ui-card-padding) 16px}
.card-body{padding:8px var(--ui-card-padding) var(--ui-card-padding)}
.card-head>div,.page-heading>div:first-child{min-width:0}
.card-head :is(h2,h3){line-height:1.5;overflow-wrap:anywhere}
.dashboard-grid,.split,.settings-grid{gap:var(--ui-space-section)}
.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.page-heading{margin-bottom:var(--ui-space-section)}
.field :is(input,select,textarea){min-width:0;max-width:100%}

/* Preserve authored newlines only in prose, never numeric tables or HTML content. */
.dialog-copy,.inline-note,.plain-copy,.lv-detail-copy,
.page-heading p,.card-head small,.card-head p,.field>small,
.wide-text:not(:has(.notice-html)){
 white-space:pre-line;
 overflow-wrap:anywhere;
 line-height:1.8;
}
.dialog-copy+.dialog-copy,
.inline-note>p+p,.dialog-copy>p+p{margin-top:12px}
.plain-copy{max-width:100%;word-break:normal}
table small.plain-copy{display:block;min-width:140px;max-width:340px}

/* A help paragraph may contain explicit single newlines as well as paragraphs. */
.field-heading{flex-wrap:wrap;row-gap:2px;min-width:0;line-height:1.6}
.field-help-button{flex:0 0 24px}
.field-help-popover{
 max-width:calc(100vw - 24px);
 max-height:calc(100vh - 24px);
 max-height:calc(100dvh - 24px);
 overflow-y:auto;
 overscroll-behavior:contain;
 overflow-wrap:anywhere;
 line-height:1.8;
}
.field-help-paragraph{margin:0;white-space:pre-line}
.field-help-paragraph+.field-help-paragraph{margin-top:.75em}

/* Keep related search/download controls aligned with the shared 39px inputs. */
:is(.activity-filter-actions,.attendance-filter-actions,.attendance-download-actions,.weekly-review-filter-actions,.weekly-review-tools) .button,
.attendance-download-actions select{
 height:auto;
 min-height:var(--ui-control-height);
}
.attendance-download-actions select{padding-top:8px;padding-bottom:8px}
.attendance-download-actions,.activity-filter-actions{flex-wrap:wrap}
.attendance-management-pager,.weekly-review-pager{gap:12px}
.inventory-filters>.muted{line-height:1.8;overflow-wrap:anywhere}

@media(max-width:850px){
 .settings-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:620px){
 :root{--ui-space-section:20px;--ui-card-padding:20px}
 .card-head{padding:var(--ui-card-padding) var(--ui-card-padding) 12px}
 .card-body{padding:8px var(--ui-card-padding) var(--ui-card-padding)}
 .form-grid{grid-template-columns:minmax(0,1fr)}
 .dialog-head{align-items:flex-start;gap:12px}
 .dialog-head h2{min-width:0;line-height:1.5;overflow-wrap:anywhere}
 .dialog-head>.button{flex-shrink:0}
 .form-actions>.button{max-width:100%;overflow-wrap:anywhere}
 .field-help-popover{padding:16px}
 .inventory-filters>.field{flex:1 1 calc(50% - 6px);min-width:140px}
 .inventory-filters>.muted{flex:1 1 200px}
}

.member-name-link{border:0;background:transparent;padding:0;font:inherit;font-weight:600;color:#285eae;text-align:inherit;cursor:pointer}.member-name-link:hover{text-decoration:underline}.member-name-link:focus-visible{outline:2px solid #6289c7;outline-offset:4px;border-radius:3px}

/* Repeating extra work remains separate from the regular/leave entitlement. */
.work-extra-toggle{margin-top:14px}.work-extra-fields{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:14px;align-items:end;margin-top:14px;padding-top:14px;border-top:1px solid #e8edf4}.work-extra-fields[hidden],#pattern-night[hidden]{display:none!important}@media(max-width:700px){.work-extra-fields{grid-template-columns:minmax(0,1fr)}}

/* Weekday settings: options first, then paired work/rest ranges. */
#dialog .work-week-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
#dialog .work-editor .work-day{padding:16px;border-radius:14px;border:1px solid #dce5f1;background:#fff;min-width:0}
#dialog .work-editor .work-day legend{padding:0 8px;margin:0;font-size:15px;color:#263b59;font-weight:700}
#dialog .work-day legend .check-field{font-size:15px;font-weight:700;gap:9px}
#dialog .work-day-options{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:14px}
#dialog .work-editor .work-flags{display:flex;gap:6px;flex-wrap:wrap;flex:1}
#dialog .work-flags .check-field{border:1px solid #e2e9f2;background:#f7f9fc;padding:5px 7px;border-radius:7px;font-size:11px;min-height:30px;white-space:nowrap}
#dialog .work-editor .day-total{display:block;flex-basis:100%;text-align:left;font-size:13px;color:#285ca7;padding:8px 10px;background:#edf4ff;border-radius:8px;line-height:1.5}
#dialog .work-editor .work-day-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
#dialog .work-time-box{min-width:0;background:#f8fafc;border:1px solid #e8edf4;border-radius:10px;padding:12px}
#dialog .work-time-box h4{font-size:12px;line-height:1.5;margin:0 0 10px;color:#50647f}
#dialog .work-time-box .field{font-size:11px;gap:6px;margin:0}
#dialog .work-time-box .time-pair{gap:8px}
#dialog .work-editor .time-pair input{height:36px;min-height:36px;padding:6px;font-size:12px}
#dialog .work-time-box>.check-field,#dialog .work-time-box>p{font-size:10px;color:#73849b;margin:8px 0 0;min-height:18px;line-height:1.6}
#dialog .work-extra-toggle{padding-top:12px;margin-top:12px;border-top:1px solid #e8edf4}
#dialog .work-editor .work-extra-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 0 0;margin:0;border:0;gap:10px}
#dialog .work-extra-fields>.check-field{grid-column:1/-1;grid-row:2;font-size:11px}
#dialog .work-extra-fields .field{font-size:11px}
#dialog .work-editor .day-paid{background:#faf8ff;border-color:#ded7ee}
#dialog .work-editor .day-off{background:#f5f7fa;border-style:dashed;padding:12px 16px}
#dialog .day-off :is(.work-day-options,.work-day-fields,.work-extra-toggle,.work-extra-fields){display:none!important}
#dialog .day-off legend::after{content:'휴무일';font-size:11px;font-weight:400;color:#8a98aa;margin-left:10px}
@media(max-width:900px){#dialog .work-week-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:420px){#dialog .work-editor .work-day{padding:12px}#dialog .work-editor .work-day-fields{grid-template-columns:minmax(0,1fr)}#dialog .work-extra-fields{grid-template-columns:minmax(0,1fr)}#dialog .work-time-box{padding:10px}}

#dialog .work-week-grid{grid-template-columns:minmax(0,1fr)}
#dialog .work-editor .day-total{flex-basis:auto;margin-left:auto;white-space:nowrap}
#dialog .work-day-details>summary{font-size:12px;color:#607796;cursor:pointer;padding:4px 0 12px;line-height:1.5}
#dialog .work-day-details:not([open])>summary{padding-bottom:0}
#dialog .day-off .work-day-details{display:none}
@media(max-width:520px){#dialog .work-editor .day-total{flex-basis:100%;margin:0}#dialog .work-day-options{gap:9px}}

/* Shared list size, placed first without pushing mobile controls off-screen. */
.field.list-page-size{flex:0 0 138px;min-width:120px;max-width:170px;margin:0}
.field.list-page-size select{width:100%;min-width:0}
.approval-filter-tools{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.approval-filter-tools>.field{flex:1 1 155px;min-width:0}
.approval-filter-tools>.list-page-size{flex:0 0 138px}
.approval-filter-tools>.approval-search-field{flex:2 1 220px}
.approval-table-footer>.list-pagination{margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.approval-table-footer [data-approval-page-info]{line-height:1.5;text-align:center;font-size:12px}
.leave-holidays-dialog{max-width:820px}
.leave-holidays-dialog .toolbar{align-items:flex-end;gap:12px}
.leave-holidays-dialog .table-wrap{max-width:100%;overflow-x:auto}
@media(max-width:600px){.field.list-page-size{flex:1 1 120px;max-width:none}.approval-filter-tools>.field{flex:1 1 calc(50% - 12px)}.approval-filter-tools>.approval-search-field{flex-basis:100%}.approval-table-footer>.list-pagination{width:100%;justify-content:center}.approval-table-footer [data-approval-page-info]{flex:1 1 120px}.leave-holidays-dialog .toolbar>.field{flex:1;min-width:0}}

/* Rejection actions use the coral fill shown in the supplied reference. */
.button:is(.approval-reject-button,[data-general-action="reject"],[data-approval-action="reject"],[data-leave-ui="reject"],[data-leave-ui="cancel-reject"],[data-leave-action="reject"],[data-contract-action="reject"]){background:#e86a70;border-color:#e86a70;color:#fff}
.button:is(.approval-reject-button,[data-general-action="reject"],[data-approval-action="reject"],[data-leave-ui="reject"],[data-leave-ui="cancel-reject"],[data-leave-action="reject"],[data-contract-action="reject"]):hover:not(:disabled){background:#d95d63;border-color:#d95d63;color:#fff}
.button:is(.approval-reject-button,[data-general-action="reject"],[data-approval-action="reject"],[data-leave-ui="reject"],[data-leave-ui="cancel-reject"],[data-leave-action="reject"],[data-contract-action="reject"]):focus-visible{outline:2px solid #ad3945;outline-offset:3px}

.employee-panel-heading{margin:0 0 20px;font-size:16px;display:flex;align-items:center;gap:8px}
.member-leave-settings>h3,.member-leave-settings h4{margin:0 0 16px}
.member-leave-settings fieldset{border:0;padding:0;margin:0;min-width:0}
.member-leave-settings [data-member-leave-details]{border-top:1px solid var(--border,#e7ecf2);padding-top:20px;margin-top:20px}
.member-leave-settings .member-deemed-scopes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.member-deemed-scopes legend{margin-bottom:12px}
.member-leave-settings .dialog-copy,.member-leave-settings .inline-note{margin:16px 0;line-height:1.8}
.member-leave-settings [data-member-lateness-details]{margin-top:16px}
.workspace-leave-settings .card-head{display:flex;justify-content:space-between;gap:16px}
@media(max-width:620px){.member-leave-settings .member-deemed-scopes{grid-template-columns:minmax(0,1fr)}.employee-editor-tab .employee-tab-label{font-size:10px}}.member-leave-settings [data-member-leave-details]>legend{font-weight:700;margin-bottom:18px;padding:0;font-size:14px}
.member-leave-settings [hidden]{display:none!important}
.member-leave-settings .member-leave-toggle{margin:20px 0;display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.member-leave-toggle>legend,.member-leave-radios>legend{font-weight:600;margin-bottom:12px;padding:0}
.member-leave-toggle-options{display:inline-flex;border:1px solid #b8c7da;border-radius:8px;overflow:hidden}
.member-leave-toggle-options>label{position:relative;min-width:58px;text-align:center;cursor:pointer}
.member-leave-toggle-options>label+label{border-left:1px solid #b8c7da}
.member-leave-toggle-options input{position:absolute;inset:0;opacity:0;margin:0;cursor:inherit}
.member-leave-toggle-options span{display:block;padding:10px 18px;background:#fff;color:#54647a;font-weight:600}
.member-leave-toggle-options input:checked+span{background:var(--blue,#3978dc);color:white}
.member-leave-toggle-options input:focus-visible+span{outline:2px solid #183c71;outline-offset:-3px}
.member-leave-toggle-options input:disabled+span{cursor:default;opacity:.65}
.member-leave-settings .member-leave-radios{display:grid;gap:14px;margin-top:24px}
.member-leave-deduction-line{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.8fr);gap:12px}
.member-leave-records{margin-top:24px;padding-top:18px;border-top:1px solid var(--border,#e7ecf2)}
.member-leave-records>summary{font-size:13px;font-weight:600;color:#526680;cursor:pointer;line-height:1.6}
.member-leave-records[open]>summary{margin-bottom:18px}
.member-leave-settings .member-leave-workdays{margin:22px 0;padding:16px;border:1px solid var(--border,#e7ecf2);border-radius:10px}
.member-leave-workdays>legend{font-weight:600;padding:0 6px}
.member-leave-workdays-head,.member-leave-day-row{display:grid;grid-template-columns:72px minmax(0,1fr) minmax(0,1fr) 98px;gap:12px;align-items:start}
.member-leave-workdays-head{font-size:12px;font-weight:600;color:#64748b;padding:12px 0}
.member-leave-day-row{padding:16px 0;border-top:1px solid var(--border,#e7ecf2);min-width:0}
.member-leave-day-check{margin-top:30px;white-space:nowrap}
.member-leave-day-shift,.member-leave-break-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0}
.member-leave-day-shift>.check-field{grid-column:1/-1;font-size:12px}
.member-leave-day-row .field{margin:0;min-width:0;font-size:11px}
.member-leave-day-row input[type=time]{width:100%;min-width:0;padding:9px 5px;font-size:12px;box-sizing:border-box}
.member-leave-day-breaks{display:grid;gap:8px;min-width:0}
.member-leave-break-pair>.button{grid-column:1/-1;justify-self:start}
.member-leave-day-breaks>.button{justify-self:start}
.member-leave-day-total{font-size:12px;color:#3e607f;line-height:1.8;margin-top:27px;overflow-wrap:anywhere}
.member-leave-day-total.invalid{color:#b33131}
.member-leave-week-total{margin:16px 0 0;font-size:13px;font-weight:600;color:#385773}
@media(max-width:900px){.member-leave-workdays-head{display:none}.member-leave-day-row{grid-template-columns:72px minmax(0,1fr)}.member-leave-day-check{grid-row:1/3}.member-leave-day-breaks{grid-column:2}.member-leave-day-total{grid-column:2;margin-top:0}.member-leave-day-check{margin-top:28px}.member-leave-settings .member-leave-workdays{padding:12px}}
@media(max-width:540px){.member-leave-deduction-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.member-leave-deduction-line>.field:first-child{grid-column:1/-1}.member-leave-day-row{grid-template-columns:minmax(0,1fr);gap:12px}.member-leave-day-check{grid-row:auto;margin-top:0}.member-leave-day-breaks,.member-leave-day-total{grid-column:1}.member-leave-day-shift>.field,.member-leave-break-pair>.field{font-size:12px}.member-leave-day-row input[type=time]{padding:10px 8px;font-size:14px}.member-leave-toggle-options>label{min-width:64px}}
/* Time controls follow the editor's available width, including desktop dialogs. */
.member-leave-settings{container:member-leave-editor / inline-size}
@container member-leave-editor (max-width:800px){
 .member-leave-workdays-head{display:none}
 .member-leave-day-row{grid-template-columns:72px minmax(0,1fr)}
 .member-leave-day-check{grid-row:1/3;margin-top:28px}
 .member-leave-day-breaks{grid-column:2}
 .member-leave-day-total{grid-column:2;margin-top:0}
 .member-leave-settings .member-leave-workdays{padding:12px}
}
@container member-leave-editor (max-width:480px){
 .member-leave-day-row{grid-template-columns:minmax(0,1fr);gap:12px}
 .member-leave-day-check{grid-row:auto;margin-top:0}
 .member-leave-day-breaks,.member-leave-day-total{grid-column:1}
 .member-leave-day-shift>.field,.member-leave-break-pair>.field{font-size:12px}
 .member-leave-day-row input[type=time]{padding:10px 8px;font-size:14px}
}
/* Shared annual-leave controls and compact weekday hours. */
.employee-leave-intro{font-size:13px;line-height:1.65;color:#526378;margin:0 0 14px;text-wrap:pretty;word-break:keep-all;overflow-wrap:anywhere}
#employee-panel-leave{gap:14px}
#employee-panel-leave>.employee-leave-intro{margin:0}
#employee-panel-leave>.employee-leave-accrual-basis{margin:0;padding:0;border:0}
#employee-panel-leave .employee-leave-accrual-basis>h3{margin:0 0 8px;font-size:14px}
#employee-panel-leave .member-accrual-choice{padding:10px 12px;border-radius:9px}
#employee-panel-leave .member-accrual-choices{gap:10px;margin-bottom:8px}
#employee-panel-leave .member-accrual-choice small{font-size:11px}
.employee-leave-accrual-basis{margin-bottom:14px}
.employee-leave-accrual-basis>h3,.member-leave-settings>h3,.company-standard-basis>h3{margin:0 0 8px;font-size:14px}
.employee-leave-accrual-basis .dialog-copy{font-size:12px;line-height:1.6;margin:6px 0}
.employee-leave-accrual-basis .inline-note{margin:8px 0;padding:8px 10px}
.member-leave-settings .field{gap:5px;margin:0 0 10px}
.member-leave-settings .field input:not([type=checkbox]):not([type=radio]),.member-leave-settings .field select{height:40px;min-height:40px;padding:8px 10px;box-sizing:border-box}
.member-leave-method{margin-bottom:10px!important}
.member-leave-settings .member-leave-common{padding:12px;border:1px solid #e2e8f0;border-radius:9px;margin:10px 0 14px}
.member-leave-common>legend{font-size:13px;font-weight:650;padding:0 5px}
.member-leave-common-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.member-leave-settings .member-leave-common .member-leave-toggle{display:block;margin:0}
.member-leave-settings .member-leave-toggle{margin:12px 0;gap:10px}
.member-leave-toggle>legend,.member-leave-radios>legend{margin-bottom:7px;font-size:12px}
.member-leave-toggle-options span{padding:9px 16px}
.member-leave-settings [data-member-leave-details]{padding-top:12px;margin-top:14px}
.member-leave-settings [data-member-leave-details]>legend{margin-bottom:8px;font-size:14px}
.member-leave-settings .dialog-copy,.member-leave-settings .inline-note{font-size:12px;line-height:1.65;margin:8px 0}
.member-leave-settings .member-leave-radios{gap:9px;margin-top:14px}
.member-leave-settings .member-deemed-scopes{gap:8px}
.member-leave-settings .member-leave-hours{margin:12px 0;padding:10px;border:1px solid #e2e8f0;border-radius:9px}
.member-leave-hours>legend{font-size:13px;font-weight:650;padding:0 5px}
.member-leave-hours-head,.member-leave-hours-row{display:grid;grid-template-columns:54px minmax(0,1fr) minmax(0,1fr) 36px;gap:8px;align-items:center;min-width:0}
.member-leave-hours-head{color:#64748b;font-size:11px;padding:5px 0 8px;text-align:center}
.member-leave-hours-head>span:first-child{text-align:left}
.member-leave-hours-row{padding:6px 0;border-top:1px solid #edf1f5;font-size:12px}
.member-leave-hours-row input[type=number]{width:100%;min-width:0;height:38px;padding:7px 8px;box-sizing:border-box;text-align:right;font-size:13px}
.member-leave-hours-row .check-field{justify-content:center;margin:0;min-width:0}
.member-leave-hours-summary{display:block;padding-top:9px;font-size:12px;font-weight:650;line-height:1.6;color:#385773;overflow-wrap:anywhere}
.member-leave-hours-summary.invalid{color:#b33131}
.member-leave-records{margin-top:12px;padding-top:10px}
#dialog.company-standard-dialog{width:min(880px,calc(100vw - 32px));max-width:880px}
.company-standard-dialog #modal-form{max-height:calc(90dvh - 80px);overflow:auto;scrollbar-gutter:stable}
.company-standard-dialog .form-actions{position:sticky;bottom:0;z-index:2;background:#fff;margin-top:14px;padding-top:12px;padding-bottom:8px}
.company-standard-basis{margin-bottom:14px}
.company-standard-basis .field{margin-bottom:6px}
.company-standard-targets{display:flex;flex-wrap:wrap;gap:7px;max-height:220px;overflow:auto;font-size:12px}
.company-standard-targets>span{border:1px solid #e2e8f0;border-radius:6px;padding:6px 8px}
@container member-leave-editor (max-width:420px){.member-leave-common-grid{gap:12px}.member-leave-hours{padding:8px!important}.member-leave-hours-head,.member-leave-hours-row{grid-template-columns:46px minmax(0,1fr) minmax(0,1fr) 28px;gap:6px}}

.workspace-leave-operations{display:grid;gap:12px;margin-bottom:20px}
.workspace-leave-operations>p{margin:0;line-height:1.65}
.workspace-leave-operations .lv-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.workspace-leave-operations .lv-actions .button{min-height:44px;white-space:normal;text-align:center}
.workspace-leave-settings .card-body>.table-wrap{max-width:100%;overflow-x:auto}
@media(max-width:700px){.workspace-leave-operations .lv-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
.workspace-date-hint{display:block;font-size:11px;color:var(--muted,#64748b)}
dialog.popup-search-sized{box-sizing:border-box;height:min(var(--popup-search-height),calc(100dvh - 24px));overflow:auto}
.workspace-date-hint{position:absolute;z-index:2;padding:3px 6px;margin-top:46px;border-radius:4px;background:var(--surface,#fff);box-shadow:0 1px 6px #0002;pointer-events:none}
