@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{--ink:#172B4D;--forest:#2459A6;--forest-dark:#173F7E;--sage:#EAF1FC;--canvas:#F5F8FE;--paper:#fff;--line:#DCE6F4;--muted:#687A94;--gold:#C8794A;--gold-pale:#FFF0E6;--red:#ad5b50;--red-pale:#fcefeb;--green:#24815d;--green-pale:#e8f5ec;--shadow:0 8px 28px rgba(23,63,126,.07);font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);background:var(--canvas)}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Outfit,system-ui,sans-serif;letter-spacing:-.035em}h1{font-size:32px;line-height:1.18}h2{font-size:23px}h3{font-size:18px}p{line-height:1.55}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:var(--gold)}.small{font-size:12px}.brand{font-family:Outfit,system-ui,sans-serif;font-size:20px;font-weight:800;letter-spacing:-.05em;display:flex;align-items:center;gap:11px}.brand-mark{height:36px;width:36px;background:var(--forest);color:white;border-radius:11px;display:grid;place-items:center;font-size:19px;letter-spacing:-.08em;box-shadow:0 6px 14px #173F7E20}.brand-mark.light{background:#fff;color:var(--forest)}.button,.button:visited,button.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:0 17px;border:1px solid var(--forest);border-radius:10px;background:var(--forest);color:#fff;font-weight:700;font-size:13px;white-space:nowrap;box-shadow:none}.button:hover{background:var(--forest-dark)}.button.ghost{background:white;color:var(--forest);border-color:var(--line)}.button.ghost:hover{background:var(--sage)}.button.gold{background:var(--gold);border-color:var(--gold);color:#231b11}.button.danger{background:var(--red-pale);border-color:#e9c8c0;color:#9c4035}.button.large{min-height:54px;padding:0 24px;font-size:15px}.button.full{width:100%}.text-link{font-size:13px;font-weight:700;color:var(--forest);text-decoration:underline;text-underline-offset:4px}.field{display:flex;flex-direction:column;gap:7px}.field label{font-size:12px;font-weight:800;color:#344A69}.field input,.field select,.field textarea{width:100%;height:43px;border:1px solid #D7E1EF;border-radius:9px;background:#fff;color:var(--ink);padding:0 13px;outline:none}.field textarea{height:90px;padding:12px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#80A7E1;box-shadow:0 0 0 3px #80A7E128}.field input::placeholder{color:#9AACC4}.field .hint{color:var(--muted);font-size:11px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.card{background:var(--paper);border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}.card-pad{padding:24px}.card-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:20px}.pill{display:inline-flex;align-items:center;gap:6px;border-radius:50px;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap}.pill.green{background:var(--green-pale);color:#16744e}.pill.gold{background:var(--gold-pale);color:#8b622b}.pill.gray{background:#eef1ed;color:#71809A}.pill.red{background:var(--red-pale);color:#aa584b}.dot{width:7px;height:7px;border-radius:50%;background:currentColor}.avatar{width:34px;height:34px;border-radius:11px;background:#E7EFFB;color:#315FA9;display:grid;place-items:center;font-weight:800;font-size:12px}.avatar.gold{background:#f8ead1;color:#8b5c21}.avatar.blue{background:#E8EDF6;color:#426B99}.row{display:flex;align-items:center;gap:10px}.row.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:4px}.divider{height:1px;background:var(--line);margin:20px 0}.icon{width:16px;height:16px;display:inline-grid;place-items:center;font-size:16px;line-height:1}.admin-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh}.sidebar{background:#173F7E;color:#E9F1FD;display:flex;flex-direction:column;padding:27px 17px 18px;min-height:100vh}.sidebar .brand{padding:0 10px;color:#fff}.sidebar .subbrand{padding:4px 10px 30px;font-size:11px;color:#B9CFF0}.nav-label{padding:18px 11px 9px;font-size:10px;font-weight:800;color:#A5BDE1;letter-spacing:.14em;text-transform:uppercase}.nav-link{display:flex;align-items:center;gap:12px;padding:11px 12px;margin:2px 0;border-radius:9px;color:#DBE8FB;font-size:13px;font-weight:600}.nav-link:hover,.nav-link.active{background:#204C91;color:#fff}.nav-link.active{box-shadow:inset 3px 0 0 #E5A27A}.nav-link .icon{opacity:.9}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff26;padding:19px 10px 0}.sidebar-bottom .avatar{background:#3568B1;color:#fff}.workspace{min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px}.topbar .crumb{font-size:12px;color:var(--muted)}.topbar .right{display:flex;align-items:center;gap:18px;font-size:12px}.topbar .secure{color:#4B85D2;font-weight:800}.main-content{max-width:1380px;margin:0 auto;padding:37px 40px 70px}.page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:27px}.page-title h1{margin:5px 0 6px}.page-title p{margin:0;color:var(--muted);font-size:13px}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.kpi{padding:20px}.kpi .caption{font-size:12px;font-weight:700;color:var(--muted)}.kpi .number{font-family:Outfit;font-weight:800;font-size:29px;letter-spacing:-.05em;margin:8px 0 3px}.kpi .foot{font-size:11px;color:var(--muted)}.kpi .foot strong{color:var(--green)}.content-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:18px}.section-title{font-family:Outfit;font-size:17px;font-weight:700;letter-spacing:-.025em;margin:0}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px;min-width:690px}.data-table th{text-transform:uppercase;font-size:10px;letter-spacing:.08em;color:#8496AD;font-weight:800;text-align:left;padding:13px 16px;border-bottom:1px solid var(--line);background:#FBFCFF}.data-table td{padding:14px 16px;border-bottom:1px solid #eef1ed;color:#334C70}.data-table tr:last-child td{border-bottom:0}.data-table .person{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--ink)}.data-table .action{color:var(--forest);font-weight:800}.table-toolbar{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px}.table-toolbar h2{margin:0;font-size:18px}.filter-bar{display:flex;align-items:end;gap:11px;padding:19px 21px;border-bottom:1px solid var(--line);flex-wrap:wrap}.filter-bar .field{min-width:140px;flex:1}.filter-bar .button{min-height:43px}.search{min-width:240px}.search input{padding-left:14px}.summary-row{display:flex;gap:15px;flex-wrap:wrap}.summary-row .card{flex:1;min-width:160px;padding:17px 19px}.summary-row strong{display:block;font:800 23px Outfit;margin:6px 0}.list-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #EBF0F8}.list-item:last-child{border-bottom:0}.mini-chart{display:flex;align-items:end;gap:9px;height:113px;padding:12px 0 0}.mini-chart span{flex:1;min-width:10px;background:#A7C4F0;border-radius:5px 5px 0 0}.mini-chart span:nth-child(3n){background:#E5A278}.chart-labels{display:flex;justify-content:space-between;color:#8496AD;font-size:10px}.notice{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border-radius:12px;background:#ECF4FE;border:1px solid #D9E8FB;font-size:12px;color:#3C6296}.notice.gold{background:#fff8ec;border-color:#f0dfbd;color:#806033}.notice.red{background:var(--red-pale);border-color:#efd0ca;color:#9d4d45}.form-actions{display:flex;gap:10px;margin-top:22px}.form-panel{max-width:740px}.form-panel .card{padding:28px}.audit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.audit-box{border:1px solid var(--line);background:#fbfcfa;border-radius:10px;padding:17px}.audit-box h3{font-size:14px}.audit-box dl{display:grid;grid-template-columns:100px 1fr;gap:10px;font-size:12px;margin:0}.audit-box dt{color:var(--muted)}.audit-box dd{margin:0;font-weight:700}.preview-hub{min-height:100vh;background:radial-gradient(circle at 75% 10%,#e6efe7 0,transparent 40%),#F5F8FE;padding:42px 5% 80px}.hub-inner{max-width:1120px;margin:auto}.hub-hero{padding:70px 0 45px;display:grid;grid-template-columns:1.2fr .8fr;gap:55px;align-items:center}.hub-hero h1{font-size:clamp(46px,5vw,72px);line-height:1.01;max-width:700px;margin:14px 0 20px}.hub-hero p{max-width:550px;color:var(--muted);font-size:16px}.hub-visual{background:var(--forest);border-radius:24px;padding:28px;color:#fff;min-height:295px;box-shadow:0 25px 60px #173F7E23;position:relative;overflow:hidden}.hub-visual:after{content:'';position:absolute;width:260px;height:260px;border-radius:50%;right:-95px;top:-115px;border:55px solid #ffffff0c}.hub-visual .time{font:800 56px Outfit;letter-spacing:-.05em;margin-top:28px}.hub-visual .status{background:#ffffff1c;border:1px solid #ffffff3e;border-radius:10px;padding:12px 15px;margin-top:24px;font-size:12px}.hub-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.hub-card{padding:25px;min-height:235px;display:flex;flex-direction:column}.hub-card .icon-big{width:47px;height:47px;border-radius:14px;background:#EDF4FD;color:var(--forest);display:grid;place-items:center;font-size:23px;margin-bottom:18px}.hub-card h2{font-size:21px;margin:0 0 8px}.hub-card p{font-size:13px;color:var(--muted);margin:0 0 24px}.hub-card a{margin-top:auto}.hub-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.hub-links a{font-size:11px;font-weight:700;border:1px solid var(--line);border-radius:30px;padding:6px 10px;color:var(--forest)}.kiosk{min-height:100vh;background:radial-gradient(circle at 10% 10%,#EAF2FF,transparent 38%),radial-gradient(circle at 90% 90%,#FFF0E7,transparent 35%),#F7F9FE}.kiosk-header{max-width:1200px;margin:auto;padding:28px 30px;display:flex;align-items:center;justify-content:space-between}.kiosk-header .right{font-size:12px;color:var(--muted)}.kiosk-main{max-width:1150px;margin:55px auto 0;padding:0 30px;display:grid;grid-template-columns:.95fr 1fr;gap:75px;align-items:center}.kiosk-copy .eyebrow{font-size:12px}.kiosk-copy h1{font-size:clamp(46px,5vw,70px);line-height:1.03;margin:15px 0 20px}.kiosk-copy p{font-size:17px;color:var(--muted);max-width:430px}.kiosk-copy .current-time{display:inline-flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px 16px;margin-top:30px}.current-time strong{font:700 23px Outfit}.kiosk-card{padding:34px 38px}.kiosk-card h2{font-size:28px;margin:0 0 8px}.kiosk-card p{color:var(--muted);font-size:13px}.kiosk-card .field{margin:22px 0}.kiosk-card .field select,.kiosk-card .field input{height:53px}.kiosk-card .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:28px}.kiosk-footer{max-width:1150px;margin:75px auto 0;padding:0 30px 28px;display:flex;justify-content:space-between;color:#8496AD;font-size:11px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:#173F7E;color:#fff;padding:40px 6vw;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-art:after{content:'';position:absolute;width:580px;height:580px;border:95px solid #ffffff09;border-radius:50%;right:-230px;top:150px}.auth-art h1{font-size:clamp(48px,5vw,74px);line-height:1.02;max-width:570px;margin:0 0 20px}.auth-art p{max-width:440px;color:#BED2F0}.auth-side{padding:40px 5vw;display:flex;align-items:center;justify-content:center}.auth-form{width:100%;max-width:390px}.auth-form h2{font-size:32px}.auth-form .field{margin:20px 0}.auth-form .button{margin-top:8px}.auth-form .fine{font-size:11px;color:var(--muted);margin-top:20px}.qr{width:180px;height:180px;background:#fff;border:10px solid white;border-radius:12px;box-shadow:0 4px 20px #0001;margin:15px 0;display:grid;place-items:center}.qr-pattern{width:145px;height:145px;background:repeating-linear-gradient(90deg,#173F7E 0 7px,white 7px 12px,#173F7E 12px 15px,white 15px 23px);mix-blend-mode:multiply;opacity:.8}.centered-success{max-width:600px;margin:100px auto;text-align:center}.success-circle{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:var(--green-pale);color:var(--green);font-size:38px;margin:0 auto 22px}.export-cols{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:12px}.export-cols span{padding:13px 8px;text-align:center;background:#F4F8FF;border:1px solid var(--line);border-radius:8px;font-size:11px;font-weight:700;color:#536C90}@media(max-width:1000px){.kpi-grid{grid-template-columns:repeat(2,1fr)}.content-grid{grid-template-columns:1fr}.kiosk-main{gap:35px}.topbar,.main-content{padding-left:25px;padding-right:25px}}@media(max-width:760px){.admin-shell{grid-template-columns:1fr}.sidebar{min-height:auto;padding:15px;display:block}.sidebar .brand{display:inline-flex}.sidebar .subbrand,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:4px;margin-top:12px}.nav-link{white-space:nowrap}.topbar{height:58px;padding:0 18px}.topbar .secure{display:none}.main-content{padding:26px 16px 50px}.page-title{align-items:flex-start;flex-direction:column}.hub-hero,.hub-cards,.kiosk-main,.auth-layout{grid-template-columns:1fr}.hub-hero{padding-top:50px}.hub-visual{display:none}.kiosk-main{margin-top:25px}.kiosk-copy h1{font-size:43px}.kiosk-copy .current-time{margin-top:5px}.kiosk-card{padding:25px}.auth-art{min-height:300px}.auth-art h1{font-size:44px}.field-grid,.audit-grid{grid-template-columns:1fr}.export-cols{grid-template-columns:repeat(2,1fr)}}

/* Blue-led profile and analytics views */
:root{--blue:#2459A6;--blue-strong:#173F7E;--blue-soft:#EAF1FC;--cyan:#41A6C9;--orange:#EA986C}
.profile-hero{display:flex;justify-content:space-between;gap:22px;align-items:center;padding:27px 30px;background:linear-gradient(120deg,#173F7E 0%,#2459A6 62%,#357DC5 100%);color:white;border-radius:18px;position:relative;overflow:hidden;margin-bottom:20px}
.profile-hero:after{content:"";position:absolute;right:-55px;top:-85px;width:280px;height:280px;border:45px solid #ffffff18;border-radius:50%;pointer-events:none}
.profile-hero>*{position:relative;z-index:1}.profile-id{display:flex;gap:18px;align-items:center}.profile-avatar{width:65px;height:65px;display:grid;place-items:center;border-radius:18px;background:#ffffff2b;border:1px solid #ffffff50;font:700 22px Outfit}.profile-hero h1{color:white;margin:4px 0 6px}.profile-hero .eyebrow{color:#BDD6FF}.profile-hero p{color:#DFEBFD;margin:0;font-size:13px}.profile-hero .button{border-color:#ffffff65}.profile-hero .button.ghost{background:white;color:#173F7E}
.profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.profile-stat{padding:20px}.profile-stat .label{font-size:12px;color:var(--muted);font-weight:700}.profile-stat strong{display:block;font:800 29px Outfit;letter-spacing:-.04em;margin:7px 0 3px}.profile-stat .sub{font-size:11px;color:var(--muted)}
.insights-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.9fr);gap:18px;margin-bottom:20px}.insight-card{padding:23px 25px}.insight-head{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:17px}.insight-head h2{margin:0 0 3px;font-size:20px}.insight-head p{margin:0;color:var(--muted);font-size:12px}.legend{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;white-space:nowrap}.legend:before{content:"";width:9px;height:9px;border-radius:3px;background:var(--blue)}
.week-bars{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:end;height:190px;padding:16px 8px 8px;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 46px,#E7EEF9 47px,#E7EEF9 48px)}.week-bar-col{height:100%;display:flex;align-items:center;justify-content:end;flex-direction:column;gap:8px}.week-bar-col strong{font:700 12px Outfit;color:var(--ink)}.week-bar{width:min(64px,70%);border-radius:9px 9px 0 0;background:linear-gradient(180deg,#60A5EA,var(--blue));min-height:3px}.week-bar-col:last-child .week-bar{background:linear-gradient(180deg,#67BFD8,#2C90BC)}.week-bar-labels{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;color:var(--muted);font-size:11px;margin-top:10px}
.breakdown{display:flex;flex-direction:column;gap:15px;margin-top:10px}.breakdown-row{display:grid;grid-template-columns:100px minmax(0,1fr) 34px;align-items:center;gap:12px;font-size:12px}.breakdown-row a{font-weight:700;color:var(--ink)}.breakdown-row a:hover{color:var(--blue)}.breakdown-track{height:11px;border-radius:30px;background:#E7EEFA;overflow:hidden}.breakdown-fill{height:100%;border-radius:30px;background:linear-gradient(90deg,#2459A6,#6EA8EB)}.breakdown-row strong{text-align:right;font-size:12px}
.month-card{padding:24px;margin-bottom:20px}.month-summary{display:flex;align-items:baseline;gap:12px;margin-bottom:8px}.month-summary strong{font:800 39px Outfit;letter-spacing:-.055em}.month-summary span{color:var(--muted);font-size:12px}.month-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:30px;align-items:center}.month-grid .week-bars{height:210px}
.schedule-card,.history-card{padding:0;overflow:hidden}.section-head{padding:22px 24px 17px;display:flex;justify-content:space-between;align-items:start;gap:14px}.section-head h2{margin:0 0 4px;font-size:20px}.section-head p{margin:0;color:var(--muted);font-size:12px}.schedule-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;padding:0 24px 24px}.schedule-day{background:#F3F7FD;border:1px solid #E3ECF9;border-radius:11px;padding:13px 10px;min-height:116px}.schedule-day.off{background:#F9FBFE;color:#94A3B8}.schedule-day .day{display:block;font-size:11px;font-weight:800;color:var(--muted);margin-bottom:13px}.schedule-day strong{display:block;font:700 13px Outfit;line-height:1.3}.schedule-day .date{font-size:11px;color:var(--muted);display:block;margin-top:2px}.schedule-day .shift-state{font-size:10px;color:var(--blue);display:block;margin-top:14px;font-weight:700}.schedule-day.off .shift-state{color:#94A3B8}
.profile-bottom{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.85fr);gap:18px}.history-card .table-wrap{overflow-x:auto}.history-card .data-table{min-width:570px}.detail-card{padding:23px 24px}.detail-card h2{font-size:20px;margin-bottom:18px}.detail-list{display:flex;flex-direction:column;gap:15px}.detail-item{display:flex;justify-content:space-between;gap:12px;padding-bottom:13px;border-bottom:1px solid var(--line);font-size:12px}.detail-item:last-child{border:0;padding:0}.detail-item span{color:var(--muted)}.detail-item strong{text-align:right}.profile-wrap{max-width:1230px;margin:0 auto;padding:35px 28px 60px}.profile-topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:28px}.profile-topbar .right{display:flex;align-items:center;gap:15px}.profile-topbar .small{color:var(--muted)}.profile-note{margin-bottom:20px}.profile-note .notice{margin:0}.profile-link{font-size:12px;color:var(--blue);font-weight:800}.profile-link:hover{text-decoration:underline}
@media(max-width:1050px){.profile-stats{grid-template-columns:repeat(2,1fr)}.insights-grid,.month-grid,.profile-bottom{grid-template-columns:1fr}.schedule-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:650px){.profile-hero{align-items:flex-start;flex-direction:column;padding:22px}.profile-hero h1{font-size:28px}.profile-id{align-items:flex-start}.profile-avatar{width:52px;height:52px;font-size:17px}.profile-stats{gap:10px}.profile-stat{padding:15px}.profile-stat strong{font-size:24px}.schedule-grid{grid-template-columns:repeat(2,1fr);padding:0 16px 16px}.section-head{padding:20px 16px}.month-card,.insight-card{padding:18px}.profile-wrap{padding:20px 15px 50px}.breakdown-row{grid-template-columns:85px minmax(0,1fr) 30px;gap:8px}}
.pill.blue{background:#E7F0FF;color:#2459A6}.person a:hover{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.profile-hero .button.ghost:hover{background:#EAF1FC}.profile-wrap .notice{background:#EAF3FF;border-color:#CFDFF7;color:#385A8B}a:focus-visible,.button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #65A5F4;outline-offset:2px}
