/* Shared visual language for Sensho control and company workspaces. */
:root{font-family:"Segoe UI",Tahoma,Arial,sans-serif;font-size:14px;line-height:1.65;color:#243549;background:#f3f6f8;--ink:#243549;--muted:#5c6f80;--line:#dce5eb;--brand:#087b79;--purple:#087b79;--green:#146c49;--amber:#8a5b13;--nav:#142c3b;--surface:#fff;--soft:#eaf5f4}
body{color:var(--ink);background:#f3f6f8}button,input,select,textarea{font-family:inherit}button{font-size:13px;font-weight:600;line-height:1.5;min-height:38px;padding:8px 15px;border:1px solid #d5e0e7;border-radius:8px;transition:background-color .12s ease,border-color .12s ease}button:hover{background:#edf6f5;border-color:#9fc9c5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a0d7cf;outline-offset:2px}button.primary,.primary{background:var(--brand);border-color:var(--brand);color:#fff}button.primary:hover,.primary:hover{background:#056563;border-color:#056563}button.small{min-height:32px;font-size:12px;padding:6px 12px}button:disabled{opacity:.55;cursor:not-allowed}a{color:#066d6b;text-underline-offset:3px}input,select,textarea{font-size:14px;line-height:1.5;border:1px solid #bfcfd9;border-radius:7px;padding:10px 12px;color:#243549;background:#fff}input:not([type=checkbox]):not([type=radio]),select{min-height:43px}input:focus,select:focus,textarea:focus{border-color:#168f89}label{font-size:13px;font-weight:500;line-height:1.7}input::placeholder,textarea::placeholder{color:#6d8190;opacity:1}input[readonly],.automatic-code{background:#f1f5f7;color:#5c7181}input[type=checkbox],input[type=radio]{accent-color:var(--brand)}
.shell,.layout{grid-template-columns:244px minmax(0,1fr);height:100dvh;min-height:0}.shell .workspace,.layout>div{min-width:0;height:100dvh;display:flex;flex-direction:column;overflow:hidden}.sidebar,.layout>aside{background:var(--nav);color:#fff;padding:24px 16px;gap:22px;height:100dvh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3f5c69 transparent}.sidebar .brand,.layout .brand{padding:0 7px;gap:12px;margin-bottom:5px}.sidebar .brand strong,.layout .brand strong{font-size:22px;letter-spacing:0}.sidebar .brand small,.layout .brand small{font-size:10px;letter-spacing:1.5px;color:#a9c0ca}.brand-mark,.layout .brand b{width:44px;height:44px;border-radius:10px;background:#d6eee9;color:#104e4d;font-size:26px;flex-shrink:0}.brand-mark img{display:block;width:100%;height:100%;object-fit:contain;background:#fff;border-radius:10px;padding:3px}.nav{gap:6px;margin-top:0}.nav-group{display:grid;gap:4px}.nav-group-title{font-size:10px;font-weight:600;color:#9db4c1;padding:10px 12px 3px}.nav-label{display:none}.nav button,.layout nav button{font-size:13px;color:#d0dee5;min-height:39px;padding:9px 12px;gap:10px;border-radius:7px;white-space:normal;line-height:1.55}.nav button:hover,.layout nav button:hover{background:#233f4e;color:#fff}.nav button.active,.layout nav button.active{background:#215652;color:#fff;box-shadow:inset -3px 0 #66c6b3}.nav svg{width:17px;height:17px}.nav details{border-top:1px solid #36505e;margin-top:7px;padding-top:5px}.nav details summary{color:#c8dbe2;font-size:12px;padding:8px 12px}.nav details[open] summary{margin-bottom:4px}.sidebar-bottom,.side-note{font-size:11px;color:#b4c8d1;border-color:#36505e;line-height:1.8;padding:14px 8px 0;margin-top:auto}.sidebar-bottom a{color:#91d4c7}.sidebar-bottom strong{font-size:12px}.topbar,.layout header{min-height:76px;flex-shrink:0;padding:14px 28px;border-bottom:1px solid var(--line);background:#fff;box-shadow:0 2px 8px #19334a04}.company-mini img{width:40px;height:40px}.company-mini strong,.layout header>strong{font-size:14px}.company-mini small,.user-name small{font-size:11px;color:#5c7182;margin-top:3px}.top-actions{gap:12px}.user-name{font-size:12px}.avatar{background:#e8f3f0;color:#096c68}.content,.layout main{width:100%;flex:1;overflow-y:auto;padding:26px 30px 48px;max-width:1600px;margin-inline:auto;min-height:0;scrollbar-width:thin;scrollbar-color:#bdcbd3 #edf2f5}.page-head{margin-bottom:24px;align-items:center}.page-head h1,.layout h1{font-size:26px;letter-spacing:-.3px;line-height:1.5;margin:0 0 7px}.page-head p{font-size:13px;color:#5c6f80}.eyebrow{font-size:11px;letter-spacing:0;color:#087b79;margin-bottom:7px}.page-head .eyebrow{color:#087b79}.pill,.badge{font-size:11px;padding:4px 9px;line-height:1.5;border-radius:6px;gap:5px;font-weight:500}.pill.purple{background:#e6f2f0;color:#086c66}.pill.green,.badge{background:#e9f5ee;color:#146c49}.pill.amber,.badge.paused{background:#fff3da;color:#80530e}.dot{width:5px;height:5px}.notice,.notice.neutral,.layout .notice{font-size:13px;line-height:1.85;border-radius:9px;padding:14px 17px;margin:18px 0;background:#fff8e9;color:#765319;border:1px solid #eddbb5}.notice.neutral,.layout .notice{background:#eef6f8;color:#355b6b;border:1px solid #d3e4eb}.muted,.small-note,.stat-label,.stat-foot{color:#5c6f80}.small-note,.muted.small{font-size:12px;line-height:1.9}.panel,.layout .panel,.module-card,.report-card,.layout .card{border:1px solid #dce5eb;border-radius:11px;box-shadow:0 2px 5px #18384b03;background:#fff}.panel-head{padding:17px 22px;min-height:65px}.panel-body{padding:22px}.panel-head h2,h2{font-size:17px;font-weight:650;color:#243549}.panel-head small{font-size:12px}.panel-head .actions{margin:0}.stats{gap:16px;margin:20px 0 24px}.stat{border-radius:10px;padding:19px 21px;min-height:124px;border-color:#dce5eb}.stat-label{font-size:12px}.stat-value{font-size:31px;letter-spacing:-.6px;margin:5px 0;line-height:1.5;color:#20394b}.stat-value.compact{font-size:25px}.stat-foot{font-size:11px}.table-scroll{max-height:600px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b8cbd6 #f4f7f9}table{font-size:13px}th{font-size:12px;font-weight:600;color:#4f6676;background:#f1f5f8}td,th{padding:13px 17px;border-color:#e4ebf0;vertical-align:middle}tbody tr:nth-child(even){background:#fbfcfd}tbody tr:hover{background:#eff7f6}.num{font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:.1px}.code{font-size:12px}.table-total,tfoot{background:#eaf4f2;color:#224e48}.table-foot{font-size:12px;padding:14px 19px}.toolbar{padding:16px 20px}.toolbar .count{font-size:12px}.tabs{gap:6px;padding:4px;background:#eaf0f4;border-radius:9px;width:fit-content;max-width:100%}.tabs button{border:1px solid transparent;font-size:12px;min-height:35px;padding:7px 12px;background:transparent;color:#4b6373}.tabs button.active,.tabs button.selected{background:#fff;color:#08746e;border-color:#d1e3df;box-shadow:0 1px 3px #173b4b0b}.empty{padding:42px 24px}.empty h3{font-size:17px}.empty p{font-size:13px}.empty svg{color:#779e9a}.workspace-intro{background:#fff;border:1px solid #d6e3e8;border-inline-start:4px solid #279b8e;padding:23px 25px;gap:20px;align-items:center;border-radius:11px;margin:22px 0}.workspace-intro h2{font-size:23px}.workspace-intro p{font-size:13px;color:#536d7b}.module-grid{gap:17px}.module-card{padding:22px;gap:12px}.module-card>svg{width:28px;height:28px;color:#21867e}.module-card h2{font-size:18px}.module-card p{font-size:13px;color:#596f7e;line-height:1.9}.module-card .pill{align-self:flex-start}.module-card button{margin-top:4px}.purchase-progress{gap:15px}.purchase-progress>div{padding:17px 20px;border-radius:10px;border-color:#dce5eb}.purchase-progress small{font-size:12px;color:#5c6f80}.purchase-progress strong{font-size:29px;color:#263d4e;line-height:1.6}.purchase-form{max-width:1120px;border:1px solid #80b9af;box-shadow:0 6px 24px #183b4b0a}.purchase-form .panel-head{background:#f3faf8}.purchase-form .actions{margin-top:21px}.purchase-toolbar{align-items:center;flex-wrap:wrap}.purchase-toolbar label{min-width:180px}.form-grid{gap:19px 22px}.hr-subline{font-size:12px;color:#637887}.hr-facts>div{font-size:12px;background:#f1f6f8;color:#5c6f80}.hr-facts strong{font-size:15px}.hr-section-title{font-size:19px}.purchase-card summary,#hr-body summary,details summary{color:#096f69;font-size:13px}#hr-body details{max-width:none}.reports-hero{background:#193b4a;border-radius:12px;padding:27px 30px;margin:20px 0;box-shadow:none}.reports-hero h2{font-size:29px;color:#fff;margin:6px 0}.reports-hero p{font-size:14px;color:#d5e5e8;max-width:650px;margin:8px 0}.report-kicker{color:#9cd9ca;font-size:12px}.report-count strong{font-size:44px}.report-count span{color:#d8e7e8;line-height:1.8}.report-discovery{gap:13px;margin:24px 0}.report-card{padding:22px;min-height:245px;gap:10px}.report-card h2{font-size:18px}.report-card p{font-size:13px;color:#5b7180}.report-icon{background:#e9f5f0;color:#08766e;border-radius:10px}.report-planned{background:#fbfaf6}.source-field-grid>div{background:#f2f6f8}.source-field-grid dt{font-size:12px;color:#5c6f80}.source-field-grid dd{font-size:14px}.report-filters{gap:18px 20px}.report-meta{color:#496372}.report-table td,.report-table th{font-size:12px}.report-table td:first-child{max-width:290px}.error{color:#a03333;background:#fff2f2;border-color:#efcdcd;font-size:13px}.guide-list li{font-size:13px}.guide-list li:before{background:#e7f4ef;color:#08756f}.report-note,.journal-top p{font-size:12px}.journal-meta{font-size:11px}.auth-brand,.auth-hero{background:#173543}.auth-brand .pill{background:#28505a;color:#d5e9e4}.auth-brand p,.auth-hero p{color:#c8dce3}.auth-brand h1,.auth-hero h1{font-size:34px}.auth-form>p{font-size:13px}.profile-brand img{width:75px;height:75px}.definition{font-size:13px}.progress-track span{background:#2b9b8d}
.layout .role-layout{grid-template-columns:minmax(235px,.85fr) minmax(0,2fr);gap:20px}.layout .panel{padding:22px}.layout .role-choice{padding:12px 14px;border-radius:8px;gap:5px}.layout .role-choice strong{font-size:13px}.layout .role-choice small{font-size:11px;color:#607789}.layout .role-choice.chosen{background:#e9f5f0;border-color:#67b3a6;color:#155f56}.layout .permission-group{border-color:#d8e5e9;background:#fcfdfd;border-radius:8px;padding:13px 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 18px}.layout .permission-group legend{color:#096e68;font-size:13px}.layout .check{font-size:13px;align-items:flex-start;line-height:1.8;padding:8px 0}.layout .check input{width:17px;height:17px;margin-top:4px;accent-color:#087b79}.layout .approval-box{background:#f0f5f7;border:1px solid #dce6ec;padding:17px}.layout .muted{font-size:13px;color:#5a7181}.layout .stats{margin:22px 0}.layout .stats>div{font-size:13px;padding:20px;border-radius:10px}.layout .stats strong{font-size:29px;color:#234457}.layout .stats strong.scope-stat{font-size:22px}.layout .companies{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}.layout .card h2{font-size:19px}.layout .grid{gap:19px}.layout textarea{font-size:14px}.layout .side-note{margin-top:32px}.layout .notice{border-inline-start:3px solid #529b98}.layout nav{gap:6px}.layout .brand{margin-bottom:28px}.layout .brand b{background:#d6eee9;color:#164a47}
@media(min-width:801px){body:has(.shell),body:has(.layout){overflow:hidden}}
@media(max-width:1180px){.shell,.layout{grid-template-columns:220px minmax(0,1fr)}.sidebar,.layout>aside{padding:20px 12px}.content,.layout main{padding:24px 22px 40px}.topbar,.layout header{padding:14px 22px}.module-grid,.report-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.layout .role-layout{grid-template-columns:1fr}.layout .role-list{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){body{overflow:auto}.shell,.layout{display:block;height:auto}.shell .workspace,.layout>div{height:auto;overflow:visible}.sidebar,.layout>aside{height:auto;overflow:visible;position:relative;padding:15px 16px;gap:15px}.sidebar .brand{justify-content:flex-start}.sidebar .brand strong,.layout .brand strong{font-size:20px}.sidebar .brand small{display:none}.nav{display:flex;flex-direction:row;overflow-x:auto;align-items:flex-start;padding-bottom:3px;gap:6px}.nav-group{display:contents}.nav-group-title{display:none}.nav button{white-space:nowrap;min-height:38px}.nav svg{display:none}.nav details{border:0;padding:0;margin:0;min-width:145px}.nav details summary{padding:9px 10px;white-space:nowrap}.nav details .nav-group{display:grid}.nav details[open]{min-width:210px}.sidebar-bottom,.layout .side-note{display:none}.layout nav{display:flex;overflow:auto}.layout nav button{white-space:nowrap}.layout .brand{margin-bottom:15px}.content,.layout main{padding:22px 16px 36px;overflow:visible}.topbar,.layout header{padding:12px 16px;min-height:66px;gap:10px;flex-wrap:wrap}.top-actions>.pill,.top-actions .user-name{display:none}.company-mini strong{font-size:12px}.company-mini img{width:34px;height:34px}.page-head{align-items:flex-start;gap:13px}.page-head h1,.layout h1{font-size:23px}.page-head p{font-size:13px}.reports-hero{padding:24px;display:block}.reports-hero h2{font-size:25px}.report-count{display:none}.workspace-intro{padding:20px;display:block}.workspace-intro h2{font-size:21px}.workspace-intro>.pill{margin-top:10px}.form-grid,.layout .grid{grid-template-columns:1fr}.purchase-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-toolbar{gap:12px}.report-discovery .tabs{width:100%}.report-discovery>label{max-width:none}.layout .permission-group{grid-template-columns:1fr}.layout .role-list{grid-template-columns:repeat(2,minmax(0,1fr))}.source-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.module-grid,.report-cards,.report-filters,.source-field-grid,.layout .role-list{grid-template-columns:1fr}.stat{padding:15px;min-height:115px}.stat-value{font-size:26px}.stat-value.compact{font-size:20px}.stats{gap:10px}.stats .stat-foot{font-size:10px}.panel-head,.panel-body{padding:17px}.panel-head{flex-wrap:wrap}.top-actions{gap:7px}.avatar{display:none}.report-card{min-height:220px}.layout .stats{grid-template-columns:1fr}.table-scroll{max-height:480px}.hr-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.layout .card-top{flex-wrap:wrap}.layout .role-layout{display:block}.auth-brand h1,.auth-hero h1{font-size:26px}}
/* Field treatment follows the user's supplied reference: calm blue labels and pale filled controls. */
.field-caption{display:block;color:#4b6c91;font-size:13px;font-weight:600;line-height:1.65;text-align:right}.required-mark{color:#c03d42;font-size:14px;padding-inline-start:3px}label>input:not([type=checkbox]):not([type=radio]),label>select,label>textarea{background:#eef2f8;border:1px solid #d5dfe9;border-radius:10px;color:#31475f;margin-top:7px;box-shadow:none}label>input:not([type=checkbox]):not([type=radio]),label>select{min-height:41px;padding:9px 12px}label>input:focus,label>select:focus,label>textarea:focus{background:#f8fafc;border-color:#789ab4}label>input[readonly]{background:#e9eef4;color:#687c90}label>input::placeholder,label>textarea::placeholder{color:#72859a}.form-grid,.layout .grid{gap:24px}.report-filters{gap:22px}.purchase-form .panel-head{background:#fff}.purchase-form{border-color:#d3dfe8}.reports-hero{padding:20px 24px;gap:24px;min-height:120px}.reports-hero h2{font-size:25px}.reports-hero p{font-size:13px;max-width:650px}.report-count{display:flex;align-items:center;gap:14px;min-width:190px}.report-count strong{font-size:36px}.report-count span{max-width:140px;font-size:12px}.report-discovery{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:18px}.report-discovery>label{flex:1;min-width:260px;max-width:360px}.report-discovery>.tabs{margin-bottom:0}
@media(min-width:1181px){.form-grid,.layout .grid,.report-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:801px) and (max-width:1180px){.form-grid,.layout .grid,.report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.form-grid,.layout .grid,.report-filters{grid-template-columns:1fr}.report-count{display:none}.report-discovery{display:grid}.report-discovery>label{max-width:none;min-width:0}.field-caption{font-size:13px}}
@media print{body{overflow:visible;background:#fff}.shell,.layout,.shell .workspace,.layout>div{display:block;height:auto;overflow:visible}.content,.layout main{padding:0;max-width:none;overflow:visible}.sidebar,.topbar,.layout>aside,.layout header,.report-filters,.report-discovery{display:none!important}.panel,.stat{box-shadow:none}.table-scroll{max-height:none;overflow:visible}td,th,.num{font-size:10px;padding:7px}.report-table td,.report-table th{font-size:10px}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.source-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Company report identity and field layout supplied by the owner. */
.standard-report-header{background:#fff;border:1px solid #dbe3ec;border-radius:14px;padding:22px;margin:0 0 22px;break-inside:avoid}
.report-identity{display:flex;align-items:center;gap:16px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #e3e9ef}
.report-identity img{width:74px;height:82px;object-fit:contain;flex:none}.report-identity p{margin:0 0 6px;color:#4b6c91;font-weight:700}.report-identity h2{font-size:21px;margin:0 0 6px;line-height:1.6}.report-identity span{font-size:12px;color:#596d80}.report-identity .report-currency{margin-inline-start:auto;white-space:nowrap;direction:ltr}.report-company-initial{padding:14px;background:#edf2f7;border-radius:12px}
.report-heading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 22px}.report-heading-field{min-width:0}.report-heading-field>.field-caption{display:block;color:#4b6c91;font-size:13px;font-weight:600;margin-bottom:7px}.report-heading-field>div{background:#eef2f8;border:1px solid #d5dfe9;border-radius:10px;min-height:39px;padding:9px 12px;color:#344a61;font-size:13px;overflow-wrap:anywhere}.print-only{display:none}
@media(max-width:1100px){.report-heading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.standard-report-header{padding:15px}.report-heading-grid{grid-template-columns:1fr;gap:12px}.report-identity{gap:10px;flex-wrap:wrap}.report-identity img{width:52px;height:62px}.report-identity h2{font-size:18px}.report-identity .report-currency{width:100%;margin:0}.report-identity>div{flex:1;min-width:0}}
@media print{.print-only{display:block}.standard-report-header{border:0;border-bottom:1px solid #bac8d5;border-radius:0;padding:0 0 16px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.report-heading-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.report-heading-field>div{font-size:10px;min-height:30px}.report-heading-field>.field-caption{font-size:10px}.report-identity img{width:60px;height:64px}.report-identity h2{font-size:18px}}
.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.plan-grid .grid{grid-template-columns:1fr}.plan-grid h2{font-size:24px}.plan-grid .check small{display:block;color:#64778a}.signature-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:25px}@media(max-width:1100px){.plan-grid{grid-template-columns:1fr}}@media(max-width:600px){.signature-grid{grid-template-columns:1fr}}@media print{.no-print{display:none!important}}

@media print{#membership-body>.tabs,#membership-body>.notice,#membership-body>.actions,#membership-body>.purchase-form{display:none!important}#membership-body button{display:none!important}#membership-body table{white-space:normal}#membership-body .signature-grid{break-inside:avoid}}
