
:root{color-scheme:light;--ink:#243a30;--muted:#65746a;--line:#dfe5dc;--green:#285e44;--green-dark:#204b36;--page:#f5f5ef;--soft:#edf3e9;--error:#a0322c;font-family:Tahoma,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink);font-size:15px;line-height:1.7}a{color:var(--green);text-underline-offset:4px}button,input,select,textarea{font:inherit}button,a.button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #8db39a;outline-offset:3px}button{border:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.5}h1{font-size:30px}h2{font-size:22px}h3{font-size:17px}
.skip-link{position:fixed;top:-80px;right:20px;background:white;padding:12px 20px;z-index:20;border-radius:8px}.skip-link:focus{top:12px}.site-header{background:#fffffff2;border-bottom:1px solid var(--line)}.header-inner{max-width:1180px;margin:auto;padding:19px 28px;display:flex;align-items:center;gap:28px;min-height:85px}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:23px;font-weight:700;white-space:nowrap}.brand-mark{display:grid;grid-template-columns:repeat(2,8px);gap:3px}.brand-mark i{width:8px;height:8px;border-radius:2px;background:var(--green)}.brand-mark i:nth-child(2){opacity:.5}.brand-mark i:nth-child(3){opacity:.7}.header-note{margin-inline-start:auto;color:var(--muted);font-size:12px}.header-nav{display:flex;gap:24px}.header-nav a{font-size:13px;text-decoration:none}.account-menu{margin-inline-start:auto;display:flex;align-items:center;gap:17px}.account-name{font-size:12px;color:var(--muted);max-width:220px;overflow-wrap:anywhere}.account-menu form{margin:0}.text-button{background:transparent;color:var(--green);padding:5px 0;font-size:12px;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}.page{max-width:1180px;margin:auto;padding:40px 28px 60px;min-height:calc(100vh - 180px)}.site-footer{max-width:1124px;margin:0 auto;padding:22px 0;border-top:1px solid var(--line);display:flex;gap:20px;justify-content:space-between;color:var(--muted);font-size:12px}.site-footer span:first-child{color:#506958;font-weight:700}
.auth-page{padding-top:48px;padding-bottom:48px}.auth-layout{max-width:1000px;margin:auto;display:grid;grid-template-columns:minmax(280px,1fr) minmax(370px,1fr);background:white;border:1px solid var(--line);border-radius:19px;box-shadow:0 14px 45px #2a4a3210;overflow:hidden;min-height:550px}.auth-story{background:#e8efe1;padding:46px 42px;position:relative;overflow:hidden;display:flex;flex-direction:column}.eyebrow{display:block;font-size:12px;color:#5d795b;margin-bottom:12px}.auth-story h1{font-size:37px;line-height:1.65;margin:16px 0}.auth-story p{font-size:14px;max-width:280px;color:#54704e}.story-shape{display:flex;align-items:flex-end;gap:11px;padding:28px 0;margin-top:auto;min-height:115px}.story-shape span{display:block;width:67px;height:70px;border-radius:15px;background:#a6bda0}.story-shape span:nth-child(2){height:100px;background:#729568}.story-shape span:nth-child(3){height:131px;background:#416d48}.auth-story .story-caption{font-size:12px;margin:12px 0 0}.auth-panel{padding:48px 42px;align-self:center;width:100%}.auth-title{font-size:27px;margin:5px 0 13px}.subtle{font-size:14px;color:var(--muted);line-height:1.9;margin-bottom:20px}.stack-form{display:flex;flex-direction:column;gap:19px;margin-top:25px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{font-size:13px;font-weight:700;display:flex;align-items:center;gap:8px}.required-label{font-size:10px;color:#879486;font-weight:400}.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{width:100%;border:1px solid #cfd9cc;background:#fff;color:var(--ink);border-radius:8px;padding:11px 12px;min-height:46px;line-height:1.6}.field input[type=email],.field input[type=password],.field input[name=username]{direction:ltr;text-align:left}.field input::placeholder{color:#94a08f}.field-invalid input,.field-invalid select{border-color:#b05b51!important}.field-help{font-size:11px;color:var(--muted);line-height:1.8}.field-help ul{padding-inline-start:19px;margin:5px 0}.field-errors{list-style:none;color:var(--error);font-size:12px;padding:0;margin:0}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:8px;padding:11px 18px;font-size:13px;font-weight:700;text-decoration:none;min-height:45px;line-height:1.6}.primary{background:var(--green);color:white}.primary:hover{background:var(--green-dark)}.secondary{background:white;color:var(--green);border-color:#d2ddce}.secondary:hover{background:#f2f6ef}.danger-button{background:#fff6f4;color:var(--error);border:1px solid #e5c9c2;font-size:12px;min-height:36px;padding:7px 12px;border-radius:7px}.quiet-button{background:#f1f5ee;color:var(--green);border:1px solid #dbe4d5;font-size:12px;min-height:36px;padding:7px 12px;border-radius:7px}.full-width{width:100%}.form-link-row{display:flex;justify-content:flex-end;font-size:12px;margin-top:-5px}.back-link{display:inline-block;margin-top:22px;font-size:12px}.auth-footnote{border-top:1px solid #e8ece3;margin-top:28px;padding-top:20px;font-size:12px;color:var(--muted)}.auth-footnote strong{color:#476143}.auth-footnote p{margin:8px 0 0;line-height:1.9}.error-summary{border:1px solid #dfb9b1;background:#fff7f4;padding:16px 18px;border-radius:9px;color:var(--error);font-size:12px}.error-summary h2{font-size:14px;margin:0 0 8px}.error-summary ul{padding-inline-start:20px;margin:4px 0}.error-summary a{color:var(--error)}.error-summary ul:empty{display:none}.messages{margin-bottom:24px;display:grid;gap:10px}.message{padding:15px 18px;border:1px solid #c9dabc;background:#edf5e7;border-radius:9px;font-size:13px}.message[data-variant~=error]{background:#fff7f4;border-color:#dfb9b1;color:var(--error)}.message[data-variant~=warning]{background:#fff8e9;border-color:#e7d8b4;color:#7a612e}.state-icon{display:grid;place-items:center;width:53px;height:53px;border-radius:16px;background:#e7f0e2;color:var(--green);font-size:26px;margin-bottom:24px}.state-icon.muted{background:#f0f1eb;color:#71816c}.invitation-summary{display:flex;flex-direction:column;gap:16px;background:#f6f8f2;border:1px solid #e1e8db;border-radius:10px;padding:18px;margin:24px 0;font-size:13px}.invitation-summary div{display:flex;flex-direction:column;gap:4px}.invitation-summary span{color:var(--muted);font-size:11px}.invitation-summary strong{display:block;overflow-wrap:anywhere}.email{unicode-bidi:isolate;font-size:12px;overflow-wrap:anywhere;display:inline-block}
.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:29px}.page-heading h1{margin:5px 0 10px}.page-heading p{font-size:14px;color:var(--muted);margin:0;max-width:650px}.heading-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.breadcrumb{display:flex;gap:8px;align-items:center;font-size:11px;color:#7e8e7a;margin-bottom:16px}.breadcrumb a{color:#6b8064;text-decoration:none}.scope-note{display:flex;align-items:flex-start;gap:12px;padding:18px 21px;border:1px solid #dce6d4;background:#edf3e8;border-radius:10px;margin-bottom:28px}.scope-note p{margin:0;font-size:13px;color:#526e4b}.scope-note strong{display:block;color:#375c36;margin-bottom:3px;font-size:13px}.section-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:28px 0 17px}.section-heading h2{font-size:19px;margin:0}.section-heading small{font-size:12px;color:var(--muted)}.department-grid,.company-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.department-card,.company-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px;min-height:155px}.department-card h3,.company-card h2{margin:17px 0 7px;font-size:19px}.department-card p,.company-card p{font-size:12px;color:var(--muted);margin:0;line-height:1.9}.department-card-top{display:flex;justify-content:space-between;gap:15px;align-items:center}.section-icon{display:grid;place-items:center;width:37px;height:37px;background:#f0f4eb;color:#5c7d4d;border-radius:10px;font-size:21px}.badge{display:inline-block;font-size:11px;background:#eaf3e4;color:#3d6833;border:1px solid #d7e6cd;padding:4px 10px;border-radius:99px;white-space:nowrap;line-height:1.6}.badge.gray{background:#f2f3ee;color:#75816e;border-color:#e2e6db}.badge.amber{background:#fff5df;color:#806126;border-color:#ecdfbf}.company-card .button{margin-top:22px}.empty-state{background:#fff;border:1px solid var(--line);border-radius:13px;padding:40px 28px;text-align:center;color:var(--muted)}.empty-state h1,.empty-state h2{color:var(--ink);font-size:22px;margin:10px 0}.empty-state p{font-size:14px;max-width:580px;margin:12px auto 23px;line-height:1.9}.empty-state .state-icon{margin:0 auto 20px}.empty-state.standalone{max-width:720px;margin:45px auto}.members-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.panel-heading{padding:22px 24px;border-bottom:1px solid #e9ede4}.panel-heading h2{font-size:18px;margin:0 0 5px}.panel-heading p{font-size:12px;color:var(--muted);margin:0}.panel-body{padding:24px}.invite-panel .stack-form{margin-top:0}.invite-panel{position:sticky;top:24px}.table-scroll{overflow-x:auto}.members-table{border-collapse:collapse;width:100%;font-size:12px}.members-table th{background:#fafbf6;color:#73826c;font-size:11px;font-weight:400;padding:14px 20px;text-align:right;border-bottom:1px solid var(--line)}.members-table td{padding:18px 20px;border-bottom:1px solid #e7ece1;vertical-align:top}.members-table tr:last-child td{border-bottom:0}.person-name{font-size:13px;font-weight:700;display:block;margin-bottom:4px}.member-scope{display:grid;gap:5px;color:#697d5e;font-size:11px}.row-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:start}.row-actions form{margin:0}.access-details{margin-top:10px}.access-details summary{cursor:pointer;color:var(--green);font-size:12px;list-style-position:inside}.access-details[open]{background:#f7f9f3;border:1px solid #e3e9da;padding:14px;border-radius:8px;min-width:230px;margin-top:12px}.access-details .stack-form{gap:12px;margin-top:14px}.access-details .field label{font-size:11px}.access-details .field input,.access-details .field select{min-height:36px;padding:7px 9px;font-size:12px}.access-details .button{min-height:36px;padding:7px 11px;font-size:12px}.invitations-list{list-style:none;padding:0;margin:0}.invitation-row{display:flex;justify-content:space-between;gap:15px;padding:20px 24px;border-bottom:1px solid #e8ede2}.invitation-row:last-child{border-bottom:0}.invitation-row p{font-size:11px;color:var(--muted);margin:7px 0 0}.invitation-row strong{font-size:13px}.invitation-row .badge{margin-top:7px}.invitation-row form{margin:0}.inline-empty{padding:27px 24px;color:var(--muted);font-size:13px;margin:0}.small-note{font-size:11px;color:var(--muted);line-height:1.9;margin:15px 0 0}
@media(max-width:1000px){.header-inner{gap:20px}.account-name{max-width:150px}.members-layout{grid-template-columns:minmax(0,1fr)}.invite-panel{position:static;grid-row:1}.invite-panel .stack-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.invite-panel .stack-form>.error-summary{grid-column:1/-1}.invite-panel .stack-form>.button{align-self:end}.auth-story{padding:35px 30px}.auth-panel{padding:38px 30px}.site-footer{margin-inline:28px}}
@media(max-width:720px){.header-inner{padding:17px 20px;gap:15px;flex-wrap:wrap}.brand{font-size:21px}.header-nav{order:3;width:100%;gap:23px;border-top:1px solid #eef0e9;padding-top:12px}.account-menu{gap:10px;max-width:65%}.account-name{max-width:140px;font-size:11px}.header-note{font-size:11px}.page{padding:28px 18px 42px}.site-footer{margin:0 18px;font-size:11px;gap:10px}.auth-page{padding-top:27px}.auth-layout{display:block;max-width:480px;min-height:0}.auth-story{padding:26px 28px}.auth-story h1{font-size:27px;margin:4px 0 9px}.auth-story h1 br{display:none}.auth-story p{margin:0;font-size:12px;max-width:unset}.story-shape,.auth-story .story-caption{display:none}.auth-panel{padding:30px 26px}.auth-title{font-size:24px}.page-heading{flex-direction:column;gap:19px}.page-heading h1{font-size:26px}.department-grid,.company-grid{grid-template-columns:1fr}.department-card,.company-card{min-height:130px;padding:21px}.department-card h3{font-size:18px}.members-table th,.members-table td{padding:15px}.members-table{min-width:590px}.panel-heading,.panel-body{padding:20px}.invite-panel .stack-form{grid-template-columns:1fr}.invitation-row{padding:19px 20px}.heading-actions{width:100%}.empty-state{padding:32px 22px}.scope-note{padding:16px 18px}}

.department-link{display:inline-flex;gap:8px;margin-top:18px;font-size:12px;text-decoration:none}.invitations-panel{margin-top:24px}.self-label{display:block;font-size:10px;color:#7d8c76;margin-top:5px}.role-guide{border-top:1px solid #e4eadd;margin-top:24px;padding-top:18px;font-size:11px;color:var(--muted)}.role-guide summary{cursor:pointer;color:var(--green)}.role-guide dl{margin:15px 0}.role-guide dt{font-weight:700;color:#4e6746}.role-guide dd{margin:4px 0 13px;line-height:1.8}

.password-rules{list-style:none;padding:0;margin:4px 0;display:grid;gap:5px;font-size:12px}.password-rules li{display:flex;gap:7px;align-items:baseline;color:var(--muted)}.password-rules li.is-met{color:var(--green)}.password-rule-icon{flex:0 0 16px;text-align:center;font-weight:700}.password-rule-status{font-size:11px}.password-rule-note{font-size:11px;color:var(--muted);margin:0;line-height:1.8}
