@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light;--ink:#12383e;--deep:#153f48;--nav:#102f37;--cyan:#00a5c4;--sea:#008b99;--pale:#eaf6f7;--canvas:#f5f8f9;--muted:#6a8086;--line:#e1eaec;--white:#fff;--radius:11px;--shadow:0 7px 28px rgba(22,61,68,.035)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:'DM Sans',-apple-system,Helvetica,sans-serif;color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--sea)}.boot{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted)}.brandmark{font-family:Manrope,sans-serif;font-size:38px;font-weight:800;color:var(--deep)}.brandmark span{color:#11b6cf}.shell{min-height:100vh;display:grid;grid-template-columns:247px minmax(0,1fr)}.side{background:var(--nav);color:#c6d9dc;padding:28px 15px 18px;display:flex;flex-direction:column;gap:28px;position:sticky;top:0;height:100vh;overflow-y:auto}.side .logo{padding:0 13px;display:flex;align-items:center;gap:11px}.logo-glyph{font-weight:800;letter-spacing:-.1em;font-size:27px;color:#29bfdb}.logo-glyph span{color:#fff}.logo-copy{display:flex;flex-direction:column}.logo-copy strong{font-size:15px;color:white}.logo-copy small{font-size:9px;letter-spacing:1.4px;text-transform:uppercase;color:#90bcc5}.side-label{font-size:9px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:#7c9ba2;padding:0 14px;margin-bottom:7px}.navlist{display:grid;gap:4px}.navlink{width:100%;background:transparent;border:0;color:#bbd0d3;display:flex;align-items:center;justify-content:space-between;border-radius:9px;padding:12px 13px;text-align:left;font-size:12px;font-weight:650}.navlink .left{display:flex;align-items:center;gap:12px}.navlink svg{width:17px;height:17px;opacity:.8}.navlink:hover,.navlink.active{background:#214951;color:white}.navlink.active:before{content:'';position:absolute;left:0;width:3px;height:23px;background:#24c2dc;border-radius:0 6px 6px 0}.navcount{background:#345862;padding:3px 7px;border-radius:7px;font-size:10px}.side-spacer{flex:1}.side-user{border-top:1px solid #355962;padding:18px 11px 0;display:flex;align-items:center;gap:11px}.avatar{width:37px;height:37px;flex-shrink:0;border-radius:10px;display:grid;place-items:center;background:#287f8d;color:white;font-weight:800}.side-user strong{font-size:11px;color:white;display:block}.side-user small{font-size:10px;color:#96b8be;display:block;margin-top:3px}.logout{margin-left:auto;border:0;background:transparent;color:#afcbd0}.main{min-width:0;background:var(--canvas);padding:0 35px 65px}.topbar{height:84px;display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line)}.crumb{color:#748c90;font-size:12px;white-space:nowrap}.crumb strong{color:#234b51}.topgrow{flex:1}.search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:10px 13px;background:#fff;border-radius:9px;width:310px;max-width:40vw}.search input{background:none;border:0;outline:none;min-width:0;width:100%;font-size:12px;color:var(--ink)}.topicon{border:1px solid var(--line);background:white;color:var(--ink);width:36px;height:36px;border-radius:9px;display:grid;place-items:center}.content{max-width:1410px;margin:auto}.pagehead{padding:31px 0 22px;display:flex;align-items:center;justify-content:space-between;gap:14px}.eyebrow{color:var(--sea);text-transform:uppercase;letter-spacing:1.5px;font-weight:800;font-size:10px}.pagehead h1{font-family:Manrope,sans-serif;font-size:27px;letter-spacing:-1px;margin:6px 0 5px}.pagehead p{font-size:12px;color:var(--muted);margin:0}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;border:1px solid var(--line);border-radius:8px;background:white;color:var(--deep);padding:11px 15px;font-weight:750;font-size:12px;min-height:39px}.btn:hover{border-color:#97cbd0}.btn.primary{border-color:#087b8a;color:white;background:#087b8a}.btn.primary:hover{background:#006c79}.btn.subtle{background:#eaf5f6;border-color:#d4eaec;color:#147887}.btn.danger{color:#a13b43}.btn svg{width:15px;height:15px}.priority{border-radius:12px;background:linear-gradient(115deg,#16434b,#0c5f6c);color:white;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 25px;margin-bottom:24px;position:relative;overflow:hidden}.priority:after{content:'0→1';position:absolute;font-weight:800;font-size:125px;letter-spacing:-19px;color:#e4ffff0c;right:35px;bottom:-52px}.priority .eyebrow{color:#66dfec}.priority h2{font-family:Manrope,sans-serif;max-width:720px;position:relative;z-index:1;font-size:19px;line-height:1.45;margin:11px 0 0}.priority p{color:#bbdfe3;max-width:680px;font-size:12px;line-height:1.65;position:relative;z-index:1}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:22px}.metric{background:white;border:1px solid var(--line);border-radius:11px;padding:21px 20px;box-shadow:var(--shadow)}.metric .heading{font-weight:800;font-size:10px;color:#778b91;letter-spacing:1px;text-transform:uppercase}.metric strong{font-family:Manrope,sans-serif;font-size:25px;display:block;margin:11px 0 7px}.metric small{font-size:10px;color:var(--muted)}.grid2{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(275px,1fr);gap:16px}.panel{background:white;border:1px solid var(--line);border-radius:11px;padding:18px 20px;margin-bottom:16px;box-shadow:var(--shadow);min-width:0}.panelheader{display:flex;align-items:center;gap:10px;justify-content:space-between;padding-bottom:14px}.panelheader h2{font-family:Manrope,sans-serif;font-size:14px;margin:0}.panelheader small{color:var(--sea);font-size:11px}.empty{padding:35px 16px;text-align:center;color:var(--muted)}.empty svg{opacity:.4}.empty h3{font-family:Manrope,sans-serif;font-size:14px;color:var(--ink)}.empty p{max-width:400px;margin:8px auto;font-size:12px;line-height:1.65}.listrow{padding:13px 0;border-top:1px solid #edf2f3;display:flex;align-items:start;gap:11px}.listrow:first-child{border:0}.listrow .dot{width:31px;height:31px;display:grid;place-items:center;flex-shrink:0;border-radius:10px;background:#e3f3f4;color:#087d8c}.listrow .body{min-width:0;flex:1}.listrow strong{font-size:12px;display:block}.listrow p{font-size:11px;color:var(--muted);line-height:1.55;margin:5px 0 0}.listrow small{font-size:10px;color:#87999e}.link{border:0;background:none;color:#068b9d;font-size:11px;font-weight:750;padding:0}.pill{display:inline-flex;align-items:center;border-radius:20px;padding:4px 8px;font-size:10px;font-weight:750;background:#e8f5f6;color:#087b8b}.pill.warn{background:#fff2e3;color:#a06b20}.pill.bad{background:#fff0f1;color:#aa5559}.pill.good{background:#e9f8ed;color:#247c4e}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:15px}.filter{border:1px solid var(--line);border-radius:8px;background:white;padding:10px 12px;min-width:130px;color:var(--ink);font-size:12px}.toolbar .spacer{flex:1}.tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:11px;background:white}.datatable{width:100%;border-collapse:collapse;min-width:730px}.datatable th{font-size:10px;color:#82969b;text-transform:uppercase;letter-spacing:.9px;text-align:left;background:#fafcfc;padding:14px 17px;border-bottom:1px solid var(--line)}.datatable td{font-size:12px;padding:16px 17px;border-bottom:1px solid #edf1f2;vertical-align:middle}.datatable tr:last-child td{border-bottom:none}.datatable tbody tr:hover{background:#f6fafb}.rowtitle{color:var(--ink);font-size:12px;font-weight:800;border:none;background:none;text-align:left;padding:0}.rowtitle:hover{color:var(--sea)}.muted{color:var(--muted)}.subline{display:block;color:#8a9ba0;font-size:10px;margin-top:4px}.kanban{display:grid;grid-template-columns:repeat(5,minmax(210px,1fr));gap:12px;overflow-x:auto;padding-bottom:6px}.kanban-col{background:#ecf3f4;border:1px solid #dfeaed;border-radius:10px;padding:12px;min-height:330px}.kanban-heading{display:flex;justify-content:space-between;font-size:11px;font-weight:800;margin:3px 2px 13px}.taskcard{background:white;border:1px solid #dbe8ea;border-radius:8px;padding:14px 13px;margin:9px 0;cursor:pointer}.taskcard:hover{box-shadow:0 5px 13px #163d4720}.taskcard h3{font-size:12px;font-weight:800;margin:0 0 8px}.taskcard p{font-size:11px;color:var(--muted);line-height:1.5}.taskcard footer{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#7b9195;font-size:10px}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{font-weight:800;font-size:11px;color:#45666c}.field input,.field select,.field textarea{min-width:0;width:100%;background:#fff;border:1px solid #d8e4e7;border-radius:8px;padding:11px 12px;color:var(--ink);font-size:12px}.field textarea{min-height:91px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #9dd9df;outline-offset:1px}.field.wide{grid-column:1/-1}.modalback{position:fixed;inset:0;background:#0d2934a6;z-index:10;display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(2px)}.modal{width:min(720px,100%);max-height:92vh;overflow:auto;background:white;border:1px solid #d7e5e7;box-shadow:0 25px 70px #08202e70;border-radius:14px;padding:25px}.modal.wide{width:min(960px,100%)}.modalhead{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:23px}.modalhead h2{font:800 19px Manrope,sans-serif;margin:3px 0}.modalhead p{font-size:11px;color:var(--muted);margin:7px 0 0}.close{border:0;background:#edf4f5;border-radius:8px;width:32px;height:32px;color:var(--deep);font-size:20px}.formactions{display:flex;justify-content:flex-end;gap:10px;margin-top:21px}.tabs{display:flex;border-bottom:1px solid var(--line);gap:4px;overflow:auto;margin-bottom:15px}.tabs button{border:0;background:none;padding:11px 14px;color:var(--muted);font-size:12px;font-weight:750;border-bottom:2px solid transparent;white-space:nowrap}.tabs button.active{color:var(--sea);border-bottom-color:var(--cyan)}.detail{display:grid;grid-template-columns:1fr 1fr;gap:13px}.record{padding:10px 0;border-bottom:1px solid var(--line)}.record small{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted)}.record p{line-height:1.65;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.notice{position:fixed;bottom:20px;right:24px;z-index:20;padding:14px 18px;background:#173f48;color:white;border-radius:9px;font-size:12px;box-shadow:0 5px 30px #09252a4d;max-width:420px}.notice.error{background:#9d373d}.authpage{min-height:100vh;display:grid;grid-template-columns:minmax(300px,1fr) minmax(360px,520px);background:#f2f7f7}.authsplash{background:linear-gradient(140deg,#0b333b,#0d5c68);color:white;padding:8vw;display:flex;flex-direction:column;justify-content:center}.authsplash h1{font:800 clamp(32px,4vw,58px)/1.1 Manrope,sans-serif;letter-spacing:-2px;max-width:560px}.authsplash p{line-height:1.8;color:#c1e3e6;max-width:440px}.authbox{background:white;padding:clamp(28px,6vw,70px);display:flex;flex-direction:column;justify-content:center}.authbox h2{font:800 26px Manrope,sans-serif;margin:11px 0}.authbox .field{margin:14px 0}.authbox .btn{margin-top:18px}.authhint{font-size:12px;line-height:1.6;color:var(--muted)}.errorline{border:1px solid #f2cecf;background:#fff2f3;color:#ad4147;padding:11px 12px;border-radius:9px;font-size:12px;line-height:1.5;margin:10px 0}.tilegrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.knowledge{min-height:190px;cursor:pointer}.knowledge:hover{border-color:#9dc8cc}.knowledge h3{font-size:15px;font-family:Manrope,sans-serif}.knowledge p{color:var(--muted);line-height:1.6;font-size:12px;max-height:93px;overflow:hidden}.knowledge .eyebrow{font-size:9px}.brief{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.75;color:#35565c}.mobilehead{display:none}.float-nav{display:none}.linkbutton{background:none;border:0;color:var(--sea);font-weight:750;font-size:12px}.radiochoices{display:flex;gap:9px;flex-wrap:wrap}.radiochoices label{background:#edf5f6;padding:10px 11px;border-radius:8px;cursor:pointer;font-size:11px}.radiochoices input{margin-right:6px}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
@media(max-width:1200px){.main{padding:0 22px 50px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.tilegrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.shell{display:block}.side{display:none}.main{padding:0 15px 110px}.topbar{height:66px}.mobilehead{display:flex;align-items:center;gap:9px}.crumb{display:none}.search{max-width:60vw;width:100%;margin-left:auto}.float-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:7;background:#123a43;color:white;justify-content:space-around;padding:8px 3px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -5px 20px #13353c36}.float-nav button{display:grid;justify-items:center;gap:4px;border:0;background:none;color:#a4c9cf;font-size:9px;font-weight:750;min-width:51px}.float-nav button.active{color:white}.float-nav svg{width:19px;height:19px}.grid2{grid-template-columns:1fr}.pagehead{padding:24px 0 16px}.pagehead h1{font-size:23px}.authpage{display:block}.authsplash{padding:50px 25px 38px}.authsplash h1{font-size:32px}.authbox{padding:30px 25px 45px}.authsplash p{font-size:12px}}
@media(max-width:520px){.topbar .search{max-width:70vw}.pagehead{align-items:start;flex-direction:column}.actions{width:100%}.priority{padding:19px 20px}.priority h2{font-size:17px}.metrics{gap:8px}.metric{padding:15px}.metric strong{font-size:21px}.metric .heading{font-size:9px}.panel{padding:15px}.formgrid,.detail,.tilegrid{grid-template-columns:1fr}.modal{padding:19px}.kanban{grid-template-columns:repeat(5,245px)}.tablewrap{margin-left:-3px;margin-right:-3px}.authsplash{padding:36px 24px}.authbox h2{font-size:22px}}


/* Contextual, single-capture relationship and delivery actions */
.linked-actions{background:#f3f9f9;border:1px solid #d6e5e7;border-radius:12px;padding:18px 19px;margin:14px 0 18px}
.linked-actions h3{font-size:14px;font-weight:750;color:#143f47;margin:0 0 5px}
.linked-actions p{font-size:12px;color:#59787d;line-height:1.55;margin:0 0 13px}
.linked-buttons{display:flex;gap:8px;flex-wrap:wrap}
.linked-buttons .btn{font-size:11px;padding:9px 12px;min-height:36px}
@media(max-width:520px){.linked-actions{padding:13px}.linked-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.linked-buttons .btn{justify-content:center;white-space:normal;text-align:center}}


.search{position:relative}
.search-results{position:absolute;top:calc(100% + 7px);right:0;width:min(460px,86vw);max-height:410px;overflow:auto;background:#fff;border:1px solid #d5e5e7;border-radius:10px;box-shadow:0 18px 44px #12343a27;z-index:30}
.search-results:empty{display:none}
.search-result{display:flex;width:100%;border:0;border-bottom:1px solid #edf1f1;background:white;text-align:left;padding:11px 14px;cursor:pointer;flex-direction:column;gap:3px}
.search-result span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#087d8b}
.search-result strong{font-size:13px;color:#123c44;font-weight:650;overflow-wrap:anywhere}
.search-result:hover,.search-result:focus-visible{background:#f0f9fa}
.search-placeholder{margin:0;padding:13px;font-size:12px;color:#5e7c81;line-height:1.5}


/* Task collaboration — clear, compact and usable on a phone */
.task-discussion-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:8px 0 14px}
.task-discussion-grid .panel{margin:0;min-width:0}
.task-discussion-grid h3,.task-event-log h3{font-size:15px;color:#153e46;margin:0 0 13px}
.task-check{display:flex;align-items:center;gap:10px;border-bottom:1px solid #e5eeee;padding:11px 2px;line-height:1.45;font-size:13px;color:#284e54;cursor:pointer}
.task-check input{accent-color:#008698;width:17px;height:17px;flex:none}
.task-done{color:#8b9c9f;text-decoration:line-through}
.inline-task-form{margin-top:14px;display:flex;flex-direction:column;gap:10px;border-top:1px solid #dfe9eb;padding-top:14px}
.inline-task-form label{font-size:12px;color:#43666b;font-weight:650;display:grid;gap:7px}
.inline-task-form input,.inline-task-form textarea{width:100%;padding:10px 12px;box-sizing:border-box;font:inherit;border:1px solid #c7dce0;border-radius:7px;background:#fff;color:#133a41}
.inline-task-form .btn{align-self:flex-start}
.task-comment{border-bottom:1px solid #e2ecee;padding:11px 0}
.task-comment strong{font-size:12px;color:#18424a}
.task-comment small,.task-event small{display:block;font-size:11px;color:#82979b;margin-top:3px}
.task-comment p{font-size:13px;color:#3f6268;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0}
.task-event-log{margin:0 0 12px}
.task-event{padding:9px 0;border-bottom:1px solid #e6eeee;font-size:12px;line-height:1.5;color:#4c6e73;overflow-wrap:anywhere}
.task-event strong{color:#214850}
@media(max-width:760px){.task-discussion-grid{grid-template-columns:1fr}.task-discussion-grid .panel{padding:14px}}

/* Invitations: separate provider submission, actual delivery and completed activation. */
.invitation-register{margin:18px 0}
.invitation-register .panelheader p{margin:6px 0 0}
.invitation-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:16px 0;border-top:1px solid #e4eff0}
.invitation-person{display:flex;flex-direction:column;gap:4px;min-width:0}
.invitation-person strong{font-size:13px;color:#19464f}
.invitation-person span{font-size:13px;overflow-wrap:anywhere;color:#456c73}
.invitation-person small{font-size:11px;color:#829b9e}
.invitation-person p{font-size:12px;color:#59767c;line-height:1.55;margin:6px 0 0}
.invitation-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;min-width:185px}
.invitation-actions .btn{font-size:11px;padding:9px 11px}
@media(max-width:760px){.invitation-row{flex-direction:column;gap:11px}.invitation-actions{justify-content:flex-start;min-width:0}}


/* Connected Opportunity OS: professional, minimal and deliberately mobile-first. */
.suite-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:18px;margin-bottom:22px}
.suite-head h1{font-size:clamp(24px,2.8vw,34px);line-height:1.12;letter-spacing:-.035em;color:#153c44;margin:7px 0}
.suite-head p:not(.eyebrow){font-size:13px;color:#5a7980;line-height:1.5;max-width:700px}
.suite-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.suite-actions .btn{white-space:nowrap}
.suite-grid{display:grid;gap:16px;margin:16px 0 20px}
.suite-grid2{grid-template-columns:repeat(2,minmax(0,1fr))}
.suite-grid3{grid-template-columns:repeat(3,minmax(0,1fr))}
.suite-card{background:#fff;border:1px solid #dbe7ea;border-radius:11px;padding:20px;min-width:0;box-shadow:0 3px 12px #0f485508}
.suite-card h3{font-size:15px;color:#173e47;margin:0 0 15px;font-weight:750}
.suite-card p{font-size:13px;color:#57747a;line-height:1.65;white-space:pre-wrap}
.suite-card .btn{margin:6px 6px 0 0}
.suite-number{display:block;font-size:31px;color:#103c44;letter-spacing:-.04em}
.suite-line,.suite-list-item{display:flex;gap:14px;align-items:center;justify-content:space-between;border-top:1px solid #e6eff0;padding:12px 0;color:#31555d;font-size:13px}
.suite-line span,.suite-list-item>div{min-width:0;overflow-wrap:anywhere}
.suite-list-item strong{color:#18434a;font-weight:700}
.suite-list-item small{display:block;color:#7a9196;font-size:11px;margin-top:4px;line-height:1.4}
.suite-link{border:0;background:none;padding:0;text-align:left;font:inherit;color:#087e8b;font-weight:700;cursor:pointer}
.suite-hint{font-size:12px;color:#6a858b;line-height:1.6;margin:18px 0}
.suite-chip{display:inline-flex;font-size:10px;text-transform:uppercase;letter-spacing:.04em;background:#edf4f5;color:#476f76;border-radius:20px;padding:6px 8px;white-space:nowrap}
.suite-chip.state-green,.suite-chip.state-completed,.suite-chip.state-done{background:#e5f7ed;color:#197748}
.suite-chip.state-red,.suite-chip.state-overdue,.suite-chip.state-blocked{background:#fbe9e7;color:#9a3b30}
.suite-chip.state-amber,.suite-chip.state-due{background:#fff3d9;color:#936400}
.suite-progress{height:9px;background:#e6edef;border-radius:20px;overflow:hidden;margin:10px 0}
.suite-progress>span{height:100%;display:block;background:#159aaa;border-radius:20px;transition:width .18s}
.suite-stagegrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.suite-stagegrid>div{background:#f1f8f8;border-radius:9px;padding:13px 8px;text-align:center}
.suite-stagegrid strong{display:block;color:#125059;font-size:23px}
.suite-stagegrid span{display:block;color:#53767b;font-size:10px;line-height:1.4}
.suite-board{display:grid;grid-template-columns:repeat(5,minmax(210px,1fr));gap:12px;overflow-x:auto;padding-bottom:20px;scroll-snap-type:x proximity}
.suite-lane{background:#eaf2f3;border-radius:11px;padding:11px;min-height:320px;scroll-snap-align:start}
.suite-lanehead{display:flex;justify-content:space-between;color:#21464c;font-size:12px;padding:6px 4px 14px}
.suite-lanehead>span{color:#6b8b91;background:#fff;padding:2px 8px;border-radius:12px}
.suite-task{background:#fff;border:1px solid #dce8ea;border-radius:9px;margin:0 0 11px;padding:12px;box-shadow:0 2px 8px #173f4910;cursor:grab}
.suite-task:active{cursor:grabbing}
.suite-tasktop{display:flex;align-items:flex-start;gap:5px;justify-content:space-between}
.suite-tasktop strong{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.suite-tasktop .btn{font-size:10px;padding:5px 7px;min-height:0}
.suite-task small{color:#839499;font-size:10px}
.suite-taskfoot{display:flex;justify-content:space-between;align-items:center;gap:6px}
.suite-taskfoot select{font-size:10px;border:1px solid #d4e2e5;border-radius:6px;padding:4px;max-width:130px}
.suite-subcards{padding:5px 0}
.suite-subcard{display:flex;align-items:flex-start;gap:7px;background:#f3f8f8;padding:8px;border-radius:6px;margin:5px 0;font-size:11px;line-height:1.35;color:#335d63;cursor:pointer}
.suite-subcard input{margin:2px 0 0;flex-shrink:0;accent-color:#0c8998}
.suite-subcard .strike{text-decoration:line-through;color:#819699}
.suite-chat{max-height:55vh;overflow:auto;background:#f2f7f8;padding:12px;border-radius:10px}
.suite-bubble{max-width:85%;margin:10px auto 10px 0;background:#fff;border:1px solid #dbe7e9;border-radius:12px;padding:12px}
.suite-bubble.own{margin-left:auto;margin-right:0;background:#e5f6f7}
.suite-bubble strong{font-size:12px;color:#146272}
.suite-bubble p{white-space:pre-wrap;margin:6px 0;color:#26494f}
.suite-bubble small{color:#8ba0a3;font-size:10px}
.suite-card form,.suite-modal form{display:flex;flex-direction:column;gap:12px}
.suite-card form{margin-top:15px}
.suite-card input,.suite-card select,.suite-card textarea,.suite-modal input,.suite-modal select,.suite-modal textarea{padding:11px 12px;border:1px solid #cddfe2;border-radius:8px;width:100%;box-sizing:border-box;background:#fff;color:#123941;font:inherit;min-width:0}
.suite-card label,.suite-modal label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#416870;font-weight:700}
.suite-inline{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}
.suite-inline input,.suite-permissions input{width:auto}
.suite-rag{font-size:12px;line-height:2.2;color:#607e83}
.suite-permissions{border:1px solid #d4e3e5;border-radius:8px;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.suite-permissions legend{color:#21484f;font-weight:700;font-size:12px;padding:0 5px}
.suite-permissions label{flex-direction:row;align-items:center}
.suite-modal{max-height:85vh;overflow:auto}
@media(max-width:1100px){.suite-board{grid-template-columns:repeat(5,235px)}.suite-stagegrid{grid-template-columns:repeat(4,minmax(0,1fr))}.suite-grid3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.suite-grid2,.suite-grid3{grid-template-columns:minmax(0,1fr)}.suite-head h1{font-size:25px}.suite-head{gap:10px}.suite-head .btn{font-size:12px}.suite-stagegrid{grid-template-columns:repeat(3,minmax(0,1fr))}.suite-card{padding:14px}.suite-board{margin:0 -5px;grid-template-columns:repeat(5,80vw);gap:8px}.suite-lane{padding:8px;min-height:200px}.suite-modal{width:calc(100vw - 20px);max-width:none;padding:16px}.suite-permissions{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* One working record and five familiar destinations. */
.connected-heading{margin:4px 0 22px}.connected-heading h1{letter-spacing:-.035em}
.connected-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.connected-stat{display:flex;flex-direction:column;gap:12px;align-items:flex-start;text-align:left;min-height:111px;background:#fff;border:1px solid #d4e3e5;border-radius:12px;padding:16px;cursor:pointer;color:#173d46}
.connected-stat:hover,.connected-account:hover,.connected-click:hover{border-color:#16a4b8;background:#f1fafb}
.connected-stat small{font-size:12px;color:#667f85}.connected-stat strong{font-size:28px;letter-spacing:-.03em}
.connected-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}
.connected-panel{min-width:0;margin-bottom:16px}.connected-panel h2{font-size:17px}.connected-panel h3{font-size:14px;margin:22px 0 9px}
.connected-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #e5ecee}
.connected-row:last-child{border-bottom:0}.connected-row-main{display:flex;flex-direction:column;min-width:0;gap:5px;text-align:left;flex:1}
.connected-row-main strong{font-size:13px;color:#143d45;overflow-wrap:anywhere}
.connected-row-main small{font-size:12px;color:#617c83;line-height:1.45;overflow-wrap:anywhere}
.connected-click{width:100%;border:0;background:transparent;cursor:pointer;font:inherit;color:inherit}.connected-click:focus-visible,.connected-stat:focus-visible,.connected-account:focus-visible{outline:3px solid #28acc0;outline-offset:2px}
.connected-arrow{font-size:12px;font-weight:700;color:#087c8c}.connected-attribute{font-size:12px;color:#52757e}
.connected-stages{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
.connected-stage{border:0;background:#eff6f7;border-radius:9px;padding:13px 4px;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;color:#184953}
.connected-stage strong{font-size:22px}.connected-stage small{font-size:10px;text-align:center;word-break:break-word}
button.connected-stage{cursor:pointer}.connected-accounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.connected-account{border:1px solid #d4e3e5;background:white;border-radius:12px;padding:20px;text-align:left;display:flex;flex-direction:column;gap:10px;min-height:136px;cursor:pointer}
.connected-account strong{font-size:17px;color:#183f48}.connected-account small{color:#647f86}.connected-account span{margin-top:auto;color:#07889a;font-size:12px;font-weight:700}
.connected-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid #dce9eb;margin:14px 0 22px;padding:0 0 8px}
.connected-tabs button{border:0;background:transparent;color:#5d757b;font:inherit;font-size:13px;font-weight:650;border-radius:7px;padding:10px 12px;cursor:pointer}
.connected-tabs button.active{background:#e3f4f6;color:#076f80}.connected-tabs button:hover{background:#eef7f8}
.connected-progress{height:8px;background:#e3edef;border-radius:9px;overflow:hidden;margin:14px 0}
.connected-progress>div{height:100%;background:#0e91a0;border-radius:9px;transition:width .2s}
.connected-task{display:flex;flex-direction:column;gap:11px}
.connected-task small{line-height:1.35;color:#6c858a}.connected-task p{font-size:11px;color:#5a737b;margin:0;overflow-wrap:anywhere}
.connected-task select{margin:0;width:100%;max-width:100%;padding:9px;border-radius:7px;border:1px solid #d3e4e7;background:#fff;color:#183d46}
.connected-task .btn{width:100%;justify-content:center}.connected-board{overflow-x:auto;scrollbar-width:thin}
.connected-dialog{overflow-y:auto;max-height:92vh}
.connected-form{display:flex;flex-direction:column;gap:14px;padding:10px 0}
.connected-form label{display:flex;flex-direction:column;gap:6px;font-weight:650;font-size:12px;color:#234953}
.connected-form input,.connected-form select,.connected-form textarea{width:100%;min-width:0;border:1px solid #cddfe2;border-radius:8px;padding:11px;font:inherit;background:white;color:#173f47;box-sizing:border-box}
.connected-form .connected-check{flex-direction:row;align-items:flex-start;line-height:1.5}
.connected-form .connected-check input{width:auto;margin:4px 8px 0 0}
.connected-messages{max-height:44vh;overflow-y:auto;padding:12px;background:#f0f6f7;border-radius:10px}
.connected-message{background:white;border:1px solid #e0eaec;padding:12px;margin:9px 0;border-radius:10px;font-size:13px}
.connected-message p{white-space:pre-wrap}.connected-message small{font-size:11px;color:#627d83}
.connected-empty{padding:16px}.connected-row .btn{flex-shrink:0}
@media(max-width:1100px){.connected-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.connected-accounts{grid-template-columns:repeat(2,minmax(0,1fr))}.connected-stages{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.connected-columns,.connected-accounts{grid-template-columns:minmax(0,1fr)}.connected-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.connected-stat{min-height:92px;padding:11px}.connected-stat strong{font-size:25px}.connected-stages{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.connected-stage strong{font-size:19px}.connected-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.connected-tabs button{white-space:nowrap}.connected-row{gap:8px;align-items:flex-start}.connected-row>.btn{font-size:11px;padding:8px}.connected-heading h1{font-size:28px}.connected-dialog{padding:16px;max-height:calc(100dvh - 12px)}.connected-board{grid-template-columns:repeat(5,minmax(72vw,1fr))}.connected-account{min-height:110px}.connected-panel{padding:15px}}
@media(prefers-reduced-motion:reduce){.connected-progress>div{transition:none}}


.connected-wide-table{width:100%;max-width:100%;overflow-x:auto;scrollbar-width:thin}
.connected-wide-table table{width:100%;border-collapse:collapse;min-width:400px;font-size:13px}
.connected-wide-table th,.connected-wide-table td{padding:12px 10px;text-align:left;border-bottom:1px solid #e3ecee;white-space:nowrap}
.connected-wide-table th{font-weight:700;color:#285661;background:#eef6f7}
.connected-evidence,.connected-history{margin:10px 0 20px}
.connected-history{padding:14px 0;border-top:1px solid #d9e7e9}
.connected-history h3{margin-top:0}
.connected-history p{font-size:12px;color:#566f76;padding:8px 0;border-bottom:1px solid #edf1f2}
.connected-dialog .connected-panel{margin:12px 0}
.connected-dialog .connected-panel h2{overflow-wrap:anywhere}
.connected-dialog input[type=file]{font-size:13px;max-width:100%}
@media(max-width:760px){
 .connected-dialog .connected-columns{grid-template-columns:minmax(0,1fr)}
 .connected-wide-table th,.connected-wide-table td{font-size:12px;padding:10px 8px}
 .connected-dialog .connected-row{align-items:flex-start}
}


/* October 2026 acceptance: progressive capture and deliberate evidence selection. */
.form-intro{margin:0 0 15px;color:#486b72;font-size:13px;line-height:1.55}
.form-more{grid-column:1/-1;border:1px solid #d9e8ea;border-radius:11px;background:#f7fbfb;padding:0;min-width:0}
.form-more summary{cursor:pointer;list-style:none;padding:15px 16px;font-size:13px;font-weight:750;color:#134953;display:flex;align-items:center;gap:7px}
.form-more summary::-webkit-details-marker{display:none}
.form-more summary:before{content:"+";display:inline-flex;width:20px;height:20px;border-radius:6px;align-items:center;justify-content:center;background:#e4f3f5;color:#087e8f;font-weight:800}
.form-more[open] summary:before{content:"−"}
.form-more[open] summary{border-bottom:1px solid #d9e8ea}
.form-more .formgrid,.form-more .form-more-inner{padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.modal .formactions{position:sticky;bottom:-25px;z-index:3;background:white;padding:14px 0 8px;margin-bottom:-20px;border-top:1px solid #e3edef}
.modal .modalhead{position:sticky;top:-25px;z-index:3;background:white;padding:12px 0;margin-top:-12px;border-bottom:1px solid #eef2f3}
.evidence-picker{border:1px solid #d6e5e7;border-radius:10px;padding:14px;margin:4px 0}
.evidence-picker legend{font-size:13px;font-weight:750;color:#19454e;padding:0 6px}
.evidence-choices{display:grid;gap:7px;max-height:235px;overflow-y:auto}
.evidence-choice{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #dce9eb;border-radius:8px;background:#fff;font-weight:450!important}
.evidence-choice[hidden]{display:none!important}
.evidence-choice input{flex:0 0 auto;width:17px!important;height:17px!important;margin:2px 0 0}
.evidence-choice span{display:grid;gap:4px;min-width:0}
.evidence-choice strong{font-size:13px;color:#1a434b;overflow-wrap:anywhere}
.evidence-choice small{font-size:11px;color:#57727a}
@media(max-width:520px){
 .form-more .formgrid,.form-more .form-more-inner{grid-template-columns:1fr}
 .modal .modalhead{top:-19px}
 .modal .formactions{bottom:-19px}
 .modal .formactions .btn{flex:1;justify-content:center}
}


/* Compact, reversible subtask interaction on the working board. */
.connected-child-list{border-top:1px solid #e0eaec;padding-top:10px;display:flex;flex-direction:column;gap:6px}
.connected-child-progress{font-size:11px;font-weight:750;color:#536f77}
.connected-child-check{display:flex;align-items:flex-start;gap:9px;padding:7px 8px;border-radius:7px;background:#f2f8f9;font-weight:500;cursor:pointer;line-height:1.4}
.connected-child-check input{flex:0 0 auto;margin:2px 0 0;width:16px;height:16px;accent-color:#008b99}
.connected-child-check>span{display:grid;gap:3px;min-width:0;font-size:12px;overflow-wrap:anywhere}
.connected-child-check .finished{text-decoration:line-through;color:#6e888f}
.connected-child-check small{font-size:10px;color:#647e85}
.connected-task-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}


/* HUMAN-CENTRED WORKSPACE v1: consistent actions, rhythm, contrast, and mobile ergonomics.
   All components remain plain HTML with no dependency on a third-party build pipeline. */
:root{
 --hc-space-1:4px;--hc-space-2:8px;--hc-space-3:12px;--hc-space-4:16px;
 --hc-space-5:20px;--hc-space-6:24px;--hc-control:44px;
 --hc-focus:#00889a;--hc-border:#d2e2e5;--hc-text:#1b4148;
}
:where(button,a,input,select,textarea,summary):focus-visible{
 outline:3px solid var(--hc-focus)!important;outline-offset:3px!important;
}
:where(.btn,.topicon,.close,.tabs button,.connected-tabs button,.suite-tabs button){
 min-height:var(--hc-control);
}
.btn{font-size:13px;line-height:1.35;padding:10px 16px;letter-spacing:0}
.close{min-width:44px;min-height:44px;display:inline-grid;place-items:center;flex:0 0 auto}
.topicon{min-width:44px;min-height:44px}
.pagehead{padding:22px 0 20px}.pagehead h1{font-size:clamp(24px,2vw,30px);letter-spacing:-.65px}
.pagehead p,.suite-head p,.connected-heading p{font-size:13px;line-height:1.6}
.panel{padding:20px 22px;margin-bottom:14px}
.panelheader h2{font-size:15px;line-height:1.4}
.connected-row{padding:13px 0}.connected-row-main strong{font-size:14px;line-height:1.4}
.connected-row-main small{font-size:12px;line-height:1.55}
.modal{max-height:min(92dvh,980px);overscroll-behavior:contain;scrollbar-gutter:stable}
.modalhead h2{font-size:20px;line-height:1.3;letter-spacing:-.35px}
.modalhead p{font-size:13px;line-height:1.5}
.connected-form{gap:17px}
.connected-form label,.suite-modal label,.field label{font-size:13px;line-height:1.5}
.connected-form :is(input:not([type=checkbox]),select,textarea),
.suite-modal :is(input:not([type=checkbox]),select,textarea),
.formgrid :is(input:not([type=checkbox]),select,textarea){
 min-height:44px;font-size:14px;line-height:1.45;
 border-color:var(--hc-border);padding:11px 13px;border-radius:9px;
}
.connected-form textarea,.suite-modal textarea,.field textarea{line-height:1.6;min-height:95px}
.connected-form p,.modal>p{font-size:13px;line-height:1.65;color:#48656c}
.modal .connected-form>button[type=submit]{
 position:sticky;bottom:0;z-index:2;min-height:46px;
 box-shadow:0 -9px 0 white,0 1px 0 white;
}
.modal .connected-form :is([type=checkbox],[type=radio]){accent-color:var(--sea);min-width:18px;min-height:18px}
.connected-form small,.suite-hint{font-size:12px;line-height:1.5}
.connected-row .btn{min-width:94px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.work-layout-switch{display:flex;justify-content:flex-end;align-items:center;gap:6px;margin:16px 0}
.work-layout-switch>.muted{margin-right:auto;font-size:12px}
.work-layout-switch button{min-height:40px;padding:8px 16px;border:1px solid #d4e4e7;background:#fff;font-weight:700;color:#2b5961}
.work-layout-switch button:first-of-type{border-radius:9px 0 0 9px}
.work-layout-switch button:last-of-type{border-radius:0 9px 9px 0;margin-left:-6px}
.work-layout-switch button.active{background:#dbf1f3;color:#086d7d;border-color:#9ed3dc}
.work-list{display:flex;flex-direction:column;gap:18px}
.work-group{background:white;border:1px solid #d9e7e9;border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}
.work-group h3,.work-group>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:14px 18px;background:#f2f7f8;border-bottom:1px solid #dce7e9;color:#17434b;font-size:14px;font-weight:750}
.work-group h3>span,.work-group>summary>span{min-width:26px;text-align:center;background:#fff;border-radius:50px;color:#5a7a82;font-size:12px;padding:3px 7px}
.work-group>summary{cursor:pointer;list-style:none}
.work-group>summary::-webkit-details-marker{display:none}
.work-list-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:15px 18px;border-bottom:1px solid #edf2f3}
.work-list-row:last-child{border-bottom:0}
.work-list-primary{min-width:0;flex:1}
.work-title{padding:0;border:0;background:transparent;color:#143d45;font-size:14px;line-height:1.45;text-align:left;font-weight:750;white-space:normal}
.work-title:hover{text-decoration:underline}
.work-list-meta{display:flex;flex-wrap:wrap;gap:6px 16px;color:#607c84;font-size:12px;margin:5px 0}
.work-list-primary>p{font-size:12px;color:#5b747b;line-height:1.5;margin:7px 0}
.work-list-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.work-status-select select{border:1px solid #d1e2e5;background:white;color:#28515a;border-radius:8px;min-height:42px;padding:8px 12px;max-width:180px}
.work-list-actions .btn{min-height:42px}
.work-list .connected-child-list{max-width:600px;margin:9px 0 0}
.connected-task{padding:14px;gap:9px}
.connected-task>strong{font-size:13px;line-height:1.45}
.connected-task .connected-child-list{margin:0}
.connected-board{grid-template-columns:repeat(5,minmax(245px,1fr))}
.connected-task-summary{-webkit-line-clamp:2;font-size:12px!important}
@media(max-width:850px){
 .main{padding:0 16px 98px}
 .topbar{height:66px}
 .modalback{padding:0;align-items:flex-end}
 .modal,.modal.wide,.suite-modal{width:100%;max-width:none;max-height:96dvh;border-radius:18px 18px 0 0;padding:22px 18px 24px}
 .modal .modalhead{top:-22px;padding-top:16px}
 .modal .formactions{bottom:-24px}
 .connected-board{grid-template-columns:repeat(5,minmax(270px,80vw))}
}
@media(max-width:600px){
 .work-list-row{flex-direction:column;gap:11px;padding:14px}
 .work-list-actions{justify-content:space-between;width:100%}
 .work-status-select{flex:1}
 .work-status-select select{max-width:none;width:100%}
 .work-list-actions .btn{min-width:92px}
 .work-group h3,.work-group>summary{padding:12px 14px}
 .panel{padding:16px}
 .connected-form label,.suite-modal label,.field label{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}
}


/* Shared evidence intake and professional work forms. */
.file-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;padding:21px 20px;min-height:156px;text-align:center;border:2px dashed #accdd3;border-radius:12px;background:#f7fbfc;color:#1b4951;transition:background-color .15s,border-color .15s;cursor:pointer}
.file-dropzone:hover,.file-dropzone.drag-active,.file-dropzone:focus-within{border-color:#0d8293;background:#e9f7f9}
.file-drop-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#dceff2;color:#076c7b;font-size:25px;font-weight:500}
.file-drop-title{font-size:14px;font-weight:750;line-height:1.4;color:#173d45}
.file-drop-support{font-size:12px;color:#5e7c83}
.file-dropzone input[type=file]{display:block;width:min(100%,360px);height:auto!important;min-height:44px;border:0;background:transparent;padding:7px;text-align:center;color:#254f57;cursor:pointer}
.file-dropzone input[type=file]::file-selector-button{border:1px solid #a9d1d9;border-radius:7px;padding:9px 13px;margin-right:12px;background:white;color:#087080;font-weight:750;cursor:pointer}
.file-selected{display:block;font-size:12px;line-height:1.55;color:#4b7279;overflow-wrap:anywhere}
.file-selected.file-invalid{color:#a13b43;font-weight:700}
.evidence-picker .evidence-choice[hidden],.evidence-choice[hidden]{display:none!important}
.evidence-choice:has(input:disabled){background:#f5f7f7;opacity:.7;cursor:not-allowed}
.evidence-picker[disabled]{opacity:.7}
.forecast-inputs{margin:0;padding:16px;border:1px solid var(--hc-border);border-radius:11px;background:#f9fcfc}
.forecast-inputs legend{font-size:14px;font-weight:750;color:#234b53;padding:0 6px}
.forecast-input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.forecast-input-grid label{margin:0}
.forecast-note{font-size:12px;line-height:1.6;color:#5c787f;margin:0 0 10px}
.report-package-helper{font-size:12px;line-height:1.6}
@media(max-width:600px){.forecast-input-grid{grid-template-columns:minmax(0,1fr)}.file-dropzone{padding:18px 12px}.file-dropzone input[type=file]{width:100%}}


/* Evidence library: fast retrieval with honest extraction status. */
.document-filter{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:10px 0 18px;flex-wrap:wrap}
.document-filter label{font-size:13px;font-weight:750;color:#385b63;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.document-filter select{min-height:44px;padding:10px 12px;border:1px solid #cbdfe2;background:white;border-radius:9px;font-size:13px;max-width:min(460px,100%)}
.document-filter>.muted{font-size:12px}
.document-record{display:flex;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid #e8f0f1}
.document-record:last-child{border-bottom:0}
.document-record>div:first-child{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
.document-record strong{font-size:14px;font-weight:750;overflow-wrap:anywhere}
.document-record small{font-size:12px;color:#637e84;line-height:1.5}
.document-record .document-readiness{color:#315d66}
.document-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.folder-disclosure{background:white;border:1px solid #d8e6e8;border-radius:11px;margin:14px 0;padding:0}
.folder-disclosure>summary{padding:16px 20px;cursor:pointer;font-size:14px;font-weight:700}
.folder-disclosure>summary span{float:right;background:#e5f3f5;border-radius:99px;padding:2px 9px;color:#3b717b}
.folder-disclosure>.suite-grid{padding:0 16px 16px}
@media(max-width:600px){
 .document-record{flex-direction:column;align-items:stretch;gap:10px}
 .document-actions .btn{flex:1}
 .document-filter label,.document-filter select{width:100%}
}

/* Keep authorised role-switch controls above dashboard decoration and within reach. */
.demo-test-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px 16px;margin:0 0 16px;border:1px solid #9fd3dd;border-radius:10px;background:#ebf7f9;color:#1d505a;position:relative;z-index:3}
.demo-test-banner .btn{flex:0 0 auto;min-height:44px;position:relative;z-index:1}
.priority:after{pointer-events:none}


/* INTUITIVE CLIENT AND ADVISER MVP
   Show the action first, keep advanced operations available but out of the way. */
.assignment-more{border:1px solid #d8e6e9;border-radius:12px;margin:16px 0;background:#fff}
.assignment-more>summary{padding:16px 19px;min-height:50px;display:flex;align-items:center;cursor:pointer;color:#27525b;font-weight:700;font-size:14px;line-height:1.5;list-style:none}
.assignment-more>summary::-webkit-details-marker{display:none}
.assignment-more>summary:after{content:"⌄";margin-left:auto;color:#457783;font-size:18px;padding-left:12px}
.assignment-more[open]>summary:after{transform:rotate(180deg)}
.assignment-more[open]>summary{border-bottom:1px solid #e2ebed}
.assignment-more-content{padding:15px}
.assignment-more-content .connected-panel{margin-bottom:12px}
.assignment-nav-more{border:0;background:transparent;margin:0 0 14px}
.assignment-nav-more>summary{padding:10px 12px;min-height:44px;font-size:13px;color:#506c73}
.assignment-nav-more[open]>summary{border-bottom:0}
.assignment-nav-extra{display:flex;flex-wrap:wrap;gap:8px;padding:0 0 10px}
.assignment-nav-extra .active{background:#e1f2f5;border-color:#a4d6df;color:#08788a}
.client-stats{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 20px}
.client-stats .connected-stat{min-height:88px}
.connected-row-main p{font-size:13px;line-height:1.55;margin:8px 0 4px;color:#526f75}
.connected-tabs{gap:2px;scroll-padding-inline:4px}
.connected-tabs button{font-size:13px}
.connected-heading{margin-bottom:20px}
.connected-heading h1{overflow-wrap:anywhere}
.connected-dialog{width:min(780px,calc(100vw - 32px));scroll-padding-bottom:28px}
.modal .connected-form>button[type=submit]{
 position:static!important;box-shadow:none!important;
 margin:12px 0 0;width:100%;min-height:48px
}
.modal .connected-form>button[type=submit]:focus-visible{outline-offset:4px}
@media(max-width:760px){
 .connected-row:has(>.btn){flex-wrap:wrap}
 .connected-row>.connected-row-main{min-width:0;flex:1 1 100%}
 .connected-row>.btn,.connected-row>.actions{width:100%;justify-content:center}
 .connected-row>.actions{display:flex;flex-wrap:wrap}
 .connected-row>.actions>.btn{flex:1 1 150px}
 .connected-tabs{margin:0 0 14px;padding-bottom:6px}
 .connected-tabs button{min-height:46px;padding:11px 13px;flex:0 0 auto}
 .client-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .client-stats>.connected-stat:last-child{grid-column:1/-1}
 .connected-panel{margin-bottom:13px}
 .connected-heading h1{font-size:clamp(23px,6vw,29px)}
 .assignment-more-content{padding:12px}
 .connected-dialog{width:100%;max-height:95dvh;overflow-y:auto;overscroll-behavior:contain}
 .connected-dialog .connected-form>button[type=submit]{width:100%}
}
