:root{--navy:#0b2341;--red:#e32636;--bg:#f4f6f8;--ink:#1e2e42;--muted:#65758a;--line:#e0e6ed;--green:#187552;--amber:#9a6518;--shadow:0 8px 30px #0b23410a;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a,input,textarea,select{outline-offset:3px}button:focus-visible,a:focus-visible{outline:3px solid #498ed3}button{border:0}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--navy)}h1,h2,h3,h4,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;margin-bottom:9px}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:16px;margin-bottom:7px}p{line-height:1.55}small,.muted{color:var(--muted)}small{font-size:12px}svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;border-radius:7px;font-weight:650;background:white;border:1px solid var(--line);color:var(--ink);text-decoration:none;white-space:nowrap}.btn.primary{background:var(--red);color:white;border-color:var(--red)}.btn.navy{background:var(--navy);color:#fff;border-color:var(--navy)}.btn.ghost{background:transparent}.btn.small{min-height:35px;padding:7px 11px;font-size:12px}.btn.danger{color:#b4202d}.btn:hover{filter:brightness(.97)}.iconbtn{height:42px;width:42px;display:inline-flex;justify-content:center;align-items:center;background:transparent;border:1px solid var(--line);border-radius:8px;color:var(--ink)}.flex{display:flex;align-items:center;gap:12px}.between{display:flex;align-items:center;justify-content:space-between;gap:12px}.wrap{flex-wrap:wrap}.stack{display:grid;gap:16px}.grid{display:grid;gap:20px}.cols2{grid-template-columns:1fr 1fr}.cols3{grid-template-columns:repeat(3,1fr)}.cols4{grid-template-columns:repeat(4,1fr)}.span2{grid-column:1/-1}.card{background:white;border:1px solid var(--line);border-radius:11px;padding:22px;box-shadow:var(--shadow)}.card-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.card-header h2,.card-header h3{margin:0}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:1.8px;color:var(--muted);margin-bottom:12px}.tag{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;background:#eef2f6;color:#53647a;font-size:11px;font-weight:700;line-height:1.4}.tag.green{background:#e5f4ed;color:#13704c}.tag.amber{background:#fff2dc;color:#946113}.tag.red{background:#feeaec;color:#b52736}.tag.blue{background:#eaf1fb;color:#2a629e}.progress{height:6px;border-radius:8px;background:#e9edf2;overflow:hidden}.progress>span{display:block;height:100%;background:#234e76;border-radius:8px}.progress.red>span{background:var(--red)}.number{font-size:32px;font-weight:750;letter-spacing:-1.2px;line-height:1.1}.note{padding:13px 16px;border-radius:7px;background:#edf3f9;color:#3b5572;font-size:12px;line-height:1.5;border:1px solid #dde7f2}.note.warn{background:#fff6e6;color:#855c1e;border-color:#f4e1ba}.note.red{background:#fff0f1;color:#a32534;border-color:#f0ced3}.divider{border:0;border-top:1px solid var(--line);margin:20px 0}.empty{text-align:center;padding:38px 18px;color:var(--muted)}.empty svg{width:32px;height:32px;margin-bottom:12px}.page-title{margin-bottom:26px}.page-title p{color:var(--muted);margin:0}.page-title .eyebrow{margin-bottom:9px}.toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px}.tabs{display:flex;gap:4px;flex-wrap:wrap}.tabs button{background:transparent;color:var(--muted);padding:9px 12px;border-radius:6px;min-height:40px;font-weight:600}.tabs button.active{background:#e7edf4;color:var(--navy)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);padding:13px 12px;border-bottom:1px solid var(--line);background:#fafbfd;white-space:nowrap}td{padding:15px 12px;border-bottom:1px solid #edf0f4;vertical-align:middle}tr:last-child td{border-bottom:0}td strong{font-size:13px}tr.clickable:hover{background:#f8fafc;cursor:pointer}.table-card{padding:0;overflow:hidden}.table-card .card-header{padding:20px 22px;margin:0}.row-card{padding:16px 0;border-bottom:1px solid var(--line)}.row-card:last-child{border-bottom:0}.list-icon{height:38px;width:38px;border-radius:8px;background:#edf2f7;display:flex;align-items:center;justify-content:center;color:#4e6c8e;flex-shrink:0}.list-icon.red{background:#fff0f1;color:var(--red)}.grow{flex:1;min-width:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}label.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650}input:not([type=checkbox],[type=range]),select,textarea{width:100%;min-height:45px;padding:10px 12px;border:1px solid #ccd6e1;border-radius:7px;color:var(--ink);background:white}textarea{min-height:100px;resize:vertical}input[type=checkbox]{width:19px;height:19px;accent-color:var(--navy);flex-shrink:0}input[type=range]{width:100%;accent-color:var(--navy)}.check{display:flex;align-items:center;gap:9px;min-height:42px;font-size:13px}.form-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding-top:20px;margin-top:22px;border-top:1px solid var(--line)}.help{font-size:11px;font-weight:400;color:var(--muted)}.pill-select{padding:7px!important;min-height:36px!important;font-size:12px!important}.count{background:var(--red);color:white;font-size:10px;padding:1px 5px;border-radius:10px}.avatar{display:flex;align-items:center;justify-content:center;border-radius:50%;width:35px;height:35px;background:#dbe6f2;color:#1d3e60;font-size:12px;font-weight:700;flex-shrink:0}.brand{display:flex;align-items:center;gap:11px;font-size:16px;line-height:1.1;font-weight:800;letter-spacing:.2px}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:6px;font-weight:500}.bolt{width:31px;height:38px;color:var(--red)}.app{display:flex;min-height:100vh}.sidebar{width:222px;background:var(--navy);color:#b5c5d6;flex-shrink:0;position:fixed;top:0;bottom:0;display:flex;flex-direction:column;padding:26px 15px 18px;z-index:20}.sidebar .brand{padding:0 10px;color:white;margin-bottom:32px}.sidebar .brand small{color:#91a6be}.nav-label{padding:0 14px;margin:15px 0 8px;font-size:9px;text-transform:uppercase;letter-spacing:1.8px;color:#7e97b3}.sidebar nav{overflow-y:auto;flex:1}.nav-item{width:100%;text-align:left;display:flex;align-items:center;gap:11px;background:none;color:#b5c5d6;padding:11px 13px;border-radius:7px;font-size:12px;min-height:41px;margin-bottom:3px}.nav-item svg{height:17px;width:17px}.nav-item.active{background:#ffffff12;color:white;border-left:3px solid var(--red);padding-left:10px}.nav-item:hover{background:#ffffff0c;color:white}.sidebar-footer{border-top:1px solid #ffffff15;margin-top:14px;padding-top:17px}.sidebar-footer small{color:#8ca1b9}.workspace{margin-left:222px;min-width:0;width:calc(100% - 222px)}.app-header{height:76px;background:white;border-bottom:1px solid var(--line);padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:15}.app-header select{width:auto;min-width:195px;max-width:280px;font-size:12px;min-height:38px;background:#f8fafc;border-color:#e5eaf0}.header-role{font-size:11px;color:var(--muted)}.content{padding:29px 32px 38px;max-width:1700px;margin:auto}.demo-band{background:#edf1f6;color:#65768a;padding:7px 32px;display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.3px;border-bottom:1px solid var(--line)}.metric{padding:20px}.metric .eyebrow{font-size:9px;letter-spacing:1.1px}.metric .number{margin:13px 0 11px}.metric svg{width:18px;height:18px;color:#6e89a4}.metric small{font-size:10px}.project-cell{display:flex;align-items:center;gap:10px}.project-square{width:33px;height:36px;background:#eaf0f7;display:flex;align-items:center;justify-content:center;color:#45617e;border-radius:7px}.attention-item{display:flex;align-items:flex-start;gap:10px;padding:13px 0;border-bottom:1px solid #edf0f4}.attention-item:last-child{border:0}.attention-dot{width:7px;height:7px;border-radius:50%;background:var(--red);margin-top:6px;flex-shrink:0}.attention-dot.amber{background:#dda047}.attention-item p{font-size:12px;line-height:1.5;margin-bottom:2px}.attention-item small{font-size:10px}.work-chart{display:flex;gap:12px;align-items:flex-end;height:130px;padding-top:15px}.chart-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:9px;height:100%;justify-content:flex-end}.chart-bars{display:flex;gap:4px;align-items:flex-end;width:100%;height:90px;justify-content:center}.chart-bars span{width:25%;max-width:26px;background:#bdd0e3;border-radius:3px 3px 0 0}.chart-bars span.actual{background:var(--navy)}.chart-col small{font-size:9px}.legend{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:var(--muted)}.legend:before{content:'';width:7px;height:7px;background:var(--navy);border-radius:2px}.legend.light:before{background:#bdd0e3}.field-app .workspace{margin-left:0;width:100%}.field-app .app-header{height:73px}.field-app .content{max-width:1120px;padding-bottom:105px}.field-app .brand{font-size:15px}.field-app .brand small{font-size:8px}.field-app .demo-band{padding-left:max(24px,calc((100vw - 1056px)/2));padding-right:max(24px,calc((100vw - 1056px)/2))}.field-hero{background:var(--navy);color:white;border:0;position:relative;overflow:hidden}.field-hero:after{content:'';position:absolute;width:170px;height:170px;transform:rotate(35deg);border:30px solid #ffffff05;right:-30px;top:-50px;pointer-events:none}.field-hero .eyebrow,.field-hero small{color:#b5c5d6}.field-hero h2{font-size:26px;margin-bottom:10px}.action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.action-card{text-align:left;padding:22px 20px;background:white;border:1px solid var(--line);border-radius:10px;min-height:144px;color:var(--navy)}.action-card svg{width:27px;height:27px;margin-bottom:20px;color:#385e84}.action-card strong{display:block;font-size:16px;margin-bottom:5px}.action-card small{display:block;font-size:12px;font-weight:400}.action-card:hover{border-color:#9fb6ce;box-shadow:var(--shadow)}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid var(--line);display:flex;justify-content:center;padding:8px 12px calc(8px + env(safe-area-inset-bottom));z-index:20;gap:12px}.bottom-nav button{background:transparent;color:var(--muted);min-height:48px;min-width:70px;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px}.bottom-nav button.active{color:var(--red);font-weight:700}.login{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}.login-story{background:var(--navy);padding:56px;display:flex;flex-direction:column;justify-content:space-between;color:white;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;bottom:-180px;right:-170px;width:520px;height:520px;border:80px solid #ffffff04;transform:rotate(35deg);pointer-events:none}.login-story .brand{color:white}.login-story .brand small{color:#a8bdd1}.login-story h1{font-size:50px;line-height:1.08;letter-spacing:-2px;font-weight:650;max-width:480px}.login-story p{color:#a6bbd0;max-width:360px;font-size:15px}.login-story .redline{height:4px;width:44px;background:var(--red);margin:25px 0}.login-story footer{font-size:10px;letter-spacing:1.1px;color:#8299b2}.login-panel{display:flex;align-items:center;justify-content:center;padding:36px}.login-inner{width:100%;max-width:420px}.login-inner h1{font-size:28px;margin-top:10px}.account{width:100%;padding:15px;text-align:left;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:9px;margin:10px 0;color:var(--ink)}.account.selected{border-color:var(--navy);box-shadow:0 0 0 1px var(--navy);background:#f7f9fc}.account .radio{width:17px;height:17px;border:1px solid #bdc9d6;border-radius:50%;margin-left:auto;flex-shrink:0}.account.selected .radio{border:5px solid var(--navy)}.account strong{font-size:14px}.account small{display:block;margin-top:4px;font-size:11px}.login-foot{text-align:center;font-size:10px;color:var(--muted);margin-top:20px;line-height:1.7}.login-toplabel{font-size:10px;text-transform:uppercase;letter-spacing:1.6px;font-weight:750;color:#7389a0}.login-rule{margin:26px 0 16px;display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted)}.login-rule:before,.login-rule:after{content:'';height:1px;flex:1;background:var(--line)}.modal-backdrop{position:fixed;inset:0;background:#07172cb0;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(2px)}.modal{background:var(--bg);border-radius:13px;max-width:790px;width:100%;max-height:92vh;overflow:auto;box-shadow:0 24px 80px #0003}.modal.wide{max-width:1050px}.modal-head{padding:20px 24px;background:white;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:2}.modal-head h2{margin:0;font-size:19px}.modal-body{padding:24px}.toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);z-index:100;background:var(--navy);color:#fff;padding:14px 20px;border-radius:9px;box-shadow:0 8px 24px #0003;max-width:90vw;font-size:13px}.toast.error{background:#a62231}.signature{display:block;width:100%;height:170px;border:1px dashed #9eb0c3;border-radius:8px;background:white;touch-action:none}.signature-img{max-height:85px;max-width:100%;background:white;border:1px solid var(--line);border-radius:6px}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.photo-grid img{width:100%;height:100px;object-fit:cover;border-radius:7px}.checklist-row{display:grid;grid-template-columns:1fr 160px;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.checklist-row label{font-size:13px}.schedule-days{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));gap:10px;overflow:auto}.day-column{background:#eef2f6;padding:10px;border-radius:9px;min-height:220px}.day-column h4{font-size:12px;margin:2px 0 4px}.schedule-task{background:white;border:1px solid var(--line);border-left:3px solid #476d92;border-radius:6px;padding:11px;margin-top:12px;font-size:11px;cursor:pointer}.schedule-task strong{display:block;margin-bottom:9px;font-size:12px;line-height:1.5}.schedule-task small{font-size:10px;display:block;margin:6px 0}.schedule-task .tag{font-size:9px}.budget-line{margin:18px 0}.budget-line .between{font-size:12px;margin-bottom:8px}.big-result{padding:26px;background:var(--navy);color:white;border-radius:10px}.big-result small{color:#adc3db}.big-result .number{font-size:46px;margin:12px 0}.activity-row{padding:14px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.6}.activity-row small{font-size:10px}.permissions-table td,.permissions-table th{padding:10px}.mobile-menu{display:none}.desktop-only{display:initial}.mobile-only{display:none}.print-sheet{padding:32px;background:white;line-height:1.5}.print-sheet .brand{margin-bottom:24px}.print-sheet h1{margin-top:20px}.print-sheet table{font-size:11px}.print-sheet .watermark{font-size:11px;letter-spacing:2px;color:#a12030;text-transform:uppercase}.presenter{height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:#dfe6ed}.presenter-bar{background:#fff;min-height:66px;display:flex;align-items:center;justify-content:space-between;padding:10px 22px;gap:12px;border-bottom:1px solid #cdd7e1;flex-shrink:0;z-index:50}.presenter-brand{font-size:13px;font-weight:750;display:flex;align-items:center;gap:10px;white-space:nowrap}.presenter-brand img{height:28px;width:28px}.presenter-brand small{display:block;font-size:9px;letter-spacing:1.5px;text-transform:uppercase;font-weight:500;margin-top:3px}.device-tabs{padding:3px;background:#eef2f6;border-radius:8px;display:flex;gap:3px}.device-tabs button{min-height:35px;border-radius:5px;background:transparent;padding:7px 13px;font-size:11px;color:#53677d;display:flex;align-items:center;gap:7px}.device-tabs button.active{background:white;color:var(--navy);box-shadow:0 1px 4px #0001}.device-tabs svg{height:15px;width:15px}.presenter-main{flex:1;min-height:0;padding:0;display:flex;align-items:stretch;justify-content:center;position:relative;overflow:hidden}.device-frame{width:100%;height:100%;overflow:hidden;position:relative;background:#fff;transition:width .2s}.device-frame.tablet{width:820px;border:8px solid #25394f;border-radius:22px;margin:14px 0;height:calc(100% - 28px);box-shadow:0 18px 50px #223a5626}.device-frame.phone{width:398px;border:7px solid #25394f;border-radius:28px;margin:14px 0;height:calc(100% - 28px);box-shadow:0 18px 50px #223a5626}.device-frame iframe{width:100%;height:100%;border:0;display:block}.tour-strip{background:white;border-bottom:1px solid #ccd7e2;padding:16px 24px;display:grid;grid-template-columns:1fr auto;gap:25px;box-shadow:0 3px 12px #00000004;z-index:30}.tour-strip .eyebrow{margin-bottom:4px;font-size:9px}.tour-strip h3{margin:0 0 6px}.tour-strip p{margin:0;max-width:950px;font-size:12px;color:var(--muted)}.tour-progress{display:flex;gap:3px;margin-top:10px}.tour-progress span{height:3px;flex:1;background:#e4eaf1;max-width:35px}.tour-progress span.done{background:var(--red)}.tour-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:310px}.discussion{margin-top:6px!important;font-size:11px!important;color:#8b5e24!important}.presenter-bottom{height:27px;flex-shrink:0;font-size:9px;letter-spacing:.4px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;color:#697b8d;background:#e9eef3}.shell-modal{z-index:110}.shell-modal .modal{max-width:600px}.screen-reader{position:absolute;width:1px;height:1px;overflow:hidden}.danger-border{border-color:#e4bfc4}.no-margin{margin:0}.spacer{height:18px}#report-print{display:none}
@media(min-width:1450px){.content{padding:34px 40px}.app-header{padding:0 40px}.metric{padding:24px}.metric .number{font-size:38px}}
@media(max-width:1100px){.sidebar{width:195px;padding-left:10px;padding-right:10px}.sidebar .brand{font-size:13px}.workspace{margin-left:195px;width:calc(100% - 195px)}.content{padding:24px}.app-header{padding:0 24px}.cols4{gap:12px}.metric{padding:16px}.number{font-size:29px}.cols3{gap:13px}.login-story{padding:40px}.login-story h1{font-size:43px}.header-name{display:none}.presenter-bar{padding:10px 14px}.presenter-brand{font-size:11px}.presenter-brand small{font-size:8px}}
@media(max-width:800px){.sidebar{transform:translateX(-100%);width:235px;transition:transform .2s}.sidebar.open{transform:none;box-shadow:0 0 0 100vw #081a2c66}.workspace{margin:0;width:100%}.mobile-menu{display:inline-flex}.app-header{padding:0 20px;height:67px}.app-header select{min-width:150px;max-width:220px}.header-role{display:none}.content{padding:22px 20px}.cols4{grid-template-columns:repeat(2,1fr)}.cols3{grid-template-columns:1fr}.cols2{grid-template-columns:1fr}.login{grid-template-columns:1fr}.login-story{padding:28px;min-height:auto}.login-story .story-content,.login-story footer{display:none}.login-panel{padding:28px}.login-inner{max-width:500px}.action-grid{grid-template-columns:repeat(3,1fr)}.schedule-days{grid-template-columns:repeat(2,minmax(200px,1fr))}.presenter-brand small{display:none}.presenter-actions .button-label{display:none}.presenter-bar{min-height:60px}.device-tabs button{padding:7px 10px}.tour-strip{padding:12px 16px;gap:10px}.tour-controls{max-width:180px}.tour-strip p{font-size:11px}.tour-controls .btn{min-height:35px;padding:8px 10px;font-size:11px}.presenter-bottom span:last-child{display:none}}
@media(max-width:550px){:root{font-size:16px}h1{font-size:27px}.content{padding:22px 16px}.card{padding:18px}.table-card{padding:0}.card-header{margin-bottom:16px}.app-header{padding:0 16px;gap:8px}.app-header .brand{font-size:12px;gap:7px}.app-header .brand small{font-size:7px;letter-spacing:1.5px}.bolt{width:25px;height:32px}.app-header .flex{gap:7px}.app-header select{min-width:0;width:160px;font-size:11px}.app-header .header-selector{display:none}.iconbtn{width:37px;height:40px}.demo-band{padding:7px 16px!important;font-size:9px}.demo-band span:last-child{display:none}.page-title{margin-bottom:22px}.page-title.between{align-items:flex-start}.page-title .btn{padding:9px 12px;font-size:12px}.page-title p{font-size:13px}.eyebrow{font-size:9px}.action-grid{grid-template-columns:repeat(2,1fr);gap:10px}.action-card{min-height:139px;padding:18px 15px}.action-card strong{font-size:15px}.action-card svg{margin-bottom:15px}.action-card small{font-size:11px}.field-hero h2{font-size:24px}.field-hero .between{align-items:flex-start}.field-hero .btn{font-size:11px;padding:7px 11px;min-height:37px}.field-app .content{padding-bottom:100px}.bottom-nav{gap:0;justify-content:space-around}.bottom-nav button{min-width:55px;font-size:10px}.form-grid{grid-template-columns:1fr}.form-grid .span2{grid-column:auto}input:not([type=checkbox],[type=range]),select,textarea{min-height:48px;font-size:16px}label.field{font-size:13px}.check{font-size:14px;min-height:47px}.btn{min-height:46px;font-size:13px}.form-actions .btn{flex:1}.cols4{gap:10px}.metric{padding:16px}.metric .eyebrow{font-size:9px;letter-spacing:.7px}.metric .number{font-size:28px}.metric small{font-size:10px}.modal-backdrop{padding:8px}.modal{max-height:96vh;border-radius:10px}.modal-head{padding:16px}.modal-body{padding:16px}.modal-head h2{font-size:17px}.checklist-row{grid-template-columns:1fr 125px;gap:9px}.checklist-row label{font-size:13px}.schedule-days{display:block}.day-column{min-height:0;margin-bottom:14px}.desktop-only{display:none!important}.mobile-only{display:block}.mobile-record{padding:16px;border-bottom:1px solid var(--line)}.mobile-record p{font-size:13px}.mobile-record small{font-size:11px}.login-panel{padding:26px 20px}.login-story{padding:23px 20px}.login-inner h1{font-size:27px}.account{min-height:76px}.account strong{font-size:14px}.account small{font-size:11px}.login-inner p{font-size:13px}.login-rule{margin-top:20px}.table-wrap{max-width:100%}.photo-grid{grid-template-columns:repeat(2,1fr)}.presenter-bar{padding:8px;gap:5px;flex-wrap:wrap}.presenter-brand{font-size:10px}.presenter-brand img{height:23px;width:23px}.presenter-actions{gap:5px}.presenter-actions .btn{padding:8px;min-height:35px;font-size:10px}.device-tabs{order:3;justify-content:center;width:100%}.device-tabs button{flex:1;justify-content:center}.device-frame.phone,.device-frame.tablet{max-width:100%;border:0;border-radius:0;margin:0;height:100%}.tour-strip{grid-template-columns:1fr;padding:10px 12px;gap:7px}.tour-controls{max-width:none;justify-content:space-between}.tour-strip h3{font-size:13px}.discussion{display:none}.tour-strip p{font-size:10px}.tour-progress{margin-top:6px}.presenter-bottom{padding:0 10px;font-size:8px}.tag{font-size:10px}.form-actions{position:sticky;bottom:0;background:white;padding:12px 0 4px;z-index:3}.big-result .number{font-size:36px}}
@media print{body>*{display:none!important}#report-print{display:block!important}.print-sheet{padding:0}button{display:none!important}.print-sheet table{font-size:10px}.print-sheet th,.print-sheet td{padding:8px}h1{font-size:24px}@page{margin:16mm}}

.dashboard-grid{grid-template-columns:minmax(0,2.25fr) minmax(240px,1fr)}@media(max-width:1000px){.dashboard-grid{grid-template-columns:1fr}}
.chat-layout{display:grid;grid-template-columns:255px minmax(0,1fr);gap:18px;align-items:start}.chat-threads{padding:14px}.chat-thread{width:100%;border:1px solid transparent;background:white;text-align:left;border-radius:8px;padding:14px 11px;color:var(--ink);margin-bottom:5px}.chat-thread.active{background:#edf3fa;border-color:#cddbec}.chat-thread strong{font-size:13px}.chat-thread small{display:block;margin-top:7px;font-size:10px}.chat-thread p{margin:9px 0 0;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-panel{padding:0;overflow:hidden}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--line);gap:10px}.chat-header h2{font-size:19px;margin:0 0 5px}.chat-header small{font-size:11px}.chat-history{height:390px;overflow-y:auto;padding:20px;background:#eff3f7;display:flex;flex-direction:column;gap:16px}.chat-message{background:white;border:1px solid #dce4ed;border-radius:0 12px 12px 12px;padding:13px 15px;max-width:90%;align-self:flex-start;flex-shrink:0;min-width:130px}.chat-message.own{background:var(--navy);color:white;border-color:var(--navy);border-radius:12px 0 12px 12px;align-self:flex-end}.chat-meta{font-size:11px;display:flex;gap:8px;flex-wrap:wrap}.chat-meta span{font-size:10px;color:#687e96}.chat-message.own .chat-meta span,.chat-message.own small{color:#bfd1e4}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;margin:10px 0}.chat-message small{font-size:9px}.chat-composer{padding:18px;display:grid;gap:12px;background:white}.chat-composer textarea{min-height:78px}.chat-composer small{font-size:10px;color:var(--muted);line-height:1.5}.chat-photos{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.chat-photos button{padding:0;border-radius:6px;overflow:hidden;max-width:160px}.chat-photos img{display:block;width:100%;height:110px;object-fit:cover}.chat-upload{cursor:pointer}.chat-upload:focus-within{outline:3px solid #498ed3}.login-inner .account{padding:12px 15px;margin:8px 0}.login-inner .login-rule{margin-top:18px}
@media(max-width:1000px){.chat-layout{grid-template-columns:1fr}.chat-threads{display:flex;gap:8px;overflow-x:auto}.chat-threads .eyebrow{display:none}.chat-thread{min-width:170px;width:170px;flex-shrink:0;margin:0}.chat-history{height:390px}}
@media(max-width:550px){.chat-header{padding:15px}.chat-header h2{font-size:17px}.chat-header .btn{font-size:11px;padding:7px}.chat-history{height:350px;padding:13px}.chat-message{max-width:96%;padding:12px}.chat-message p{font-size:15px}.chat-meta{font-size:12px}.chat-meta span{font-size:10px}.chat-composer{padding:14px}.chat-composer .between .flex{width:100%;justify-content:space-between}.chat-composer .btn{font-size:12px}.app-header .brand{font-size:11px}.app-header .flex{gap:5px}.app-header .iconbtn{width:33px}.app-header .btn.ghost.small{padding:6px}.chat-thread strong{font-size:13px}.chat-threads{padding:10px}}
/* Responsive containment for the app header, native selects, and project chat. */
.app-header .header-actions{flex:0 0 auto;gap:10px;min-width:0}
.app-header .iconbtn{position:relative;flex:0 0 44px;width:44px;height:44px;padding:0}
.app-header .iconbtn .count{position:absolute;top:2px;right:2px;display:block;min-width:14px;line-height:14px;padding:0 3px;font-size:9px;text-align:center;white-space:nowrap}
.app-header .header-actions>[data-action="connection"]{flex-shrink:0}
.page-title>div{min-width:0}
.page-title:has(#period)>.field{flex:0 0 170px;min-width:170px}
#period{width:100%;min-width:170px;padding-right:36px}
.chat-layout,.chat-panel,.chat-threads,.chat-composer,.chat-header,.chat-history{min-width:0;max-width:100%}
.chat-layout{width:100%}
.chat-panel{width:100%}
.chat-composer>*,.chat-composer .between,.chat-composer .flex{min-width:0;max-width:100%}
.chat-composer textarea{min-width:0;max-width:100%;width:100%}
.chat-photos button{max-width:100%}
.chat-upload{position:relative;flex:0 0 auto;overflow:hidden}
.chat-upload input[type="file"]{position:absolute;left:0;top:0;width:1px;height:1px;min-width:0;max-width:1px;min-height:0;padding:0;border:0;margin:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
@media(max-width:550px){
 .app-header{padding:0 12px;gap:12px}
 .app-header .header-actions{gap:8px}
 .app-header .header-actions .iconbtn,.app-header .mobile-menu{width:44px;height:44px;flex:0 0 44px}
 .app-header .header-actions>[data-action="connection"]{width:44px;height:44px;min-height:44px;padding:0}
 .app-header .header-actions>.avatar{width:32px;height:32px;flex:0 0 32px}
 .app-header>.flex:first-child{min-width:0}
 .page-title.between{flex-direction:column;align-items:stretch;gap:16px}
 .page-title.between>div{width:100%}
 .page-title:has(#period)>.field{flex:0 0 auto;width:100%;min-width:0}
 #period{width:100%;min-width:0;font-size:16px;min-height:48px}
 .chat-layout{display:flex;flex-direction:column;gap:14px}
 .chat-threads{width:100%;flex-shrink:0}
 .chat-header{flex-wrap:wrap;align-items:flex-start}
 .chat-header>div{min-width:0;flex:1 1 160px}
 .chat-header h2{overflow-wrap:anywhere}
 .chat-composer .between{align-items:stretch;gap:12px}
 .chat-composer .between>.flex{display:flex;flex-wrap:wrap;gap:8px;width:100%}
 .chat-composer .between>.flex>.btn{min-height:44px;flex:1 1 auto;white-space:normal}
 .chat-composer .chat-upload{align-self:flex-start;min-height:44px}
 .chat-composer small,.chat-meta,.chat-message p{overflow-wrap:anywhere}
}
@media(max-width:420px){.app-header .brand>div{display:none}.app-header .brand .bolt{width:28px;height:36px}.app-header .brand{gap:0}}

/* Shared iPad time clock and attendance review. */
.clock-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.clock-stats .card { padding: 16px; }
.clock-stats span, .clock-row small { display: block; color: var(--muted); }
.clock-stats span { font-size: 12px; margin-bottom: 6px; }
.clock-stats strong { font-size: clamp(16px, 2.4vw, 24px); overflow-wrap: anywhere; }
.clock-sections h2 { margin-bottom: 8px; }
.clock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.clock-row:last-child { border-bottom: 0; padding-bottom: 0; }
.clock-row small { margin-top: 4px; }
.clock-row p { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.clock-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.clock-empty { margin: 12px 0 0; }
.clock-issued { display: block; font: 700 32px/1.5 monospace; letter-spacing: .18em; color: var(--navy); }
.clock-kiosk { min-height: 100dvh; padding: 20px; background: #edf1f6; }
.clock-kiosk-top, .clock-kiosk-card { width: min(100%, 600px); margin: 0 auto; }
.clock-kiosk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 4px 0 20px;
}
.clock-kiosk-card { padding: clamp(18px, 4vw, 32px); }
.clock-kiosk-card h1 { margin-bottom: 4px; }
.clock-kiosk-card h2 { margin-top: 12px; }
.clock-job { color: var(--muted); font-weight: 650; }
.clock-name-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: 10px; }
.clock-name-list .btn, .clock-kiosk form .btn { min-height: 52px; white-space: normal; }
.clock-kiosk form input[name="pin"] { font-size: 24px; letter-spacing: .24em; min-height: 54px; }
.clock-confirm { color: #13704c; border-color: #c7e4d5; background: #e8f6ed; }
#clock-adjust-form input[type="datetime-local"] { min-width: 0; max-width: 100%; }
@media (max-width: 550px) {
  .clock-kiosk { padding: 12px; }
  .clock-stats { gap: 6px; }
  .clock-stats .card { padding: 10px 8px; }
  .clock-stats strong { font-size: 15px; }
}

/* Receipts */
.receipt-filter-card { margin-bottom: 16px; }
.receipt-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
}
.receipt-filters select { min-width: 0; }
.receipt-list .card-header { margin-bottom: 6px; }
.receipt-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.receipt-row:last-child { border-bottom: 0; padding-bottom: 0; }
.receipt-thumb { width: 54px; height: 60px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.receipt-row-text { overflow-wrap: anywhere; }
.receipt-row-text h3 { margin-bottom: 4px; }
.receipt-row-text small { display: block; margin-top: 3px; }
.receipt-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.receipt-row-actions > strong { white-space: nowrap; }
.receipt-help { margin: 12px 0 0; }
.receipt-attachment { border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.receipt-attachment .help { margin: 10px 0 0; }
.receipt-picker { position: relative; overflow: hidden; cursor: pointer; }
.receipt-picker:focus-within { outline: 3px solid #498ed3; }
.receipt-picker input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; cursor: pointer; }
.receipt-preview { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 12px; }
.receipt-preview img { width: min(100%, 170px); max-height: 200px; object-fit: contain; border-radius: 6px; border: 1px solid var(--line); }
.receipt-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.receipt-document { min-width: 0; }
.receipt-document img { display: block; width: 100%; max-height: 560px; object-fit: contain; background: #edf1f6; border-radius: 8px; margin-bottom: 10px; }
.receipt-meta { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 14px; margin: 0; }
.receipt-meta dt { color: var(--muted); }
.receipt-meta dd { margin: 0; overflow-wrap: anywhere; }
.receipt-note { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
@media (max-width: 650px) {
  .receipt-detail { grid-template-columns: minmax(0, 1fr); }
  .receipt-row { grid-template-columns: 48px minmax(0, 1fr); }
  .receipt-thumb { width: 48px; height: 56px; }
  .receipt-row-actions { grid-column: 1 / -1; }
  .receipt-row-actions .btn { margin-left: auto; }
}

/* Administrator activity log */
.activity-filter-card { margin-bottom: 16px; }
.activity-filters { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.activity-filter-card .help { margin: 12px 0 0; }
.activity-filters select { min-width: 0; }
.activity-list .card-header { margin-bottom: 6px; }
.activity-event { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.activity-event:last-child { border-bottom: 0; padding-bottom: 0; }
.activity-event h3 { margin-bottom: 5px; overflow-wrap: anywhere; }
.activity-event p { color: var(--muted); font-size: 13px; margin: 3px 0; overflow-wrap: anywhere; }
.activity-event-meta { display: grid; align-content: start; justify-items: end; gap: 6px; }
.activity-event-meta time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.activity-more { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
.activity-caption { margin: 12px 0 0; }
@media (max-width: 650px) {
  .activity-filters, .activity-event { grid-template-columns: minmax(0, 1fr); }
  .activity-event-meta { justify-items: start; }
  .activity-filters .btn { justify-self: start; }
}
/* Tool room: cards and handoff forms stay within the simulated phone viewport. */
.tool-metrics{margin-bottom:22px}.tool-metrics .number{margin-bottom:0}.tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:18px}.tool-card{min-width:0;display:flex;flex-direction:column;gap:16px}.tool-card-top{display:flex;align-items:center;gap:15px}.tool-card-top>img{width:76px;height:76px;object-fit:cover;border-radius:9px}.tool-card h2{font-size:18px;margin-bottom:5px}.tool-card .eyebrow{margin-bottom:5px}.tool-card dl{margin:0;flex:1}.tool-card .receipt-meta dd{overflow-wrap:anywhere}.tool-filter{margin-bottom:20px}.tool-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}.tool-filters label{min-width:0}.tool-detail{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:26px}.tool-detail>*{min-width:0}.tool-hero{width:100%;max-height:280px;object-fit:contain;background:#edf2f7;border-radius:10px}.tool-checks{border:1px solid var(--line);border-radius:8px;padding:12px 15px;min-width:0;max-height:270px;overflow:auto}.tool-checks legend{font-weight:700;font-size:13px;max-width:100%;overflow-wrap:anywhere}.tool-checks .check{align-items:center}.tool-note{white-space:pre-wrap;overflow-wrap:anywhere}.tool-photos{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}.tool-photos img{width:100px;height:100px;object-fit:cover;border:1px solid var(--line);border-radius:7px}.tool-label{text-align:center;padding:20px;background:white;color:#111}.tool-label svg{display:block;width:min(100%,240px);height:auto;margin:0 auto 15px}.tool-label p{margin-bottom:10px}.tool-exceptions{margin-bottom:20px;border-color:#dfb85b}.tool-help{margin-top:20px}.tool-detail .row-card h3{overflow-wrap:anywhere}.tool-detail .btn,.tool-grid .btn{white-space:normal}.tool-detail .flex{gap:8px}.tool-detail li{padding:4px 0}.tool-filter .btn{min-height:45px}#tool-camera-state{margin:16px 0}
@media(max-width:900px){.tool-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-detail{grid-template-columns:1fr}.tool-hero{max-height:190px}}
@media(max-width:560px){.tool-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tool-metrics .metric{padding:15px}.tool-metrics .number{font-size:27px}.tool-filters{grid-template-columns:1fr}.tool-grid{grid-template-columns:1fr}.tool-card{padding:18px}.tool-detail{gap:18px}.tool-card-top>img{width:64px;height:64px}.tool-detail .form-actions .btn{width:100%}.tool-checks .check{overflow-wrap:anywhere}.tool-label{padding:10px}.tool-exceptions .between{align-items:flex-start}.tool-exceptions p{overflow-wrap:anywhere}}
/* Clear tool navigation, separate from checkout and secondary actions. */
.tool-navigation{margin-bottom:22px;display:grid;gap:16px;min-width:0}.tool-view-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);padding:5px;background:#e9eef4;border-radius:10px;gap:4px}.tool-view-tabs>.btn{min-width:0;min-height:46px;padding:10px 8px;background:transparent;border:0;border-radius:7px;color:var(--muted);font-size:13px;gap:6px;white-space:nowrap}.tool-view-tabs>.btn.active{background:var(--navy);color:white;box-shadow:0 2px 6px #0b234118}.tool-tab-count{display:inline-flex;align-items:center;justify-content:center;background:#fbe1e4;color:#ad2431;border-radius:20px;min-width:19px;height:19px;padding:0 5px;font-size:10px;font-weight:750}.tool-view-tabs>.active .tool-tab-count{background:#fff;color:var(--navy)}.tool-action-row{display:flex;align-items:start;justify-content:space-between;gap:12px}.tool-primary-action{min-height:46px}.tool-more-actions{position:relative}.tool-more-actions>summary{list-style:none;cursor:pointer;min-height:46px}.tool-more-actions>summary::-webkit-details-marker{display:none}.tool-more-panel{position:absolute;right:0;top:calc(100% + 8px);background:white;border:1px solid var(--line);border-radius:9px;padding:6px;box-shadow:0 10px 30px #0b234123;z-index:10;min-width:240px;display:grid;gap:3px}.tool-more-panel>.btn{justify-content:flex-start;border:0;text-align:left;white-space:normal;min-height:44px;font-size:12px}.tool-more-panel>.btn:hover{background:#edf2f7}.tool-search-row{display:flex;gap:12px;align-items:end}.tool-search-row>.field{flex:1;min-width:0}.tool-filter-toggle{display:none}.tool-filter .tool-filters{margin-top:16px;grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1000px){.tool-filter .tool-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.tool-navigation{gap:12px;margin-bottom:16px}.tool-view-tabs{gap:2px;padding:4px;border-radius:9px}.tool-view-tabs>.btn{font-size:12px;padding:10px 2px;gap:3px;min-height:44px}.tool-tab-count{font-size:9px;min-width:16px;height:16px;padding:0 4px}.tool-action-row{display:grid;grid-template-columns:minmax(0,1fr);gap:6px}.tool-primary-action{width:100%;min-height:48px}.tool-more-actions{justify-self:end;max-width:100%}.tool-more-actions>summary{min-height:38px;font-size:12px;background:transparent;border-color:transparent;padding:7px 0 7px 12px;color:var(--muted)}.tool-more-actions[open]>summary{color:var(--navy)}.tool-more-panel{min-width:min(260px,calc(100vw - 60px))}.tool-filter{padding:16px}.tool-filter-toggle{display:inline-flex;font-size:12px;padding:10px 12px}.tool-search-row{gap:8px}.tool-search-row input{font-size:13px}.tool-filter .tool-filters{display:none;grid-template-columns:minmax(0,1fr)}.tool-filter .tool-filters.expanded{display:grid}.tool-filter .tool-filters>.btn{justify-self:start}.tool-more-panel svg{width:17px;height:17px}}
