
/* ==== styles.css ==== */
:root{--bg:#f8f8f8;--paper:#fff;--ink:#272727;--muted:#7f7f7f;--muted2:#a7a7a7;--line:#ececec;--line2:#e2e2e2;--brand:#3d3d3d;--brand2:#2f2f2f;--wash:#f3f3f3;--accent:#575757;--danger:#ba554c;--warn:#986e2c;--shadow:0 10px 35px rgba(34,34,34,.055);--radius:16px;--font:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--sidebar:226px}
*,*::before,*::after{box-sizing:border-box}
html{height:100%;-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;min-height:100%;background:var(--bg);font-family:var(--font);color:var(--ink);font-size:14px;line-height:1.48;letter-spacing:-.015em;font-weight:450}
button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}a{color:inherit;text-decoration:none}img,svg{max-width:100%}input,select,textarea{min-width:0}input:focus,select:focus,textarea:focus,button:focus-visible{outline:3px solid rgba(87,87,87,.19);outline-offset:2px}input[type=checkbox]{accent-color:var(--brand);width:17px;height:17px}::selection{background:#d1d1d1;color:#2d2d2d}
[hidden]{display:none!important}
.shell{display:flex;min-height:100dvh}
.sidebar{position:sticky;top:0;width:var(--sidebar);height:100dvh;flex-shrink:0;background:#fafafa;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:27px 12px 18px}
.brand{display:flex;align-items:center;gap:11px;padding:0 11px 32px;text-decoration:none;white-space:nowrap}.brandmark{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:var(--brand);color:white;flex-shrink:0}.brandname{font-weight:800;letter-spacing:-.06em;font-size:19px;line-height:1}.brandname span{display:block;font-size:10px;font-weight:650;letter-spacing:.09em;color:#979797;margin-top:6px;text-transform:uppercase}.brandmark svg{width:21px;height:21px}
.nav-kicker{color:#aaaaaa;font-size:10px;font-weight:800;letter-spacing:.11em;padding:14px 15px 11px;text-transform:uppercase}.navlist{display:flex;flex-direction:column;gap:3px}.navitem{border:0;background:transparent;color:#878787;text-align:left;display:flex;align-items:center;gap:12px;padding:11px 14px;width:100%;border-radius:9px;font-size:13px;font-weight:650;min-height:43px;transition:background .14s,color .14s}.navitem svg{width:18px;height:18px;stroke-width:1.9;flex-shrink:0}.navitem:hover{background:#f1f1f1;color:var(--ink)}.navitem.active{background:#efefef;color:#464646}.navitem.active svg{stroke-width:2.2}.nav-count{margin-left:auto;color:white;background:#c46f5a;border-radius:6px;font-size:10px;min-width:19px;text-align:center;padding:1px 4px;font-weight:800}
.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:16px 6px 2px}.profile{display:flex;align-items:center;gap:10px;padding:7px 4px}.avatar{display:grid;place-items:center;width:34px;height:34px;background:#ececec;color:#494949;border-radius:10px;font-weight:750;font-size:13px;flex-shrink:0}.profile strong{font-size:12px;font-weight:750;display:block;text-transform:capitalize}.profile small{font-size:11px;display:block;color:var(--muted)}.sidebar-signout{width:100%;display:flex;align-items:center;gap:10px;color:#929292;background:transparent;border:0;font-size:12px;text-align:left;padding:11px 5px;font-weight:600}.sidebar-signout svg{width:16px}.sidebar-signout:hover{color:var(--ink)}
.app{flex:1;min-width:0}.topbar{display:flex;height:74px;background:rgba(255,255,255,.74);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:0 34px;position:sticky;top:0;z-index:8;backdrop-filter:blur(14px)}.top-left{display:flex;flex-direction:column;gap:2px}.top-eyebrow{color:#9e9e9e;font-size:11px;font-weight:600}.top-name{font-weight:700;font-size:15px;letter-spacing:-.035em}.top-actions{display:flex;align-items:center;gap:9px}.date-now{color:#919191;font-size:12px;font-weight:550;margin-right:12px}.icon-button{border:1px solid var(--line);background:#fff;border-radius:10px;display:grid;place-items:center;width:38px;height:38px}.icon-button svg{width:17px;height:17px}.icon-button:hover{border-color:#d5d5d5;background:#f9f9f9}.mobile-brand{display:none}
.main{width:100%;max-width:1710px;margin:0 auto;padding:29px 34px 55px}.head-row{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px}.kicker{font-size:10px;letter-spacing:.12em;color:#959595;text-transform:uppercase;font-weight:800;margin:0 0 8px}.page-title{font-size:clamp(25px,2.35vw,35px);letter-spacing:-.065em;font-weight:750;line-height:1.13;margin:0}.subline{font-size:13px;color:#909090;font-weight:500;margin:7px 0 0;line-height:1.5}.head-cta{display:flex;gap:8px;flex-shrink:0;flex-wrap:wrap}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid var(--line2);background:#fff;border-radius:9px;padding:0 15px;min-height:39px;line-height:1.2;font-size:12px;font-weight:750;letter-spacing:-.012em;white-space:nowrap;transition:background .15s,border-color .15s,transform .15s;max-width:100%}.btn svg{width:16px;height:16px;flex-shrink:0}.btn:hover:not(:disabled){background:#f6f6f6;border-color:#d5d5d5}.btn:active{transform:scale(.98)}.btn.primary{background:var(--brand);color:#fff;border-color:var(--brand)}.btn.primary:hover:not(:disabled){background:#303030}.btn.ghost{border-color:transparent;background:transparent;color:#707070}.btn.ghost:hover{background:#f1f1f1}.btn.danger{color:var(--danger);border-color:#f2dddb;background:#fff}.btn.small{min-height:32px;padding:0 11px;font-size:11px}.btn.compact{min-height:34px}.btn.block{width:100%}.btn.round{width:37px;height:37px;padding:0;border-radius:10px}
.grid{display:grid;gap:14px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:17px}.stat{min-height:120px;padding:19px 21px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}.stat label{color:#8d8d8d;font-size:12px;font-weight:600;display:block}.stat strong{font-size:31px;font-weight:750;letter-spacing:-.07em;line-height:1.22;display:block;margin:12px 0 0}.stat span{display:block;font-size:11px;color:#a8a8a8;margin-top:3px;font-weight:550}.stat.on{border-color:#e3e3e3;background:#f9f9f9}
.columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr);gap:16px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:0;overflow:hidden}.panel + .panel{margin-top:14px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 21px 17px;border-bottom:1px solid #f1f1f1}.panel-head h2{margin:0;font-size:14px;letter-spacing:-.035em;font-weight:750}.panel-head .text-link{color:#5b5b5b;font-weight:700;font-size:11px;border:0;background:transparent;white-space:nowrap}.panel-body{padding:18px 21px}.panel .rowline{display:flex;align-items:center;gap:13px;padding:16px 21px;border-bottom:1px solid #f2f2f2;min-width:0}.panel .rowline:last-child{border-bottom:none}.panel .rowline:hover{background:#fdfdfd}.rowline .grow{flex:1;min-width:0}.rowline .line-title{font-size:13px;font-weight:750;line-height:1.32;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rowline .line-meta{font-size:11px;color:#969696;font-weight:550;margin-top:4px;line-height:1.35}.rowline .trail{display:flex;align-items:center;gap:8px;flex-shrink:0}.line-date{display:flex;flex-direction:column;justify-content:center;align-items:center;width:45px;height:44px;border-radius:9px;background:#f5f5f5;flex-shrink:0;line-height:1}.line-date strong{font-size:18px;letter-spacing:-.04em;font-weight:750}.line-date small{font-size:9px;color:#979797;font-weight:700;text-transform:uppercase;margin-top:4px}.arrow-end{color:#aaaaaa;width:16px;height:16px}.pill{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:5px 9px;font-size:10px;font-weight:750;white-space:nowrap;line-height:1.12}.pill.green{background:#f1f1f1;color:#555555}.pill.amber{background:#fbf3e3;color:#96702b}.pill.red{background:#fbebe8;color:#b25349}.pill.neutral{background:#f2f2f2;color:#878787}.pill.blue{background:#eaf2f9;color:#547d9a}
.empty{text-align:center;padding:39px 26px;color:#979797;font-size:12px}.empty-icon{background:#f4f4f4;border-radius:15px;width:45px;height:45px;display:grid;place-items:center;color:#8a8a8a;margin:0 auto 11px}.empty-icon svg{width:21px;height:21px}.empty strong{display:block;color:#505050;font-size:13px;margin-bottom:4px}.empty p{margin:0 0 15px}
.section-gap{margin-top:20px}.section-title{font-size:17px;letter-spacing:-.045em;font-weight:750;margin:0 0 14px}.quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-item{text-align:left;border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:19px;min-height:118px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.quick-item:hover{border-color:#dadada;background:#fcfcfc}.quick-ico{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#f4f4f4;color:#5c5c5c}.quick-ico svg{height:17px;width:17px}.quick-item strong{display:block;font-size:12px;font-weight:750}.quick-item small{display:block;color:#9c9c9c;margin-top:2px;font-size:11px}
.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px;flex-wrap:wrap}.tabs{display:flex;align-items:center;gap:5px;background:#eeeeee;padding:4px;border-radius:10px;max-width:100%;overflow-x:auto;scrollbar-width:none}.tab{border:0;background:transparent;color:#838383;border-radius:7px;padding:8px 14px;min-width:0;white-space:nowrap;font-size:11px;font-weight:750}.tab.active{background:#fff;color:#3a3a3a;box-shadow:0 2px 7px rgba(38,38,38,.06)}.monthcontrols{display:flex;align-items:center;gap:5px}.monthcontrols strong{min-width:135px;text-align:center;font-size:14px;font-weight:750;letter-spacing:-.035em}.search{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:0 12px;height:39px;min-width:220px;max-width:100%}.search svg{width:16px;color:#a2a2a2}.search input{border:0;outline:none;background:transparent;min-width:0;flex:1;font-size:12px;width:100%}
.calendar{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.cal-head{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line)}.cal-head div{text-align:center;color:#a1a1a1;font-size:10px;font-weight:800;padding:14px 0}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.day{position:relative;text-align:left;min-height:111px;border:0;border-right:1px solid #f1f1f1;border-bottom:1px solid #f1f1f1;background:#fff;padding:11px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;overflow:hidden}.day:nth-child(7n){border-right:0}.day.outside{background:#fbfbfb}.day.outside .num{color:#cccccc}.day.selected{background:#f5f5f5;box-shadow:inset 0 0 0 2px #d1d1d1}.day.today .num{background:var(--brand);color:white}.day:hover{background:#fbfbfb}.num{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;font-weight:750;font-size:12px}.event{font-size:10px;font-weight:700;padding:5px 6px;border-radius:5px;line-height:1.28;width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#f1f1f1;color:#595959}.event.available{background:#f8f0df;color:#946f32}.event.school{background:#eaf0fa;color:#607baf}.event.past{background:#f1f1f1;color:#979797}.event.more{background:transparent;color:#959595;padding:0 4px}.cal-detail{background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-top:14px}.cal-detail-head{padding:17px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.cal-detail-head strong{font-size:13px}.cal-mini{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:13px 20px;border-bottom:1px solid #f2f2f2}.cal-mini:last-child{border:0}.cal-mini strong{font-size:12px;display:block}.cal-mini small{font-size:11px;color:#9e9e9e}.list-stack{display:flex;flex-direction:column;gap:10px}.tripcard{display:flex;gap:14px;padding:17px 18px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:13px;min-width:0}.tripcard:hover{border-color:#dedede}.trip-details{flex:1;min-width:0}.trip-name{font-size:14px;font-weight:750;letter-spacing:-.025em;line-height:1.3;margin:0 0 5px}.trip-details p{color:#919191;font-size:11px;margin:0 0 11px}.trip-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:#939393;font-size:11px;font-weight:550}.trip-meta svg{width:14px;height:14px}.trip-end{display:flex;align-items:flex-end;flex-direction:column;justify-content:space-between;gap:15px;flex-shrink:0;min-height:59px}.trip-end .btn{min-height:33px}.tripcard .line-date{height:47px;width:47px}
.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:750;color:#727272}.input,.select,.textarea{display:block;width:100%;border:1px solid #e6e6e6;background:#fff;border-radius:9px;padding:10px 12px;min-height:41px;outline:none;box-shadow:none;font-size:12px;font-weight:550;letter-spacing:0}.textarea{min-height:85px;resize:vertical}.input:focus,.select:focus,.textarea:focus{border-color:#a0a0a0;box-shadow:0 0 0 3px rgba(103,103,103,.10)}.hint{font-size:10px;color:#a1a1a1}.form-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:18px}.form-divider{border:0;border-top:1px solid #efefef;margin:18px 0}.checkbox-line{display:flex;gap:9px;align-items:center;color:#717171;font-size:12px;font-weight:650}.daychecks{display:flex;gap:7px;flex-wrap:wrap}.daycheck input{display:none}.daycheck span{display:grid;place-items:center;border:1px solid var(--line2);border-radius:7px;width:36px;height:34px;font-weight:750;font-size:11px;color:#8e8e8e}.daycheck input:checked+span{background:var(--brand);color:#fff;border-color:var(--brand)}.details-toggle{display:block;color:var(--brand);cursor:pointer;font-weight:750;font-size:12px;margin-top:9px}.details-toggle svg{width:14px;height:14px}
.boxnote{border:1px solid #ebebeb;background:#f8f8f8;border-radius:12px;padding:14px 16px;font-size:12px;color:#7c7c7c;line-height:1.55}.boxnote strong{display:block;color:#454545;margin-bottom:3px}.boxnote.warn{background:#fff8eb;border-color:#f1e3c9;color:#946c36}.inline-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:12px}.mini-group{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.data-table-wrap{width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:600px}.data-table th{font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#a2a2a2;background:#fbfbfb;text-align:left;padding:13px 18px}.data-table td{padding:15px 18px;border-top:1px solid #f1f1f1;font-size:12px;color:#717171;vertical-align:middle}.data-table td strong{font-size:12px;color:#3c3c3c;font-weight:750}.data-table td small{display:block;color:#9e9e9e;margin-top:3px}.data-table .right{text-align:right}
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}.offtext{font-size:12px;color:#888888}.big-metric{font-weight:750;font-size:27px;letter-spacing:-.055em;line-height:1.18}.padded{padding:22px}
.drawer-overlay{position:fixed;inset:0;z-index:100;background:rgba(28,28,28,.33);display:flex;justify-content:flex-end;align-items:stretch;animation:fade .16s ease}.drawer{width:min(530px,100%);height:100%;background:#fff;box-shadow:-13px 0 52px rgba(0,0,0,.09);display:flex;flex-direction:column;animation:slide .2s ease;min-width:0}.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:20px 24px}.drawer-head strong{font-size:17px;letter-spacing:-.04em;font-weight:750}.drawer-body{padding:23px 24px;overflow-y:auto;min-height:0;flex:1;overscroll-behavior:contain}.drawer-body .panel{margin-bottom:13px}.drawer-foot{padding:14px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px;background:#fff}.drawer .field{margin-bottom:4px}.drawer .panel-body{padding:13px}.detail-hero{margin-bottom:20px}.detail-hero h2{font-size:23px;letter-spacing:-.055em;line-height:1.2;margin:9px 0}.detail-hero p{font-size:12px;color:#919191;margin:0}.detail-info{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:15px;background:#f9f9f9;border-radius:12px;margin:16px 0}.detail-info small{display:block;font-size:10px;color:#9d9d9d;margin-bottom:4px}.detail-info strong{display:block;font-size:12px;overflow-wrap:anywhere}.detail-divider{border:0;border-top:1px solid var(--line);margin:23px 0 18px}.detail-section-title{font-weight:750;font-size:13px;margin:0 0 12px}.drawer .foot-padded{padding-top:20px}
.modal-overlay{position:fixed;inset:0;z-index:150;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(28,28,28,.48)}.dialog{background:#fff;border-radius:17px;width:min(460px,100%);box-shadow:0 14px 55px rgba(0,0,0,.12);overflow:hidden;padding:23px}.dialog h2{font-size:18px;margin:0 0 8px;letter-spacing:-.04em}.dialog p{font-size:12px;color:#808080;line-height:1.5;margin:0 0 20px}
.authscreen{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#f9f9f9}.auth-hero{background:#333333;color:white;display:flex;flex-direction:column;justify-content:space-between;padding:48px 7.5vw}.auth-hero .brand{padding:0;color:#fff}.auth-hero .brandmark{background:#fcfcfc;color:#484848}.auth-hero .brandname span{color:#c3c3c3}.auth-message{max-width:440px}.auth-message h1{font-size:clamp(35px,4vw,62px);line-height:1.03;letter-spacing:-.085em;font-weight:750;margin:0 0 20px}.auth-message p{font-size:14px;color:#cbcbcb;line-height:1.7;max-width:360px}.auth-hero-foot{font-size:11px;color:#a6a6a6}.auth-content{display:flex;justify-content:center;align-items:center;padding:30px}.auth-form{width:min(370px,100%)}.auth-form h2{font-size:27px;letter-spacing:-.065em;margin:0 0 8px}.auth-form p{font-size:12px;color:#979797;margin:0 0 29px}.auth-form .field{margin-bottom:17px}.auth-form .input{height:47px;background:#fff}.auth-form .btn{min-height:47px;margin-top:10px}.auth-error{border:1px solid #efcfca;background:#fff0ec;color:#a33c34;border-radius:9px;padding:12px;margin-bottom:17px;font-size:12px}
.mobilebar,.mobile-bottom{display:none}
#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,25px);opacity:0;pointer-events:none;z-index:200;background:#353535;color:#fff;padding:12px 19px;border-radius:10px;max-width:min(460px,calc(100% - 28px));font-size:12px;font-weight:600;box-shadow:0 12px 28px rgba(0,0,0,.16);transition:.2s;white-space:normal;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes slide{from{transform:translateX(18px);opacity:.65}to{transform:translateX(0);opacity:1}}
@media(min-width:1500px){.main{padding:34px 44px 65px}.topbar{padding:0 44px}.stats{gap:18px}.columns{gap:18px}}
@media(max-width:1150px){:root{--sidebar:201px}.main{padding:24px 23px 55px}.topbar{padding:0 23px}.stats{gap:10px}.stat{padding:16px}.columns{grid-template-columns:minmax(0,1.25fr) minmax(270px,1fr)}.quick-item{padding:14px}}
@media(max-width:930px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.columns{grid-template-columns:1fr}.columns>.stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.columns>.stack>.panel{margin:0}.split{grid-template-columns:1fr}.authscreen{grid-template-columns:1fr}.auth-hero{display:none}.auth-content{min-height:100dvh}}
@media(max-width:700px){:root{--radius:13px}.sidebar,.topbar{display:none}.mobilebar{display:flex;align-items:center;justify-content:space-between;height:61px;padding:0 17px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:12}.mobilebar .brand{padding:0;gap:8px}.mobilebar .brandmark{width:32px;height:32px;border-radius:10px}.mobilebar .brandname{font-size:18px}.mobilebar .brandname span{font-size:8px;margin-top:3px}.mobilebar .icon-button{width:35px;height:35px}.mobilebar-right{display:flex;align-items:center;gap:8px}.mobilebar-role{font-size:10px;color:#8c8c8c;font-weight:700}.main{padding:21px 15px calc(100px + env(safe-area-inset-bottom))}.head-row{margin-bottom:18px;align-items:center}.page-title{font-size:26px}.kicker{font-size:9px;margin-bottom:5px}.subline{font-size:11px;margin-top:6px}.head-cta .btn{min-height:36px;padding:0 11px;font-size:11px}.head-cta .hide-mobile{display:none}.mobile-bottom{position:fixed;left:0;right:0;bottom:0;z-index:15;height:calc(65px + env(safe-area-inset-bottom));padding:5px 7px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:rgba(255,255,255,.97);backdrop-filter:blur(18px);border-top:1px solid #e9e9e9}.mobile-bottom button{display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column;border:0;background:transparent;color:#9c9c9c;border-radius:9px;padding:5px 0;font-size:9px;font-weight:700;line-height:1}.mobile-bottom button svg{height:21px;width:21px;stroke-width:1.8}.mobile-bottom button.active{color:var(--brand)}.mobile-bottom button.active svg{stroke-width:2.4}.mobile-bottom button.main-action{color:#fff;background:var(--brand);margin:-15px 7px 0;min-height:53px;border-radius:12px;box-shadow:0 7px 18px rgba(54,54,54,.17)}.mobile-bottom button.main-action svg{width:22px;height:22px}.stats{gap:9px;margin-bottom:12px}.stat{min-height:98px;padding:14px 15px}.stat label{font-size:10px}.stat strong{font-size:27px;margin:8px 0 0}.stat span{font-size:10px}.panel-head{padding:15px}.panel-body{padding:15px}.panel .rowline{padding:13px 15px;gap:11px}.panel .rowline .line-title{font-size:12px}.panel .rowline .line-meta{font-size:10px}.panel .trail .pill{display:none}.columns>.stack{display:flex;flex-direction:column;gap:12px}.section-gap{margin-top:17px}.section-title{font-size:16px;margin-bottom:10px}.quick{gap:9px}.quick-item{min-height:96px;border-radius:12px;padding:13px;gap:10px}.quick-item strong{font-size:11px}.quick-item small{display:none}.quick-ico{height:30px;width:30px}.calendar .day{min-height:77px;padding:7px 5px;gap:4px}.cal-head div{padding:10px 0;font-size:9px}.num{width:23px;height:23px;font-size:11px}.event{font-size:9px;padding:3px 4px;text-overflow:clip;white-space:nowrap}.event .long{display:none}.toolbar{gap:10px}.tabs{width:100%;justify-content:flex-start}.tab{flex:1;padding:7px 9px}.monthcontrols strong{min-width:114px;font-size:13px}.search{width:100%}.tripcard{padding:12px;gap:10px}.tripcard .line-date{width:42px;height:43px}.trip-name{font-size:12px}.trip-details p{font-size:10px}.trip-end .pill{display:none}.trip-end .btn{font-size:10px;min-height:32px;padding:0 9px}.data-table-wrap{overflow:auto}.drawer-overlay{align-items:flex-end;justify-content:center}.drawer{height:min(92dvh,880px);width:100%;border-radius:18px 18px 0 0;animation:rise .19s ease}.drawer-head{padding:16px 17px}.drawer-body{padding:18px 17px}.drawer-foot{padding:12px 17px calc(14px + env(safe-area-inset-bottom))}.detail-hero h2{font-size:21px}.formgrid{gap:11px}.input,.select,.textarea{min-height:45px;font-size:13px}.field label{font-size:11px}.btn{min-height:39px}.auth-form h2{font-size:26px}.dialog{padding:19px}#toast{bottom:calc(74px + env(safe-area-inset-bottom))}}
@keyframes rise{from{transform:translateY(35px);opacity:.6}to{transform:translateY(0);opacity:1}}
@media(max-width:375px){.head-row{align-items:flex-start;gap:10px}.head-cta .btn{font-size:10px;padding:0 10px}.quick{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-item{padding:9px;min-width:0}.quick-ico{width:28px;height:28px}.quick-item strong{font-size:10px}.stats{gap:7px}.stat{padding:12px}.mobilebar{padding:0 12px}.main{padding-left:12px;padding-right:12px}.pill{font-size:9px;padding:5px 7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{.sidebar,.topbar,.mobilebar,.mobile-bottom,.head-cta,.toolbar,.btn{display:none!important}.main{padding:0}.panel{border:1px solid #ddd;break-inside:avoid}body{background:white}}
/* Panda Bus 2026 – restrained premium UI, clear hierarchy, full-width responsive layout */
:root{--bg:#f6f6f6;--ink:#2b2b2b;--muted:#747474;--line:#e7e7e7;--brand:#3b3b3b;--radius:14px;--sidebar:242px}
body{font-size:15px;font-weight:450;line-height:1.5}
.app,.shell,.main,.panel,.trip-list,.stack{min-width:0}
.sidebar{padding:24px 13px 15px;background:#fdfdfd}.sidebar .brand{padding-bottom:25px}.brandname{font-size:21px}.brandname span{font-size:10px}
.navitem{min-height:46px;font-size:14px;border-radius:10px;padding:11px 13px}.nav-kicker{font-size:10px}
.main{width:100%;max-width:none;padding:28px 30px 64px}.topbar{padding:0 30px}
.kicker{font-size:11px;letter-spacing:.11em}.page-title{font-size:clamp(29px,2.2vw,40px);font-weight:750;letter-spacing:-.055em}.subline{font-size:14px;color:#7d7d7d}
.btn{font-size:13px;min-height:43px;border-radius:10px;padding:0 16px}.btn.small{font-size:12px;min-height:37px}.panel-head h2{font-size:16px}.panel-head .text-link{font-size:13px}.panel .rowline{width:100%;text-align:left;border:0;border-bottom:1px solid #f2f2f2;background:white;min-height:70px}.panel .rowline:last-child{border-bottom:0}
.panel .rowline .line-title{font-size:14px;font-weight:680;white-space:normal;overflow-wrap:anywhere}.panel .rowline .line-meta{font-size:12px}.offtext{font-size:13px;line-height:1.65}
.stat label{font-size:13px}.stat strong{font-size:33px}.stat span{font-size:12px}.stat{min-height:117px}
.quick.in-panel{display:grid;grid-template-columns:1fr;gap:0}.quick.in-panel .quick-item{border:0;border-bottom:1px solid #efefef;border-radius:0;min-height:69px;padding:12px 16px;display:flex;flex-direction:row;align-items:center;gap:12px}.quick.in-panel .quick-item:last-child{border-bottom:0}.quick.in-panel .quick-item strong{font-size:13px}.quick.in-panel .quick-item small{font-size:11px}.quick.in-panel .quick-ico{width:39px;height:39px;flex-shrink:0}
.tripcard{align-items:center}.trip-name{font-size:15px}.trip-details p,.trip-meta{font-size:12px}.pill{font-size:11px}.search{height:43px}.search input{font-size:13px}.tabs .tab{font-size:12px;min-height:32px}
.input,.select,.textarea{font-size:15px;min-height:46px}.field label{font-size:13px;font-weight:650}.hint{font-size:12px}.checkbox-line{font-size:13px;min-height:34px}.drawer-head strong{font-size:19px}.drawer-body{padding-bottom:40px}
.stack-gap{display:grid;gap:16px}.stack-gap>.panel+.panel,.stack-gap>.panel{margin:0}.link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.more-link{display:flex;align-items:center;text-align:left;gap:13px;min-width:0;min-height:77px;padding:16px 18px;background:white;border:1px solid var(--line);border-radius:13px;color:var(--ink)}.more-link strong{font-size:14px;flex:1}.asset-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#f2f2f2;color:#4d4d4d;flex-shrink:0}.asset-icon svg{width:19px;height:19px}
.queue-item{display:flex;align-items:center;justify-content:space-between;gap:17px;border-bottom:1px solid var(--line);padding:19px 21px}.queue-item:last-child{border-bottom:0}.queue-main{flex:1;min-width:0}.queue-main strong{display:block;font-size:14px;font-weight:700;overflow-wrap:anywhere}.queue-main span{font-size:12px;color:var(--muted);display:block;margin-top:5px}.queue-main p{font-size:12px;color:var(--muted);margin:7px 0 0;line-height:1.5}.queue-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px}.queue-actions .btn{white-space:normal}
.school-card .panel-body{padding:23px}.school-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.school-card h2{font-size:22px;margin:0 0 6px;letter-spacing:-.04em}.school-times{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.school-times>div{display:flex;flex-direction:column;gap:7px;border:1px solid var(--line);padding:16px;border-radius:11px;min-width:0}.school-times>div span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}.school-times strong{font-size:19px;letter-spacing:-.025em}
.school-stats{grid-template-columns:repeat(2,minmax(0,1fr));max-width:800px}.checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.checklist>label{background:#f9f9f9;border:1px solid #ebebeb;border-radius:9px;padding:7px 11px}.detail-section-title,.section-inline-title{font-size:15px;font-weight:700}
.holiday-row{display:flex;justify-content:space-between;align-items:center;gap:9px;font-size:13px;background:#f8f8f8;padding:10px;border:1px solid var(--line);border-radius:9px;margin:6px 0;overflow-wrap:anywhere}.holiday-editor{padding:12px;background:#f9f9f9;border:1px solid var(--line);border-radius:11px}.holiday-editor .btn{margin-top:12px}
.extra{grid-column:1/-1;background:#f9f9f9;border:1px solid var(--line);border-radius:11px;padding:14px}.extra>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:14px;list-style:none}.extra>summary::-webkit-details-marker{display:none}.extra[open] summary{margin-bottom:20px}.extra .formgrid{gap:12px}.boxnote{font-size:13px;line-height:1.55}.calendar-hint{color:var(--muted);font-size:12px;margin:12px 1px 0}.cal-grid .day{min-width:0}.event{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;font-size:11px}.event.offer{background:#eaf3fc;color:#477da6}.event.school{background:#f1f1f1;color:#616161}.event-more{font-size:10px;color:var(--muted)}
.simple-list{display:grid;gap:7px}.simple-list>div{padding:11px;border-radius:9px;background:#f9f9f9;font-size:13px}
.auth-form h2{font-size:31px}.auth-form p{font-size:14px}.auth-message p{font-size:16px}.drawer-overlay,.modal-overlay{overscroll-behavior:contain}
@media(max-width:1150px){.main{padding:25px 22px 70px}.topbar{padding:0 22px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 html,body{overflow-x:hidden}body{font-size:15px}.mobilebar{height:67px;padding:0 15px}.mobilebar .brandname{font-size:19px}.mobilebar .brandname span{font-size:9px}.mobilebar-right .mobilebar-role{font-size:12px;font-weight:700}
 .main{padding:20px 14px calc(101px + env(safe-area-inset-bottom));max-width:none}.head-row{align-items:flex-start;gap:10px}.page-title{font-size:30px;line-height:1.13}.kicker{font-size:10px}.subline{font-size:13px;max-width:350px}.head-cta .btn{min-height:40px;font-size:12px;padding:0 10px;max-width:130px;white-space:normal;text-align:center}
 .stats{gap:10px;margin-bottom:14px}.stat{min-height:109px;padding:16px}.stat label{font-size:12px}.stat strong{font-size:29px;margin-top:8px}.stat span{font-size:11px}.panel-head{padding:16px}.panel-head h2{font-size:15px}.panel-head .text-link{font-size:12px}.panel .rowline{padding:14px;min-height:65px}.panel .rowline .line-title{font-size:13px}.panel .rowline .line-meta{font-size:12px}.panel .trail .pill{display:none}.quick.in-panel .quick-item{padding:13px 15px;min-height:72px}.quick.in-panel .quick-item small{display:block}.quick.in-panel .quick-item strong{font-size:13px}
 .btn{min-height:43px;font-size:13px}.toolbar{align-items:stretch;gap:10px}.monthcontrols{justify-content:space-between;width:100%}.monthcontrols strong{font-size:16px;min-width:0;flex:1}.tabs{width:100%}.tab{font-size:12px}.calendar .day{min-height:69px;padding:5px;gap:4px}.calendar .day .num{font-size:11px;width:23px;height:23px}.event{font-size:9px;padding:4px}.cal-head div{font-size:10px}.calendar-hint{font-size:12px}
 .tripcard{gap:10px;padding:14px 12px;align-items:flex-start}.tripcard .line-date{width:43px;flex-shrink:0}.trip-name{font-size:14px}.trip-details p{font-size:12px;line-height:1.5}.trip-end{min-height:0}.trip-end .btn{padding:0 9px;font-size:12px}.trip-meta{font-size:11px}.trip-meta .pill{display:none}
 .link-grid{grid-template-columns:1fr;gap:9px}.more-link{min-height:67px}.queue-item{flex-direction:column;align-items:stretch;gap:13px;padding:16px}.queue-actions{justify-content:flex-start}.queue-actions .btn{flex:1;min-height:42px}.queue-main strong{font-size:14px}.queue-main span{font-size:12px}.school-times strong{font-size:15px}.school-times>div{padding:13px}.school-card .panel-body{padding:17px}.school-card h2{font-size:19px}.school-stats{max-width:none}.checklist{grid-template-columns:1fr}.drawer{height:min(93dvh,900px)}.drawer-head strong{font-size:18px}.drawer .formgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.drawer .formgrid>.field.full{grid-column:1/-1}.drawer .input,.drawer .select,.drawer .textarea{font-size:16px;min-height:46px}.drawer .field label{font-size:13px}.drawer-foot .btn{flex:1;white-space:normal}.extra{padding:13px}
 .auth-form h2{font-size:29px}.auth-form p{font-size:14px}.mobile-bottom button{font-size:10px}.mobile-bottom button svg{height:22px;width:22px}.mobile-bottom button.main-action{margin:-10px 6px 0;min-height:54px}.detail-info{grid-template-columns:1fr 1fr}.detail-info strong{font-size:12px;line-height:1.5}
}
@media(max-width:375px){.head-cta .btn{max-width:110px}.stat{padding:13px}.stat label{font-size:11px}.stat strong{font-size:26px}.stat span{font-size:10px}.school-times{grid-template-columns:1fr}.tripcard .trip-end{align-items:flex-end}.quick.in-panel{grid-template-columns:1fr}.queue-actions{flex-wrap:wrap}.more-link{padding:12px}}
/* Final mobile legibility and spacing pass */
.rowline .line-title,.rowline .line-meta{display:block}
.rowline .grow{overflow:hidden}
@media(max-width:700px){
 .mobilebar .mobile-brand{display:block;min-width:0}
 .mobilebar .brand{padding:0;white-space:nowrap}
 .mobilebar-right{flex-shrink:0}
 .panel .rowline .line-title{line-height:1.35}
 .panel .rowline .line-meta{line-height:1.45;margin-top:4px}
 .head-row .head-cta{align-self:flex-start}
 .head-row{flex-wrap:wrap}
 .queue-actions .btn{min-height:43px}
}
/* School planning: clean, touch-friendly scheduling */
.school-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:18px 0 16px}
.school-month-controls{display:flex;align-items:center;gap:11px;min-width:0}.school-month-controls strong{text-transform:capitalize;min-width:145px;text-align:center;font-size:16px;font-weight:750}.school-month-controls .icon-button{flex:0 0 40px}
.school-tabs{display:flex;gap:4px;max-width:100%;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}.school-tabs::-webkit-scrollbar{display:none}
.school-route-list{display:grid;gap:10px;margin-bottom:18px}.route-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;background:white;border:1px solid var(--line);border-radius:14px;min-width:0}.route-summary>div:first-child{min-width:0}.route-summary strong{display:block;font-size:15px;font-weight:750}.route-summary small{display:block;font-size:12px;color:var(--muted);margin-top:4px;line-height:1.5;overflow-wrap:anywhere}.route-buttons{display:flex;gap:7px;flex-shrink:0}
.school-shifts{display:grid;gap:8px}.shift-card{display:flex;align-items:center;gap:14px;width:100%;border:1px solid var(--line);background:var(--paper);border-radius:14px;padding:15px 17px;text-align:left;min-width:0;transition:border-color .15s,transform .15s}.shift-card:hover{border-color:#d3d3d3;background:#fcfcfc}.shift-card .grow{min-width:0;flex:1}.shift-card strong{display:block;font-size:14px;font-weight:700;line-height:1.4}.shift-card small{display:block;margin-top:4px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.shift-card>.line-date{flex:0 0 50px}
.shift-tag{font-size:11px;font-weight:700;white-space:nowrap;padding:6px 9px;border-radius:8px;background:#f3f3f3;color:#6f6f6f;max-width:190px;overflow:hidden;text-overflow:ellipsis}.shift-tag.available{background:#f2f2f2;color:#545454}.shift-tag.pending{background:#fff6e5;color:#916125}.shift-tag.assigned,.shift-tag.completed{background:#f2f2f2;color:#535353}.shift-tag.taken{background:#f0f1f3;color:#787878}.shift-tag.declined{background:#f9eae7;color:#a5534b}
.school-group{border:1px solid var(--line);background:#fdfdfd;border-radius:13px;padding:15px!important;min-width:0}.school-group h3{font-size:16px;letter-spacing:-.02em;font-weight:750;margin:0 0 6px}.school-group .offtext{font-size:12px;line-height:1.55;margin:0 0 14px}.school-timegrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.school-timegrid .field{min-width:0;margin-bottom:0}.school-group>.btn{margin-top:9px}.stop-rows{display:grid;gap:8px;margin-top:14px}.stop-entry{display:flex;align-items:center;gap:7px;min-width:0}.stop-entry .input{flex:1;width:100%;min-width:0}.stop-grip{display:flex;color:#848484}.stop-entry .icon-button{flex:0 0 36px;width:36px;height:38px;border-radius:9px}
.school-presets{display:flex;gap:7px;flex-wrap:wrap}.school-presets .btn{flex:1 1 auto}
.school-route-detail{margin:24px 0}.school-stop-list{list-style:none;counter-reset:none;margin:10px 0;padding:0;display:grid;gap:0}.school-stop-list li{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;min-width:0}.school-stop-list li>span{width:27px;height:27px;flex:0 0 27px;border-radius:50%;display:grid;place-items:center;background:var(--wash);color:var(--brand);font-size:12px;font-weight:700}.school-stop-list li>div{flex:1;min-width:0;overflow-wrap:anywhere}.school-stop-list li>a{flex:0 0 auto;color:var(--brand);padding:6px}.school-map-links{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.school-map-links .btn{font-size:12px;min-height:40px}
.school-applicant{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line)}.school-applicant span:first-child{min-width:0}.school-applicant strong{display:block;font-size:14px}.school-applicant small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.school-applicant .inline-actions{display:flex;gap:7px;flex-wrap:wrap}.school-direct{margin-top:20px;display:grid;gap:9px}.school-direct label{font-weight:650;font-size:13px}.school-request-cta{margin:18px 0}
@media(max-width:750px){.school-top{display:block}.school-month-controls{justify-content:space-between;padding:2px 0 13px}.school-month-controls strong{font-size:15px;min-width:0;flex:1}.school-tabs{margin:0 -1px}.school-tabs .tab{white-space:nowrap;font-size:12px;padding:10px 12px;min-height:41px}.route-summary{align-items:flex-start;flex-direction:column;padding:15px;gap:12px}.route-buttons{width:100%}.route-buttons .btn{flex:1;min-width:0;justify-content:center}.shift-card{gap:10px;padding:13px 11px}.shift-card .line-date{flex-basis:41px;min-width:41px}.shift-card .line-date strong{font-size:18px}.shift-card>svg:last-child{width:13px;flex:0 0 13px}.shift-card strong{font-size:13px}.shift-card small{font-size:11px}.shift-tag{font-size:10px;max-width:82px;white-space:normal;line-height:1.3;text-align:center}.school-applicant{align-items:flex-start;flex-direction:column}.school-applicant .inline-actions{width:100%}.school-applicant .inline-actions .btn{flex:1}.school-stop-list li{font-size:12px}.school-group{padding:12px!important}}
@media(max-width:350px){.shift-card{gap:7px;padding:11px 8px}.shift-card>.line-date{flex-basis:38px}.shift-tag{max-width:70px}.school-month-controls{gap:3px}.school-month-controls .btn{padding:8px}}

.school-expand-row{display:flex;justify-content:center;padding:12px}.school-expand-row .btn{min-width:200px;min-height:45px}@media(max-width:600px){.school-expand-row .btn{width:100%;}}

.stop-reorder{display:flex;flex-direction:column;align-items:center;gap:1px;flex:0 0 24px}.stop-reorder button{border:1px solid var(--line);border-radius:6px;background:white;min-width:23px;height:22px;font-size:14px;line-height:1;color:var(--brand);font-weight:750}.stop-reorder button:hover{background:var(--wash)}

/* School calendar, compact and fluid across desktop and iPhone */
.school-cal-shell{border:1px solid var(--line);border-radius:16px;background:white;overflow:hidden;margin-top:15px}
.school-calendar-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 18px;border-bottom:1px solid var(--line)}
.school-cal-filter.tabs{margin:13px 17px;display:inline-flex;max-width:calc(100% - 34px)}
.school-calendar{padding:0 12px 12px;min-width:0}
.school-cal-weekdays,.school-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.school-cal-weekdays{padding:0 0 6px}
.school-cal-weekdays>span{text-align:center;color:var(--muted);font-weight:750;font-size:11px;padding:7px 0}
.school-cal-day{border:1px solid #ececec;background:#fcfcfc;border-radius:10px;padding:9px;min-height:94px;min-width:0;overflow:hidden;text-align:left;display:flex;flex-direction:column;gap:8px}
.school-cal-day:hover{background:#f6f6f6;border-color:#bbbbbb}.school-cal-day.selected{background:#f4f4f4;border-color:#595959;box-shadow:inset 0 0 0 1px #595959}.school-cal-day.today .school-day-number{background:var(--brand);color:#fff}
.school-cal-day.outside{opacity:.43}.school-day-number{width:28px;height:28px;flex:0 0 28px;border-radius:8px;display:grid;place-items:center;font-weight:750;font-size:13px}.school-day-events{display:flex;flex-direction:column;gap:4px;min-width:0}
.school-event-label{display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#f1f1f1;color:#505050;border-radius:5px;padding:3px 6px;font-size:10px;font-weight:700}.school-event-label.pending{background:#fff0da;color:#916125}.school-event-label.cancelled{background:#fceae7;color:#9b453f;text-decoration:line-through}.school-event-label.closed{background:#f1f1f1;color:#737373}.school-event-count{font-size:10px;color:#939393}
.shift-tag.cancelled{background:#fceae7;color:#a64d45}
.school-edit-oneday{margin:13px 0;min-height:44px}
.school-month-controls{display:flex;align-items:center;gap:6px;min-width:0}.school-month-controls strong{font-size:15px;font-weight:750;min-width:175px;text-transform:capitalize;text-align:center}
@media(max-width:700px){.school-calendar-bar{padding:13px 11px;gap:10px}.school-calendar-bar>.tabs{width:auto;flex:0 0 auto}.school-month-controls{flex:1 1 100%;justify-content:space-between;gap:6px}.school-month-controls strong{flex:1;min-width:0;font-size:14px}.school-cal-filter.tabs{display:flex;width:calc(100% - 22px);max-width:calc(100% - 22px);margin:10px 11px;overflow-x:auto}.school-cal-filter .tab{flex:0 0 auto}.school-calendar{padding:0 5px 8px}.school-cal-weekdays,.school-cal-grid{gap:3px}.school-cal-weekdays>span{font-size:10px}.school-cal-day{padding:4px;min-height:64px;gap:4px;border-radius:7px}.school-day-number{font-size:11px;width:22px;height:22px;flex-basis:22px}.school-day-events{gap:2px}.school-event-label{font-size:8px;padding:3px 2px}.school-event-count{font-size:8px}}
@media(max-width:350px){.school-calendar-bar .icon-button{width:33px;height:33px;flex:0 0 33px}.school-calendar-bar .btn.small{padding:0 8px}.school-month-controls strong{font-size:12px}.school-cal-day{padding:3px;min-height:61px}.school-event-label{font-size:7.5px}}

/* School calendar filters – counts and easy tapping on iPhone */
.school-cal-filter .tab{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;min-height:42px}
.school-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;border-radius:7px;font-size:11px;font-variant-numeric:tabular-nums;background:rgba(60,60,60,.08);color:inherit;font-weight:750}
.school-cal-filter .tab.active .school-tab-count{background:rgba(255,255,255,.20)}
@media(max-width:700px){.school-cal-filter .tab{min-height:44px;flex:0 0 auto}.school-tab-count{min-width:20px;height:20px}}

/* FORSØGSVERSION · samlet chaufførkalender. Ændrer ikke administratorens egne sider. */
.driver-board{width:100%;min-width:0;display:flex;flex-direction:column;gap:16px}
.board-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;background:#fff;border:1px solid var(--line);padding:14px 15px;border-radius:17px;min-width:0}
.board-toolbar .monthcontrols{display:flex;align-items:center;gap:7px;min-width:0}.board-toolbar .board-month strong{font-size:16px;font-weight:750;min-width:122px;text-align:center;text-transform:capitalize;letter-spacing:-.025em}
.board-switch{display:inline-flex;align-items:center;gap:3px;padding:4px;border-radius:12px;background:#f4f4f4}
.board-switch button{border:0;background:transparent;border-radius:9px;display:flex;align-items:center;gap:7px;justify-content:center;padding:10px 16px;font-weight:700;color:#727272;min-height:42px}
.board-switch button.active{background:white;color:var(--brand);box-shadow:0 1px 8px rgba(44,44,44,.1)}
.board-switch button:hover:not(.active){color:var(--brand)}
.board-filters{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px;max-width:100%;min-width:0;-webkit-overflow-scrolling:touch}
.board-filter{border:1px solid var(--line2);background:#fff;color:#727272;border-radius:999px;display:inline-flex;gap:8px;align-items:center;justify-content:center;padding:10px 14px;min-height:44px;white-space:nowrap;font-weight:700;font-size:13px;flex:0 0 auto}
.board-filter.active{background:var(--brand);color:white;border-color:var(--brand)}
.board-filter>span{background:rgba(65,65,65,.07);padding:2px 7px;min-width:21px;border-radius:999px;text-align:center;font-size:11px;font-weight:800}
.board-filter.active>span{background:rgba(255,255,255,.18)}
.board-search{height:46px;display:flex;align-items:center;gap:11px;max-width:390px;width:100%;color:#808080;background:#fff;border:1px solid var(--line2);border-radius:12px;padding:0 13px}
.board-search input{width:100%;border:0;outline:0;background:transparent;font-size:14px;font-weight:500}
.board-search:focus-within{outline:2px solid #c4c4c4}
.board-result-count{font-size:12px;color:#828282;margin:-6px 0 0;font-weight:650}
.board-list{display:flex;flex-direction:column;gap:10px;min-width:0}
.board-card{background:#fff;border:1px solid #e7e7e7;border-radius:16px;overflow:hidden;min-width:0;box-shadow:0 2px 12px rgba(43,43,43,.025)}
.board-card-open{border:0;background:none;text-align:left;padding:17px 18px;display:flex;align-items:flex-start;gap:17px;width:100%;min-width:0;color:var(--ink)}
.board-card-open .daytile{flex:0 0 auto}
.board-card-text{min-width:0;display:flex;flex-direction:column;gap:5px;flex:1}
.board-card-type{color:#888888;font-size:12px;font-weight:650;display:flex;align-items:center;gap:6px}
.board-card-text strong{font-size:16px;line-height:1.35;letter-spacing:-.025em;font-weight:760;overflow-wrap:anywhere}
.board-card-route{font-size:13px;line-height:1.5;color:#7e7e7e;overflow-wrap:anywhere}
.board-card-chevron{align-self:center;color:#a6a6a6}
.board-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px 12px 18px;border-top:1px solid #f1f1f1;flex-wrap:wrap}
.board-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:99px;background:#f3f3f3;color:#626262;font-size:12px;font-weight:760}
.board-pill-dot{width:7px;height:7px;border-radius:100%;background:currentColor}
.board-pill.available{background:#efefef;color:#5a5a5a}.board-pill.mine{background:#e8f0fa;color:#3e6a9f}.board-pill.pending{background:#fff3dd;color:#956d2c}.board-pill.past{background:#f2f2f2;color:#7e7e7e}.board-pill.declined{background:#f9eae7;color:#ae5750}
.board-request{min-height:39px;display:inline-flex;align-items:center;gap:8px}
.board-details{padding:8px 3px;background:transparent;border:0;color:var(--brand);font-size:12px;font-weight:760;display:inline-flex;gap:5px;align-items:center}
.board-more-wrap{display:flex;justify-content:center;margin:5px 0}
.board-note{display:flex;align-items:center;gap:9px;color:#7e7e7e;font-size:12px;line-height:1.55;background:#f3f3f3;border:1px solid #e7e7e7;padding:13px 15px;border-radius:12px}
.board-note svg{flex:0 0 auto}
.board-calendar{background:#fff;border:1px solid var(--line2);padding:16px;border-radius:17px;min-width:0}
.board-weekdays,.board-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;min-width:0}
.board-weekdays{margin-bottom:8px}.board-weekdays span{text-align:center;color:#939393;font-size:12px;font-weight:760;padding:8px 0}
.board-day{border:1px solid #ebebeb;background:#fbfbfb;border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;min-width:0;min-height:82px;padding:12px;text-align:left;font-weight:750;font-size:14px}
.board-day.other{opacity:.38}.board-day.is-today>span:first-child{background:#eeeeee;color:#3f3f3f;border-radius:50%;min-width:24px;height:24px;display:grid;place-items:center;margin:-4px}.board-day.selected{border-color:#606060;background:#f1f1f1;box-shadow:0 0 0 1px #606060 inset}
.board-day-dots{display:flex;flex-wrap:wrap;gap:4px}.board-date-dot{width:9px;height:9px;border-radius:3px;background:#3871ad}.board-date-dot.available{background:#747474}.board-date-dot.pending{background:#dfad50}.board-date-dot.past{background:#acacac}.board-date-dot.declined{background:#d8857e}.board-day small{font-size:10px;color:#878787}
.board-selected{display:flex;flex-direction:column;gap:12px}.board-selected-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.board-selected-title h2{font-size:17px;margin:0;font-weight:750}.board-selected-title span{font-size:12px;color:#7c7c7c}
@media(max-width:700px){.board-toolbar{padding:10px;border-radius:14px}.board-toolbar .monthcontrols{width:100%;justify-content:space-between}.board-toolbar .board-month strong{flex:1;font-size:15px}.board-switch{width:100%}.board-switch button{flex:1}.board-search{max-width:none}.board-card-open{padding:14px 13px;gap:12px}.board-card-text strong{font-size:15px}.board-card-route{font-size:12px}.board-card-bottom{padding:10px 13px}.board-calendar{padding:8px;border-radius:13px}.board-weekdays,.board-calendar-grid{gap:3px}.board-day{padding:7px 4px;min-height:59px;gap:5px;border-radius:8px;align-items:center;font-size:12px}.board-day.is-today>span:first-child{min-width:20px;height:20px;margin:-4px 0 0}.board-date-dot{width:6px;height:6px;border-radius:50%}.board-weekdays span{font-size:10px}.board-selected-title h2{font-size:14px}.board-note{align-items:flex-start}.board-filter{font-size:12px;padding:9px 12px}}
@media(max-width:360px){.board-card-chevron{display:none}.board-card-bottom{gap:6px}.board-request{padding:8px;font-size:12px}}

@media(max-width:700px){.board-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:7px}.board-filter{min-width:0;width:100%;padding:8px 9px;font-size:11.5px;justify-content:space-between}.board-filter>span{min-width:19px;padding:2px 5px;font-size:10px}}

/* Tre tydeligt adskilte arbejdsområder til chaufførerne. */
.driver-board-intro {display:flex;align-items:flex-start;gap:11px;padding:13px 16px;border:1px solid #e5e5e5;background:#f8f8f8;border-radius:12px;color:#656565;font-size:13px;line-height:1.5;margin-bottom:18px}
.driver-board-intro svg{flex:none;color:#5a5a5a}
.driver-proposals{max-width:1120px}
.proposal-summary{display:flex;gap:12px;max-width:480px;margin:0 0 19px}
.proposal-summary>div{flex:1;display:flex;flex-direction:column;gap:8px;padding:17px 19px;background:#fff;border:1px solid #e8e8e8;border-radius:13px}
.proposal-summary small{color:#7f7f7f;font-size:12px}
.proposal-summary strong{font-size:27px;color:#353535}
.proposal-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:15px}
.proposal-row{min-width:0;background:#fff;border:1px solid #e8e8e8;border-radius:15px;padding:19px}
.proposal-row-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.proposal-icon{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;background:#f3f3f3;color:#474747}
.proposal-row h3{font-size:18px;line-height:1.3;margin:0 0 7px;overflow-wrap:anywhere;color:#313131}
.proposal-row p{color:#7f7f7f;font-size:13px;margin:7px 0;overflow-wrap:anywhere}
.proposal-row .proposal-route{color:#585858;font-size:14px;line-height:1.5}
.proposal-row-foot{display:flex;gap:10px;align-items:center;justify-content:space-between;border-top:1px solid #ededed;margin-top:17px;padding-top:14px;flex-wrap:wrap}
.proposal-row-foot>span{font-size:12px;color:#7f7f7f}
.proposal-row-buttons{display:flex;flex-wrap:wrap;gap:8px}
.proposal-stops{color:#525252;padding-left:22px;line-height:1.85;overflow-wrap:anywhere}
@media(max-width:640px){.driver-board-intro{padding:12px 13px;font-size:12px}.proposal-summary{gap:9px}.proposal-summary>div{padding:14px}.proposal-list{display:block}.proposal-row{margin-bottom:12px;padding:15px}.proposal-row-foot{align-items:flex-start}.proposal-row-buttons{width:100%}.proposal-row-buttons .btn{flex:1}}

/* Dashboard: identical list cards and tappable summary values */
.stat-link{display:block;width:100%;appearance:none;font:inherit;text-align:left;cursor:pointer;color:inherit;min-width:0}
.stat-link:hover,.stat-link:focus-visible{border-color:#9b9b9b;outline-offset:2px}
.panel .board-card{margin:12px 14px 0;min-width:0}
.panel .board-card:last-of-type{margin-bottom:12px}
.panel .board-card-text,.panel .board-card-open{min-width:0}
@media(max-width:700px){.panel .board-card{margin:10px 11px}.stat-link{min-width:0}}

/* Manager calendar: an explicit legend with event colours driven by staffing. */
.cal-legend{display:flex;flex-wrap:wrap;align-items:center;gap:10px 17px;border:1px solid #e6e6e6;border-radius:13px;background:#fff;padding:13px 17px;margin:0 0 13px;font-size:12px;color:#545454}
.cal-legend-label{font-weight:800;color:#363636;width:100%;font-size:12px}
.cal-legend-item{display:inline-flex;gap:7px;align-items:center;white-space:nowrap;font-weight:670}
.cal-legend-help{font-size:11px;color:#909090;width:100%}
.cal-dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex:0 0 10px}
.cal-dot.missing{background:#c95a51}.cal-dot.partial{background:#d59a3e}.cal-dot.assigned{background:#616161}.cal-dot.past{background:#a3a3a3}
.event.cal-missing{background:#fbe9e8;color:#a3423a;border-left:3px solid #c95a51}
.event.cal-partial{background:#fff1dc;color:#94621a;border-left:3px solid #d59a3e}
.event.cal-assigned{background:#efefef;color:#555555;border-left:3px solid #616161}
.event.cal-past{background:#f1f1f1;color:#888888;border-left:3px solid #a3a3a3}
.event.cal-cancelled{background:#e9e9e9;color:#717171;text-decoration:line-through}
/* Driver-only proposal wizard, inspired by the original multi-section tour creator. */
.pb-proposal-intro{margin:-3px 0 19px;padding:21px 20px 20px;background:linear-gradient(135deg,#f0f0f0,#fafafa);border:1px solid #e5e5e5;border-radius:17px;text-align:left}
.pb-proposal-hero-icon{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;color:#fff;background:#4c4c4c;margin-bottom:15px;box-shadow:0 7px 14px #40404023}
.pb-proposal-eyebrow{font-size:10px;font-weight:850;letter-spacing:.12em;color:#7c7c7c}
.pb-proposal-intro h2{font-size:23px;letter-spacing:-.065em;line-height:1.15;margin:7px 0 9px;color:#323232}
.pb-proposal-intro p{font-size:13px;color:#767676;line-height:1.55;max-width:450px;margin:0}
.pb-proposal-form{display:grid;gap:17px}
.pb-proposal-section{border:1px solid #e8e8e8;background:#fff;border-radius:17px;padding:19px 19px 21px;min-width:0;box-shadow:0 2px 14px rgba(51,51,51,.025)}
.pb-proposal-section-heading{display:flex;gap:12px;align-items:center;padding-bottom:16px;margin-bottom:17px;border-bottom:1px solid #f1f1f1}
.pb-proposal-step{width:34px;height:34px;border-radius:11px;background:#f3f3f3;color:#565656;display:grid;place-items:center;flex:0 0 34px;font-weight:830;font-size:12px}
.pb-proposal-section-heading h3{margin:0;font-size:16px;line-height:1.2;font-weight:790;color:#353535;letter-spacing:-.025em}
.pb-proposal-section-heading p{color:#8e8e8e;font-size:11px;line-height:1.35;margin:5px 0 0}
.pb-proposal-fields{display:grid;gap:15px;min-width:0}
.pb-proposal-fields>.field{width:100%;min-width:0;margin:0}
.pb-proposal-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
.pb-proposal-pair>.field{min-width:0;margin:0}
.pb-proposal-form .field label{font-weight:720;color:#535353;font-size:12px}
.pb-proposal-form .input,.pb-proposal-form .select,.pb-proposal-form .textarea{font-size:15px;min-height:49px;border-radius:11px;border:1px solid #e2e2e2;padding:11px 13px;background:#fff}
.pb-proposal-form .textarea{min-height:99px}
.pb-proposal-form .input:focus,.pb-proposal-form .textarea:focus{box-shadow:0 0 0 3px #ededed;border-color:#979797}
.pb-proposal-subgroup{border:1px solid #eaeaea;border-radius:13px;background:#fcfcfc;padding:14px;min-width:0}
.pb-proposal-subheading{display:flex;justify-content:space-between;align-items:flex-start;gap:9px;min-width:0}
.pb-proposal-subheading>div{min-width:0}
.pb-proposal-subheading strong{display:flex;align-items:center;gap:6px;font-size:13px;color:#494949;font-weight:790}
.pb-proposal-subheading small{display:block;color:#9c9c9c;font-size:11px;line-height:1.5;margin:5px 0 0}
.pb-proposal-add{display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 10px;min-height:34px;background:#f3f3f3;border:1px solid #dadada;border-radius:9px;font-size:11px;font-weight:780;color:#5e5e5e;white-space:nowrap;cursor:pointer;flex-shrink:0}
.pb-proposal-add:hover{background:#ebebeb}
.pb-proposal-rows{display:grid;gap:8px;margin-top:12px}
.pb-proposal-row{display:flex;align-items:center;gap:8px;min-width:0;background:#fff;border:1px solid #e6e6e6;padding:6px;border-radius:10px}
.pb-proposal-row .input{flex:1;min-width:0;min-height:38px;border:0;padding:6px;font-size:14px}
.pb-proposal-row .input:focus{border:0;box-shadow:none}
.pb-proposal-grip{display:flex;color:#828282;flex-shrink:0;margin-left:6px}
.pb-proposal-remove{height:32px;width:32px;display:grid;place-items:center;flex:0 0 32px;border:0;background:transparent;border-radius:8px;color:#878787;cursor:pointer}
.pb-proposal-remove:hover{background:#f9eae8;color:#9f514b}
.pb-proposal-empty{font-size:11px;color:#a5a5a5;margin:12px 2px 0}
.pb-proposal-empty[hidden]{display:none!important}
.pb-proposal-privacy{display:flex;gap:10px;align-items:flex-start;padding:16px 17px;border-radius:13px;background:#f4f4f4;color:#767676;font-size:12px;line-height:1.55}
.pb-proposal-privacy svg{flex:0 0 18px;margin-top:2px;color:#606060}
.pb-proposal-privacy strong{color:#474747}
@media(max-width:700px){.cal-legend{gap:10px 14px;padding:13px}.cal-legend-label{width:100%}.cal-legend-item{font-size:11px}.cal-legend-help{font-size:10px}.pb-proposal-intro{padding:19px 16px}.pb-proposal-section{padding:17px 14px}.pb-proposal-intro h2{font-size:21px}.pb-proposal-fields{gap:13px}.pb-proposal-add{font-size:11px;white-space:normal;max-width:123px}.pb-proposal-subgroup{padding:12px}.pb-proposal-pair{gap:9px}.pb-proposal-form .input,.pb-proposal-form .textarea{font-size:16px}.pb-proposal-form{gap:13px}}
@media(max-width:375px){.pb-proposal-pair{grid-template-columns:1fr}.cal-legend-item{white-space:normal}}


/* Admin: one combined Kørsler workspace. */
.operations-tabs{display:flex;gap:5px;padding:5px;background:#f4f4f4;border:1px solid #e8e8e8;border-radius:13px;width:max-content;max-width:100%;margin:0 0 18px;overflow-x:auto}
.operations-tab{font:inherit;font-weight:750;font-size:13px;color:#7c7c7c;background:transparent;border:0;border-radius:9px;padding:10px 19px;cursor:pointer;white-space:nowrap;min-width:0}
.operations-tab.active{background:white;color:#484848;box-shadow:0 1px 5px #3c3c3c14}
.operations-tab:focus-visible,.operation-row:focus-visible,.operations-choice:focus-visible{outline:3px solid #ababab;outline-offset:2px}
.operations-tab:hover:not(.active){color:#484848;background:#eeeeee}
.operation-summary{display:flex;gap:15px;flex-wrap:wrap;margin:0 0 16px}
.operation-summary>div{display:flex;align-items:center;gap:8px;background:white;border:1px solid #e7e7e7;border-radius:12px;padding:13px 17px;color:#797979;font-size:12px}
.operation-summary strong{font-size:20px;color:#414141;font-weight:790}
.operation-row{display:flex;width:100%;align-items:center;text-align:left;gap:15px;border:0;border-bottom:1px solid #f0f0f0;background:#fff;padding:17px 20px;font:inherit;cursor:pointer;color:#353535;min-width:0}
.operation-row:last-child{border-bottom:0}
.operation-row:hover{background:#f9f9f9}
.operation-ico{flex:0 0 43px;width:43px;height:43px;border-radius:13px;display:grid;place-items:center}
.operation-ico.school{background:#e9f1fb;color:#3c659c}
.operation-ico.trip{background:#f1f1f1;color:#555555}
.operation-details{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.operation-details strong{font-size:14px;line-height:1.4;font-weight:780;overflow-wrap:anywhere}
.operation-details small{font-size:12px;line-height:1.45;color:#838383;overflow-wrap:anywhere}
.operation-type{border-radius:8px;font-size:11px;font-weight:760;padding:6px 9px;white-space:nowrap}
.operation-type.school{background:#edf4fd;color:#3a699e}
.operation-type.trip{background:#f1f1f1;color:#626262}
.operation-hint{margin-top:12px}
.operations-create{display:grid;gap:12px}
.operations-create>p{color:#7e7e7e;font-size:13px;margin:0 0 7px}
.operations-choice{display:flex;align-items:center;text-align:left;gap:13px;border:1px solid #e7e7e7;border-radius:14px;background:white;padding:18px 15px;cursor:pointer;color:#393939;font:inherit;width:100%}
.operations-choice:hover{border-color:#bcbcbc;background:#fafafa}
.operations-choice>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:6px;min-width:0}
.operations-choice strong{font-size:15px;font-weight:790}
.operations-choice small{font-size:12px;line-height:1.5;color:#848484}
@media(max-width:700px){.operations-tabs{width:100%;padding:4px}.operations-tab{flex:1;padding:10px 8px;font-size:12px}.operation-summary{gap:9px}.operation-summary>div{flex:1;padding:11px 13px}.operation-row{gap:9px;padding:13px 11px}.operation-ico{flex-basis:36px;width:36px;height:36px;border-radius:10px}.operation-type{font-size:10px;padding:5px}.operation-details strong{font-size:13px}.operation-details small{font-size:11px}.operations-choice{padding:15px 12px}}

/* Unified leader operations: the same Kalender/Liste switch for all three categories. */
.operations-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:-4px 0 13px}
.operations-toolbar .monthcontrols{flex:0 1 auto}
.operations-view{display:flex;align-items:center;gap:3px;background:#f2f2f2;border-radius:11px;padding:4px;border:1px solid #e8e8e8}
.operations-view button{font:inherit;font-size:12px;font-weight:750;color:#828282;border:0;background:transparent;display:flex;align-items:center;justify-content:center;gap:7px;border-radius:8px;padding:9px 13px;cursor:pointer}
.operations-view button.active{background:#fff;color:#464646;box-shadow:0 2px 7px #3e3e3e12}
.operations-view button:focus-visible{outline:2px solid #ababab;outline-offset:2px}
.operation-entry{display:flex;width:100%;align-items:center;text-align:left;gap:12px;border:0;border-bottom:1px solid #f0f0f0;background:#fff;padding:14px 18px;font:inherit;cursor:pointer;color:#353535;min-width:0}
.operation-entry:last-child{border-bottom:0}
.operation-entry:hover{background:#fafafa}
.operation-date-line{display:flex;align-items:center;gap:14px;padding-left:16px;border-bottom:1px solid #f0f0f0;min-width:0}
.operation-date-line:last-child{border-bottom:0}
.operation-date-content{flex:1;min-width:0}
.operation-date-content .operation-entry{border-bottom:0;border-left:1px solid #ebebeb}
.operations-routes{margin-top:24px}
.operations-routes .section-title{margin-bottom:10px}
.operations-routes .school-route-list{margin-bottom:0}
@media(max-width:700px){
 .operations-toolbar{align-items:stretch;gap:9px}
 .operations-toolbar .monthcontrols{width:100%;flex:1 0 100%}
 .operations-view{width:100%;justify-content:stretch}
 .operations-view button{flex:1;padding:10px}
 .operation-entry{gap:8px;padding:12px 10px}
 .operation-date-line{padding-left:8px;gap:8px}
 .operation-date-content .operation-entry{padding-left:9px}
 .operations-routes .route-summary{align-items:flex-start}
}

/* Sygemelding: diskret men synlig status og handling. */
.sick-action{margin:17px 0 3px;background:#fff4f2!important;border:1px solid #ead4cf!important;color:#963f34!important;font-weight:750;justify-content:center}
.sick-action:hover{background:#fcebe6!important}
.sick-pending{display:inline-flex;align-items:center;font-size:11px;font-weight:750;color:#8b5a22;line-height:1.45;padding:7px 10px;border:1px solid #f0e2c2;border-radius:9px;background:#fff8e9;max-width:100%}
@media(max-width:700px){.sick-pending{font-size:10px}.sick-action{min-height:44px}}

/* Permanent deletion of ordinary trips is visible to the manager in both list and details. */
.operation-item-wrap{display:flex;align-items:center;min-width:0;border-bottom:1px solid #f0f0f0}
.operation-item-wrap>.operation-entry{flex:1 1 auto;min-width:0;border-bottom:0}
.operation-item-wrap>.operation-delete{flex:0 0 auto;margin-right:12px}
.operation-date-content .operation-item-wrap{border-bottom:0}
.delete-verify{margin:14px 0 4px}
.delete-verify .input{font-size:16px;letter-spacing:.03em;font-weight:700}
.drawer-foot{flex-wrap:wrap}
@media(max-width:700px){
 .drawer-foot .btn{flex:1 1 calc(50% - 9px);min-width:0}
 .operation-item-wrap>.operation-delete{margin-right:9px}
}
@media(max-width:380px){
 .operation-item-wrap>.operation-delete{width:35px;min-width:35px;padding:0!important;margin-right:6px}
 .operation-item-wrap>.operation-delete span{display:none}
}

/* Beskeder – medarbejderportal */
.notif-bell{position:relative;flex-shrink:0}.notif-count{position:absolute;top:-6px;right:-6px;background:#bd664d;color:#fff;min-width:17px;height:17px;border-radius:9px;padding:0 4px;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:800;box-shadow:0 0 0 2px #fff}
.notif-wrap{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;max-width:850px;box-shadow:0 8px 25px rgba(45,45,45,.025)}.notif-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line);font-size:12px;color:#727272}.notif-row{border:0;border-bottom:1px solid #f1f1f1;background:#fff;display:flex;align-items:center;gap:13px;text-align:left;padding:18px 20px;width:100%;color:var(--ink);cursor:pointer}.notif-row:last-child{border-bottom:0}.notif-row:hover{background:#f9f9f9}.notif-row.unread{background:#f8f8f8}.notif-indicator{width:9px;height:9px;border-radius:50%;background:#5e5e5e;flex-shrink:0}.notif-indicator.seen{background:#e9e9e9}.notif-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.notif-info strong{font-size:13px;font-weight:750}.notif-info span{font-size:12px;color:#6c6c6c;line-height:1.5;overflow-wrap:anywhere}.notif-info small{font-size:10px;color:#909090}.notif-empty{padding:58px 18px;text-align:center;color:#9e9e9e;display:flex;align-items:center;flex-direction:column;gap:12px}.notif-empty strong{color:#414141}.notif-empty p{font-size:12px;margin:0;max-width:310px}.notif-row>svg{width:17px;flex-shrink:0;color:#b0b0b0}
@media(max-width:700px){.notif-toolbar{padding:13px 14px}.notif-row{padding:14px 13px;gap:10px}.notif-info strong{font-size:12px}.mobilebar .notif-bell{width:36px;height:36px}.notif-bell .notif-count{right:-3px;top:-4px}}

/* Manager always has a visible school-publishing action above the calendar. */
.school-primary-publish{white-space:nowrap}
.operations-routes{margin:0 0 22px}
.operations-routes .section-title{font-size:15px}
@media(max-width:700px){.head-cta .school-primary-publish{max-width:none;white-space:normal;line-height:1.25}.operations-routes{margin:0 0 16px}}

/* Direct offer of the precise school departure from its calendar detail */
.school-publish-one-box{padding:17px;border:1px solid #d9d9d9;border-radius:15px;background:#f6f6f6;margin:18px 0 20px;display:grid;gap:12px}
.school-publish-one-box strong{display:block;font-size:15px;color:#353535;margin-bottom:4px}
.school-publish-one-box small{display:block;line-height:1.5;color:#6b6b6b}
.school-publish-one-box .btn{justify-content:center;min-height:46px}

/* Panda Bus Kørselsstyring – selvstændig, lederbeskyttet ordrebog. */
.pb-pdf-drop{margin:14px 0 18px;padding:23px 24px;display:flex;align-items:center;gap:19px;border:2px dashed #bfbfbf;border-radius:17px;background:#f9f9f9;transition:background .15s,border .15s;min-width:0}
.pb-pdf-drop.dragover,.pb-pdf-drop:focus-visible{background:#eeeeee;border-color:#5e5e5e;outline:0}
.pb-pdf-drop>div{flex:1;min-width:0}.pb-pdf-drop strong{display:block;font-size:16px;color:#383838}.pb-pdf-drop p{margin:5px 0 0;font-size:12px;color:#767676;line-height:1.5}.pb-pdf-symbol{width:50px;height:50px;border-radius:14px;background:#e8e8e8;color:#505050;display:grid;place-items:center;flex-shrink:0}.pb-pdf-drop .btn{white-space:nowrap}
.pb-order-editor{margin:20px 0}.pb-order-editor .panel-body{padding:20px}.pb-order-editor form{margin-top:18px}.pb-order-connection{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.pb-order-connection .field{width:100%}.pb-order-connection small{font-size:11px;color:#868686}.pb-wage-note{display:flex;align-items:center;gap:8px;background:#f7f7f7;padding:12px;border:1px solid #e9e9e9;border-radius:10px;font-size:12px;color:#636363}.pb-pdf-info{display:flex;align-items:center;gap:7px;font-size:12px;color:#5a5a5a;background:#f4f4f4;padding:12px;border-radius:10px;flex-wrap:wrap}.pb-pdf-info strong{overflow-wrap:anywhere}
.pb-order-list{margin:18px 0}.pb-order-search{padding:12px 18px}.pb-order-search .input{max-width:520px}.pb-order-row{display:flex;align-items:center;gap:14px;justify-content:space-between;border-top:1px solid #f1f1f1;padding:17px 20px}.pb-order-row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.pb-order-row-main strong{font-size:13px;color:#353535}.pb-order-row-main small{font-size:11px;color:#8e8e8e}.pb-order-row-main span{font-size:12px;color:#636363;overflow-wrap:anywhere}.pb-order-row-side{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media(max-width:850px){.pb-pdf-drop{flex-wrap:wrap;gap:12px}.pb-pdf-drop>div{flex:1 1 calc(100% - 75px)}.pb-pdf-drop .btn{margin-left:62px}}
@media(max-width:600px){.pb-pdf-drop{padding:15px;gap:10px}.pb-pdf-symbol{width:42px;height:42px}.pb-pdf-drop strong{font-size:14px}.pb-pdf-drop .btn{margin:0;width:100%;justify-content:center}.pb-order-editor .panel-body{padding:13px}.pb-order-row{padding:13px;align-items:flex-start;flex-direction:column}.pb-order-row-side{width:100%;justify-content:flex-start}}
.pb-order-extras{border:1px solid #e7e7e7;border-radius:12px;padding:14px 16px;background:#fafafa}
.pb-order-extras>summary{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:750;cursor:pointer;color:#3b3b3b}
.pb-order-extras[open]>summary{margin-bottom:15px}
.pb-order-extras .formgrid{gap:14px}

/* Important customer appointment: always distinct from tour departure. */
.pb-client-arrival{display:grid;gap:13px;background:#fff7e8;border:2px solid #da9941;border-radius:15px;padding:17px 19px;box-shadow:0 3px 9px rgba(133,82,14,.045)}
.pb-client-arrival-head{display:flex;align-items:center;gap:12px;color:#80500e}
.pb-client-arrival-icon{height:42px;width:42px;flex-shrink:0;display:grid;place-items:center;border-radius:12px;background:#f8e4bc;color:#80500e}
.pb-client-arrival-head strong{font-size:15px;font-weight:850;letter-spacing:.05em;display:block}
.pb-client-arrival-head small{display:block;font-size:12px;line-height:1.5;margin-top:3px;color:#83551b}
.pb-client-arrival-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.pb-client-arrival-fields .field{min-width:0}.pb-client-arrival-fields .input{font-size:18px;font-weight:750;border-color:#cba975;color:#59390f;background:#fff;min-width:0}
.pb-arrival-list{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:12px;color:#794b10;background:#fff6e8;border:1px solid #e8d5b2;border-radius:8px;padding:6px 9px;width:max-content;max-width:100%;margin-top:2px}.pb-arrival-list strong{font-weight:850;color:#704309}
@media(max-width:580px){.pb-client-arrival{padding:14px}.pb-client-arrival-fields{grid-template-columns:1fr}.pb-client-arrival-fields .input{font-size:16px}}


/* Panda Bus – simple, balanced PDF order workflow */
.pb-order-once,.pb-order-intro{display:flex;align-items:center;gap:11px;background:#f6f6f6;border:1px solid #e5e5e5;border-radius:12px;padding:13px 16px;color:#454545;font-size:13px;line-height:1.5}
.pb-order-once{margin:14px 0 16px}.pb-order-once svg,.pb-order-intro svg{flex-shrink:0}
.pb-order-editor{border:1px solid #e7e7e7;border-radius:18px;box-shadow:0 15px 30px rgba(44,44,44,.04);overflow:hidden}.pb-order-editor>.panel-body{padding:25px}
.pb-order-form{display:flex!important;flex-direction:column!important;gap:18px!important;margin-top:22px!important}
.pb-order-section{border:1px solid #ebebeb;border-radius:15px;overflow:hidden;background:#fff}
.pb-order-section-head{display:flex;align-items:center;gap:13px;padding:18px 20px;background:#fafafa;border-bottom:1px solid #ededed}
.pb-section-number{display:grid;place-items:center;width:32px;height:32px;min-width:32px;border-radius:10px;background:#ededed;color:#4b4b4b;font-weight:750;font-size:13px}
.pb-order-section-head h3{font-size:16px;font-weight:750;margin:0;color:#343434;letter-spacing:-.01em}
.pb-order-section-head p{font-size:12px;margin:4px 0 0;color:#727272;line-height:1.5}
.pb-order-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 18px;padding:20px}
.pb-order-fields>.field{min-width:0;margin:0}.pb-order-fields>.field.full,.pb-order-fields>.full{grid-column:1/-1}
.pb-order-fields input,.pb-order-fields select,.pb-order-fields textarea{min-height:46px;background:#fff;box-shadow:none}
.pb-order-meeting{border:1px solid #e7e7e7;background:#f7f7f7;border-radius:12px;padding:16px 18px}
.pb-order-meeting-title{display:flex;align-items:center;gap:9px;color:#424242;margin-bottom:15px}
.pb-order-meeting-title strong{display:block;font-size:14px}.pb-order-meeting-title small{display:block;color:#828282;font-size:12px;margin-top:2px}
.pb-order-meeting-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pb-order-meeting-fields .field{min-width:0}
.pb-order-drivers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pb-driver-pick{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #e6e6e6;border-radius:12px;cursor:pointer;transition:.15s ease;background:#fff}
.pb-driver-pick:has(input:checked){background:#f6f6f6;border-color:#949494}
.pb-driver-pick input{min-height:auto;accent-color:#494949;width:18px;height:18px;flex-shrink:0}
.pb-driver-pick span{display:block;min-width:0;font-size:13px;font-weight:700;flex:1}
.pb-driver-pick small{display:block;color:#797979;font-size:10px;font-weight:400;overflow-wrap:anywhere;margin-top:3px}
.pb-driver-pick svg{opacity:0;color:#595959}.pb-driver-pick:has(input:checked) svg{opacity:1}
.pb-order-trip-link{background:#f9f9f9;border:1px solid #ededed;border-radius:12px;padding:15px}
.pb-order-trip-link p{font-size:12px;line-height:1.5;color:#7c7c7c;margin:9px 0 0}
.pb-order-economy{border:1px solid #eaeaea;border-radius:12px;overflow:hidden}
.pb-order-economy>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:15px 17px;font-size:13px;font-weight:700;color:#4a4a4a}
.pb-order-economy[open]>summary{border-bottom:1px solid #eaeaea}
.pb-order-economy .pb-order-fields{padding:17px}
.pb-order-save{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f9f9f9;border:1px solid #e9e9e9;border-radius:14px;padding:15px 19px}
.pb-order-save>span{display:flex;align-items:center;gap:7px;color:#717171;font-size:12px}
.pb-order-save-buttons{display:flex;align-items:center;gap:9px}
.pb-order-duplicate{display:flex;align-items:center;flex-wrap:wrap;gap:9px;border:1px solid #ebd4a8;background:#fff9ed;padding:13px 16px;border-radius:11px;color:#6c4b13;font-size:13px;margin-top:12px;line-height:1.5}
.pb-order-editor .pb-pdf-info{border-radius:10px;padding:11px 14px;margin-top:14px}
.pb-meet-tag{display:inline-flex;align-items:center;background:#f4f4f4;color:#535353;font-size:11px;padding:3px 8px;border-radius:7px}
.pb-arrival-list{background:#f4f4f4;border-color:#e7e7e7;color:#565656}
@media(max-width:900px){.pb-order-drivers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.pb-order-editor>.panel-body{padding:14px}.pb-order-section-head{padding:14px}.pb-order-fields{grid-template-columns:minmax(0,1fr);gap:13px;padding:14px}.pb-order-fields>.field.full,.pb-order-fields>.full{grid-column:auto}.pb-order-meeting-fields{grid-template-columns:minmax(0,1fr)}.pb-order-drivers{grid-template-columns:minmax(0,1fr)}.pb-order-save{flex-direction:column;align-items:stretch;padding:13px}.pb-order-save-buttons{width:100%}.pb-order-save-buttons .btn{flex:1;min-width:0}.pb-order-section-head h3{font-size:15px}}

.pb-detail-customer-arrival{display:flex;align-items:flex-start;gap:12px;border:1px solid #e5e5e5;background:#f6f6f6;padding:17px 20px;border-radius:13px;margin:12px 0 18px;color:#474747}.pb-detail-customer-arrival>svg{margin-top:4px;flex-shrink:0}.pb-detail-customer-arrival small{display:block;color:#7e7e7e;font-size:10px;font-weight:750;letter-spacing:.06em}.pb-detail-customer-arrival strong{display:block;font-size:19px;margin:4px 0}.pb-detail-customer-arrival span{display:block;font-size:12px;color:#767676}
/* Panda Bus · Kørselsstyring — overskuelig PDF-indlæsning og bemanding */
.pb-asset-tabs{display:flex;gap:5px;border:1px solid #e8e8e8;border-radius:13px;background:#f1f1f1;padding:6px;margin:14px 0 20px;max-width:670px;overflow-x:auto}
.pb-asset-tabs button{background:transparent;border:0;border-radius:9px;padding:12px 16px;font-size:12px;font-weight:750;display:inline-flex;align-items:center;gap:8px;color:#777777;white-space:nowrap;min-width:0}
.pb-asset-tabs button:hover{color:#404040;background:#f9f9f9}
.pb-asset-tabs button.active{background:#fff;color:#414141;box-shadow:0 2px 9px rgba(47,47,47,.08)}
.pb-asset-tabs button span{border-radius:12px;background:#efefef;color:#666666;padding:2px 7px;font-size:10px}
.pb-pdf-drop{position:relative;background:#f9f9f9;border:1.5px dashed #ababab;border-radius:18px;padding:27px 29px;box-shadow:0 4px 20px rgba(55,55,55,.025)}
.pb-pdf-drop.dragover{background:#f3f3f3;border-color:#636363;outline:3px solid #e5e5e5}
.pb-pdf-symbol{width:58px;height:58px;border-radius:17px;background:#eeeeee;color:#4e4e4e}
.pb-pdf-drop strong{font-size:18px;letter-spacing:-.035em}.pb-pdf-drop p{color:#828282;font-size:13px;max-width:540px}
.pb-order-once{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #ececec;border-radius:12px;color:#6a6a6a;padding:13px 17px;font-size:12px;font-weight:600}
.pb-order-editor{background:#fff;border-radius:19px;overflow:hidden;border:1px solid #e6e6e6;box-shadow:0 16px 40px rgba(53,53,53,.04)}
.pb-order-editor>.panel-head{padding:22px 26px}.pb-order-editor>.panel-head h2{font-size:19px}
.pb-order-editor>.panel-body{padding:25px 26px 28px}
.pb-order-form{display:flex!important;flex-direction:column!important;gap:17px!important;margin-top:21px!important}
.pb-order-section{background:#fff;border:1px solid #e8e8e8;border-radius:15px;overflow:hidden}
.pb-order-section-head{display:flex;align-items:center;gap:14px;background:#fcfcfc;padding:17px 21px;border-bottom:1px solid #eeeeee}
.pb-order-section-head h3{font-size:16px;font-weight:780;color:#363636;margin:0;letter-spacing:-.025em}
.pb-order-section-head p{font-size:12px;color:#909090;margin:3px 0 0}
.pb-section-number{display:grid;place-items:center;background:#efefef;color:#555555;border-radius:10px;width:32px;height:32px;flex-shrink:0;font-size:12px;font-weight:800}
.pb-order-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding:22px}
.pb-order-fields .field{margin:0;min-width:0}.pb-order-fields>.full,.pb-order-fields>.field.full{grid-column:1/-1}
.pb-order-fields label{font-size:12px;color:#6c6c6c;font-weight:680}
.pb-order-fields .input,.pb-order-fields .select,.pb-order-fields .textarea{background:#fefefe;border-radius:10px;min-height:45px;border:1px solid #e3e3e3;font-size:13px}
.pb-order-fields .input:focus,.pb-order-fields .select:focus,.pb-order-fields .textarea:focus{background:#fff}
.pb-order-meeting{background:#f9f9f9;border:1px solid #ebebeb;padding:14px 17px;border-radius:12px}
.pb-order-meeting-title{display:flex;align-items:center;gap:10px;margin-bottom:11px;color:#5d5d5d}
.pb-order-meeting-title strong{font-size:13px;display:block}.pb-order-meeting-title small{font-size:11px;color:#969696;display:block;margin-top:1px}
.pb-order-meeting-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.pb-order-drivers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pb-driver-pick{border:1px solid #e7e7e7;border-radius:11px;display:flex;gap:9px;align-items:center;padding:13px;cursor:pointer;transition:background .15s,border .15s}
.pb-driver-pick:hover{background:#fcfcfc}.pb-driver-pick:has(input:checked){border-color:#9c9c9c;background:#f4f4f4}
.pb-driver-pick input{width:18px;height:18px;flex-shrink:0;accent-color:#515151}
.pb-driver-pick span{font-weight:750;font-size:13px;min-width:0;flex:1}
.pb-driver-pick small{display:block;color:#999999;font-size:10px;margin-top:3px;font-weight:450;overflow-wrap:anywhere}
.pb-driver-pick svg{opacity:0;flex-shrink:0;color:#595959}.pb-driver-pick:has(input:checked) svg{opacity:1}
.pb-order-trip-link{padding:15px 17px;background:#f9f9f9;border:1px solid #eaeaea;border-radius:11px}
.pb-order-trip-link p{font-size:11px;color:#929292;line-height:1.5;margin:9px 0 0}
.pb-order-economy{border:1px solid #e9e9e9;border-radius:12px;overflow:hidden}
.pb-order-economy>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:13px;color:#505050;padding:16px}
.pb-order-economy[open]>summary{border-bottom:1px solid #ebebeb}
.pb-order-economy .pb-order-fields{padding:16px}
.pb-order-save{display:flex;align-items:center;justify-content:space-between;gap:13px;border:1px solid #eaeaea;background:#fbfbfb;border-radius:13px;padding:15px 19px}
.pb-order-save>span{display:flex;align-items:center;gap:7px;font-size:12px;color:#828282}
.pb-order-save-buttons{display:flex;gap:9px}
.pb-pdf-preview{background:linear-gradient(115deg,#fafafa 0%,#fff 80%);border:1px solid #e7e7e7;border-radius:15px;padding:21px;margin-top:14px}
.pb-pdf-preview-top{display:flex;align-items:center;gap:14px}.pb-pdf-preview-top>svg:last-child{color:#5b5b5b;margin-left:auto;flex-shrink:0}
.pb-pdf-preview-symbol{display:grid;place-items:center;width:44px;height:44px;background:#ededed;color:#4d4d4d;border-radius:12px;flex-shrink:0}
.pb-pdf-preview-top>div{min-width:0}.pb-preview-kicker{display:block;font-size:10px;letter-spacing:.08em;color:#878787;font-weight:800}
.pb-pdf-preview-top strong{font-size:15px;color:#3e3e3e;display:block;overflow-wrap:anywhere;margin-top:2px}.pb-pdf-preview-top small{display:block;font-size:11px;color:#959595;margin-top:3px}
.pb-pdf-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px;padding-top:17px;border-top:1px solid #ebebeb}
.pb-pdf-preview-grid>div{display:flex;flex-direction:column;gap:5px}.pb-pdf-preview-grid span{font-size:10px;color:#8f8f8f;font-weight:650}.pb-pdf-preview-grid strong{font-size:13px;color:#414141;overflow-wrap:anywhere}
.pb-pdf-preview>.btn{margin-top:12px}
.pb-order-check{display:flex;align-items:center;justify-content:space-between;gap:11px;border:1px solid #e5e5e5;background:#fafafa;border-radius:12px;padding:14px 16px;color:#696969;font-size:12px}
.pb-order-check>span{display:flex;align-items:center;gap:8px}.pb-order-check.warning{background:#fff9ee;border-color:#edcf9f;color:#7c4e23;justify-content:flex-start;align-items:flex-start}
.pb-order-check.warning>div{flex:1}.pb-order-check.warning strong{display:block;font-size:13px;margin-bottom:6px}.pb-order-check.warning p{margin:4px 0;line-height:1.5}
.pb-order-check.safe{background:#f5f5f5;border-color:#dfdfdf;color:#545454;justify-content:flex-start}
.pb-order-row{padding:16px 19px}.pb-order-row-side .btn svg{width:14px;height:14px}
.pb-arrival-list{font-size:11px!important;color:#8d8d8d!important;background:transparent;border:0!important;padding:0!important}
.pb-arrival-list strong{font-size:11px;font-weight:680;color:#666666}
@media(max-width:850px){.pb-order-drivers{grid-template-columns:repeat(2,minmax(0,1fr))}.pb-pdf-drop{padding:22px}}
@media(max-width:620px){.pb-asset-tabs{gap:2px;overflow-x:auto}.pb-asset-tabs button{padding:10px 12px;font-size:11px}.pb-pdf-drop{padding:19px;flex-wrap:wrap;gap:13px}.pb-pdf-symbol{width:48px;height:48px}.pb-pdf-drop strong{font-size:16px}.pb-order-editor>.panel-body{padding:14px}.pb-order-editor>.panel-head{padding:17px}.pb-order-fields{grid-template-columns:minmax(0,1fr);padding:15px;gap:14px}.pb-order-fields>.full,.pb-order-fields>.field.full{grid-column:1}.pb-order-section-head{padding:14px}.pb-order-section-head h3{font-size:14px}.pb-order-meeting-fields{grid-template-columns:1fr}.pb-order-drivers{grid-template-columns:1fr}.pb-order-save{flex-direction:column;align-items:stretch}.pb-order-save-buttons .btn{flex:1;min-width:0}.pb-pdf-preview{padding:15px}.pb-pdf-preview-grid{grid-template-columns:1fr 1fr}.pb-order-check{flex-wrap:wrap}}

/* Panda Bus · Fælles visuelt løft (19.10.2026) */
:root{--sidebar:246px;--brand:#3d3d3d;--brand2:#323232;--bg:#f6f6f6;--line:#e9e9e9;--ink:#2d2d2d;--muted:#757575;--radius:17px}
.sidebar{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#e6e6e6 transparent;padding-top:27px;background:linear-gradient(180deg,#fcfcfc 0%,#f8f8f8 100%)}
.sidebar .brand{padding-bottom:29px}
.sidebar .navlist{gap:3px}
.sidebar .nav-kicker{color:#797979;font-size:10px;margin:0;padding:12px 12px 7px;letter-spacing:.11em}
.sidebar .pb-admin-label{margin-top:19px;padding-top:19px;border-top:1px solid #e9e9e9}
.navitem{min-height:45px;border-radius:12px;font-size:13px;font-weight:650;padding:10px 12px;transition:background .15s ease,color .15s ease,transform .15s ease}
.navitem:hover{background:#f0f0f0;color:#3f3f3f}
.navitem.active{background:#eaeaea;color:#3d3d3d;box-shadow:inset 3px 0 0 #5c5c5c}
.navitem .muted-count{background:#eeeeee;color:#6c6c6c}
.sidebar-bottom{margin-top:auto}
.topbar{background:#fff;border-bottom:1px solid var(--line)}
.main{padding-top:33px}
.head-row{margin-bottom:25px}.page-title{font-weight:800;letter-spacing:-.045em}.subline{color:#727272;font-size:13px;max-width:680px;line-height:1.65}
.panel{box-shadow:0 5px 22px rgba(52,52,52,.035)}
.panel,.stat,.board-card,.quick-item{border-color:#e8e8e8}
.btn.primary{background:#464646}.btn.primary:hover{background:#3a3a3a}
.navitem:focus-visible,.more-link:focus-visible,.btn:focus-visible,.stat:focus-visible,.quick-item:focus-visible{outline:3px solid #a8a8a8;outline-offset:2px}
.pb-section-hint{display:flex;align-items:center;gap:7px;color:#7b7b7b;background:#f3f3f3;border:1px solid #e6e6e6;border-radius:11px;width:max-content;max-width:100%;font-size:11px;margin:0 0 16px;padding:8px 12px}
.pb-section-hint strong{color:#494949}.pb-hint-arrow{display:flex;color:#aeaeae}
.pb-asset-tabs{margin-top:2px}
.pb-more-group{margin:0 0 28px}.pb-more-group-head{margin-bottom:13px}.pb-more-group-head h2{font-size:17px;letter-spacing:-.025em;margin:0 0 3px;font-weight:800}.pb-more-group-head p{font-size:12px;margin:0;color:#7e7e7e;line-height:1.5}
.pb-more-group .link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.pb-more-group .more-link{display:flex;align-items:center;gap:12px;text-align:left;min-height:76px;padding:14px 16px;border-radius:15px;border:1px solid #e8e8e8;background:white}
.pb-more-group .more-link:hover{background:#fbfbfb;border-color:#c5c5c5}
.more-link-copy{display:grid;gap:4px;flex:1;min-width:0}.more-link-copy strong{display:block;font-size:13px;color:#323232}.more-link-copy small{font-size:11px;font-weight:500;color:#838383;line-height:1.35}
.pb-system-actions{display:flex;align-items:center;gap:10px;margin:18px 0}.pb-system-actions .btn{gap:9px}
@media(max-height:820px) and (min-width:701px){.sidebar{padding-top:14px}.sidebar .brand{padding-bottom:14px}.sidebar .pb-admin-label{margin-top:8px;padding-top:10px}.navitem{min-height:40px;padding:8px 12px}.sidebar .nav-kicker{padding-top:8px}}
@media(max-width:1050px) and (min-width:701px){:root{--sidebar:218px}.main{padding:22px 20px 50px}.navitem{font-size:12px}}
@media(max-width:700px){.main{padding:22px 14px calc(103px + env(safe-area-inset-bottom))}.head-row{align-items:flex-start;gap:10px}.page-title{font-size:25px}.subline{font-size:12px;max-width:34rem}.pb-more-group .link-grid{grid-template-columns:1fr}.pb-more-group .more-link{min-height:68px;padding:12px 14px}.more-link-copy small{display:block}.pb-system-actions .btn{min-height:44px;flex:1}.pb-section-hint{margin-bottom:14px}.mobile-bottom button{min-height:50px}.mobilebar{background:#fff}.panel{box-shadow:0 3px 14px rgba(38,38,38,.03)}.sidebar{display:none}}
@media(prefers-reduced-motion:reduce){.navitem,.btn,.quick-item,.more-link{transition:none!important}*{scroll-behavior:auto!important}}

/* Panda Bus · Luxury Trip Studio · safe isolated appearance */
.pb-lux-drawer{width:min(720px,100%);background:#f9f9f9}
.pb-lux-drawer .drawer-head{background:#fff;padding:18px 32px;border-color:#ebebeb}
.pb-lux-drawer .drawer-head strong{font-size:15px;letter-spacing:0;font-weight:750}
.pb-lux-drawer .drawer-body{padding:0;background:#f9f9f9}
.pb-lux-drawer .drawer-foot{padding:0;border-top:0;box-shadow:0 -6px 24px rgba(33,33,33,.07);position:relative;z-index:2}
.pb-lux-cover{background:linear-gradient(135deg,#282828 0%,#404040 100%);padding:39px 40px 31px;color:#fff;position:relative;overflow:hidden}
.pb-lux-cover:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;border:45px solid rgba(202,202,202,.07);right:-96px;top:-120px;pointer-events:none}
.pb-lux-kicker{font-weight:800;letter-spacing:.19em;font-size:10px;color:#d2d2d2;position:relative;z-index:1}
.pb-lux-kicker span{padding:0 7px;color:#ebebeb}
.pb-lux-cover h2{font-size:clamp(25px,3.5vw,36px);font-weight:800;letter-spacing:-.07em;line-height:1.13;margin:12px 0 9px;position:relative;z-index:1}
.pb-lux-cover p{font-size:13px;color:#d3d3d3;max-width:500px;line-height:1.65;margin:0 0 27px;position:relative;z-index:1}
.pb-lux-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;position:relative;z-index:1}
.pb-lux-progress span{font-size:11px;font-weight:800;display:flex;align-items:center;gap:9px;color:#aeaeae;padding:11px 12px;border-radius:11px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.05)}
.pb-lux-progress span.on{background:#f1f1f1;color:#363636;border-color:#f1f1f1}
.pb-lux-progress em{font-style:normal;font-weight:650}
.pb-lux-form{padding:32px 40px 45px;min-height:440px}
.pb-lux-step[hidden],.pb-lux-footer [hidden]{display:none!important}
.pb-lux-step-head{padding:0 0 27px}
.pb-lux-step-head>span{font-size:11px;letter-spacing:.13em;color:#606060;font-weight:850}
.pb-lux-step-head h3{font-size:24px;line-height:1.16;letter-spacing:-.065em;color:#313131;margin:8px 0 8px;font-weight:800}
.pb-lux-step-head p{font-size:13px;color:#757575;line-height:1.65;margin:0}
.pb-lux-field{margin:0 0 20px;min-width:0;position:relative}
.pb-lux-field>label{display:block;font-size:12px;color:#404040;font-weight:800;margin-bottom:9px}
.pb-lux-field>.input,.pb-lux-field>.select,.pb-lux-field>.textarea{background:#fff!important;border:1px solid #e3e3e3!important;border-radius:13px;min-height:53px;padding:13px 15px;font-size:14px;color:#323232!important;box-shadow:0 1px 3px rgba(59,59,59,.02)}
.pb-lux-field .textarea{min-height:84px;resize:vertical;line-height:1.55}
.pb-lux-field .input:focus,.pb-lux-field .select:focus,.pb-lux-field .textarea:focus{outline:3px solid rgba(177,177,177,.2);border-color:#747474!important}
.pb-lux-field .input::placeholder,.pb-lux-field .textarea::placeholder{color:#a8a8a8}
.pb-lux-field>small{display:block;font-size:11px;color:#818181;margin-top:8px;line-height:1.4}
.pb-lux-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:17px;row-gap:3px}
.pb-lux-route{position:relative;background:white;border:1px solid #e8e8e8;border-radius:19px;padding:22px 23px 11px;box-shadow:0 12px 34px rgba(52,52,52,.04)}
.pb-lux-route .pb-lux-field{margin-bottom:18px}
.pb-lux-route-line{width:25px;height:24px;border-left:2px dashed #bebebe;margin-left:18px;margin-top:-13px;margin-bottom:14px;position:relative}
.pb-lux-route-line:before,.pb-lux-route-line:after{content:"";width:7px;height:7px;position:absolute;left:-4.5px;border-radius:50%;background:#636363}
.pb-lux-route-line:before{top:0}.pb-lux-route-line:after{bottom:0}
.pb-address-shell{position:relative;display:flex;align-items:center}
.pb-address-shell svg{position:absolute;left:15px;color:#616161;z-index:1;pointer-events:none}
.pb-address-shell input{width:100%;height:54px;border:1px solid #e3e3e3;background:#fcfcfc;color:#323232;border-radius:12px;padding:0 15px 0 46px;font-size:14px;outline:none;transition:.15s}
.pb-address-shell input:focus{border-color:#747474;box-shadow:0 0 0 3px rgba(129,129,129,.16)}
.pb-address-shell input::placeholder{color:#a5a5a5}
.pb-address-menu{position:absolute;top:calc(100% - 23px);left:0;right:0;z-index:30;background:#fff;border:1px solid #e3e3e3;box-shadow:0 22px 44px rgba(46,46,46,.17);border-radius:13px;padding:5px;max-height:300px;overflow:auto}
.pb-address-menu[hidden]{display:none}
.pb-address-choice{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:0;border-radius:9px;padding:11px 10px;background:transparent;color:#363636;cursor:pointer}
.pb-address-choice:hover,.pb-address-choice:focus{background:#f4f4f4;outline:none}
.pb-address-choice>span:nth-child(2){display:flex;flex-direction:column;align-items:flex-start;gap:3px;flex:1;min-width:0}
.pb-address-choice>span:nth-child(2) strong{font-size:12px;font-weight:800;color:#363636}
.pb-address-choice>span:nth-child(2) small{font-size:11px;color:#6b6b6b;white-space:normal}
.pb-address-choice>span:first-child{display:grid;place-items:center;background:#f4f4f4;border-radius:9px;width:31px;height:31px;color:#585858;flex-shrink:0}
.pb-address-credit,.pb-address-status{color:#787878;font-size:10px;padding:9px 12px;line-height:1.4}
.pb-address-credit{border-top:1px solid #efefef}
.pb-lux-tip,.pb-lux-info{display:flex;align-items:flex-start;gap:10px;background:#f1f1f1;border:1px solid #e4e4e4;border-radius:13px;padding:14px 15px;font-size:12px;color:#595959;line-height:1.55;margin-top:20px}
.pb-lux-tip svg,.pb-lux-info svg{flex-shrink:0}
.pb-lux-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;width:100%;padding:18px 28px;background:#fff}
.pb-lux-secure{display:flex;align-items:center;gap:7px;font-size:11px;color:#818181;font-weight:650}
.pb-lux-buttons{display:flex;gap:9px;align-items:center}
.pb-lux-buttons .btn{border-radius:12px;padding:0 20px;min-height:44px;font-size:12px;font-weight:800}
.pb-lux-buttons .btn.primary{background:#515151;color:#fff}
.pb-lux-buttons .btn.primary:hover{background:#3e3e3e}
.pb-lux-drivers{display:flex;flex-wrap:wrap;gap:12px;background:#fff;border:1px solid #e8e8e8;border-radius:12px;padding:15px}
.pb-index-note{font-size:12px;color:#828282;padding:10px 2px 0}
.pb-alltrip-index .trip-list{padding:10px 0}
@media(max-width:700px){.pb-lux-drawer{height:95dvh;max-height:95dvh;border-radius:22px 22px 0 0}.pb-lux-drawer .drawer-head{padding:14px 20px}.pb-lux-cover{padding:26px 23px 22px}.pb-lux-cover h2{font-size:27px}.pb-lux-cover p{font-size:12px;margin-bottom:21px}.pb-lux-progress{gap:5px}.pb-lux-progress span{font-size:11px;padding:10px 7px;gap:5px}.pb-lux-progress em{font-size:10px}.pb-lux-form{padding:24px 20px 34px;min-height:450px}.pb-lux-step-head h3{font-size:22px}.pb-lux-grid{grid-template-columns:1fr}.pb-lux-route{padding:16px 15px 8px;border-radius:15px}.pb-lux-footer{padding:13px 16px calc(14px + env(safe-area-inset-bottom))}.pb-lux-secure{display:none}.pb-lux-buttons{width:100%}.pb-lux-buttons .btn{flex:1}}


/* Panda Bus · samlet finish 20.10.2026 — ensartet komponentstruktur og bedre mobiloplevelse */
:root{--pb-polish-round:17px;--pb-polish-border:#e6e6e6;--pb-polish-quiet:#717171}
.main{max-width:1580px}
.head-row{align-items:center;row-gap:14px}
.page-title{letter-spacing:-.05em}
.subline{color:#6f6f6f;font-size:13px;max-width:740px}
.panel,.tripcard,.quick-item,.stat,.cal-detail,.notif-wrap,.pb-messages{box-shadow:0 8px 28px rgba(38,38,38,.028)}
.panel-head{min-height:61px}
.panel-head h2{font-size:15px;letter-spacing:-.02em}
.panel .rowline .line-title{font-size:13.5px;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.panel .rowline .line-meta{font-size:11.5px;line-height:1.5;color:#737373}
.queue-item{gap:18px}.queue-main strong{font-size:14px;line-height:1.5}.queue-main p{font-size:12px}.queue-main span{font-size:11.5px}
.queue-actions{min-width:0}.queue-actions .btn{min-height:39px;padding:8px 13px;font-size:11.5px}
.btn,.icon-button,.navitem,.tab{transition:background-color .18s,border-color .18s,box-shadow .18s,color .18s,transform .15s}
.btn:focus-visible,.navitem:focus-visible,.pb-message-tab:focus-visible,.notif-row:focus-visible{outline:3px solid #acacac;outline-offset:2px}
.sick-pending{display:inline-flex;align-items:center;gap:5px;white-space:normal}
/* Beskeder har nu samme tæthed og bredde som resten af driftsportalen. */
.pb-messages{max-width:1010px;border:1px solid var(--pb-polish-border);border-radius:var(--pb-polish-round);overflow:hidden;background:var(--paper)}
.pb-messages-header{min-height:95px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 25px}
.pb-messages-heading{display:flex;align-items:center;gap:15px;min-width:0}
.pb-messages-heading-icon{display:grid;place-items:center;width:45px;height:45px;flex-shrink:0;border-radius:14px;background:#f0f0f0;color:#575757}
.pb-messages-heading strong{font-size:18px;font-weight:800;letter-spacing:-.04em;display:block}
.pb-messages-heading p{margin:4px 0 0;color:#7b7b7b;font-size:12px}
.pb-message-tabs{display:flex;gap:9px;padding:0 24px 16px;border-bottom:1px solid var(--line)}
.pb-message-tab{border:1px solid #e8e8e8;background:#f9f9f9;color:#717171;border-radius:10px;padding:9px 14px;font-size:12px;font-weight:730;display:inline-flex;align-items:center;gap:9px;min-height:39px;cursor:pointer}
.pb-message-tab span{display:grid;place-items:center;min-width:23px;padding:2px 6px;border-radius:8px;background:#eeeeee;color:#6b6b6b;font-size:10px}
.pb-message-tab.active{color:#3c3c3c;background:#efefef;border-color:#d2d2d2}.pb-message-tab.active span{background:#e0e0e0;color:#4b4b4b}
.pb-message-list{width:100%}.pb-messages .notif-row{min-height:93px;padding:20px 25px;gap:16px;border-bottom:1px solid #ececec;align-items:flex-start}
.pb-messages .notif-row:last-child{border-bottom:0}.pb-messages .notif-row:hover{background:#f8f8f8}.pb-messages .notif-row.unread{background:#fafafa}
.pb-messages .notif-row>svg{margin-top:11px;color:#9f9f9f}
.pb-message-icon{width:40px;height:40px;border-radius:12px;flex-shrink:0;display:grid;place-items:center;background:#f0f0f0;color:#5a5a5a}
.pb-message-icon.is-read{background:#f2f2f2;color:#999999}
.pb-message-title{display:flex;align-items:center;gap:9px}.pb-message-title strong{font-size:14.5px!important;line-height:1.35;letter-spacing:-.025em}
.pb-unread-dot{width:7px;height:7px;border-radius:50%;background:#626262;flex-shrink:0}
.pb-messages .notif-info{gap:7px}.pb-messages .notif-info>span:not(.pb-message-title){font-size:12.5px;color:#616161;line-height:1.6}
.pb-messages .notif-info small{font-size:11.5px;color:#838383}
.pb-messages .notif-empty{padding:60px 20px;min-height:240px;justify-content:center}
.pb-empty-symbol{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#f1f1f1;color:#5f5f5f}
.pb-messages .notif-empty strong{font-size:16px;color:#3f3f3f}.pb-messages .notif-empty p{font-size:12.5px;max-width:375px;line-height:1.6}
/* Fælles input og stedforslag, uden at ændre eksisterende formularfelter. */
.pb-address-choice{min-height:59px}.pb-address-choice>span:nth-child(2){min-width:0}.pb-address-choice strong{line-height:1.35}.pb-address-choice small{overflow-wrap:anywhere;line-height:1.45}
.pb-address-choice.pb-selected{background:#eeeeee!important;box-shadow:inset 3px 0 #646464}
.pb-address-menu{box-shadow:0 18px 42px rgba(26,26,26,.16)}
.pb-lux-route{overflow:visible}.pb-lux-tip,.pb-lux-info{line-height:1.6}
/* Store skærme og telefoner: læsbar tekst uden at ændre routing eller data */
@media(max-width:700px){
 .main{padding-left:16px;padding-right:16px}
 .head-row{align-items:flex-start}.page-title{font-size:27px}
 .pb-messages{border-radius:16px}
 .pb-messages-header{padding:17px 16px;min-height:83px;align-items:center;flex-wrap:wrap}
 .pb-messages-heading strong{font-size:16px}.pb-messages-heading-icon{height:40px;width:40px;border-radius:12px}
 .pb-message-tabs{padding:0 16px 14px}
 .pb-messages .notif-row{min-height:82px;padding:17px 16px;gap:10px}
 .pb-message-icon{width:36px;height:36px;border-radius:10px}
 .pb-message-title strong{font-size:13.5px!important}
 .pb-messages .notif-info>span:not(.pb-message-title){font-size:12px}
 .pb-messages .notif-info small{font-size:11px}
 .queue-actions .btn{flex:1 1 auto}
 .panel .rowline .line-title{font-size:12.5px}
}
@media(max-width:390px){.pb-messages-header .btn{width:100%}.pb-message-tab{flex:1;justify-content:center}.pb-messages .notif-row>svg{display:none}}
@media(prefers-reduced-motion:reduce){.btn,.navitem,.pb-message-tab,.notif-row,.drawer{transition:none!important;animation:none!important}}


/* === Global UI cleanup · 2026-11-13 v3 ===
   Smoother, simpler controls and better-looking dropdowns across the whole portal. */
html,body,button,input,select,textarea,option,optgroup{
  font-family:var(--font)!important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

select, .select, .input, textarea {
  letter-spacing:-.012em;
}

select, .select {
  -webkit-appearance:none;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3.25 5.25 7 9l3.75-3.75' fill='none' stroke='%2353675b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 12px center;
  background-size:14px 14px;
  padding-right:38px!important;
  border-radius:12px!important;
}

option,optgroup{
  font-family:var(--font)!important;
  font-weight:700;
  color:#2d2d2d;
  background:#ffffff;
}

.input,.select,textarea,select{
  min-height:44px;
  border-color:#dfdfdf;
  box-shadow:0 1px 2px rgba(35,35,35,.04);
  transition:border-color .14s ease,box-shadow .14s ease,background-color .14s ease,transform .14s ease;
}
.input:hover,.select:hover,textarea:hover,select:hover{border-color:#c6c6c6}
.input:focus,.select:focus,textarea:focus,select:focus{
  border-color:#9c9c9c!important;
  box-shadow:0 0 0 4px rgba(98,98,98,.12)!important;
}

.btn{
  border-radius:12px!important;
  font-weight:700!important;
}
.panel,.stat,.quick-item,.tripcard,.calendar,.cal-detail,.data-table-wrap,.drawer,.dialog{
  border-radius:18px;
  box-shadow:0 10px 26px rgba(38,38,38,.045);
}
.panel-head{
  background:#fdfdfd;
}
.rowline .line-title,
.pb-table-title strong,
.proposal-row h3,
.page-title,
.section-title,
.panel-head h2{
  letter-spacing:-.035em;
}



/* ==== panda-brand.css ==== */
/* Panda Bus · Medarbejderportal: særskilt branding, ingen ændringer af driftslogik. */
.brand .brandmark { background: #2e2e2e url("assets/panda-medarbejder-ikon-512.png") center/cover no-repeat !important; border-radius: 11px !important; overflow:hidden; }
.brand .brandmark svg { display:none !important; }
.login-mobile-brand svg { display:none !important; }
.login-mobile-brand::before {content:"";display:inline-block;width:28px;height:28px;border-radius:8px;flex:0 0 28px;background:url("assets/panda-medarbejder-ikon-512.png") center/cover no-repeat;}

/* ==== panda-dark.css ==== */
/* Panda Bus Driftsportal – automatisk mørk tilstand, baseret på OS-indstillingen.
   Ingen ændringer i JavaScript, data, login eller Supabase. */

@media print { :root {color-scheme:light} }



/* Panda Bus · kontrastkorrektion 2026-10-19
   Lys baggrund fra styles.css blev vist sammen med lys tekst i mørk tilstand.
   Kun CSS: eksisterende login, ture, historik, fakturaer og data berøres ikke. */


/* ==== portal-simple.css ==== */
/* Panda Bus Medarbejderportal – simplified daily operations */
:root{--bg:#f7f7f7;--paper:#fff;--ink:#2f2f2f;--line:#e9e9e9;--brand:#3e3e3e;--radius:14px}
.pb-portal .sidebar{background:#fefefe;border-right:1px solid #e9e9e9;padding:22px 14px}
.pb-portal .pb-brand{padding:5px 8px 25px;gap:11px}.pb-portal .pb-brand .brandmark{width:41px;height:41px;border-radius:12px;background:#3e3e3e}.pb-brand .brandname{font-size:18px;letter-spacing:-.065em;font-weight:850}.pb-brand .brandname span{letter-spacing:0;color:#888888;font-size:10px;margin-top:3px}
.pb-side-label{font-size:10px;letter-spacing:.16em;font-weight:800;color:#a8a8a8;margin:18px 13px 9px}.pb-portal .navitem{min-height:44px;border-radius:10px;font-size:13px;font-weight:650;color:#787878;margin-bottom:3px;padding:10px 12px}.pb-portal .navitem.active{color:#3f3f3f;background:#eeeeee;box-shadow:none}.pb-portal .navitem.active:before{content:"";position:absolute;left:0;top:9px;bottom:9px;border-radius:0 4px 4px 0;width:3px;background:#5a5a5a}.pb-portal .navitem{position:relative}
.pb-portal .topbar{height:69px;border-bottom-color:#e9e9e9;padding-inline:34px}.pb-portal .top-name{font-size:16px}.pb-portal .top-eyebrow{letter-spacing:.11em;font-size:10px}.pb-portal .main{max-width:1530px;padding:32px 34px 70px}
.pb-header-create{height:38px;background:#404040;color:#fff;border:0;border-radius:9px;padding:0 16px;display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:750}.pb-header-create:hover{background:#2f2f2f}
.pb-welcome{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 23px;padding:3px 0 0}.pb-eyebrow{letter-spacing:.15em;color:#7c7c7c;font-size:10px;font-weight:800;margin:0 0 8px}.pb-welcome h1{font-size:clamp(28px,3vw,38px);font-weight:770;line-height:1.13;margin:0;color:#2f2f2f;letter-spacing:-.055em}.pb-welcome p:not(.pb-eyebrow){font-size:14px;color:#838383;max-width:640px;margin:9px 0 0;line-height:1.6}.pb-welcome-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.pb-welcome-actions .btn{min-height:43px}.pb-welcome.compact{margin-bottom:18px}
.pb-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:28px}.pb-stat{background:#fff;border:1px solid #e9e9e9;border-radius:13px;padding:18px 20px 16px;text-align:left;min-width:0;min-height:123px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;transition:border-color .15s,transform .15s}.pb-stat span{font-size:12px;color:#737373;font-weight:700}.pb-stat strong{font-size:37px;letter-spacing:-.08em;line-height:1.22;color:#343434;font-weight:800}.pb-stat small{font-size:11px;color:#939393;margin-top:auto;display:flex;align-items:center;gap:5px}.pb-stat:hover{border-color:#bcbcbc;transform:translateY(-1px)}.pb-stat.needs strong{color:#9b5333}.pb-stat.attention strong{color:#775c28}
.pb-main-split{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:17px;align-items:start}.pb-stack{display:flex;flex-direction:column;gap:13px;min-width:0}.pb-section-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px;padding:0 1px}.pb-section-top h2{font-size:17px;letter-spacing:-.035em;margin:0;color:#343434}.pb-link{font-size:12px;font-weight:700;color:#636363;border:0;background:transparent;display:flex;align-items:center;gap:5px}
.pb-timeline,.pb-quick-block{border-radius:13px;background:#fff;border:1px solid #e9e9e9;overflow:hidden}.pb-timeline-row{background:#fff;padding:14px 16px;width:100%;border:0;border-bottom:1px solid #f2f2f2;display:flex;align-items:center;gap:15px;text-align:left;min-height:70px}.pb-timeline-row:last-child{border-bottom:0}.pb-timeline-row:hover{background:#f9f9f9}.pb-timeline-date{width:70px;flex:none;display:flex;flex-direction:column;gap:2px}.pb-timeline-date b{font-size:12px}.pb-timeline-date small{color:#8f8f8f;font-size:12px}.pb-timeline-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.pb-timeline-copy strong{font-size:13px;letter-spacing:-.015em}.pb-timeline-copy small{font-size:11px;color:#888888;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pb-timeline-icon{color:#a1a1a1}
.pb-quick-list{background:#fff;border:1px solid #e9e9e9;border-radius:13px;overflow:hidden}.pb-quick-list button{display:flex;align-items:center;width:100%;min-height:66px;gap:13px;padding:12px 15px;background:transparent;border:0;border-bottom:1px solid #f2f2f2;text-align:left}.pb-quick-list button:last-child{border:0}.pb-quick-list button:hover{background:#f9f9f9}.pb-quick-list button>svg:first-child{width:19px;color:#585858;flex:none}.pb-quick-list button>span{display:flex;flex-direction:column;flex:1;gap:3px;min-width:0}.pb-quick-list b{font-size:13px}.pb-quick-list small{font-size:11px;color:#929292}.pb-soft-note{display:flex;align-items:center;gap:9px;padding:14px 16px;background:#f3f3f3;border:1px solid #e3e3e3;border-radius:12px;color:#646464;font-size:12px;line-height:1.6}.pb-soft-note svg{flex:none}.pb-warning{background:#fff8ed;border-color:#f0dbb8}
.pb-focus-card{background:#353535;color:white;border-radius:15px;padding:27px 28px;min-height:230px}.pb-focus-head{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:700;color:#d7d7d7}.pb-focus-card h2{font-size:27px;line-height:1.17;margin:22px 0 9px;color:#fff}.pb-focus-card p{color:#e1e1e1;margin:8px 0;font-size:14px}.pb-focus-card .btn{margin-top:19px;background:#fff;color:#383838}
.pb-view-links{display:flex;gap:7px;align-items:center;border-bottom:1px solid #e9e9e9;margin-bottom:17px;padding-bottom:12px}.pb-view-links button{padding:10px 16px;background:transparent;border:1px solid transparent;border-radius:9px;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:#7d7d7d}.pb-view-links button.selected,.pb-view-links button:hover{background:#efefef;color:#454545;border-color:#e3e3e3}
.pb-toolrow{display:flex;align-items:center;gap:9px;margin:0 0 13px}.pb-search{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e6e6e6;border-radius:10px;height:44px;padding:0 13px;min-width:210px;flex:1;color:#909090}.pb-search input{height:100%;width:100%;border:0;outline:0;background:transparent;font-size:13px}.pb-toolrow select{height:44px;min-width:180px;border:1px solid #e6e6e6;border-radius:9px;background:#fff;padding:0 14px;font-size:12px;font-weight:700;color:#5c5c5c}.pb-result-count{white-space:nowrap;color:#8f8f8f;font-size:12px;min-width:55px;text-align:right}
.pb-table-wrap{background:white;border:1px solid #e9e9e9;border-radius:13px;overflow:auto;min-width:0}.pb-table{border-collapse:collapse;width:100%;min-width:1040px}.pb-table th{background:#fbfbfb;color:#989898;text-transform:uppercase;font-size:10px;letter-spacing:.075em;font-weight:780;text-align:left;padding:15px 14px;border-bottom:1px solid #ececec;white-space:nowrap}.pb-table td{vertical-align:middle;padding:16px 14px;border-bottom:1px solid #f0f0f0;font-size:12px}.pb-table tr:last-child td{border-bottom:0}.pb-table tbody tr:hover{background:#fcfcfc}.pb-table td>b{display:block;font-size:12px}.pb-table td>small{display:block;color:#8f8f8f;font-size:11px;margin-top:3px}.pb-table-title{display:flex;flex-direction:column;gap:3px;max-width:280px;min-width:145px}.pb-table-title strong{font-size:13px;color:#363636}.pb-table-title span{font-size:11px;color:#868686}.pb-table-title small{font-size:10px;color:#a4a4a4}.pb-route-text{min-width:130px;max-width:250px;line-height:1.5;font-size:11px;color:#6e6e6e}.pb-route-text span{color:#acacac}.pb-small-tag{font-size:11px;font-weight:700;display:inline-flex;padding:6px 9px;border-radius:8px;white-space:nowrap}.pb-small-tag.assigned{background:#f2f2f2;color:#616161}.pb-small-tag.needs{background:#fff1e5;color:#a66b37}.pb-status-select,.pb-driver-select{max-width:185px;min-width:135px;width:100%;border:1px solid #e1e1e1;background:#fff;border-radius:8px;font-size:11px;font-weight:680;color:#515151;padding:10px 11px;outline-color:#ababab}.pb-driver-select.needs{border-color:#e8c8a5;background:#fffaf4}.pb-status-select.paid{color:#575757;background:#f2f2f2}.pb-status-select.invoiced{color:#245d7b;background:#edf5fa}.pb-status-select.waiting{color:#a06723;background:#fff7e9}.pb-status-select.notstarted{color:#6a7580;background:#f6f6f6}.pb-assignment-more{border:0;background:none;color:#515151;text-decoration:underline;font-size:11px;text-align:left;padding:5px}.pb-note{display:inline-flex;gap:4px;align-items:center;border:1px solid #e7e7e7;border-radius:7px;background:#fff;padding:6px 8px;font-size:11px;color:#6d6d6d}.pb-no-note{color:#c5c5c5}.pb-detail-button{border:1px solid #e7e7e7;background:#fff;border-radius:8px;width:33px;height:33px;display:grid;place-items:center;color:#6a6a6a}.pb-row-action{width:52px}.pb-nowrap{white-space:nowrap}.pb-help{font-size:12px;color:#939393;line-height:1.55;margin:13px 1px}.pb-empty{min-height:220px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#909090;gap:8px}.pb-empty strong{color:#4c4c4c}.pb-empty p{margin:0}
.pb-finance-stats{margin-bottom:18px}.pb-finance-stats .pb-stat{min-height:105px}.pb-finance-stats .pb-stat strong{font-size:30px}
.pb-one-form{padding:0;display:flex;flex-direction:column;gap:18px}.pb-one-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.pb-form-intro h2{font-size:22px;letter-spacing:-.04em;margin:0 0 5px}.pb-form-intro p{margin:0;color:#8f8f8f;font-size:13px}.pb-one-driver{padding:17px 0 6px;border-top:1px solid #ececec}.pb-one-driver h3{font-size:14px;margin:0 0 3px}.pb-one-driver p{font-size:12px;color:#9c9c9c;margin:0 0 10px}.pb-driver-picks{display:flex;flex-wrap:wrap;gap:8px}.pb-driver-picks .checkbox-line{display:inline-flex;border:1px solid #e8e8e8;border-radius:8px;padding:7px 10px;background:#fff;font-size:12px;min-height:32px}.pb-extra-fields{border-top:1px solid #ececec;padding:15px 0}.pb-extra-fields summary{cursor:pointer;font-size:13px;font-weight:750;color:#575757;display:flex;align-items:center;gap:8px}.pb-extra-fields summary span{font-size:11px;color:#909090;font-weight:500}.pb-extra-fields>.pb-one-form-grid{margin-top:17px}.pb-extra-fields .field{margin-top:13px}.pb-form-actions{display:flex;justify-content:flex-end;gap:10px;width:100%}
.pb-absence-row{display:flex;align-items:center;justify-content:space-between;padding:14px 17px;gap:15px;border-top:1px solid #f0f0f0}.pb-absence-row:first-child{border-top:0}.pb-absence-row div{display:flex;flex-direction:column;gap:4px}.pb-absence-row small{color:#959595}.pb-management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.pb-management-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:20px;border:1px solid #e7e7e7;border-radius:13px;background:#fff;text-align:left}.pb-management-grid button svg{color:#5a5a5a;margin-bottom:5px}.pb-management-grid b{font-size:15px}.pb-management-grid small{font-size:12px;color:#929292}.pb-import-region{margin-top:15px}.pb-upload-btn{display:inline-flex;align-items:center;gap:9px;padding:15px 18px;border:1px dashed #b5b5b5;border-radius:10px;background:#fdfdfd;color:#4b4b4b;font-size:13px;font-weight:750;cursor:pointer;margin-top:10px}.pb-import-summary{background:#fff;border:1px solid #e7e7e7;border-radius:13px;padding:22px;margin-top:10px}.pb-import-summary h3{margin:0 0 8px}.pb-import-summary p{font-size:13px;color:#787878}.pb-import-preview{display:flex;flex-direction:column;gap:0;max-height:320px;overflow:auto;border:1px solid #f0f0f0;border-radius:9px}.pb-import-preview>div{padding:9px 13px;border-bottom:1px solid #f0f0f0;display:flex;gap:12px;align-items:center;justify-content:space-between}.pb-import-preview span{font-size:12px;color:#909090}.pb-import-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
/* Keep existing calendar legible without forcing a long scroll */
.pb-portal .calendar .day{min-height:80px;padding:7px}.pb-portal .calendar .cal-grid .day .event{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pb-portal .calendar .cal-head>div{padding:8px 0}.pb-portal .school-cal-day{min-height:74px}.pb-portal .school-calendar{max-height:none}.pb-portal .school-cal-grid{grid-auto-rows:minmax(70px,auto)}
.pb-portal :is(.pb-table-wrap,.pb-main-split,.pb-quick-list) button:focus-visible,.pb-portal input:focus-visible,.pb-portal select:focus-visible{outline:2px solid #858585;outline-offset:2px}
@media(max-width:1100px){.pb-main-split{grid-template-columns:1fr}.pb-portal .main{padding:25px 22px 65px}.pb-portal .topbar{padding-inline:22px}.pb-welcome{align-items:flex-start}}
@media(max-width:700px){.pb-portal .topbar,.pb-portal .sidebar{display:none}.pb-portal .mobilebar{display:flex;align-items:center;justify-content:space-between}.pb-portal .mobilebar .mobile-brand{display:flex;align-items:center;gap:8px;color:#404040;font-size:15px;letter-spacing:-.035em}.pb-portal .mobile-brand .brandmark{width:31px;height:31px;border-radius:9px}.pb-portal .main{padding:20px 13px calc(105px + env(safe-area-inset-bottom))}.pb-welcome{flex-direction:column;gap:13px;margin-bottom:18px}.pb-welcome h1{font-size:28px}.pb-welcome p:not(.pb-eyebrow){font-size:13px}.pb-welcome-actions{width:100%;gap:9px}.pb-welcome-actions .btn{flex:1;font-size:12px;padding:0 10px;white-space:normal}.pb-stats{gap:8px;margin-bottom:22px}.pb-stat{min-height:104px;padding:13px 11px;border-radius:11px}.pb-stat span{font-size:10px;line-height:1.3}.pb-stat strong{font-size:28px}.pb-stat small{font-size:9px}.pb-section-top h2{font-size:16px}.pb-main-split{gap:19px}.pb-task-row{gap:8px}.pb-toolrow{flex-wrap:wrap}.pb-search{flex-basis:100%;min-width:0}.pb-toolrow select{flex:1;min-width:0}.pb-result-count{flex:none}.pb-portal .pb-table-wrap{background:transparent;border:0;overflow:visible}.pb-table{min-width:0}.pb-table thead{display:none}.pb-table tbody{display:grid;gap:10px}.pb-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;border:1px solid #e9e9e9;background:#fff;border-radius:12px;padding:14px}.pb-table td{display:flex;flex-direction:column;align-items:flex-start;border:0;padding:0;min-width:0}.pb-table td:before{content:attr(data-label);color:#a3a3a3;font-size:10px;font-weight:780;text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px}.pb-table td:first-child{grid-column:1/-1;padding-bottom:9px;border-bottom:1px solid #f0f0f0}.pb-table .pb-table-title{max-width:none}.pb-table .pb-route-text{max-width:none}.pb-table td:nth-child(4){grid-column:1/-1}.pb-table td:nth-child(5){grid-column:1/-1}.pb-table td:nth-child(6){grid-column:1/2}.pb-table td:nth-child(7){grid-column:2/3}.pb-table td:nth-child(8){grid-column:1/-1;display:flex;align-items:flex-end}.pb-table td:nth-child(8):before{display:none}.pb-table .pb-detail-button{width:100%;height:37px;justify-content:center}.pb-table .pb-status-select{min-width:0;max-width:100%}.pb-table .pb-driver-select{max-width:100%}.pb-table tr[hidden]{display:none!important}.pb-view-links{overflow-x:auto;white-space:nowrap}.pb-view-links button{padding:9px 12px;flex:none}.pb-one-form-grid{grid-template-columns:1fr}.pb-form-intro h2{font-size:18px}.pb-portal .mobile-bottom{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:calc(66px + env(safe-area-inset-bottom))}.pb-mobile-menu button span{font-size:9px}.pb-management-grid{grid-template-columns:1fr}.pb-focus-card{padding:22px;min-height:200px}.pb-focus-card h2{font-size:22px}.pb-finance-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:360px){.pb-stat{padding:11px 8px}.pb-stat span{font-size:9px}.pb-stat strong{font-size:25px}.pb-welcome-actions{flex-direction:column}.pb-welcome-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.pb-stat{transition:none!important}}

/* ==== portal-finish.css ==== */
/* Panda Bus Medarbejderportal · Design QA, 13.11.2026
   Isolated presentation layer. No changes to authentication or stored data.
   Loaded AFTER panda-dark.css and portal-simple.css to keep light/dark palettes coherent.
*/
:root {
  color-scheme: light;
  --bg:#f6f6f6;--paper:#ffffff;--ink:#2a2a2a;--muted:#646464;--muted2:#777777;
  --line:#e4e4e4;--line2:#d5d5d5;--brand:#565656;--brand2:#434343;
  --wash:#f1f1f1;--radius:12px;
}
html { -webkit-text-size-adjust:100%; }
body { background:var(--bg); color:var(--ink); font-family:"DM Sans",system-ui,-apple-system,sans-serif; font-size:15px; }
.pb-portal .sidebar { background:#fff;border-right-color:var(--line); }
.pb-portal .pb-brand .brandname { color:#323232;letter-spacing:-.035em;font-size:17px;font-weight:800; }
.pb-portal .pb-brand .brandname span { color:#686868;font-size:11px;letter-spacing:.015em; }
.pb-portal .pb-side-label { color:#757575;font-size:11px;letter-spacing:.10em; }
.pb-portal .navitem { color:#565656;font-size:14px;font-weight:650;min-height:46px; }
.pb-portal .navitem:hover { color:#404040;background:#f2f2f2; }
.pb-portal .navitem.active { color:#3e3e3e;background:#ececec; }
.pb-portal .sidebar-bottom { border-color:var(--line); }
.pb-portal .topbar {background:#fff;border-bottom-color:var(--line);}
.pb-portal .topbar .top-name {font-weight:750;font-size:15px;}
.pb-portal .top-eyebrow {font-size:11px;color:#797979;}
.pb-portal .main { max-width:1600px; padding-top:30px; }
.pb-welcome h1 {font-size:clamp(28px,2.5vw,36px);color:#282828;line-height:1.16;letter-spacing:-.042em;}
.pb-welcome p:not(.pb-eyebrow) {font-size:14px;color:#636363;line-height:1.55;}
.pb-eyebrow {font-size:11px;color:#646464;letter-spacing:.10em;}
.pb-stat {min-height:120px;padding:20px 22px;background:#fff;border-color:var(--line);box-shadow:0 2px 8px rgba(54,54,54,.025);}
.pb-stat span {font-size:14px;color:#535353;}
.pb-stat strong {font-size:36px;font-weight:800;color:#333333;letter-spacing:-.045em;}
.pb-stat.needs strong {color:#995131;}
.pb-stat.attention strong {color:#88621e;}
.pb-stat small {font-size:12px;color:#656565;}
.pb-section-top h2 {font-size:18px;color:#323232;font-weight:760;}
.pb-link {font-size:14px;color:#5b5b5b;}
.pb-timeline,.pb-quick-list,.pb-quick-block,.pb-table-wrap {border-color:var(--line);box-shadow:0 2px 8px rgba(54,54,54,.025);}
.pb-timeline-row {min-height:74px;padding:14px 18px;border-bottom-color:#ececec;}
.pb-timeline-row:hover {background:#f6f6f6;}
.pb-timeline-date b,.pb-timeline-copy strong {font-size:14px;color:#323232;}
.pb-timeline-date small,.pb-timeline-copy small {font-size:12px;color:#676767;}
.pb-quick-list button {min-height:70px;border-bottom-color:#ececec;padding:14px 16px;}
.pb-quick-list button:hover {background:#f6f6f6;}
.pb-quick-list b {font-size:14px;color:#313131;}
.pb-quick-list small {font-size:12px;color:#676767;}
.pb-soft-note {font-size:13px;color:#525252;background:#f0f0f0;border-color:#dedede;}
.pb-focus-card {background:#353535;}
.pb-focus-card p {color:#e5e5e5;}
.pb-view-links button {font-size:14px;color:#616161;}
.pb-view-links button.selected,.pb-view-links button:hover {background:#ededed;color:#424242;}
.pb-search {border-color:#cacaca;background:#fff;min-height:46px;}
.pb-search input {font-size:14px;color:#323232;}
.pb-search input::placeholder {color:#747474;opacity:1;}
.pb-toolrow select {min-height:46px;border-color:#cacaca;color:#424242;font-size:14px;}
.pb-result-count {color:#6e6e6e;font-size:13px;}
.pb-table {min-width:1030px;}
.pb-table th {font-size:11px;font-weight:750;color:#5d5d5d;background:#f6f6f6;padding:15px 16px;letter-spacing:.045em;border-color:#e4e4e4;}
.pb-table td {font-size:14px;line-height:1.5;padding:17px 16px;border-bottom-color:#e8e8e8;color:#313131;}
.pb-table td>b {font-size:14px;color:#303030;}
.pb-table td>small {font-size:12px;color:#676767;}
.pb-table-title strong {font-size:14px;color:#333333;}
.pb-table-title span {font-size:12px;color:#696969;}
.pb-table-title small {font-size:11px;color:#737373;}
.pb-route-text {font-size:13px;color:#545454;}
.pb-small-tag {font-size:12px;}
.pb-status-select,.pb-driver-select {font-size:13px;padding:10px 12px;border-color:#c6c6c6;min-height:42px;}
.pb-note {font-size:13px;color:#4c4c4c;border-color:#c9c9c9;background:#f9f9f9;}
.pb-detail-button {width:39px;height:39px;border-color:#c9c9c9;color:#565656;}
.pb-detail-button:hover,.pb-note:hover {background:#f1f1f1;}
.pb-help {font-size:13px;color:#6b6b6b;}
.pb-form-intro h2,.pb-one-driver h3,.pb-one-form .field label {color:#323232;}
.pb-one-form .field label {font-size:13px;font-weight:700;}
.pb-one-form .field input,.pb-one-form .field textarea {font-size:15px;}
.pb-one-form .field input::placeholder,.pb-one-form .field textarea::placeholder {color:#757575;}
.pb-empty strong {color:#4a4a4a;}
.pb-header-create,.pb-portal .btn.primary {background:#4f4f4f;color:#fff;border-color:#4f4f4f;}
.pb-header-create:hover,.pb-portal .btn.primary:hover {background:#3f3f3f;color:#fff;border-color:#3f3f3f;}
.pb-portal .btn:not(.primary):not(.danger) {border-color:#cccccc;}
.pb-portal .btn {font-size:14px;min-height:42px;border-radius:10px;}
.pb-portal button, .pb-portal a, .pb-portal select {touch-action:manipulation;}
.pb-portal :is(button,input,select,textarea,a):focus-visible {outline:3px solid #6b6b6b!important;outline-offset:2px!important;}
.pb-portal :is(.pb-stat,.pb-timeline-row,.pb-quick-list button,.pb-view-links button) {transition:background-color .12s,border-color .12s;}
.pb-portal .pb-quick-list button:focus-visible {position:relative;z-index:2;}
.pb-portal .pb-mobile-menu button {font-size:12px;}
.pb-portal .pb-mobile-menu button span {font-size:11px;}
.pb-portal .pb-stat:focus-visible {outline:3px solid #6b6b6b;}
/* Prevent duplicate primary actions on dashboard on wide screens. The prominent
   page-level button remains; global header action is available on other pages. */
@media(min-width:701px) {
 .pb-portal:has(.pb-welcome .pb-welcome-actions .btn.primary) .topbar .pb-header-create {display:none;}
}
@media(max-width:700px) {
 .pb-portal .main {padding:20px 14px calc(102px + env(safe-area-inset-bottom));}
 .pb-welcome h1 {font-size:29px;}
 .pb-welcome p:not(.pb-eyebrow){font-size:14px;}
 .pb-stat {padding:14px 11px;min-height:110px;}
 .pb-stat span {font-size:12px;}
 .pb-stat strong {font-size:27px;}
 .pb-stat small {font-size:11px;}
 .pb-stats {gap:8px;}
 .pb-portal .pb-table-wrap {background:transparent;border:none;box-shadow:none;}
 .pb-table tbody tr {background:#fff;border-color:#e4e4e4;padding:16px;}
 .pb-table td {font-size:14px;}
 .pb-table td:before {font-size:11px;color:#6c6c6c;}
 .pb-table .pb-route-text {font-size:14px;}
 .pb-search input {font-size:15px;}
 .pb-portal .mobilebar {background:#fff;border-bottom:1px solid var(--line);}
 .pb-portal .mobilebar .mobile-brand {color:#393939;}
 .pb-portal .mobile-bottom {background:#fff;border-top:1px solid var(--line);}
 .pb-portal .mobile-bottom button.active {color:#424242;background:#efefef;}
 .pb-portal .mobile-bottom button span {font-size:10px;}
}
/* One coherent dark theme. All page-specific surfaces, labels and fields come
   from the same set of tokens; do not combine white cards with pale text. */


@media(prefers-reduced-motion:reduce){.pb-portal *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
/* Mobile trips: the wide desktop table MUST not retain its min-width. Each
   row becomes a compact, readable card rather than a 1030px-wide table. */
@media(max-width:700px){
 .pb-portal .pb-table {display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;table-layout:auto!important;}
 .pb-portal .pb-table tbody {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;min-width:0!important;}
 .pb-portal .pb-table tbody tr {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 14px!important;width:100%!important;max-width:100%!important;padding:16px!important;min-height:0!important;}
 .pb-portal .pb-table td {display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;width:auto!important;min-width:0!important;height:auto!important;max-width:100%!important;grid-column:auto!important;padding:0!important;border:0!important;}
 .pb-portal .pb-table td:before {margin:0 0 4px!important;line-height:1.2!important;}
 .pb-portal .pb-table td:first-child {grid-column:1/-1!important;padding:0 0 12px!important;border-bottom:1px solid #e6e6e6!important;}
 .pb-portal .pb-table td:nth-child(2) {grid-column:1!important;}
 .pb-portal .pb-table td:nth-child(3) {grid-column:2!important;}
 .pb-portal .pb-table td:nth-child(4) {grid-column:1/-1!important;}
 .pb-portal .pb-table td:nth-child(5) {grid-column:1/-1!important;}
 .pb-portal .pb-table td:nth-child(6) {grid-column:1!important;}
 .pb-portal .pb-table td:nth-child(7) {grid-column:2!important;}
 .pb-portal .pb-table td:nth-child(8) {grid-column:1/-1!important;align-items:stretch!important;}
 .pb-portal .pb-table td:nth-child(8):before {display:none!important;}
 .pb-portal .pb-table .pb-detail-button {width:100%!important;min-height:39px!important;}
 .pb-portal .pb-table .pb-route-text {min-width:0!important;max-width:none!important;overflow-wrap:anywhere!important;}
 .pb-portal .pb-table .pb-table-title {min-width:0!important;}
 .pb-portal .pb-table .pb-status-select,.pb-portal .pb-table .pb-driver-select {max-width:100%!important;width:100%!important;min-width:0!important;}
 .pb-portal .pb-table tr[hidden] {display:none!important;}
}

/* Legacy modules: explicitly repair text that inherited fixed light-mode colors
   inside the darker panels (inbox, PDF orders, driver administration). */

/* Sign-in is rendered outside .pb-portal; keep its typography legible too. */
.auth-form .brandname {font-weight:800;letter-spacing:-.02em;}
.auth-form .field label {font-size:13px;font-weight:700;}
.auth-form p {font-size:14px;line-height:1.55;}
.auth-form .input {font-size:15px;}
.auth-form .btn {font-size:14px;}


/* === UI polish pass · 2026-11-13 ===
   Goal: make the portal feel calmer, more modern and easier to read.
   No data logic changed. */
.pb-portal {
  --pb-field-bg:#ffffff;
  --pb-field-border:#d3d3d3;
  --pb-field-border-strong:#b2b2b2;
  --pb-field-text:#2f2f2f;
  --pb-field-muted:#7a7a7a;
  --pb-field-shadow:0 1px 2px rgba(43,43,43,.05);
  --pb-surface-shadow:0 10px 26px rgba(40,40,40,.05);
}

.pb-portal .pb-stat,
.pb-portal .pb-table-wrap,
.pb-portal .pb-timeline,
.pb-portal .pb-quick-list,
.pb-portal .pb-quick-block,
.pb-portal .panel,
.pb-portal .school-card,
.pb-portal .queue-card,
.pb-portal .quick-item,
.pb-portal .tripcard,
.pb-portal .calendar,
.pb-portal .cal-detail,
.pb-portal .drawer,
.pb-portal .dialog {
  border-radius:16px!important;
  box-shadow:var(--pb-surface-shadow)!important;
}

.pb-portal .pb-view-links {
  gap:8px;
  padding-bottom:14px;
  margin-bottom:18px;
}
.pb-portal .pb-view-links button {
  min-height:42px;
  border-radius:12px;
  padding:0 15px;
  border:1px solid transparent;
  font-weight:700;
}
.pb-portal .pb-view-links button:hover,
.pb-portal .pb-view-links button.selected {
  box-shadow:0 4px 12px rgba(65,65,65,.08);
}

.pb-portal .pb-toolrow {
  gap:10px;
  margin-bottom:16px;
}
.pb-portal .pb-search,
.pb-portal .pb-toolrow select,
.pb-portal .pb-status-select,
.pb-portal .pb-driver-select,
.pb-portal .input,
.pb-portal .select,
.pb-portal select,
.auth-form .input {
  appearance:none;
  -webkit-appearance:none;
  background-color:var(--pb-field-bg)!important;
  color:var(--pb-field-text)!important;
  border:1px solid var(--pb-field-border)!important;
  border-radius:12px!important;
  box-shadow:var(--pb-field-shadow);
  transition:border-color .12s ease, box-shadow .12s ease, background-color .12s ease, transform .12s ease;
}

.pb-portal .pb-toolrow select,
.pb-portal .pb-status-select,
.pb-portal .pb-driver-select,
.pb-portal .select,
.pb-portal select,
.pb-portal .input[type="date"],
.pb-portal .input[type="time"] {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.25 7 9l4-3.75' fill='none' stroke='%23566f5f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 12px center!important;
  background-size:14px 14px!important;
  padding-right:38px!important;
}
.pb-portal .input:not([type="date"]):not([type="time"]),
.pb-portal .textarea,
.auth-form .input {
  background-image:none!important;
}

.pb-portal .pb-search {
  min-height:48px;
  padding-inline:14px;
}
.pb-portal .pb-search input {
  font-size:14px;
}

.pb-portal .pb-toolrow select {
  min-height:48px!important;
  font-size:14px!important;
  font-weight:700!important;
  min-width:190px;
}
.pb-portal .pb-status-select,
.pb-portal .pb-driver-select {
  min-height:44px!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.2;
  min-width:160px;
  padding-top:10px!important;
  padding-bottom:10px!important;
}
.pb-portal .pb-driver-select.needs {
  border-color:#deb78d!important;
  background-color:#fffaf5!important;
  color:#8b5c21!important;
}
.pb-portal .pb-status-select.notstarted {
  background-color:#f6f6f6!important;
  color:#5d5d5d!important;
  border-color:#d7d7d7!important;
}
.pb-portal .pb-status-select.waiting {
  background-color:#fff6ea!important;
  color:#975e1a!important;
  border-color:#edd3ac!important;
}
.pb-portal .pb-status-select.invoiced {
  background-color:#edf5fc!important;
  color:#225b7a!important;
  border-color:#c4dcee!important;
}
.pb-portal .pb-status-select.paid {
  background-color:#f5f5f5!important;
  color:#565656!important;
  border-color:#d4d4d4!important;
}

.pb-portal :is(.pb-toolrow select,.pb-status-select,.pb-driver-select,.input,.select,textarea,input:not([type=checkbox]):not([type=radio])):hover {
  border-color:var(--pb-field-border-strong)!important;
}
.pb-portal :is(.pb-toolrow select,.pb-status-select,.pb-driver-select,.input,.select,textarea,input:not([type=checkbox]):not([type=radio])):focus,
.pb-portal :is(.pb-toolrow select,.pb-status-select,.pb-driver-select,.input,.select,textarea,input:not([type=checkbox]):not([type=radio])):focus-visible,
.auth-form .input:focus,
.auth-form .input:focus-visible {
  border-color:#9b9b9b!important;
  box-shadow:0 0 0 4px rgba(107,107,107,.12)!important;
  outline:none!important;
}

.pb-portal .pb-table th {
  font-size:11px;
  letter-spacing:.08em;
}
.pb-portal .pb-table td {
  font-size:14px;
}
.pb-portal .pb-table tbody tr:hover td {
  background:#fafafa;
}
.pb-portal .pb-table .pb-detail-button {
  border-radius:12px;
}
.pb-portal .pb-note {
  border-radius:10px;
}
.pb-portal .btn {
  font-weight:700;
  border-radius:12px;
}
.pb-portal .btn.small {
  border-radius:10px;
}

/* Dark mode: remove the old glossy/glowing feeling and keep controls legible. */


@media(max-width:700px){
  .pb-portal .pb-toolrow {
    gap:8px;
  }
  .pb-portal .pb-toolrow select,
  .pb-portal .pb-status-select,
  .pb-portal .pb-driver-select {
    min-width:0;
  }
  .pb-portal .pb-table tbody tr {
    border-radius:15px!important;
  }
}

/* === Total modern polish · 2026-11-13 v3 ===
   Cleaner overall look, calmer surfaces, better filters, more modern forms. */
.pb-portal {
  --pb-page-max:1680px;
}
.pb-portal .main{max-width:var(--pb-page-max)!important}
.pb-portal .topbar{
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}
.pb-portal .sidebar{
  box-shadow:inset -1px 0 0 rgba(48,48,48,.03);
}
.pb-portal .navitem,
.pb-portal .mobile-bottom button{
  font-weight:700!important;
}
.pb-portal .navitem{border-radius:12px!important}
.pb-portal .pb-welcome h1,
.pb-portal .page-title{
  letter-spacing:-.05em!important;
}
.pb-portal .pb-welcome p:not(.pb-eyebrow),
.pb-portal .subline,
.pb-portal .pb-help,
.pb-portal .pb-result-count,
.pb-portal .line-meta{
  color:#727272!important;
}
.pb-portal .pb-toolrow{
  align-items:stretch;
}
.pb-portal .pb-result-count{
  display:flex;
  align-items:center;
  min-height:48px;
  padding:0 2px;
}
.pb-portal .pb-search svg,
.pb-portal .search svg{
  color:#7a7a7a!important;
}
.pb-portal .pb-table-wrap{
  overflow:auto;
}
.pb-portal .pb-table th,
.pb-portal .data-table th{
  position:sticky;
  top:0;
  z-index:1;
}
.pb-portal .pb-table tbody tr,
.pb-portal .data-table tbody tr{
  transition:background-color .12s ease, transform .12s ease;
}
.pb-portal .pb-table tbody tr:hover,
.pb-portal .data-table tbody tr:hover{
  transform:translateY(-1px);
}
.pb-portal .pb-table td,
.pb-portal .data-table td{
  vertical-align:middle;
}
.pb-portal .pb-small-tag,
.pb-portal .pill{
  border-radius:999px!important;
  font-weight:700!important;
  padding-inline:10px!important;
}
.pb-portal .field label,
.pb-portal .pb-one-form .field label,
.pb-portal .auth-form .field label{
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:-.01em;
}
.pb-portal .drawer-head,
.pb-portal .drawer-footer,
.pb-portal .drawer-body{
  padding-left:26px!important;
  padding-right:26px!important;
}
.pb-portal .drawer-head{
  background:#fcfcfc;
}
.pb-portal .drawer-head h2,
.pb-portal .form-section,
.pb-portal .pb-form-intro h2{
  letter-spacing:-.04em!important;
}
.pb-portal .field input,
.pb-portal .field select,
.pb-portal .field textarea,
.pb-portal .pb-one-form .field input,
.pb-portal .pb-one-form .field textarea,
.pb-portal .pb-one-form .field select{
  font-size:14px!important;
}
.pb-portal .pb-driver-pick,
.pb-portal .checkbox-line{
  border-radius:13px!important;
}
.pb-portal .pb-driver-pick span{font-weight:700!important}
.pb-portal .pb-driver-pick small{font-size:11px!important}
.pb-portal .pb-note,
.pb-portal .pb-detail-button,
.pb-portal .note-icon{
  box-shadow:none!important;
}
.pb-portal .toolbar,
.pb-portal .tabs,
.pb-portal .monthcontrols,
.pb-portal .search{
  align-items:center;
}
.pb-portal .monthcontrols strong{
  font-size:15px!important;
}
.pb-portal .tab,
.pb-portal .tabs .tab,
.pb-portal .board-switch button,
.pb-portal .pb-view-links button{
  font-weight:700!important;
}



@media (max-width:700px){
  .pb-portal .drawer-head,
  .pb-portal .drawer-footer,
  .pb-portal .drawer-body{
    padding-left:18px!important;
    padding-right:18px!important;
  }
  .pb-portal .pb-search,
  .pb-portal .search{
    min-height:46px!important;
  }
  .pb-portal .pb-result-count{
    min-height:auto;
    padding:0;
  }
}

/* ============================================================
   PANDA BUS · KØRSELSOVERSIGT V5 · 13. NOVEMBER 2026
   Two clear categories. Compact month-grouped trip list.
   Uniform modern typography on desktop, mobile and dark mode.
   ============================================================ */
.pb-unified-v5{
  --pb-ink:#2b2b2b;
  --pb-slate:#6e6e6e;
  --pb-light:#979797;
  --pb-line:#e9e9e9;
  --pb-surface:#fff;
  --pb-faint:#f7f7f7;
  --pb-accent:#484848;
  --pb-accentbg:#f3f3f3;
  font-family:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--pb-ink);
  max-width:1490px;
  margin:0 auto;
  padding-bottom:80px;
  letter-spacing:-.014em;
  -webkit-font-smoothing:antialiased;
}
.pb-unified-v5 *{box-sizing:border-box}
.pb-unified-v5 button,.pb-unified-v5 input,.pb-unified-v5 select{
  font-family:inherit!important;
  letter-spacing:inherit;
}
.pb-unified-header{
  display:flex;align-items:flex-end;justify-content:space-between;gap:22px;
  margin:0 0 28px;
}
.pb-unified-eyebrow{font-size:10px;letter-spacing:.13em;font-weight:800;color:#909090;margin-bottom:10px}
.pb-unified-header h1{font-size:clamp(28px,3.2vw,38px);font-weight:790;letter-spacing:-.063em;line-height:1.15;margin:0 0 7px;color:var(--pb-ink)}
.pb-unified-header p{font-size:13px;font-weight:500;line-height:1.5;color:var(--pb-slate);margin:0}
.pb-unified-create{display:flex;gap:9px;align-items:center}
.pb-unified-create .btn{font-size:13px!important;min-height:43px!important;padding:0 17px!important;border-radius:12px!important;box-shadow:0 4px 12px rgba(65,65,65,.09)}
.pb-kind-tabs{display:flex;align-items:stretch;gap:5px;border-bottom:1px solid #e4e4e4;min-height:53px;margin-bottom:20px;overflow-x:auto;scrollbar-width:none}
.pb-kind-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;padding:0 16px 12px;display:flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;cursor:pointer;font-size:13px;font-weight:690;color:#818181;transition:color .17s,border-color .17s}
.pb-kind-tabs button:hover{color:#525252}
.pb-kind-tabs button.active{color:#414141;border-bottom-color:#575757;font-weight:790}
.pb-kind-tabs button svg{width:16px;height:16px}
.pb-kind-tabs button span{display:inline-flex;justify-content:center;min-width:25px;background:#f1f1f1;padding:3px 6px;border-radius:7px;color:#8e8e8e;font-size:10px;font-weight:800}
.pb-kind-tabs button.active span{background:#eeeeee;color:#575757}
.pb-workspace-top{display:grid;gap:12px;margin:0 0 19px}
.pb-workspace-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.pb-unified-search{height:47px;display:flex;align-items:center;gap:11px;min-width:220px;max-width:620px;flex:1 1 340px;padding:0 15px;border:1px solid var(--pb-line);background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(40,40,40,.025)}
.pb-unified-search svg{width:17px;height:17px;flex:0 0 17px;color:#8b8b8b;opacity:.9}
.pb-unified-search:focus-within{border-color:#9b9b9b;box-shadow:0 0 0 4px rgba(88,88,88,.11)}
.pb-unified-search input{width:100%;height:100%;padding:0;border:0!important;background:transparent!important;outline:none!important;box-shadow:none!important;font-size:13px!important;font-weight:520;color:#303030}
.pb-unified-search input::placeholder{color:#9f9f9f;font-weight:500;opacity:1}
.pb-period-filter{position:relative;display:flex;align-items:center;height:47px;border:1px solid var(--pb-line);background:#fff;border-radius:12px;padding:0 10px 0 14px;box-shadow:0 2px 8px rgba(40,40,40,.025);gap:9px}
.pb-period-filter>svg{width:16px;height:16px;color:#8e8e8e;flex:0 0 16px}
.pb-period-filter select{border:0!important;box-shadow:none!important;background-color:transparent!important;min-height:42px!important;width:145px;appearance:none;-webkit-appearance:none;font-size:12px!important;font-weight:720;color:#4d4d4d;padding:0 25px 0 0!important;outline:none!important;cursor:pointer}
.pb-period-filter:focus-within{border-color:#9b9b9b;box-shadow:0 0 0 4px rgba(88,88,88,.11)}
.pb-view-toggle,.pb-scale-toggle{display:inline-flex;align-items:center;padding:4px;background:#f2f2f2;border:1px solid #e9e9e9;border-radius:12px;gap:3px}
.pb-view-toggle{margin-left:auto;min-height:47px}
.pb-view-toggle button,.pb-scale-toggle button{display:inline-flex;gap:7px;align-items:center;justify-content:center;padding:0 15px;min-height:36px;white-space:nowrap;border:0;background:transparent;color:#818181;font-size:12px;font-weight:740;border-radius:9px;cursor:pointer;transition:color .15s,background .15s}
.pb-view-toggle button svg{height:15px;width:15px}
.pb-view-toggle button.active,.pb-scale-toggle button.active{background:#fff;color:#414141;box-shadow:0 1px 5px rgba(54,54,54,.08)}
.pb-calendar-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pb-period-controls{display:flex;align-items:center;gap:8px}
.pb-period-controls>button{display:grid;place-items:center;width:35px;height:35px;border:1px solid #e8e8e8;border-radius:10px;background:#fff;color:#5d5d5d;cursor:pointer}
.pb-period-controls>button:hover{background:#f9f9f9}
.pb-period-controls strong{min-width:165px;text-align:center;font-size:14px;font-weight:760;letter-spacing:-.025em;text-transform:capitalize}
.pb-period-controls>button.pb-jump-today{display:inline-flex;width:auto;padding:0 12px;font-size:11px;font-weight:750}
.pb-trip-list{background:#fff;border:1px solid #e8e8e8;border-radius:19px;overflow:visible;box-shadow:0 12px 35px rgba(39,39,39,.035)}
.pb-list-head{display:flex;justify-content:space-between;align-items:center;padding:21px 24px 19px;gap:15px;border-bottom:1px solid #eeeeee;background:#fff}
.pb-list-head h2{margin:0;color:#383838;font-size:17px;font-weight:790;letter-spacing:-.04em}
.pb-list-head p{margin:4px 0 0;font-size:11px;color:#919191;font-weight:570}
.pb-list-counter{font-size:11px;color:#989898;font-weight:700;white-space:nowrap}
.pb-month-group+.pb-month-group{border-top:1px solid #efefef}
.pb-month-head{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;background:#fafafa;border-bottom:1px solid #ededed}
.pb-month-head h2{margin:0;color:#686868;text-transform:capitalize;font-size:11px;font-weight:790;letter-spacing:.015em}
.pb-month-head span{font-size:10px;color:#a5a5a5;font-weight:650}
.pb-month-items{background:#fff}
.pb-trip-row{display:grid;grid-template-columns:42px 103px minmax(0,1fr) 145px auto;gap:14px;align-items:center;min-height:84px;padding:13px 22px;border-bottom:1px solid #f1f1f1;transition:background .13s ease;position:relative}
.pb-trip-row:last-child{border-bottom:none}
.pb-trip-row:hover{background:#fbfbfb}
.pb-row-date{display:grid;align-content:center;justify-items:center;width:40px;height:51px;background:#f4f4f4;border:1px solid #ececec;border-radius:10px;flex-shrink:0}
.pb-row-date strong{font-weight:800;font-size:18px;line-height:1.13;letter-spacing:-.05em;color:#4e4e4e}
.pb-row-date span{font-size:9px;letter-spacing:.04em;color:#9b9b9b;font-weight:850;margin-top:4px}
.pb-row-time{display:grid;gap:4px;align-content:center;min-width:0}
.pb-row-time strong{font-size:12px;font-weight:800;letter-spacing:-.02em;color:#464646;white-space:nowrap}
.pb-row-time small{font-size:10px;color:#a5a5a5;font-weight:580}
.pb-row-main{min-width:0;display:grid;gap:5px}
.pb-row-primary{display:flex;align-items:center;min-width:0;gap:8px}
.pb-row-kind-icon{display:none;width:27px;height:27px;flex:0 0 27px;place-items:center;border-radius:9px;color:#696969;background:#f1f1f1}
.pb-row-kind-icon.school{color:#5f80a9;background:#eef4fa}
.pb-row-primary>strong{font-size:13.5px;font-weight:790;letter-spacing:-.025em;color:#363636;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pb-row-meta{font-size:11px;line-height:1.5;color:#8c8c8c;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pb-row-route{display:flex;align-items:flex-start;gap:5px;color:#7b7b7b;font-size:10.5px;font-weight:530;min-width:0;line-height:1.45}
.pb-row-route svg{width:12px;height:12px;flex:0 0 12px;margin-top:1px;color:#989898}
.pb-row-route span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.pb-row-edited{padding:3px 6px;background:#fff3dd;color:#b47b2a;border-radius:6px;font-size:9px;font-weight:800;white-space:nowrap}
.pb-row-state{display:flex;justify-content:flex-end}
.pb-status-chip{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;font-size:10px;font-weight:790;padding:6px 10px;border-radius:99px;background:#f3f3f3;color:#8f8f8f;white-space:nowrap}
.pb-status-chip::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:0 0 6px;opacity:.65}
.pb-status-chip.paid{color:#5f5f5f;background:#f3f3f3}
.pb-status-chip.invoiced{color:#3d6d94;background:#eef5fc}
.pb-status-chip.unbilled{color:#986d2a;background:#fcf5e9}
.pb-status-chip.school{color:#51769b;background:#eef4fa}
.pb-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:116px}
.pb-row-open{display:inline-flex;align-items:center;gap:5px;justify-content:center;border:1px solid #e1e1e1;background:#fff;border-radius:9px;padding:0 11px;height:34px;color:#535353;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap;transition:background .14s,border-color .14s}
.pb-row-open:hover{background:#f5f5f5;border-color:#cbcbcb}
.pb-row-open svg{height:14px;width:14px}
.pb-row-menu{position:relative}
.pb-row-menu summary{width:34px;height:34px;border:1px solid #e9e9e9;border-radius:9px;color:#7a7a7a;display:grid;place-items:center;cursor:pointer;list-style:none;background:#fff}
.pb-row-menu summary::-webkit-details-marker{display:none}
.pb-row-menu[open] summary{border-color:#d3d3d3;background:#f6f6f6;color:#4e4e4e}
.pb-row-menu-content{position:absolute;right:0;top:40px;z-index:15;min-width:190px;display:grid;gap:3px;padding:6px;border:1px solid #e9e9e9;background:#fff;box-shadow:0 13px 35px rgba(35,35,35,.15);border-radius:12px}
.pb-row-menu-content button{display:flex;align-items:center;gap:10px;width:100%;min-height:37px;padding:0 10px;border:0;border-radius:8px;text-align:left;background:transparent;font-size:11px;font-weight:700;color:#515151;cursor:pointer}
.pb-row-menu-content button:hover{background:#f3f3f3}
.pb-row-menu-content button.pb-row-remove{color:#a64b49}
.pb-row-menu-content button.pb-row-remove:hover{background:#fbefee}
.pb-row-menu-content button svg{height:15px;width:15px}
.pb-list-more{padding:24px;text-align:center;background:#fff}
.pb-list-more button{display:inline-flex;align-items:center;gap:8px;border:1px solid #e5e5e5;border-radius:11px;padding:12px 19px;background:#fff;color:#525252;font-size:12px;font-weight:750;cursor:pointer}
.pb-list-more button:hover{background:#f9f9f9}
.pb-list-empty{padding:64px 24px;text-align:center;display:grid;gap:8px;justify-items:center}
.pb-list-empty-icon{display:grid;place-items:center;width:51px;height:51px;background:#f4f4f4;color:#939393;border-radius:16px;margin-bottom:6px}
.pb-list-empty strong{font-size:15px;color:#3e3e3e;letter-spacing:-.03em}
.pb-list-empty p{margin:0;color:#969696;font-size:12px}
.pb-unified-calendar{border:1px solid #e8e8e8;background:#fff;border-radius:19px;overflow:hidden;box-shadow:0 12px 35px rgba(39,39,39,.035)}
.pb-cal-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 22px;border-bottom:1px solid #f0f0f0}
.pb-cal-meta strong{font-size:14px;font-weight:800;color:#414141;letter-spacing:-.03em}
.pb-cal-meta span{font-size:11px;font-weight:600;color:#939393}
.unified-calendar{padding:14px}
.unified-weekdays,.unified-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.unified-weekdays{margin:2px 0 7px}
.unified-weekdays span{text-align:center;font-size:10px;font-weight:850;color:#959595;text-transform:uppercase;padding:7px 0}
.unified-day{display:flex;flex-direction:column;align-items:stretch;min-height:103px;min-width:0;gap:4px;padding:9px;background:#fff;border:1px solid #f0f0f0;border-radius:11px;cursor:pointer;text-align:left}
.unified-day:hover{background:#f9f9f9;border-color:#d5d5d5}
.unified-day.selected{background:#f5f5f5;border-color:#828282;box-shadow:inset 0 0 0 1px #a3a3a3}
.unified-day.outside{opacity:.43;background:#fafafa}
.unified-day-top{display:flex;justify-content:space-between;gap:4px;align-items:center;font-size:11px;color:#545454}
.unified-day-top strong{font-size:12px;font-weight:800}
.unified-day-top small{display:grid;place-items:center;border-radius:7px;background:#efefef;color:#7a7a7a;padding:2px 6px;font-size:9px;font-weight:780}
.unified-day.today .unified-day-top strong{background:#585858;color:#fff;border-radius:7px;min-width:23px;height:23px;display:grid;place-items:center}
.unified-day-labels{display:flex;flex-direction:column;gap:3px;min-width:0}
.unified-cal-event{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-left:2px solid #959595;background:#f3f3f3;color:#626262;border-radius:4px;padding:3px 5px;font-size:9px;font-weight:720}
.unified-cal-event.school{border-color:#81a9d1;background:#eef4fb;color:#50729c}
.unified-day-dots{display:flex;align-items:center;gap:3px;margin-top:auto}
.unified-cal-dot{width:6px;height:6px;border-radius:50%;background:#949494;flex:0 0 6px}
.unified-cal-dot.school{background:#7ca5ca}
.unified-day-panel{padding:22px 24px;border-top:1px solid #efefef;background:#fcfcfc}
.unified-subhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.unified-subhead>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.unified-subhead strong{font-size:15px;font-weight:790;text-transform:capitalize;color:#3a3a3a}
.unified-subhead span{color:#919191;font-size:11px;font-weight:650}
.unified-day-panel>.pb-trip-row{background:#fff;border:1px solid #efefef;border-radius:11px;margin-top:7px}
.unified-empty{font-size:12px;color:#a1a1a1;padding:22px 8px}
.unified-manage{border:1px solid #e9e9e9;border-radius:17px;margin-top:20px;background:#fff;overflow:hidden}
.unified-manage summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:16px 20px;font-size:13px;font-weight:780;color:#4c4c4c;list-style:none}
.unified-manage summary::-webkit-details-marker{display:none}
.unified-manage summary span{margin-left:auto;font-size:11px;color:#949494;font-weight:630}
.unified-manage-body{padding:5px 20px 20px;color:#777777;font-size:12px}
.unified-manage-body>p{line-height:1.6;margin:0 0 14px}
.unified-school-route{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #efefef}
.unified-school-route strong{display:block;font-size:13px;color:#383838}
.unified-school-route small{display:block;margin-top:4px;font-size:11px;color:#9a9a9a}
.unified-school-actions{display:flex;gap:7px;flex-wrap:wrap}
.unified-button{min-height:32px;border-radius:9px;border:1px solid #e5e5e5;color:#525252;font-size:11px;font-weight:740;background:#fff;padding:0 12px;cursor:pointer}
.unified-button:hover{background:#f7f7f7}
.unified-button.delete{color:#b5504a;border-color:#f0dedd}
.unified-manage-body>.btn{margin-top:16px}

@media(max-width:1080px){
 .pb-trip-row{grid-template-columns:39px 76px minmax(0,1fr) 125px auto;gap:10px;padding:13px 15px}
 .pb-row-actions{min-width:105px}
 .pb-row-state{justify-content:flex-end}
 .pb-row-primary>strong{font-size:13px}
 .pb-unified-search{flex-basis:260px}
}
@media(max-width:790px){
 .pb-unified-header{align-items:flex-start}
 .pb-kind-tabs button{padding-left:11px;padding-right:11px}
 .pb-workspace-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
 .pb-unified-search{grid-column:1/-1;max-width:none;width:100%;min-width:0;min-height:47px}
 .pb-period-filter{grid-column:1}
 .pb-view-toggle{grid-column:2;margin-left:0}
 .pb-trip-row{grid-template-columns:39px 69px minmax(0,1fr) auto;gap:9px;min-height:92px}
 .pb-row-state{grid-column:3;grid-row:2;justify-content:flex-start;margin-top:-10px}
 .pb-row-actions{grid-column:4;grid-row:1/span 2;min-width:0;align-self:center}
 .pb-row-open{padding:0 8px}
 .pb-row-main{grid-column:3}
 .pb-row-route{white-space:nowrap}
 .pb-list-head,.pb-month-head{padding-left:16px;padding-right:16px}
 .unified-day{min-height:78px;padding:5px}
 .unified-day-labels{display:none}
 .unified-weekdays,.unified-calendar-days{gap:3px}
}
@media(max-width:520px){
 .pb-unified-v5{padding-bottom:90px}
 .pb-unified-header{gap:12px;margin-bottom:18px}
 .pb-unified-header h1{font-size:29px}
 .pb-unified-header p{font-size:12px}
 .pb-unified-create .btn{font-size:0!important;min-width:43px;padding:0!important;justify-content:center}
 .pb-unified-create .btn svg{width:19px;height:19px}
 .pb-kind-tabs{margin-bottom:15px;gap:0}
 .pb-kind-tabs button{flex:1;font-size:11.5px;gap:5px;padding:0 6px 12px}
 .pb-kind-tabs button span{font-size:9px;padding:3px 5px;min-width:20px}
 .pb-kind-tabs button svg{width:14px;height:14px}
 .pb-workspace-toolbar{gap:8px}
 .pb-period-filter{min-width:0}
 .pb-period-filter select{width:113px;font-size:11px!important}
 .pb-view-toggle button{padding:0 10px;font-size:11px;gap:5px}
 .pb-view-toggle button svg{width:13px;height:13px}
 .pb-period-controls strong{min-width:120px;font-size:12px}
 .pb-calendar-controls{gap:12px}
 .pb-scale-toggle{margin-left:auto}
 .pb-list-head{padding:17px 15px}
 .pb-list-head h2{font-size:15px}
 .pb-list-counter{font-size:10px}
 .pb-month-head{padding:10px 15px}
 .pb-trip-row{grid-template-columns:36px minmax(0,1fr) auto;gap:10px;padding:13px 13px;min-height:96px}
 .pb-row-date{grid-column:1;grid-row:1/span 3;width:36px;height:45px;align-self:start}
 .pb-row-date strong{font-size:16px}
 .pb-row-time{grid-column:2;grid-row:1;display:flex;align-items:baseline;gap:7px}
 .pb-row-time strong{font-size:11px}
 .pb-row-time small{font-size:10px}
 .pb-row-main{grid-column:2;grid-row:2;min-width:0;gap:4px}
 .pb-row-primary>strong{font-size:13px}
 .pb-row-meta{font-size:10px}
 .pb-row-route{font-size:10px}
 .pb-row-state{grid-column:2;grid-row:3;margin-top:2px}
 .pb-status-chip{font-size:9px;padding:5px 8px}
 .pb-row-actions{grid-column:3;grid-row:1/span 3;gap:5px}
 .pb-row-open{font-size:0!important;min-width:32px;width:32px;padding:0!important;display:grid;place-items:center}
 .pb-row-open svg{width:18px;height:18px}
 .pb-row-menu summary{width:31px;height:32px}
 .pb-row-menu-content{right:0}
 .pb-unified-calendar{border-radius:13px}
 .pb-cal-meta{padding:13px 11px}
 .unified-calendar{padding:7px}
 .unified-day{min-height:58px;padding:4px}
 .unified-day-top strong{font-size:10px}
 .unified-day-top small{font-size:8px;padding:1px 4px}
 .unified-day.today .unified-day-top strong{min-width:19px;height:19px}
 .unified-day-panel{padding:16px 11px}
 .unified-school-route{align-items:flex-start;flex-direction:column}
}


/* ==== portal-v6.css ==== */
/* Panda Bus · Visuel finpudsning V6
   Én typografisk retning, tydeligere information, roligere kontroller.
   Ændrer ikke databasen eller loginrettigheder. */
:root{--pb-v6-green:#484848;--pb-v6-ink:#333333;--pb-v6-shadow:0 10px 34px rgba(55,55,55,.055)}
body,button,input,select,textarea{font-family:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
button,input,select,textarea{font-kerning:normal}
button{-webkit-tap-highlight-color:transparent}
.pb-portal .main{max-width:1620px!important;padding-top:36px}
.pb-portal .pb-unified-v5{max-width:1450px;--pb-ink:#323232;--pb-slate:#737373;--pb-line:#e7e7e7}
.pb-portal .pb-unified-header{align-items:center;margin-bottom:24px}
.pb-portal .pb-unified-eyebrow{color:#7b7b7b;font-size:10px;letter-spacing:.16em}
.pb-portal .pb-unified-header h1{font-size:clamp(29px,3.05vw,39px);font-weight:800;letter-spacing:-.062em}
.pb-portal .pb-unified-header p{font-size:13.5px;line-height:1.65;color:#7f7f7f!important}
.pb-portal .pb-unified-create .btn{min-height:46px!important;padding:0 18px!important;font-size:12px!important;font-weight:740!important;box-shadow:0 7px 17px rgba(69,69,69,.12)}
.pb-portal .pb-kind-tabs{gap:8px;border-bottom-color:#e5e5e5;margin-bottom:23px}
.pb-portal .pb-kind-tabs button{min-height:50px;padding:5px 17px 13px;color:#7b7b7b;font-size:13.5px!important;font-weight:720;letter-spacing:-.02em}
.pb-portal .pb-kind-tabs button.active{color:#454545;border-color:#525252}
.pb-portal .pb-kind-tabs button span{border-radius:100px;min-width:25px;padding:4px 7px;font-size:10px}
.pb-portal .pb-kind-tabs button.active span{background:#ebebeb;color:#505050}
.pb-portal .pb-workspace-top{gap:13px;margin-bottom:19px}
.pb-portal .pb-workspace-toolbar{gap:10px}
.pb-portal .pb-unified-search{min-height:48px;max-width:none;flex:1 1 300px;border-color:#e5e5e5;border-radius:13px;padding:0 16px;box-shadow:0 2px 10px rgba(61,61,61,.025)}
.pb-portal .pb-unified-search input{font-size:13px!important;font-weight:600;letter-spacing:-.012em}
.pb-portal .pb-unified-search input::placeholder{color:#939393;opacity:1}
.pb-portal .pb-period-filter{min-height:48px;border-radius:13px;box-shadow:none}
.pb-portal .pb-period-filter select{font-size:12px!important;font-weight:720}
.pb-portal .pb-view-toggle{min-height:48px;margin-left:0;gap:3px}
.pb-portal .pb-view-toggle button{min-height:37px;padding-inline:15px;font-size:12px}
.pb-portal .pb-view-toggle button.active{color:#4e4e4e}
.pb-portal .pb-filter-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:105px;height:48px;border:1px solid #e4e4e4;border-radius:12px;padding:0 13px;background:#fff;color:#5d5d5d;font-family:inherit;font-size:12px;font-weight:750;white-space:nowrap;cursor:pointer;transition:background .13s,border-color .13s,box-shadow .13s}
.pb-portal .pb-filter-trigger:hover,.pb-portal .pb-filter-trigger.active{background:#f4f4f4;border-color:#c2c2c2}
.pb-portal .pb-filter-trigger b{min-width:19px;height:19px;display:grid;place-items:center;border-radius:99px;background:#e7e7e7;color:#4f4f4f;font-size:10px}
.pb-portal .pb-filter-trigger>svg:last-child{color:#939393;transition:transform .16s}
.pb-portal .pb-filter-trigger.active>svg:last-child{transform:rotate(180deg)}
.pb-portal .pb-advanced-filters{border:1px solid #e7e7e7;border-radius:15px;background:#fcfcfc;padding:18px 19px 14px;box-shadow:0 7px 24px rgba(60,60,60,.035)}
.pb-portal .pb-filter-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;align-items:end}
.pb-portal .pb-filter-fields label{display:grid;gap:7px;min-width:0}
.pb-portal .pb-filter-fields label>span{font-size:11px;font-weight:760;color:#656565;letter-spacing:.005em}
.pb-portal .pb-filter-fields input,.pb-portal .pb-filter-fields select{width:100%;min-height:43px!important;border:1px solid #e1e1e1;border-radius:10px!important;padding:0 12px;background:#fff;color:#3c3c3c;font-size:12px!important;font-weight:650;min-width:0;box-shadow:none!important}
.pb-portal .pb-filter-fields select{padding-right:32px!important;background-position:right 9px center!important}
.pb-portal .pb-filter-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px}
.pb-portal .pb-filter-foot>span{font-size:11px;color:#929292}
.pb-portal .pb-filter-foot button{display:inline-flex;align-items:center;gap:7px;background:none;border:0;color:#5e5e5e;font-size:11px;font-weight:750;cursor:pointer;padding:6px 0}
.pb-portal .pb-filter-foot button:hover{text-decoration:underline}
.pb-portal .pb-trip-list{border-radius:17px;overflow:visible;box-shadow:var(--pb-v6-shadow)}
.pb-portal .pb-list-head{border-radius:17px 17px 0 0;padding:22px 26px 20px}
.pb-portal .pb-list-head h2{font-size:17px;font-weight:800;color:#393939}
.pb-portal .pb-list-head p{font-size:12px!important;font-weight:550;color:#858585}
.pb-portal .pb-list-counter{font-size:11px;color:#8a8a8a}
.pb-portal .pb-month-head{padding:13px 26px;background:#f9f9f9}
.pb-portal .pb-month-head h2{font-size:12px;letter-spacing:.025em;font-weight:800;color:#656565}
.pb-portal .pb-month-head span{font-size:11px;color:#7f7f7f}
.pb-portal .pb-trip-row{grid-template-columns:44px 117px minmax(0,1fr) minmax(115px,155px) auto;gap:17px;padding:17px 26px;min-height:94px;border-color:#f0f0f0}
.pb-portal .pb-trip-row:hover{background:#f9f9f9}
.pb-portal .pb-row-date{width:43px;height:51px;border-radius:11px;background:#f2f2f2;border-color:#eaeaea}
.pb-portal .pb-row-date strong{font-size:19px;color:#4d4d4d}
.pb-portal .pb-row-date span{font-size:10px;font-weight:800;color:#7c7c7c}
.pb-portal .pb-row-time strong{font-size:13px;font-weight:800;color:#434343}
.pb-portal .pb-row-time small{font-size:11px;color:#868686}
.pb-portal .pb-row-main{gap:5px}
.pb-portal .pb-row-primary>strong{font-size:15px;font-weight:790;color:#363636;line-height:1.36}
.pb-portal .pb-row-meta{font-size:11.5px;line-height:1.4;color:#818181}
.pb-portal .pb-row-route{font-size:11.5px;line-height:1.4;color:#7c7c7c}
.pb-portal .pb-row-route svg{width:14px;height:14px;color:#8d8d8d}
.pb-portal .pb-status-chip{font-size:11px;font-weight:750;padding:8px 11px}
.pb-portal .pb-row-actions{min-width:130px}
.pb-portal .pb-row-open,.pb-portal .pb-row-menu summary{height:38px;border-radius:10px;border-color:#e4e4e4}
.pb-portal .pb-row-open{font-size:11.5px;font-weight:800;padding:0 13px}
.pb-portal .pb-row-menu summary{width:38px}
.pb-portal .pb-row-menu-content{top:42px;min-width:195px;border-radius:13px;box-shadow:0 16px 37px rgba(47,47,47,.14)}
.pb-portal .pb-row-menu-content button{font-size:12px}
.pb-portal .pb-unified-calendar{border-radius:17px;box-shadow:var(--pb-v6-shadow)}
.pb-portal .pb-cal-meta{padding:20px 25px}
.pb-portal .pb-cal-meta strong{font-size:14px}
.pb-portal .pb-cal-meta span{font-size:11.5px}
.pb-portal .unified-calendar{padding:15px}
.pb-portal .unified-day{min-height:111px;border-radius:10px}
.pb-portal .unified-day-top strong{font-size:12px}
.pb-portal .unified-cal-event{font-size:10px;line-height:1.4;border-radius:6px;padding:4px 5px}
.pb-portal .unified-subhead strong{font-size:16px}
.pb-portal .unified-day-panel>.pb-trip-row{border-radius:12px}
.pb-portal .unified-manage{border-radius:15px}
.pb-portal .unified-manage summary{font-size:13px;padding:19px 22px}
.pb-portal .unified-school-route strong{font-size:14px}
.pb-portal .drawer .field input,.pb-portal .drawer .field select,.pb-portal .drawer .field textarea{border-radius:11px!important}
.pb-portal .drawer .field label{font-size:12px!important;font-weight:760!important}
.pb-portal .pb-one-form .pb-form-intro h2{font-size:23px;letter-spacing:-.04em}
.pb-portal .pb-one-form-grid{gap:16px}
.pb-portal .pb-extra-fields{border-radius:13px}
.pb-portal .navitem{min-height:48px}
.pb-portal .pb-topbar{height:71px}
@media(max-width:1150px){
 .pb-portal .pb-filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
 .pb-portal .pb-trip-row{grid-template-columns:43px 105px minmax(0,1fr) 130px auto;gap:11px;padding:15px 17px}
 .pb-portal .pb-row-actions{min-width:106px}
}
@media(max-width:790px){
 .pb-portal .main{padding-top:27px}
 .pb-portal .pb-workspace-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px}
 .pb-portal .pb-unified-search{grid-column:1/-1;max-width:none;width:100%;min-height:48px}
 .pb-portal .pb-period-filter{grid-column:auto}
 .pb-portal .pb-filter-trigger{min-width:98px}
 .pb-portal .pb-view-toggle{grid-column:auto}
 .pb-portal .pb-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pb-portal .pb-trip-row{grid-template-columns:42px 89px minmax(0,1fr) auto;gap:9px;padding:14px 15px}
 .pb-portal .pb-row-main{grid-column:3}
 .pb-portal .pb-row-state{grid-column:3;grid-row:2;margin-top:-9px;justify-content:flex-start}
 .pb-portal .pb-row-actions{grid-column:4;grid-row:1/span 2;min-width:0}
 .pb-portal .pb-row-primary>strong{font-size:13px}
}
@media(max-width:580px){
 .pb-portal .main{padding:25px 13px 100px}
 .pb-portal .pb-unified-header h1{font-size:30px}
 .pb-portal .pb-unified-header p{font-size:12.5px!important}
 .pb-portal .pb-unified-create .btn{min-width:46px!important;min-height:46px!important;padding:0!important;font-size:0!important}
 .pb-portal .pb-unified-create .btn svg{width:20px;height:20px}
 .pb-portal .pb-kind-tabs{gap:0;margin-bottom:17px}
 .pb-portal .pb-kind-tabs button{font-size:12px!important;min-height:47px;gap:5px;padding:0 6px 11px}
 .pb-portal .pb-kind-tabs button span{font-size:10px}
 .pb-portal .pb-workspace-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:9px}
 .pb-portal .pb-unified-search{grid-column:1/-1;min-width:0}
 .pb-portal .pb-period-filter{grid-column:1;grid-row:2;min-width:0;flex:1}
 .pb-portal .pb-period-filter select{width:100%;font-size:12px!important}
 .pb-portal .pb-filter-trigger{grid-column:2;grid-row:2;min-width:102px}
 .pb-portal .pb-view-toggle{grid-column:1/-1;grid-row:3;margin-left:0;width:100%;justify-content:stretch}
 .pb-portal .pb-view-toggle button{flex:1;justify-content:center;font-size:12px;padding:0 10px;min-height:40px}
 .pb-portal .pb-advanced-filters{padding:15px 13px 13px;border-radius:13px}
 .pb-portal .pb-filter-fields{gap:12px 10px}
 .pb-portal .pb-filter-fields label>span{font-size:11px}
 .pb-portal .pb-filter-fields select,.pb-portal .pb-filter-fields input{min-height:45px!important;font-size:12px!important}
 .pb-portal .pb-filter-foot{align-items:flex-start}
 .pb-portal .pb-filter-foot>span{font-size:10px;max-width:48%}
 .pb-portal .pb-list-head{padding:17px 16px}
 .pb-portal .pb-list-head h2{font-size:17px}
 .pb-portal .pb-list-head p{font-size:11px!important}
 .pb-portal .pb-month-head{padding:12px 15px}
 .pb-portal .pb-month-head h2{font-size:12px}
 .pb-portal .pb-trip-row{grid-template-columns:37px minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:5px 11px;padding:15px 12px;min-height:116px}
 .pb-portal .pb-row-date{grid-column:1;grid-row:1/span 3;width:37px;height:47px}
 .pb-portal .pb-row-date strong{font-size:17px}
 .pb-portal .pb-row-time{grid-column:2;grid-row:1;display:flex;gap:8px;align-items:center;min-height:17px}
 .pb-portal .pb-row-time strong{font-size:12px}
 .pb-portal .pb-row-time small{font-size:11px}
 .pb-portal .pb-row-main{grid-column:2;grid-row:2;gap:5px}
 .pb-portal .pb-row-primary>strong{font-size:14px;line-height:1.35;white-space:normal;overflow:visible;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .pb-portal .pb-row-meta{font-size:11px;white-space:normal;line-height:1.4}
 .pb-portal .pb-row-route{font-size:11px}
 .pb-portal .pb-row-state{grid-column:2;grid-row:3;margin-top:5px}
 .pb-portal .pb-status-chip{font-size:10px;padding:6px 9px}
 .pb-portal .pb-row-actions{grid-column:3;grid-row:1/span 3;min-width:0;gap:4px}
 .pb-portal .pb-row-open,.pb-portal .pb-row-menu summary{width:34px;min-width:34px;height:35px;padding:0}
 .pb-portal .pb-row-open{font-size:0!important}
 .pb-portal .pb-row-open svg{width:18px;height:18px}
 .pb-portal .pb-row-menu-content{right:0}
 .pb-portal .pb-cal-meta{padding:14px 13px}
 .pb-portal .pb-cal-meta span{font-size:10px}
 .pb-portal .pb-calendar-controls{gap:10px}
 .pb-portal .pb-period-controls{flex:1;gap:5px}
 .pb-portal .pb-period-controls strong{min-width:108px;font-size:12px}
 .pb-portal .pb-period-controls>button{width:34px;height:34px;flex-shrink:0}
 .pb-portal .unified-day{min-height:58px;padding:5px}
 .pb-portal .unified-weekdays span{font-size:10px}
 .pb-portal .unified-day-top strong{font-size:11px}
 .pb-portal .unified-day-panel{padding:17px 12px}
}


/* ==== portal-v7-bright.css ==== */
/* Panda Bus · V7 / Lysere, mere indbydende design
   Ikke en ny hjemmeside: kun et konsistent lyst/sage design oven på V6.
   Dark-mode bruger en mild, lysere palet fremfor næsten sort. */
:root {
  --bg:#f8f8f8;
  --paper:#ffffff;
  --ink:#373737;
  --line:#e8e8e8;
  --line2:#e1e1e1;
  --wash:#f5f5f5;
  --brand:#5e5e5e;
  --brand2:#4c4c4c;
  --muted:#787878;
  --pb-v6-shadow:0 12px 33px rgba(64,64,64,.075);
}
html,body {background:#f8f8f8!important;}
body {font-synthesis:none;}
.pb-portal .main {
  background:radial-gradient(ellipse 640px 330px at 100% 0%,rgba(229,229,229,.19),transparent 78%);
}
.pb-portal .sidebar {
  background:#ffffff!important;
  border-color:#e8e8e8!important;
}
.pb-portal .topbar,.pb-portal .mobilebar,.pb-portal .mobile-bottom {
  background:#ffffff!important;
  border-color:#e8e8e8!important;
}
.pb-portal .navitem {color:#656565!important;}
.pb-portal .navitem:hover {background:#f3f3f3!important;color:#4f4f4f!important;}
.pb-portal .navitem.active {background:#eeeeee!important;color:#515151!important;}
.pb-portal .pb-welcome:not(.compact) {
  padding:24px 28px 25px;
  background:linear-gradient(118deg,#f3f3f3 0%,#f9f9f9 62%,#fdfbf0 100%);
  border:1px solid #e6e6e6;
  border-radius:20px;
  margin:0 0 22px;
  box-shadow:0 8px 28px rgba(94,94,94,.035);
}
.pb-portal .pb-welcome h1 {color:#434343!important;}
.pb-portal .pb-welcome p:not(.pb-eyebrow) {color:#727272!important;}
.pb-portal .pb-eyebrow {color:#6d6d6d!important;}
.pb-portal .pb-stat {
  background:#ffffff!important;
  border:1px solid #e9e9e9!important;
  border-radius:17px!important;
  box-shadow:0 8px 23px rgba(64,64,64,.042)!important;
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.pb-portal .pb-stat.needs {background:linear-gradient(135deg,#fffaf5,#fffdf9)!important;border-color:#f4e6da!important;}
.pb-portal .pb-stat.attention {background:linear-gradient(135deg,#fffaf0,#fffef7)!important;border-color:#f1e9d5!important;}
.pb-portal .pb-stat.finance {background:linear-gradient(135deg,#f7f7f7,#fdfdfd)!important;border-color:#e6e6e6!important;}
.pb-portal .pb-stat:hover {border-color:#b0b0b0!important;box-shadow:0 12px 27px rgba(68,68,68,.075)!important;}
.pb-portal .pb-stat span {color:#676767!important;}
.pb-portal .pb-stat strong {color:#444444!important;}
.pb-portal .pb-stat.needs strong {color:#a96841!important;}
.pb-portal .pb-stat.attention strong {color:#9a761f!important;}
.pb-portal .pb-stat small {color:#767676!important;}
.pb-portal .pb-timeline,.pb-portal .pb-quick-list,.pb-portal .pb-quick-block,
.pb-portal .pb-trip-list,.pb-portal .pb-unified-calendar,.pb-portal .panel,
.pb-portal .quick-item,.pb-portal .pb-table-wrap {
  border-color:#e7e7e7!important;
  box-shadow:0 11px 30px rgba(63,63,63,.045)!important;
}
.pb-portal .pb-timeline-row:hover,.pb-portal .pb-quick-list button:hover,.pb-portal .pb-trip-row:hover {
  background:#f8f8f8!important;
}
.pb-portal .btn.primary,.pb-portal .pb-header-create {
  background:#626262!important;
  border-color:#626262!important;
  color:#fff!important;
  box-shadow:0 7px 18px rgba(84,84,84,.13)!important;
}
.pb-portal .btn.primary:hover,.pb-portal .pb-header-create:hover {
  background:#4f4f4f!important;
}
.pb-portal .pb-kind-tabs button.active {color:#616161!important;border-color:#616161!important;}
.pb-portal .pb-kind-tabs button.active span {background:#ececec!important;color:#535353!important;}
.pb-portal .pb-status-chip.paid {background:#f0f0f0!important;color:#5a5a5a!important;}
.pb-portal .pb-status-chip.invoiced {background:#eaf4ff!important;color:#326d9c!important;}
.pb-portal .pb-status-chip.unbilled {background:#fff1d9!important;color:#946923!important;}
.pb-portal .pb-status-chip.school {background:#e6f1fe!important;color:#326a96!important;}
.pb-portal .pb-row-date {background:#f5f5f5!important;border-color:#e7e7e7!important;}
.pb-portal .pb-row-date strong {color:#535353!important;}
.pb-portal .pb-month-head {background:#f9f9f9!important;}
.pb-portal .pb-list-head {background:#fff!important;}
.pb-portal .pb-unified-search,.pb-portal .pb-period-filter,.pb-portal .pb-filter-trigger,
.pb-portal .pb-advanced-filters {border-color:#e5e5e5!important;background:#fff!important;}
.pb-portal .pb-filter-trigger:hover,.pb-portal .pb-filter-trigger.active {background:#f3f3f3!important;}
.pb-portal .pb-one-form :is(input,select,textarea),
.pb-portal .drawer :is(input,select,textarea) {border-color:#dbdbdb!important;}

/* Even on a system with dark-mode enabled, avoid pure black and overly dark forest green. */

@media(max-width:750px){
  .pb-portal .pb-welcome:not(.compact) {padding:19px 17px 19px;border-radius:17px;gap:15px;}
  .pb-portal .pb-welcome-actions {flex-wrap:wrap;}
}

/* Simple, accessible theme toggle. The label stays readable on light and dark themes. */
.pb-portal .pb-theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:38px;min-width:38px;height:38px;border-radius:11px!important;flex-shrink:0}
.pb-portal .pb-theme-toggle .pb-theme-night-icon{display:none}
html[data-pb-theme="night"] .pb-portal .pb-theme-toggle .pb-theme-night-icon{display:inline-flex}
html[data-pb-theme="night"] .pb-portal .pb-theme-toggle .pb-theme-day-icon{display:none}
html[data-pb-theme="night"] .pb-portal .pb-theme-toggle{background:#5b5b5b!important;border-color:#868686!important;color:#f4f4f4!important}
html[data-pb-theme="day"] .pb-portal .pb-theme-toggle{background:#fff!important;border-color:#e4e4e4!important;color:#555555!important}
.pb-portal .pb-theme-toggle:focus-visible{outline:3px solid #c7c7c7;outline-offset:2px}

/* === V8 refinements: home filter + prettier finance === */
.pb-section-top-home{align-items:flex-start;gap:14px}
.pb-section-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.pb-mini-toggle{display:inline-flex;align-items:center;gap:6px;padding:4px;background:#f2f2f2;border:1px solid #e5e5e5;border-radius:999px}
.pb-mini-toggle button{border:0;background:transparent;color:#606060;font:inherit;font-size:12px;font-weight:700;padding:8px 12px;border-radius:999px;cursor:pointer;transition:background-color .14s,color .14s,box-shadow .14s}
.pb-mini-toggle button.selected{background:#fff;color:#4a4a4a;box-shadow:0 1px 2px rgba(44,44,44,.08)}
.pb-mini-toggle button:hover{color:#414141}
.pb-timeline-row.is-school .pb-timeline-copy strong::after{content:'Skole';display:inline-flex;align-items:center;margin-left:8px;padding:3px 8px;border-radius:999px;background:#f4f4f4;color:#6f6f6f;font-size:10px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;vertical-align:middle}

.pb-finance-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 26px;margin-bottom:18px;border:1px solid #e6e6e6;border-radius:20px;background:linear-gradient(135deg,#fbfbfb 0%,#f6f6f6 55%,#f5f5f5 100%);box-shadow:0 10px 24px rgba(46,46,46,.04)}
.pb-finance-hero h1{margin:4px 0 10px;font-size:42px;letter-spacing:-.05em;color:#363636}
.pb-finance-hero p:not(.pb-eyebrow){margin:0;max-width:720px;color:#6a6a6a;font-size:15px;line-height:1.55}
.pb-finance-hero-actions{display:flex;align-items:center;gap:10px;flex:none}
.pb-finance-panel{margin-top:4px;padding:18px;border:1px solid #e4e4e4;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(45,45,45,.04)}
.pb-finance-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px}
.pb-finance-panel-head h2{margin:0 0 6px;font-size:20px;letter-spacing:-.04em;color:#383838}
.pb-finance-panel-head p{margin:0;color:#797979;font-size:13px}
.pb-finance-count{padding:10px 14px;border-radius:999px;background:#f6f6f6;border:1px solid #e8e8e8;color:#464646;font-size:12px;font-weight:800;white-space:nowrap}
.pb-finance-panel .pb-toolrow{margin-bottom:16px}
.pb-finance-panel .pb-table-wrap{border-radius:16px;overflow:hidden}
.pb-finance-panel .pb-table thead th{background:#fafafa}
.pb-finance-panel .pb-table tbody tr:hover{background:#fafafa}
.pb-finance-panel .pb-status-select{min-width:190px}

@media (max-width:900px){
  .pb-finance-hero,.pb-finance-panel-head,.pb-section-top-home{flex-direction:column;align-items:stretch}
  .pb-section-actions{justify-content:space-between}
}
@media (max-width:700px){
  .pb-finance-hero{padding:20px 18px;border-radius:18px}
  .pb-finance-hero h1{font-size:31px}
  .pb-finance-panel{padding:14px}
  .pb-mini-toggle{width:100%;justify-content:flex-start;overflow:auto}
  .pb-section-actions{width:100%}
}
