:root{--ink:#212f3e;--muted:#7b7e82;--accent:#0066dc;--accent-soft:#c6d8ed;--canvas:#f4f6f8;--line:#e2e6ea;--bs-primary:#0066dc;--bs-body-font-family:"Segoe UI",system-ui,-apple-system,sans-serif;--bs-body-color:#29333e;--bs-border-color:#dce0e5}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);font-size:14px}button,a,input,select,textarea{touch-action:manipulation}a{color:var(--accent)}button:focus-visible,a:focus-visible{outline:3px solid #6887ab;outline-offset:3px}.btn{border-radius:9px;padding:11px 19px;font-size:13px;font-weight:600}.btn-primary{--bs-btn-bg:var(--accent);--bs-btn-border-color:var(--accent);--bs-btn-hover-bg:#0055bb;--bs-btn-hover-border-color:#0055bb;--bs-btn-active-bg:#0055bb;--bs-btn-active-border-color:#0055bb}.btn-outline-secondary{--bs-btn-color:#464d56;--bs-btn-border-color:#d6dce2;--bs-btn-hover-bg:#e8ecf1;--bs-btn-hover-border-color:#bbc4ce;--bs-btn-hover-color:#212f3e}.btn-light{--bs-btn-bg:#edf0f4;--bs-btn-border-color:#e2e7ec;--bs-btn-color:#464d56}.btn-sm{padding:7px 12px;font-size:12px}.form-control,.form-select{border-radius:8px;padding:10px 12px;font-size:14px}.form-control:focus,.form-select:focus{border-color:#8d9cae;box-shadow:0 0 0 3px #22374f10}.form-label{font-weight:600;font-size:12px}.form-check-input:checked{background-color:var(--accent);border-color:var(--accent)}.text-muted{color:var(--muted)!important}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--ink);font-size:23px;font-weight:700;letter-spacing:-1px}.app-shell{display:flex;min-height:100vh}.sidebar{width:240px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:35px 22px 22px;z-index:10}.sidebar .brand{margin:0 8px 58px}.nav-item{display:flex;align-items:center;gap:13px;padding:13px 14px;margin-bottom:7px;text-decoration:none;font-size:13px;color:#72777c;border-radius:8px;font-weight:500}.nav-item:hover{background:#f2f5f8;color:var(--accent)}.nav-item.active{background:#e6ecf3;color:#28384b;font-weight:650}.profile{border-top:1px solid var(--line);padding-top:21px;display:flex;gap:9px;align-items:center}.avatar{flex-shrink:0;width:33px;height:33px;border-radius:50%;background:#eee9df;display:grid;place-items:center;color:#756b53;font-size:13px}.profile strong{font-size:12px;display:block;max-width:116px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile div>span{font-size:9px;color:#969a9f}.profile .icon-btn{margin-left:auto}.main-content{margin-left:240px;flex:1;min-width:0}.page-content{max-width:1360px;margin:auto;padding:42px 46px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}h1{font-weight:650;letter-spacing:-1.2px;font-size:34px;color:var(--ink);margin-bottom:8px}.page-heading p{color:#808790;font-size:13px;margin:0}.plus{font-size:21px;vertical-align:-1px;margin-right:7px;font-weight:400}.stats-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:19px;margin-bottom:28px}.stat-card{background:white;border:1px solid var(--line);border-radius:13px;padding:22px 24px}.stat-label{display:flex;justify-content:space-between;align-items:center;color:#787f88;font-size:12px}.stat-icon{font-size:19px;color:#8e98a3}.stat-value{font-size:38px;letter-spacing:-1.5px;font-weight:550;line-height:1.7;font-variant-numeric:tabular-nums}.stat-value small{font-size:18px;font-weight:400;letter-spacing:0;color:#8a94a0}.stat-footer{color:#8e97a1;font-size:11px}.balance-card{background:#0b3871;border-color:#0b3871;color:#e9f0f8;position:relative;overflow:hidden}.balance-card:after{content:"";position:absolute;width:160px;height:160px;border:1px solid #b0c8e416;border-radius:50%;right:-72px;bottom:-95px;box-shadow:0 0 0 25px #b0c8e406,0 0 0 50px #b0c8e405;pointer-events:none}.balance-card .stat-label,.balance-card .stat-icon,.balance-card .stat-footer,.balance-card small{color:#b7c3d1}.week-panel{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.panel-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 26px}.period-title h2{display:inline;margin:0 12px 0 0;font-size:16px;font-weight:650}.period-title>span{font-size:11px;color:#8a9199}.period-controls{display:flex;gap:8px;align-items:center}.icon-btn{border:0;background:transparent;color:#7f8995;font-size:18px;width:29px;height:32px;display:inline-grid;place-items:center;border-radius:6px;flex-shrink:0}.icon-btn:hover{background:#ebeff3;color:var(--ink)}.export-button{margin-left:12px}.time-table{width:100%;border-collapse:collapse;white-space:nowrap}.time-table th{text-align:left;padding:12px 24px;font-size:10px;letter-spacing:.6px;font-weight:550;color:#9199a3;background:#f8f9fb;border-top:1px solid #eaeef2;border-bottom:1px solid #eaeef2}.time-table td{padding:18px 24px;border-bottom:1px solid #eaeef2;font-size:12px}.time-table td:first-child{width:24%}.time-table th:last-child,.time-table td:last-child{text-align:right;padding-left:6px}.day-cell{display:flex;align-items:center;gap:12px}.date-tile{width:35px;height:39px;background:#f1f3f6;border:1px solid #e8ecf0;display:flex;align-items:center;justify-content:center;border-radius:7px;font-size:14px;color:#6f7b88;font-weight:550}.day-name{font-size:12px;font-weight:600}.day-date{display:block;font-size:10px;color:#8e97a1;margin-top:3px}.today-row .date-tile{background:#dfe7f1;border-color:#cad8e9;color:#405267}.today-chip{font-size:8px;border-radius:4px;padding:2px 5px;background:#dbe4ef;color:#566b83;margin-left:6px;font-weight:500}.status-badge{font-size:10px;display:inline-block;padding:5px 9px;border-radius:5px;color:#738192;background:#e9eef3;font-weight:500}.status-badge.warning{color:#9c7a30;background:#faf3df}.status-badge.vacation{color:#667e9d;background:#eef2f9}.status-badge.sick{color:#9d7772;background:#f8efec}.status-badge.flex{color:#8b78a0;background:#f2edf8}.muted-dash{color:#b2b9c1}.hours{font-weight:600;font-variant-numeric:tabular-nums}.delta-positive{color:#547192}.delta-negative{color:#ad785f}.entry-time{font-variant-numeric:tabular-nums;letter-spacing:.4px}.entry-note{display:block;color:#8f97a1;font-size:10px;white-space:normal;max-width:230px;margin-top:4px;overflow-wrap:anywhere}.row-action{color:#798ca1;border:1px solid #dfe5ec;background:#fff;width:29px;height:29px;border-radius:7px;font-size:16px}.row-action:hover{background:#dfe8f2;color:#253a51}.row-rest td{color:#9da4ad;background:#fbfcfe}.time-table tfoot td{background:#f5f8fb;border-bottom:0;font-weight:600;padding-top:18px;padding-bottom:18px}.time-table tfoot td:first-child{font-size:11px}.time-table tfoot span{font-weight:400;color:#939da8;margin-left:6px;font-size:10px}.page-footnote{font-size:10px;color:#929ba5;margin-top:19px;line-height:1.7}.notice{padding:12px 17px;background:#faf3e0;color:#8a743a;border:1px solid #eee2ba;border-radius:8px;font-size:12px;margin-bottom:20px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-card{background:white;border:1px solid var(--line);padding:27px;border-radius:12px}.settings-card.wide{grid-column:1/-1}.settings-card h2{font-size:17px;letter-spacing:-.4px;margin-bottom:13px}.settings-card p{font-size:12px;line-height:1.7}.section-heading{display:flex;align-items:center;justify-content:space-between}.schedule-date{max-width:250px;margin:22px 0}.schedule-row{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:15px;align-items:center;border-top:1px solid #e8ecf1;padding:12px 0}.schedule-row .form-label{font-size:10px;color:#818b97;display:block}.schedule-row .form-check-label{font-weight:500;font-size:13px}.schedule-row .form-control{padding:7px 9px}.form-bottom{margin-top:20px;display:flex;justify-content:space-between;gap:20px;align-items:center}.form-bottom small{font-size:11px}.passkey-row{padding:12px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:8px}.passkey-row strong{font-size:12px}.passkey-row small{display:block;font-size:10px;color:var(--muted)}.form-text{font-size:11px;color:#89929d;line-height:1.7}.modal-content{border:0;border-radius:15px;box-shadow:0 20px 80px #16253720}.modal-header{border:0;padding:26px 27px 14px}.modal-title{font-size:23px;font-weight:600;letter-spacing:-.6px}.modal-body{padding:12px 27px 25px}.modal-footer{border-top:1px solid var(--line);padding:18px 24px}.entry-preview{background:#e9eef4;border-radius:8px;padding:14px;margin:21px 0;font-size:12px;color:#5b6d81;min-height:46px}.loading-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;color:var(--muted)}.auth-layout{min-height:100vh;display:grid;grid-template-columns:46% 54%}.auth-story{background:#1c2f45;padding:50px 65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;color:#dde6f1}.auth-story .brand{color:#e9eef4}.auth-story h1{color:#e3ebf4;font-size:70px;font-weight:500;letter-spacing:-3px;line-height:1.05;margin-top:22px;margin-bottom:24px}.auth-story p{font-size:16px;max-width:270px;line-height:1.8;color:#a0aebd}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:50px 30px;background:#f9fafc}.auth-form{width:100%;max-width:350px}.auth-form h2{font-size:30px;letter-spacing:-1px;font-weight:600;margin:15px 0 12px}.divider{display:flex;align-items:center;gap:14px;color:#9ea6af;font-size:11px;margin:23px 0}.divider:before,.divider:after{content:"";flex:1;height:1px;background:var(--line)}.demo-info{font-size:11px;background:#e7edf3;border-radius:8px;padding:13px;margin-top:24px;color:#637182;line-height:1.7}.swal2-popup{font-family:inherit;border-radius:15px!important}.swal2-title{font-size:24px!important}.swal2-html-container{font-size:14px!important}.swal2-confirm{background:var(--accent)!important}.d-none{display:none!important}
@media(min-width:1500px){.page-content{padding-top:55px}.stat-card{padding:27px}.time-table td{padding-top:22px;padding-bottom:22px}}
@media(max-width:1199px){.sidebar{width:205px;padding:28px 15px 20px}.sidebar .brand{font-size:21px}.main-content{margin-left:205px}.page-content{padding:32px 28px 20px}.time-table th,.time-table td{padding-left:16px;padding-right:16px}.period-title>span{display:block;margin-top:5px}.stat-card{padding:18px}.stat-value{font-size:32px}.auth-story{padding:40px}.auth-story h1{font-size:58px}}
@media(max-width:850px){.sidebar{position:static;width:100%;padding:16px 22px;border-right:0;border-bottom:1px solid var(--line);display:block}.sidebar .brand{margin:0;font-size:21px}.sidebar nav{display:flex;gap:8px;margin-top:16px}.nav-item{margin:0;padding:9px 12px;font-size:12px;flex:1;justify-content:center}.profile{display:none}.app-shell{display:block}.main-content{margin-left:0}.page-content{padding:28px 24px 20px}.page-heading{margin-bottom:24px}h1{font-size:29px}.auth-layout{grid-template-columns:40% 60%}.auth-story{padding:35px 25px}.auth-story h1{font-size:44px}}
@media(max-width:580px){.sidebar{padding:15px 16px}.sidebar nav{gap:4px}.nav-item{font-size:11px;padding:9px 7px;gap:6px}.status-badge.warning{font-size:9px}.page-content{padding:26px 16px 16px}.page-heading{align-items:flex-start;flex-direction:column;gap:17px}h1{font-size:30px}.page-heading .btn{align-self:stretch}.stats-grid{gap:8px;margin-bottom:19px}.stat-card{padding:14px 10px;border-radius:9px}.stat-label{font-size:10px;line-height:1.5;min-height:30px}.stat-icon{display:none}.stat-value{font-size:24px;letter-spacing:-1px;line-height:1.9}.stat-value small{font-size:12px}.stat-footer{font-size:9px;line-height:1.5;min-height:27px}.panel-toolbar{padding:18px 14px;align-items:flex-start;flex-direction:column;gap:15px}.period-title>span{display:inline;font-size:10px}.period-title h2{font-size:15px}.period-controls{width:100%;gap:7px}.export-button{margin-left:auto}.time-table{min-width:560px}.time-table td,.time-table th{padding-left:14px;padding-right:14px}.time-table td{padding-top:15px;padding-bottom:15px}.page-footnote{font-size:10px}.settings-grid{grid-template-columns:1fr;gap:16px}.settings-card{padding:20px}.schedule-row{grid-template-columns:1fr 1fr 1fr;gap:9px}.schedule-row .form-check{grid-column:1/-1;margin:0}.form-bottom{flex-direction:column;align-items:stretch}.auth-layout{display:block}.auth-story{min-height:auto;padding:22px}.auth-story>div{display:none}.auth-form-wrap{padding:38px 24px}.auth-form{max-width:400px}.modal-body{padding-left:20px;padding-right:20px}}.stat-label{color:#606a75}.stat-footer{color:#69737f}.day-date,.entry-note{color:#6b7581}.row-rest td{color:#717c89}.page-footnote{color:#6b7581}.time-table th{color:#6b7581}
@media(max-width:850px){}
@media(max-width:580px){.time-table{min-width:0;display:block;white-space:normal}.time-table thead{display:none}.time-table tbody{display:block}.time-table tbody tr{display:grid;grid-template-columns:1fr 1fr 1fr;position:relative;padding:15px 14px 13px;gap:12px;border-top:1px solid var(--line)}.time-table tbody td{display:block;padding:0;border:0;background:transparent;width:auto!important}.time-table tbody td:first-child{grid-column:1/2}.time-table tbody td:nth-child(2){grid-column:2/4;padding-right:30px;align-self:center;font-size:11px}.time-table tbody td:nth-child(3),.time-table tbody td:nth-child(4),.time-table tbody td:nth-child(5){font-size:12px;padding-top:9px;border-top:1px solid #e7ebf0}.time-table tbody td:nth-child(3):before,.time-table tbody td:nth-child(4):before,.time-table tbody td:nth-child(5):before{display:block;font-size:9px;font-weight:400;color:#808c99;margin-bottom:4px}.time-table tbody td:nth-child(3):before{content:"Pause"}.time-table tbody td:nth-child(4):before{content:"Arbejdet"}.time-table tbody td:nth-child(5):before{content:"Fleks"}.time-table tbody td:last-child{position:absolute;top:21px;right:13px}.day-cell{gap:8px}.day-name{font-size:11px}.today-chip{display:block;margin:3px 0 0;width:max-content}.date-tile{width:29px;height:35px;flex-shrink:0}.time-table tfoot{display:block}.time-table tfoot tr{display:flex;justify-content:space-between;background:#f5f8fb;padding:15px}.time-table tfoot td{padding:0;width:auto!important}.time-table tfoot td:last-child{display:none}.time-table tfoot td:first-child{width:44%!important}.time-table tfoot td:nth-child(2),.time-table tfoot td:nth-child(3){font-size:11px}.swal2-container.swal2-top-end{max-width:100vw}.swal2-popup.swal2-toast{max-width:calc(100vw - 24px)}.schedule-row{min-width:0}.schedule-row>div{min-width:0}}
/* LÃ¦sbar tekst og tydelige handlinger pÃ¥ bÃ¥de telefon og computer. */
:root { --muted: #4f5863; }
body { font-size: 17px; line-height: 1.6; }
.btn, .btn-sm, .form-control, .form-select { font-size: 16px; min-height: 44px; }
.form-label, .schedule-row .form-check-label { font-size: 16px; }
.nav-item { font-size: 16px; color: #4f5863; } .profile strong { font-size: 15px; } .profile div>span, .demo-info, .divider { font-size: 14px; color: #4f5863; }
.profile { flex-wrap: wrap; }
.page-heading p { font-size: 17px; color: #4f5863; }
.stat-label { font-size: 16px; color: #404c59; }
.stat-footer { font-size: 14px; color: #4f5863; }
.stat-value { font-size: 40px; }
.stat-value small { font-size: 20px; color: #4f5863; }
.balance-card .stat-label, .balance-card .stat-footer, .balance-card small { color: #d5e0ed; }
.period-title h2 { font-size: 21px; }
.period-title>span { font-size: 15px; color: #4f5863; }
.panel-toolbar, .period-controls { flex-wrap: wrap; }
.icon-btn, .row-action { width: 44px; height: 44px; font-size: 23px; color: #3c5066; }
.time-table th { font-size: 14px; color: #4f5863; }
.time-table td, .day-name { font-size: 16px; }
.date-tile { width: 42px; height: 46px; font-size: 18px; color: #3e4f63; }
.day-date, .entry-note { font-size: 14px; color: #4f5863; }
.today-chip, .status-badge, .status-badge.warning { font-size: 14px; }
.status-badge { color: #35485d; background: #e6ecf2; }
.status-badge.warning { color: #775919; }
.status-badge.vacation { color: #395878; }
.status-badge.sick { color: #805149; }
.status-badge.flex { color: #685081; }
.muted-dash { color: #5d6671; }
.delta-positive { color: #2b4869; }
.delta-negative { color: #974828; }
.row-rest td { color: #4f5863; }
.time-table tfoot td:first-child, .time-table tfoot span { font-size: 14px; color: #4f5863; } .page-footnote{ font-size: 14px; color: #4f5863; }
.notice, .settings-card p, .entry-preview { font-size: 16px; }
.notice { color: #70571d; }
.entry-preview { color: #35485d; }
.settings-card h2 { font-size: 22px; }
.schedule-row .form-label, .form-bottom small, .form-text, .passkey-row small { font-size: 14px; color: #4f5863; }
.passkey-row strong { font-size: 16px; }
.swal2-html-container { font-size: 17px!important; }

@media (max-width: 850px) {
    .sidebar nav { gap: 6px; }
    .nav-item { padding: 10px 8px; min-width: 0; }
    .stats-grid { gap: 12px; }
    .stat-card { padding: 18px; }
}

@media (max-width: 580px) {
    .sidebar nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nav-item { flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.4; text-align: center; }
    .page-heading p { font-size: 18px; }
    .page-heading .btn { font-size: 18px; min-height: 52px; }
    .stats-grid { grid-template-columns: minmax(0, 1fr); }
    .stat-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; padding: 18px 20px; }
    .stat-label { grid-column: 1; min-height: 0; font-size: 17px; }
    .stat-footer { grid-column: 1; grid-row: 2; min-height: 0; font-size: 15px; margin-top: 4px; }
    .stat-value { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 36px; line-height: 1.3; }
    .stat-value small { font-size: 20px; }
    .period-title>span { display: block; font-size: 15px; margin-top: 5px; }
    .period-title h2 { font-size: 22px; }
    .period-controls { gap: 5px; }
    .period-controls .btn { padding: 9px 10px; }
    .export-button { margin-left: 0; }
    .time-table tbody tr { padding: 20px 16px; gap: 15px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .time-table tbody td:first-child { grid-column: 1 / -1; padding-right: 50px; }
    .time-table tbody td:nth-child(2) { grid-column: 1 / -1; font-size: 17px; padding-right: 0; }
    .time-table tbody td:nth-child(3), .time-table tbody td:nth-child(4), .time-table tbody td:nth-child(5) { font-size: 18px; }
    .time-table tbody td:nth-child(3):before, .time-table tbody td:nth-child(4):before, .time-table tbody td:nth-child(5):before { font-size: 14px; color: #4f5863; }
    .time-table tbody td:last-child { top: 20px; right: 16px; }
    .day-name { font-size: 18px; }
    .day-cell { gap: 12px; }
    .date-tile { width: 44px; height: 48px; }
    .today-chip { display: inline-block; margin-left: 8px; }
    .time-table tfoot tr { gap: 10px; flex-wrap: wrap; }
    .time-table tfoot td:first-child { width: 100%!important; }
    .time-table tfoot td:nth-child(2), .time-table tfoot td:nth-child(3) { font-size: 18px; }
    .time-table tfoot td:nth-child(2):before { content: 'Arbejdet: '; font-size: 14px; }
    .time-table tfoot td:nth-child(3):before { content: 'Over-/undertid: '; font-size: 14px; }
    .schedule-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .schedule-row>div:last-child { grid-column: 1 / -1; }
    #work-fields .col-4 { width: 50%; }
    #work-fields .col-4:last-child { width: 100%; }
}

/* Login uden kampagnepanel; kontoen placeres nederst i sidebaren. */
.auth-layout { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.auth-story { background: transparent; color: var(--ink); min-height: auto; width: 100%; max-width: 468px; padding: 32px 24px 0; }
.auth-story .brand { color: var(--ink); }
.auth-form-wrap { width: 100%; padding: 24px 24px 40px; background: transparent; }
.auth-form h2 { margin-bottom: 24px; }
.profile { margin-top: auto; }
@media(prefers-reduced-motion:no-preference){.page-content{animation:arrive .3s ease-out}@keyframes arrive{from{opacity:.3;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
