*{box-sizing:border-box}body{margin:0;background:linear-gradient(155deg,#102d50,#176897);min-height:100dvh;font-family:system-ui,sans-serif;color:#183451}main{max-width:440px;margin:auto;padding: max(24px,env(safe-area-inset-top)) 20px 28px}header{text-align:center;color:white;padding:18px 0 24px}header img{width:180px;background:white;border-radius:20px;padding:8px}header p{font-size:11px;letter-spacing:1.5px;font-weight:700}section{background:white;border-radius:26px;padding:26px;box-shadow:0 16px 40px #071d4633}small{color:#1879a4;font-weight:800;letter-spacing:2px}h1{font-size:26px;line-height:1.2;margin:10px 0}.muted{color:#64748b;font-size:14px;line-height:1.5}label{display:block;font-size:13px;font-weight:650;margin-top:18px}input{display:block;width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:14px;margin-top:7px;font-size:16px;background:#f8fafc}button{border:0;width:100%;border-radius:14px;padding:15px;background:#123e66;color:white;font-size:16px;font-weight:700;margin-top:24px}footer{text-align:center;color:white;font-size:12px;margin-top:24px}.error{background:#fff0f0;color:#991b1b;padding:12px;border-radius:12px;margin-bottom:12px}.detail{padding:14px 0;border-bottom:1px solid #e2e8f0;font-size:14px;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}
html{scroll-behavior:smooth}.login header img{animation:appear .7s ease both}.login section{animation:rise .5s ease both}.dashboard{background:#eff4f9;color:#183451}.dashboard main{max-width:680px;padding:0 18px 110px}.dashboard header{background:#12345a;margin:0 -18px;padding:14px 20px 10px;display:flex;align-items:center;gap:12px;text-align:left}.dashboard header img{width:76px;border-radius:12px;padding:4px}.dashboard header p{font-size:10px}.hero{background:linear-gradient(135deg,#12345a,#176897);color:#fff;margin:0 -18px;padding:24px 22px 42px;border-radius:0 0 30px 30px;animation:appear .5s ease}.hero p{color:#c9e0f1;margin:14px 0 4px}.hero h1{font-size:25px;margin:0 0 18px;overflow-wrap:anywhere}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#b8dbef}.active{font-size:12px;color:#d2f8e6;background:#ffffff20;padding:7px 12px;border-radius:20px}.summary{position:relative;margin:-22px 0 22px;padding:18px;background:white;border-radius:18px;box-shadow:0 8px 25px #15385615;display:flex;justify-content:space-between;align-items:center;animation:rise .55s ease both}.summary small{font-size:10px;letter-spacing:1px;display:block}.summary strong{display:block;margin-top:6px;font-size:20px}.shield{background:#e1f4e9;color:#16835b;border-radius:15px;padding:12px;font-size:22px}.dashboard h2{font-size:18px;margin:16px 0}.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tile{position:relative;display:flex;flex-direction:column;gap:12px;min-height:125px;background:white;border-radius:18px;padding:16px;color:#183451;text-decoration:none;box-shadow:0 5px 18px #1538560c;animation:rise .5s ease both;transition:transform .18s,box-shadow .18s}.tile:nth-child(2n){animation-delay:.07s}.tile:nth-child(n+5){animation-delay:.14s}.tile:active,button:active{transform:scale(.97)}.tile strong{font-size:14px}.symbol{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#e7f2fb;color:#176897;font-size:22px;flex-shrink:0}.arrow{position:absolute;right:15px;top:20px;color:#5e89aa;font-size:24px}.pending small{letter-spacing:0;font-size:10px;color:#64748b}.panel{margin-top:20px;padding:18px;border-radius:20px;box-shadow:0 5px 18px #1538560c;scroll-margin-top:12px}.panelhead{display:flex;align-items:center;justify-content:space-between}.panelhead h2{margin:0}.count{background:#e7f2fb;padding:5px 10px;border-radius:20px;font-weight:700}.secondary{background:#e7f2fb;color:#124b75;margin:10px 0;font-size:13px;padding:10px}.doc{display:flex;gap:12px;border-top:1px solid #e8edf2;padding:14px 0;align-items:center}.doc strong{font-size:13px;overflow-wrap:anywhere}.doc p{font-size:12px;color:#64748b;margin:5px 0}.doc[hidden],#empty[hidden]{display:none}.bottom{position:fixed;bottom:0;left:0;right:0;background:white;display:flex;justify-content:space-evenly;padding:10px 8px max(12px,env(safe-area-inset-bottom));box-shadow:0 -4px 25px #15385614;z-index:5}.bottom a{display:flex;flex-direction:column;align-items:center;color:#235982;text-decoration:none;font-size:11px;gap:3px;min-width:65px}.bottom span{font-size:25px}.dashboard footer{color:#64748b}.dashboard button{transition:transform .18s}.dashboard a:focus-visible,button:focus-visible{outline:3px solid #3598cd;outline-offset:3px}@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes appear{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.dashboard main>header{display:none}.screen[hidden]{display:none!important}.screen:not([hidden]){animation:rise .35s ease both}.brand3{display:flex;align-items:center;gap:12px;margin-bottom:22px;font-size:10px;letter-spacing:1px;font-weight:700}.brand3 img{width:66px;background:white;border-radius:10px;padding:5px}.tilecount{font-size:12px;color:#176897;font-weight:700}.tile{min-height:120px}.back3{color:#176897;text-decoration:none;font-weight:700;display:inline-block;padding:8px 0}.field3{padding:12px 0;border-bottom:1px solid #e5edf4;overflow-wrap:anywhere;line-height:1.55;font-size:14px}.field3 b{display:block;color:#52728b;font-size:12px;margin-bottom:5px}.subcard,details{background:#f5f8fc;border:1px solid #e1eaf3;border-radius:14px;padding:14px;margin:12px 0}summary{cursor:pointer;font-weight:750;padding:8px 0}.docbody{min-width:0;flex:1}.links3{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.links3 a{background:#e7f2fb;color:#124b75;padding:10px 14px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:700}.links3 a:last-child{background:#123e66;color:white}.bottom a.selected{color:#087fbb;font-weight:800}.dashboard footer{display:none}
/* Compact mobile audit plan layout */
.plan-screen{background:transparent;box-shadow:none;padding:0;margin-top:12px}.plan-screen .panelhead{padding:0 3px}.plan-intro{margin:8px 3px 20px}.plan-card{background:#fff;border:1px solid #dce6ef;border-radius:20px;padding:16px;margin:0 0 16px;box-shadow:0 7px 20px #1538560d;animation:rise .35s ease both}.plan-cover{display:flex;align-items:center;gap:12px;margin-bottom:16px}.plan-icon{display:grid;place-items:center;width:46px;height:46px;flex:none;background:#e7f2fb;border-radius:14px;color:#176897}.plan-cover small{font-size:9px;letter-spacing:1.2px}.plan-cover h3{font-size:19px;margin:4px 0 0;overflow-wrap:anywhere}.plan-dates{display:grid;grid-template-columns:1fr 1fr;gap:8px}.plan-dates>div,.plan-lead{background:#f3f7fb;border-radius:11px;padding:10px 12px;min-width:0}.plan-dates span,.plan-lead span{display:block;font-size:11px;color:#52728b;margin-bottom:4px}.plan-dates strong,.plan-lead strong{font-size:13px;overflow-wrap:anywhere}.plan-lead{margin-top:8px}.plan-card .pdf-actions{display:grid;grid-template-columns:1fr 1fr;margin:14px 0 16px}.plan-card .pdf-actions a{text-align:center;padding:12px 5px}.plan-fold,.day-fold{padding:0;margin:9px 0;background:#fff;border:1px solid #dce6ef;border-radius:12px;overflow:hidden}.plan-fold>summary,.day-fold>summary{list-style:none;display:flex;align-items:center;gap:8px;padding:13px 11px;font-size:14px}.plan-fold>summary::-webkit-details-marker,.day-fold>summary::-webkit-details-marker{display:none}.plan-fold>summary:after,.day-fold>summary:after{content:'›';margin-left:auto;color:#176897;font-size:22px;line-height:1;transition:transform .2s}.plan-fold[open]>summary:after,.day-fold[open]>summary:after{transform:rotate(90deg)}.plan-fold[open]>summary{background:#f1f6fb}.plan-body{padding:4px 10px 10px;animation:rise .22s ease both}.plan-badge{font-size:10px;font-weight:600;color:#52728b;white-space:nowrap}.day-fold{background:#f8fbfd}.day-number{display:grid;place-items:center;width:34px;height:34px;background:#e4eef8;color:#176897;border-radius:10px;font-size:13px;flex:none}.day-heading{display:flex;flex-direction:column;gap:3px}.day-heading strong{font-size:13px}.day-heading>span{font-size:11px;font-weight:400;color:#64748b}.timeline-list{padding:8px 12px 8px 21px;animation:rise .22s ease both}.timeline-item{border-left:2px solid #d6e6f2;padding:0 0 16px 14px;position:relative;overflow-wrap:anywhere}.timeline-item:last-child{padding-bottom:4px}.timeline-item:before{content:'';position:absolute;left:-5px;top:5px;width:8px;height:8px;border-radius:50%;background:#1788b9}.time-range{font-size:11px;color:#176897;font-weight:750;margin-bottom:5px}.activity-name{display:block;font-size:14px;margin-bottom:5px}.person-line{font-size:12px;line-height:1.45;color:#334155;margin:3px 0}.person-line span{font-size:10px;font-weight:700;color:#64748b;margin-right:5px}.plan-body .field3{padding:8px 0;display:grid;grid-template-columns:minmax(85px,1fr) minmax(0,1.5fr);gap:8px}.plan-body .field3 b{margin:0}.plan-body .field3:last-child{border:0}@media(max-width:340px){.plan-card{padding:12px}.plan-badge{white-space:normal}.plan-fold>summary{flex-wrap:wrap}}

/* Consistent compact cards across client sections */
.narrative{font-size:14px;line-height:1.65;overflow-wrap:anywhere;white-space:normal;padding:12px 13px}.narrative h4{color:#52728b;font-size:11px;text-transform:uppercase;letter-spacing:.04em;margin:14px 0 5px}.narrative h4:first-child{margin-top:0}.plan-cover>div{min-width:0}.plan-cover h3{line-height:1.3}.plan-screen .panelhead h2{min-width:0}.plan-screen .panelhead .count{flex:none}.plan-fold>summary{overflow-wrap:anywhere}.day-heading{min-width:0;overflow-wrap:anywhere}#docs .doc{background:#f8fbfd;border:1px solid #dce6ef;border-radius:14px;padding:12px;margin:10px 0;align-items:flex-start}#docs .links3{display:grid;grid-template-columns:1fr 1fr}#docs .links3 a{text-align:center;padding:11px 4px}#docs .doc[hidden]{display:none}#docs .docbody p{overflow-wrap:anywhere}.plan-screen .pdf-actions a:active{transform:scale(.97)}

.feedback-form{display:grid;gap:15px}.feedback-question{min-width:0;border:0;padding:0 0 14px;margin:0;border-bottom:1px solid #e0e8f0}.feedback-question legend{font-size:14px;font-weight:700;color:#183654;margin-bottom:10px;line-height:1.45}.rating-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.rating-options label{position:relative;margin:0;min-width:0;cursor:pointer}.rating-options input{position:absolute;opacity:0;width:1px;height:1px}.rating-options span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #d7e4ef;border-radius:10px;background:#f6f9fc;color:#234765;min-height:64px;padding:5px 2px;text-align:center;transition:background .18s,transform .18s,color .18s}.rating-options b{font-size:19px}.rating-options small{font-size:9px;letter-spacing:0;text-transform:none;color:inherit;line-height:1.1}.rating-options input:checked+span{background:#176897;border-color:#176897;color:white;transform:translateY(-2px)}.rating-options input:focus+span{outline:2px solid #1678b0;outline-offset:2px}.recommend-options{grid-template-columns:repeat(3,minmax(0,1fr))}.recommend-options span{min-height:44px;font-size:13px;font-weight:700}.feedback-form textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #cad9e6;border-radius:12px;padding:12px;margin-top:8px;font:inherit;resize:vertical;background:#f7fafc}.feedback-score{display:flex;align-items:center;gap:12px;padding:14px;border-radius:12px;background:#eaf5ef;color:#176545;margin:12px 0}.feedback-score strong{font-size:25px}.feedback-success{padding:12px;border-radius:12px;background:#eaf5ef;color:#176545;font-weight:700}.feedback-form button{width:100%}@media(prefers-reduced-motion:reduce){.rating-options span{transition:none}}
