/* Workspace cards and a compact, touch-friendly layout. */
html,body{min-height:100%;max-width:100%;width:100%}main,.shell,.heading>div,.panel,.toolbar,.editor-layout>div{min-width:0}.home-heading .sub{font-size:14px}.compact-stats{display:flex;gap:20px;flex-wrap:wrap;margin:-6px 0 24px;color:#73808b;font-size:12px}.compact-stats b{color:#27343e;margin-right:4px}.reports-panel{overflow:visible}.report-tabs{display:flex;padding:6px;border-bottom:1px solid #e8edf0;gap:4px;background:#f9fafb;border-radius:16px 16px 0 0}.report-tab{border:0;background:none;color:#73808b;font-size:12px;font-weight:600;padding:12px 18px;border-radius:10px;min-height:44px}.report-tab.selected{background:#fff;color:#202e39;box-shadow:0 2px 7px #23303b10}.reports-panel .toolbar{border:0;background:white}.reports-panel .search{max-width:none}.report-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px;padding:0 24px 24px}.report-card{border:1px solid #e3e8ed;background:#fff;border-radius:14px;padding:18px;min-width:0;box-shadow:0 3px 13px #1c293105}.report-card-top{display:flex;gap:10px;align-items:center;margin-bottom:14px}.file-symbol{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#fff1e6;color:#bc5f16;font-size:19px}.report-card h2{font-size:16px;overflow-wrap:anywhere;margin-bottom:6px}.report-card>p{color:#6a7783;font-size:12px;margin:0 0 17px;line-height:1.6;overflow-wrap:anywhere}.report-card-meta{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#7b8791;margin-bottom:9px}.report-card small{font-size:11px;color:#6d7983}.report-card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0f3;margin-top:15px;padding-top:12px;font-size:11px;color:#72808b}.report-menu{position:relative;margin-left:auto}.report-menu summary,.report-tools summary{list-style:none;cursor:pointer}.report-menu summary::-webkit-details-marker,.report-tools summary::-webkit-details-marker{display:none}.report-menu>div,.report-tools>div{position:absolute;right:0;top:calc(100% + 5px);min-width:210px;padding:6px;background:#fff;border:1px solid #e1e6ea;border-radius:12px;box-shadow:0 12px 40px #1c283123;z-index:25;display:grid;gap:3px}.report-menu button{background:none;border:0;padding:12px;text-align:left;border-radius:8px;font-size:13px;min-height:44px}.report-menu button:hover{background:#f3f5f7}.report-menu .danger{color:#a0443e}.report-tools{position:relative;flex-shrink:0}.report-tools>div .btn{border:0;justify-content:flex-start}.storage-help{color:#71808b;font-size:12px;line-height:1.8;padding:0 5px;margin-top:20px;max-width:750px}.storage-help summary{cursor:pointer}.storage-help p{padding:8px 0}.report-section>summary{cursor:pointer;list-style:none}.report-section>summary::-webkit-details-marker{display:none}.report-section>summary:after{content:'−';font-size:20px;color:#8b98a1;margin-left:auto}.report-section:not([open])>summary:after{content:'+'}.report-section:not([open])>summary{border-bottom:0}.report-info-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 14px;margin:12px 0 22px}.report-info-grid>div{background:#f5f7f9;border-left:2px solid #dfe5e9;padding:10px 12px;min-height:54px;overflow-wrap:anywhere}.report-info-grid>div:nth-child(odd){border-left-color:#f58220}.report-info-grid span{display:block;color:#6d7a85;font:600 7px/1.4 Arial,sans-serif;text-transform:uppercase;letter-spacing:.5px;margin-bottom:5px}.report-info-grid strong{display:block;color:#26313a;font:400 10px/1.6 Arial,sans-serif}.office-note{padding:17px;border:1px solid #e1e7ec;border-radius:13px;background:white;margin-bottom:20px}.office-note h2{font-size:15px}.office-note .note-text{white-space:pre-wrap;font-size:13px;line-height:1.7;color:#53636f}.office-lifecycle{margin-left:auto;display:inline-block}#togglePreview{display:none}#chooseProject{margin-bottom:18px;width:100%;justify-content:flex-start}#backupOne{margin-top:16px}.review-paper{overflow:hidden}.report-menu summary{min-width:38px}.app-footer{padding-bottom:30px}
@media(max-width:760px){
 :root{--bg:#f4f6f8}body{font-size:15px;-webkit-text-size-adjust:100%;padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;width:100%;height:auto;min-height:68px;display:flex;flex-wrap:nowrap;justify-content:space-around;gap:0;align-items:stretch;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #e0e5e9;box-shadow:0 -5px 25px #20313e08;z-index:30}.sidebar .brand,.sidebar .workspace,.sidebar .side-bottom{display:none!important}.sidebar .nav,.sidebar #homeBtn,.sidebar #newAside{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;flex:1;min-width:0;width:auto;min-height:55px;padding:5px 2px;margin:0;color:#7a8792;font-size:20px;box-shadow:none;border-radius:10px;background:none;line-height:1.2}.sidebar .nav span{font-size:9px;line-height:1.4;white-space:nowrap;font-weight:600;letter-spacing:0}.sidebar .nav.active{background:#fff2e7;color:#ae5415;box-shadow:none}.sidebar .nav:hover{background:#f5f7f9;color:#52616d}.sidebar #reviewsBtn{font-size:20px}.sidebar #reviewsBtn span{font-size:9px}.shell{margin:0;min-height:100svh}.topbar{height:55px;padding:0 20px;background:#fff;border-bottom:1px solid #e6ebef;font-size:11px}.topbar .slash{margin:0 7px}.topbar .tag{font-size:9px;padding:5px 8px}.topbar:before{content:'';display:inline-block;width:34px;height:30px;background:url('assets/logo.png') center/contain no-repeat;margin-right:10px;flex-shrink:0}.topbar>span:first-child{margin-right:auto}.topbar>span:first-child{font-size:0}.topbar>span:first-child .slash{font-size:0}.topbar>span:first-child:after{content:'LTIE Interventions';font-size:12px;font-weight:650;color:#28343d}main{padding:25px 17px 24px;max-width:100%;margin:0}.heading{display:flex;flex-direction:column;align-items:stretch;gap:17px;margin-bottom:24px}.heading h1{font-size:28px;letter-spacing:-1px}.heading .sub{font-size:12px}.home-heading .btn.primary{width:100%;min-height:49px;font-size:14px}.eyebrow{font-size:9px}.compact-stats{gap:0;justify-content:space-between;padding:0 3px;font-size:11px;margin:-5px 0 23px}.compact-stats b{font-size:16px;display:inline-block}.panel{border-radius:15px;margin-bottom:15px;animation:none}.report-tabs{border-radius:15px 15px 0 0;padding:5px}.report-tab{flex:1;min-width:0;font-size:11px;padding:10px 6px;min-height:42px}.report-cards{grid-template-columns:minmax(0,1fr);gap:11px;padding:0 12px 12px}.report-card{padding:16px;border-radius:13px;box-shadow:none}.report-card-top{margin-bottom:10px}.report-card h2{font-size:15px}.report-card>p{margin-bottom:12px;font-size:12px}.report-card-meta{font-size:10px}.report-card-footer{padding-top:10px;margin-top:12px}.report-card-footer .btn{min-height:42px;padding:8px 16px;font-size:12px}.toolbar{padding:12px;gap:8px}.report-tools .btn{min-width:42px;min-height:44px}.reports-panel .toolbar{flex-wrap:nowrap}.report-tools>div{width:230px}.report-menu>div{min-width:205px}.report-menu summary{min-height:38px}.search,input,select,textarea{font-size:16px;max-width:100%}label{font-size:12px}.field{gap:8px}.grid2{grid-template-columns:minmax(0,1fr);gap:17px}.full{grid-column:auto}.panel-body,.panel-head{padding:18px}.btn{min-height:45px;font-size:13px;max-width:100%;white-space:normal}.hint{font-size:11px;line-height:1.7}.storage-help{font-size:11px}.editor-layout{display:block}.editor-layout>.preview-side{display:none}.show-report-preview .editor-layout>.preview-side{display:block;overflow:hidden}.heading .actions{display:flex;gap:8px;align-items:stretch;flex-wrap:wrap}.heading .actions .btn{font-size:12px;flex:1;min-width:0;min-height:44px}.heading .actions #submitReportBtn{flex-basis:100%;background:#ff8b35;border-color:#ff8b35;font-weight:650;font-size:14px}#togglePreview{display:inline-flex}#backupOne{width:100%}.report-progress{border:0;background:#fff;border-radius:14px;box-shadow:none;color:#28343f;margin-bottom:18px}.progress-summary{padding:16px 17px;align-items:center}.progress-summary .eyebrow{display:none}.progress-summary strong{font-size:12px}.progress-meter{flex-direction:row;gap:9px}.progress-meter>span{color:#9b4d14;font-size:13px}.progress-meter progress{width:60px;background:#e8edf0}.progress-meter progress::-webkit-progress-bar{background:#e8edf0}.report-steps{background:#f9fafb;border-color:#e8edf0;padding:11px 15px;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.report-step{font-size:10px;color:#76838e;gap:6px;min-width:0}.step-dot{border-color:#ccd5dc;color:#74828e;width:22px;height:22px;font-size:8px}.report-step.complete{color:#293844}.report-step.complete .step-dot{background:#ff8b35;color:#3b260f}.report-section>summary{min-height:64px}.section-title{gap:9px;min-width:0}.section-title h3{font-size:13px}.section-num{font-size:10px;padding:5px 7px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.photo-card{padding:7px;min-width:0}.photo-card img{height:125px}.photo-card input{font-size:12px}.photo-actions .btn{min-width:0;padding:7px 4px;min-height:40px;font-size:10px}.photo-actions .delete{font-size:10px}.upload{padding:24px 12px;font-size:13px}.preview-side .paper{font-size:10px;padding:18px 13px}.paper-head .paper-brand>img{width:95px}.paper-head .paper-title{font-size:14px}.paper .paper-legal{font-size:5px}.report-info-grid{gap:5px 9px}.report-info-grid>div{padding:9px 8px;min-height:52px}.report-info-grid strong{font-size:9px}.report-info-grid span{font-size:6px}.review-layout{display:flex;flex-direction:column;gap:14px}.review-layout>section{width:100%;min-width:0}.review-paper{width:100%;overflow:hidden}.review-paper .paper{font-size:10px;padding:18px 13px}.office-note{padding:17px;margin-bottom:15px}.review-layout .btn{width:100%}.office-note .btn{font-size:12px}.review-layout .review-paper{display:none}.review-layout .review-paper.show{display:block}.report-list,.report-list tbody,.report-list tr,.report-list td{display:block;width:100%}.report-list thead{display:none}.report-list tbody{padding:0 12px 12px}.report-list tbody tr{border:1px solid #e4e9ed;border-radius:13px;background:#fff;margin:0 0 11px;padding:15px;position:relative}.report-list td{border:0!important;padding:3px 0!important;font-size:12px}.report-list td:nth-child(3){display:block!important;color:#73818c;font-size:11px}.report-list td strong{font-size:15px!important}.report-list td small{display:block;font-size:11px;line-height:1.6}.report-list td:last-child{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin-top:8px}.report-list td:last-child .btn{min-height:42px;min-width:90px}.report-list td .report-menu .btn{min-width:38px}.project-filters select{min-width:0;flex:1}.project-filters .search{min-width:0}.notice{font-size:12px;padding:14px 16px;margin-bottom:18px}.app-footer{font-size:9px;padding:0 18px 15px;line-height:1.7}#toast{bottom:calc(89px + env(safe-area-inset-bottom,0px));left:17px;right:17px;max-width:none;transform:none;font-size:12px;padding:14px 17px;line-height:1.6}.preview-banner{margin:12px 16px 0}
}
@media print{.compact-stats,.report-tabs,.storage-help{display:none!important}.report-info-grid{break-inside:avoid}.report-info-grid strong{font-size:10px}}

/* LTIE motion: brief feedback, clear hierarchy, no continuous animation. */
.btn,.report-tab,.sidebar .nav,.report-menu button{transition:transform 160ms cubic-bezier(.2,.8,.2,1),box-shadow 180ms ease,background-color 180ms ease,color 180ms ease;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.btn:active:not(:disabled),.report-tab:active,.sidebar .nav:active,.report-menu button:active{transform:scale(.96)}
.btn.primary{box-shadow:0 4px 14px #ef81232b}.btn.primary:active:not(:disabled){box-shadow:0 1px 5px #ef81232b}
.btn:focus-visible,.report-tab:focus-visible,.report-step:focus-visible,summary:focus-visible{outline:3px solid #e68839;outline-offset:4px}
.report-card{transition:border-color 200ms ease,box-shadow 200ms ease,transform 200ms ease}
@media(hover:hover) and (pointer:fine){.btn:hover:not(:disabled){transform:translateY(-2px)}.report-card:hover{transform:translateY(-3px);border-color:#edc5a2;box-shadow:0 9px 24px #23313b0c}}
#main>.heading,.activity-overview,.report-cards,.report-section[open]>.panel-body{animation:ltie-arrive 280ms cubic-bezier(.2,.8,.2,1) both}
.report-section{scroll-margin-top:22px}.report-menu[open]>div,.report-tools[open]>div{animation:ltie-menu 160ms ease-out both;transform-origin:top right}
.activity-overview{display:flex;gap:24px;align-items:center;padding:22px 26px;margin:-4px 0 24px;background:linear-gradient(115deg,#fff 65%,#fff8f1);border:1px solid #e5e9ed;border-radius:20px}.activity-ring{position:relative;width:100px;height:100px;flex-shrink:0}.activity-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.activity-ring circle{fill:none;stroke-width:7}.ring-track{stroke:#edf1f4}.ring-segment{transition:stroke-dasharray 400ms ease}.ring-segment.draft{stroke:#f78b35}.ring-segment.office{stroke:#8e9fce}.ring-segment.verified{stroke:#3d927a}.activity-ring>strong{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:25px;line-height:1.2;color:#27343f;font-variant-numeric:tabular-nums}.activity-ring small{font-size:9px;font-weight:500;color:#7c8994;margin-top:3px}.activity-detail{min-width:0}.activity-detail .eyebrow{color:#8b6b51}.activity-detail p{font-size:14px;margin:6px 0 16px;color:#384752}.activity-legend{display:flex;gap:22px;flex-wrap:wrap;font-size:11px;color:#6c7a86}.activity-legend span{display:flex;align-items:center;gap:5px}.activity-legend b{color:#283642;font-variant-numeric:tabular-nums}.activity-legend i{width:6px;height:6px;border-radius:50%;margin-right:2px;background:#f78b35}.activity-legend .office{background:#8e9fce}.activity-legend .verified{background:#3d927a}
@keyframes ltie-arrive{from{transform:translateY(7px)}to{transform:translateY(0)}}
@keyframes ltie-menu{from{transform:translateY(-4px) scale(.98)}to{transform:translateY(0) scale(1)}}
@media(max-width:760px){.activity-overview{gap:16px;padding:17px 15px;margin:-4px 0 19px;border-radius:18px}.activity-ring{width:76px;height:76px}.activity-ring>strong{font-size:22px}.activity-ring small{font-size:8px}.activity-detail p{font-size:12px;line-height:1.5;margin:5px 0 11px}.activity-detail .eyebrow{font-size:8px}.activity-legend{gap:5px 13px;font-size:10px}.activity-legend span{gap:4px}.report-section{scroll-margin-top:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}.btn:active:not(:disabled),.btn:hover:not(:disabled),.report-card:hover,.report-tab:active,.sidebar .nav:active,.report-menu button:active{transform:none}}
@media print{.activity-overview{display:none!important}}
