/* UX 2B/2C application layout. Screen styles only; exported documents use their own templates. */
:root{--ux-sidebar:#123944;--ux-sidebar-active:#205662;--ux-canvas:#f1f5f7;--ux-line:#dce6e9;--ux-quiet:#5a7079;--ux-teal:#176d66}
body{background:var(--ux-canvas)}
body>header{position:absolute;top:0;right:0;z-index:3;background:transparent;padding:.65rem 1.5rem;color:var(--ux-quiet)}
body>header h1{display:none}
body>header .head-right{font-size:.75rem}
body:has(#manager25:not(.hidden))>header{display:none}
body>main:has(#manager25:not(.hidden)){max-width:none;padding:0;margin:0}
#manager25:not(.hidden){display:grid;grid-template-columns:202px minmax(0,1fr);min-height:100vh;max-width:none;padding:0;margin:0}
.m25-sidebar{position:sticky;top:0;height:100vh;align-self:start;background:var(--ux-sidebar);color:#d8e8e9;padding:1.15rem .72rem;z-index:5}
.m25-brand{display:flex;align-items:center;gap:.7rem;padding:.25rem .65rem 1.8rem;font-size:.94rem;line-height:1.15;letter-spacing:.01em;color:#f4fbfb}
.m25-brand strong{font-weight:650}
#manager25 .m25-nav{display:flex;flex-direction:column;align-items:stretch;gap:.22rem;margin:0;padding:0;border:0;overflow:visible}
#manager25 .m25-nav button{display:flex;align-items:center;gap:.72rem;width:100%;min-height:43px;padding:.55rem .75rem;text-align:left;white-space:normal;border:0;border-radius:8px;background:transparent;color:#c9dadd;font-size:.89rem;font-weight:550}
#manager25 .m25-nav button:hover,#manager25 .m25-nav button.active{background:var(--ux-sidebar-active);color:white}
.m25-nav-icon{display:inline-grid;place-items:center;width:22px;font-size:1.1rem;font-weight:400;line-height:1}
.m25-nav-icon svg{display:block;width:18px;height:18px;flex:none}
.m25-main{min-width:0;max-width:1510px;width:100%;padding:1.05rem clamp(1rem,2.1vw,2.2rem) 3rem;margin:0 auto}
.m25-utility{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:42px;margin:0 0 .25rem}
#m25-global-search{display:flex;align-items:center;gap:.5rem;width:min(425px,60%);height:38px;padding:0 .7rem;background:white;border:1px solid var(--ux-line);border-radius:7px;color:var(--ux-quiet)}
#m25-global-search span{font-size:1.3rem;line-height:1}
#m25-global-query{width:100%;min-height:30px;padding:0;border:0;outline:0;background:transparent;font-size:.8rem}
#m25-global-query:focus-visible{outline:0}
#m25-global-search:focus-within{outline:3px solid var(--focus);outline-offset:2px}
.m25-user{display:flex;align-items:center;gap:.5rem;padding-right:1.5rem;color:var(--petrol);font-size:.8rem;font-weight:600;white-space:nowrap}
.m25-user-avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#397a80;color:white;font-size:.7rem}
#manager25 .m25-top{display:flex;justify-content:flex-end;align-items:center;gap:.65rem;margin:0 0 1rem;min-height:43px;padding-right:2rem}
#manager25 .m25-top label{color:var(--ux-quiet);font-size:.78rem;font-weight:550;white-space:nowrap}
#manager25 .m25-top select{min-height:36px;max-width:230px;padding:.35rem .6rem;border-color:var(--ux-line);font-size:.83rem;background:white}
#manager25 .m25-top button{min-height:36px;padding:.35rem .65rem;font-size:.82rem;background:white;border-color:var(--ux-line)}
#m25-message:empty{display:none}
#m25-message:not(:empty){padding:.55rem .8rem;background:#fff4df;border-radius:7px;margin-bottom:.6rem}
.m25-menu-toggle{display:none}
#m25-view h1{font-size:clamp(1.35rem,2vw,1.7rem);font-weight:650;margin:0 0 .85rem}
#m25-view h2{font-size:1.05rem;font-weight:650}
.m305-home,.m305-global,.m305-inbox,.m305-report{max-width:none;margin:0}
.m305-greeting{margin:0;color:var(--ux-quiet);font-size:.85rem}
.m305-home>h1{margin:.1rem 0 1rem!important}
.m305-today{border:0;background:transparent;box-shadow:none;padding:0;margin:.1rem 0 1.35rem}
.m305-today h2{font-size:.86rem!important;color:var(--ux-quiet)!important;font-weight:550!important;margin:0 0 .5rem!important}
.m305-today-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.72rem}
.m305-today-grid button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.12rem;min-height:104px;padding:.95rem 1rem;border:1px solid var(--ux-line);border-radius:9px;background:white;box-shadow:0 1px 2px #12394408;text-align:left}
.m305-today-grid strong{font-size:1.62rem;line-height:1.1;color:var(--petrol);font-weight:650}
.m305-today-grid span{font-size:.82rem;color:var(--ux-quiet)}
.m305-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin:0 0 .5rem}
.m305-section-heading h2{margin:0!important}
.m305-section-heading span{color:var(--ux-quiet);font-size:.78rem}
.m305-dossier-table-wrap{overflow-x:auto;background:white;border:1px solid var(--ux-line);border-radius:9px}
.m305-dossier-table{width:100%;border-collapse:collapse;text-align:left;font-size:.84rem}
.m305-dossier-table thead{background:#f8fafb;color:var(--ux-quiet);font-size:.76rem}
.m305-dossier-table th,.m305-dossier-table td{padding:.78rem .95rem;border-bottom:1px solid #e8eef0;vertical-align:middle}
.m305-dossier-table tbody tr:last-child>*{border-bottom:0}
.m305-dossier-table tbody tr:hover{background:#f9fcfc}
.m305-dossier-table tbody th{font-weight:550;min-width:190px}
.m305-dossier-table tbody th small,.m305-dossier-table td small{display:block;font-size:.74rem;font-weight:400;margin-top:.1rem;color:var(--ux-quiet)}
.m305-dossier-table .m305-dossier-open{min-height:0;font-weight:650!important;color:var(--petrol)!important;font-size:.88rem}
.m305-progress{display:flex;align-items:center;gap:.5rem;min-width:140px}
.m305-progress .m305-meter,.m305-dossier-summary .m305-meter{display:block;width:92px;height:6px;margin:0;background:#e3ecee;border-radius:8px;overflow:hidden}
.m305-progress .m305-meter i,.m305-dossier-summary .m305-meter i{display:block;height:100%;background:var(--ux-teal);border-radius:8px}
.m305-status-badge{display:inline-block;padding:.24rem .55rem;border-radius:999px;background:#e7f3ef;color:#215f51;font-size:.75rem;white-space:nowrap}
.m305-row-open{min-height:34px;padding:.1rem .5rem;border:0;background:transparent;color:var(--ux-teal)}
.m305-create{margin-top:.9rem}
.m305-create summary{font-size:.83rem}
.m305-dossier-header{display:block;background:white;color:var(--text);border:1px solid var(--ux-line);border-radius:9px;padding:1rem 1.25rem;margin:0 0 .7rem}
.m305-breadcrumb{display:flex;align-items:center;gap:.4rem;color:var(--ux-quiet);font-size:.78rem;margin-bottom:.65rem}
.m305-breadcrumb button{min-height:0;padding:0;border:0;background:transparent;color:var(--ux-teal);font-size:inherit}
.m305-dossier-title{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.m305-dossier-title h1{margin:0 .0rem .2rem!important}
.m305-dossier-title p,.m305-dossier-remaining{margin:0!important;color:var(--ux-quiet);font-size:.82rem}
.m305-dossier-summary{display:grid;grid-template-columns:auto auto;align-items:center;gap:.18rem .5rem;text-align:right;white-space:nowrap}
.m305-dossier-summary strong{font-size:1.25rem;color:var(--petrol)}
.m305-dossier-summary span:not(.m305-meter){font-size:.76rem;color:var(--ux-quiet)}
.m305-dossier-summary .m305-meter{grid-column:1/-1;width:100%}
.m305-dossier-remaining{margin-top:.4rem!important}
.m305-subnav{display:flex;gap:.2rem;overflow-x:auto;margin-bottom:.7rem;padding:.2rem;border-bottom:1px solid var(--ux-line)}
.m305-subnav button{white-space:nowrap;border:0;border-radius:7px 7px 0 0;background:transparent;color:var(--ux-quiet);font-size:.85rem;font-weight:550}
.m305-subnav button.active{border-bottom:2px solid var(--ux-teal);border-radius:0;background:transparent;color:var(--petrol)}
.m305-workspace{grid-template-columns:minmax(200px,260px) minmax(0,1fr);gap:.85rem}
.m305-findings{position:sticky;top:.8rem;max-height:calc(100vh - 2rem);overflow:auto;background:white;border:1px solid var(--ux-line);border-radius:9px;padding:.8rem}
.m305-findings h2{font-size:.83rem!important;color:var(--ux-quiet)!important}
.m305-findings>button{font-size:.82rem;line-height:1.35;border-radius:7px}
.m305-finding-content{min-width:0;padding:1.2rem 1.4rem;border-color:var(--ux-line)}
.m305-finding-content .m305-source-quote{white-space:pre-wrap;line-height:1.55}
.m305-action-list>button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.3rem .7rem;align-items:center;width:100%;min-height:54px;padding:.65rem .75rem;border:1px solid var(--ux-line);border-radius:7px;background:white;text-align:left}
.m305-action-list>button span{font-size:.78rem;color:var(--ux-quiet)}
.m305-actions-table{gap:0;border:1px solid var(--ux-line);border-radius:9px;background:white;overflow:visible}
.m305-actions-table .m305-action-card{min-height:64px;margin:0;padding:.65rem .9rem;border:0;border-bottom:1px solid #e8eef0;border-radius:0;background:transparent;box-shadow:none;text-align:left}
.m305-actions-table .m305-action-card:last-of-type{border-bottom:0}
.m305-global>h1{margin-bottom:.4rem!important}
.m305-scope-toggle,.m305-status-strip{margin:.35rem 0;gap:.3rem}
.m305-scope-toggle button,.m305-status-strip button{min-height:34px;font-weight:550;border-color:var(--ux-line);font-size:.8rem}
.m305-global .m305-search{max-width:410px;margin:.35rem 0;font-size:.78rem}
.m305-global .m305-search input{min-height:38px;margin:0}
.m305-advanced-filters{margin:.25rem 0 .6rem}
.m305-filter-context{margin:.25rem 0 .5rem}
.m305-actions-table .m305-overlay,.m305-action-list .m305-overlay{position:fixed;z-index:10;inset:0 0 0 auto;width:min(530px,100vw);height:100vh;overflow:auto;margin:0;padding:1.2rem 1.35rem 2rem;background:white;border:0;border-left:1px solid var(--ux-line);border-radius:0;box-shadow:-8px 0 26px #12394424}
.m305-action-detail h2{font-size:1.2rem!important}
.m305-action-detail .m305-back{font-size:.8rem}
.m305-inbox-card{margin:.35rem 0 0;padding:.8rem .95rem;border-color:var(--ux-line);border-radius:8px}
.m305-review-panel{border:1px solid var(--ux-line);border-top:0;border-radius:0 0 8px 8px}
.m305-empty-state{padding:2.3rem 1rem;text-align:center;background:white;border:1px solid var(--ux-line);border-radius:9px;color:var(--ux-quiet)}
.m305-empty-state strong{font-size:1.4rem;color:var(--ux-teal)}
.m305-empty-state h2{margin:.25rem!important}
.m305-report-head{display:flex;align-items:center;justify-content:space-between;padding:.85rem 1rem;margin:0 0 .75rem;border:1px solid var(--ux-line);border-radius:9px;background:white}
.m305-report-head h1{font-size:1.25rem!important}
.m305-report-toolbar{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;padding:.65rem .8rem;margin:0 0 .65rem;border:1px solid var(--ux-line);border-radius:8px;background:white}
.m305-report-toolbar label{display:flex;align-items:center;gap:.45rem;margin:0;font-size:.8rem;color:var(--ux-quiet)}
.m305-report-toolbar select{min-height:35px;max-width:210px;padding:.25rem .55rem;background:white;font-size:.8rem}
.m305-report-human{font-size:.77rem;color:var(--ux-quiet);margin-right:auto}
.m305-report-toolbar .m305-buttons{display:flex;gap:.35rem}
.m305-report-toolbar .m305-buttons button{min-height:35px;font-size:.78rem;padding:.3rem .55rem}
.m305-saved-preview{display:block;width:100%;min-height:75vh;border:0;background:white}
.m305-report-layout{grid-template-columns:minmax(190px,225px) minmax(0,1fr);gap:.8rem}
.m305-document-nav{border-color:var(--ux-line);border-radius:9px}
.m305-document{border-color:var(--ux-line);background:#e6edf0}
#m305-versions{max-width:none;border:1px solid var(--ux-line);margin:.8rem 0}
#m305-versions>p{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem;border:1px solid var(--ux-line)}
.m305-home>.m305-admin-form,.m305-home>.m305-paper{max-width:none}
.m305-admin-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-top:.8rem}
.m305-admin-links .m305-paper{margin:0;max-width:none}
.m305-admin-links h2{margin:0 0 .3rem!important}
.m305-admin-links p{font-size:.82rem;color:var(--ux-quiet)}
.m305-admin-permissions{max-width:none}
.field-body>header{position:static;background:var(--ux-sidebar);color:white;padding:.55rem 1rem}
.field-body>header h1{display:block;font-size:.95rem}
.field-main{max-width:960px;padding:1rem 1rem 3rem}
.field-body .toolbar{justify-content:flex-end;background:transparent;border:0;box-shadow:none;padding:0;margin:0 0 .65rem}
.field-body .toolbar label{flex:0 1 auto;min-width:0;color:var(--ux-quiet);font-size:.78rem}
.field-body .toolbar select,.field-body .toolbar button{min-height:36px;font-size:.8rem;padding:.3rem .55rem}
.field-body #field-list{border-color:var(--ux-line);border-radius:9px}
.field-body #field-list>.card{display:flex;align-items:center;justify-content:space-between;gap:.7rem;border-color:var(--ux-line);border-radius:7px}
.field-body #field-list>.card small{white-space:nowrap}
.field-inline-work,#field-task-action{border-color:var(--ux-line);border-radius:9px;background:white;padding:1.1rem 1.25rem}
.field-work-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;padding-bottom:.75rem;border-bottom:1px solid var(--ux-line)}
.field-work-head h2{margin:0!important;font-size:1.18rem!important}
.field-work-head .statusline{white-space:nowrap;margin:0!important}
.field-block{padding:.8rem 0;border-bottom:1px solid #e8eef0}
.field-block h3{margin:0 0 .25rem!important;color:var(--ux-quiet);font-size:.73rem!important;letter-spacing:.04em}
.field-block p{margin:.2rem 0;white-space:pre-wrap}
.field-block small{color:var(--ux-quiet)}
.field-block--source{background:#f8fafb;padding:.85rem;margin:.6rem 0;border:1px solid var(--ux-line);border-radius:8px}
#contribution-form{display:block!important;margin-top:.7rem!important}
#contribution-form>label{display:block;margin:.55rem 0}
#contribution-form textarea[name=detailed]{min-height:140px}
#contribution-form .field-actions{display:flex;gap:.5rem;margin:.45rem 0}
#contribution-form .field-actions button{min-height:44px}
#contribution-form .field-additional{margin:.7rem 0;border-top:1px solid var(--ux-line)}
#contribution-form .field-additional summary{border:0;padding:.7rem 0;color:var(--ux-teal)}
#contribution-form .field-submit-row{display:flex;justify-content:flex-end;align-items:center;gap:.55rem;margin-top:.6rem}
#contribution-form .submit-field{width:auto;min-height:44px;margin:0}
.field-body .field-next-step{margin:.5rem 0;color:var(--ux-quiet);font-size:.8rem}
@media(max-width:1000px){#manager25:not(.hidden){grid-template-columns:66px minmax(0,1fr)}.m25-brand{padding:.2rem .22rem 1.3rem}.m25-nav button span:last-child{display:none}#manager25 .m25-nav button{justify-content:center;padding:.55rem}.m25-nav-icon{display:inline-grid!important}}
@media(max-width:760px){body>header{display:none}#manager25:not(.hidden){display:block}.m25-menu-toggle{display:flex;align-items:center;gap:.4rem;position:sticky;top:0;z-index:7;width:100%;min-height:44px;padding:.4rem 1rem;border:0;border-radius:0;background:var(--ux-sidebar);color:white;text-align:left}.m25-sidebar{display:none;position:fixed;top:44px;left:0;width:min(270px,85vw);height:calc(100vh - 44px);box-shadow:8px 0 24px #12394433}.m25-sidebar.open{display:block}.m25-sidebar.open .m25-nav button span:last-child{display:inline}#manager25 .m25-sidebar.open .m25-nav button{justify-content:flex-start}.m25-main{padding:.7rem .8rem 2rem}.m25-utility{min-height:38px}.m25-user{padding:0}.m25-user #m25-user-name{display:none}#m25-global-search{width:min(100%,450px)}#manager25 .m25-top{justify-content:flex-start;flex-wrap:wrap;padding:0}.m305-today-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.m305-workspace{display:block}.m305-findings{position:static;display:flex;max-height:none;overflow:auto;margin-bottom:.7rem}.m305-findings h2{flex:none;align-self:center;margin:0 .5rem 0 0!important}.m305-findings>button{min-width:170px}.m305-report-layout,.m305-admin-links{grid-template-columns:1fr}.m305-dossier-title{align-items:flex-start}.field-body .toolbar{flex-wrap:wrap}.field-work-head{display:block}.field-work-head .statusline{display:inline-block;margin-top:.4rem!important}}
@media(max-width:540px){.m305-today-grid{gap:.5rem}.m305-today-grid button{min-height:88px;padding:.7rem}.m305-today-grid strong{font-size:1.35rem}.m305-dossier-table,.m305-dossier-table tbody,.m305-dossier-table tr,.m305-dossier-table td,.m305-dossier-table th{display:block;width:100%}.m305-dossier-table thead{display:none}.m305-dossier-table tbody tr{display:grid;grid-template-columns:1fr auto;gap:.3rem .8rem;padding:.8rem;border-bottom:1px solid var(--ux-line)}.m305-dossier-table tbody tr>*{padding:0;border:0}.m305-dossier-table tbody th{grid-column:1/-1;min-width:0}.m305-dossier-table td:nth-child(2),.m305-dossier-table td:nth-child(3){grid-column:1}.m305-dossier-table td:nth-child(4),.m305-dossier-table td:nth-child(5){font-size:.76rem;color:var(--ux-quiet)}.m305-dossier-table td:last-child{grid-column:2;grid-row:2/5;align-self:center}.m305-dossier-title{display:block}.m305-dossier-summary{display:flex;align-items:center;justify-content:flex-start;margin-top:.65rem}.m305-dossier-summary .m305-meter{width:80px}.m305-actions-table .m305-action-card{grid-template-columns:1fr}.m305-actions-table .m305-action-card small{grid-column:1;grid-row:auto;justify-self:start}.m305-report-head{display:block}.field-body #field-list>.card{display:block}.field-body #field-list>.card small{display:block}.field-body #contribution-form .field-actions{display:grid;grid-template-columns:1fr 1fr}.field-body #contribution-form .field-submit-row{display:grid;grid-template-columns:1fr 1fr}.field-body #contribution-form .submit-field{width:100%}}
@media print{#manager25:not(.hidden){display:block}.m25-sidebar,.m25-menu-toggle,.m25-top{display:none!important}.m25-main{padding:0}.m305-actions-table .m305-overlay{position:static;box-shadow:none}}
