
:root{--ink:#382628;--muted:#786f70;--gold:#b1905c;--gold-light:#d8be92;--paper:#f7f3f3;--white:#fff;--line:#e8e1e2;--dark:#3c1418;--radius:12px;--sans:"Segoe UI",Arial,sans-serif;--serif:Georgia,"Times New Roman",serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:var(--sans);font-size:16px;line-height:1.5;color:var(--ink);background:var(--paper)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:disabled:hover{transform:none}input,select,textarea{max-width:100%}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #bd9b5e;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500}svg{flex-shrink:0;vertical-align:middle}.icon{width:20px;height:20px}button .icon{pointer-events:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.skip-link{position:fixed;left:20px;top:-60px;z-index:100;background:white;padding:10px 20px}.skip-link:focus{top:10px}
.wordmark{font-family:var(--serif);font-size:39px;letter-spacing:3px;line-height:1;position:relative;display:inline-block;border:1px solid #b69a74;padding:6px 17px 10px;border-radius:9px 2px 9px 2px;color:#ebd3ad}.wordmark sup{position:absolute;right:-10px;top:-7px;font-family:var(--sans);font-size:11px;letter-spacing:0}.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:650;display:block}.gold{color:var(--gold-light)}.gold-text{color:var(--gold)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 19px;border-radius:6px;border:1px solid transparent;font-size:14px;font-weight:600;white-space:nowrap;transition:background .18s,box-shadow .18s}.button.primary{background:#3c1418;color:white;border-color:#3c1418}.button.primary:hover{background:#2b0e11}.button.secondary{border-color:#e1d7d8;background:white;color:#504344}.button.secondary:hover{background:#f3eced}.button.cream{background:#eee4d0;color:#37292a}.button.cream:hover{background:#fff2d9}.button.destructive{background:#a43a31;color:#fff}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:var(--muted);padding:8px;border-radius:5px;min-width:38px;min-height:38px}.icon-button:hover{background:#f0e9ea}.soft-tag,.outline-tag{display:inline-flex;align-items:center;gap:5px;border-radius:5px;line-height:1.4}.soft-tag{background:#f3edee;color:#614f51;padding:5px 9px;font-size:12px;white-space:nowrap}.soft-tag .icon{width:14px;height:14px}.outline-tag{font-size:10px;letter-spacing:1px;font-weight:650;border:1px solid #dfd3d4;padding:7px 10px;color:#7c6769;white-space:nowrap}.text-link{color:#6b4a4d;font-weight:600;display:inline-flex;align-items:center;gap:7px;font-size:14px}.text-link:hover{text-decoration:underline}.back-link{display:inline-block;font-size:13px;color:#806b6d;margin-bottom:17px;border-bottom:1px solid #d3c5c6;padding-bottom:2px}.small-text{font-size:13px;color:var(--muted);line-height:1.7}
/* Private entry */
.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#3c1418;color:#f3eee2;position:relative;overflow:hidden;min-height:820px;padding:54px 66px 30px;display:flex;flex-direction:column;background-image:radial-gradient(ellipse at 10% 80%,#453436 0,transparent 65%)}.auth-brand{display:inline-block;align-self:flex-start}.auth-story-copy{position:relative;z-index:2;margin-top:82px}.auth-story-copy .eyebrow{font-size:10px;letter-spacing:2.1px}.auth-story h1{font-family:var(--serif);font-size:clamp(40px,4.1vw,63px);font-weight:400;line-height:1.12;letter-spacing:-2px;margin:21px 0}.auth-story h1 em{color:#d1b382;font-weight:400}.auth-story-copy p{font-size:15px;line-height:1.85;color:#c2b7b8}.auth-story-footer{display:flex;justify-content:space-between;margin-top:auto;padding-top:30px;font-size:11px;color:#b6a9aa;letter-spacing:.4px;position:relative;z-index:2}.auth-art{position:relative;flex:1;min-height:270px;margin-top:16px}.arch{position:absolute;width:250px;height:300px;border:1px solid #917376;border-radius:140px 140px 0 0;left:50%;top:30px;transform:translateX(-50%);opacity:.45}.arch-2{width:298px;height:325px;top:5px;opacity:.22}.arch-3{width:345px;height:349px;top:-19px;opacity:.13}.art-center{position:absolute;left:50%;top:105px;transform:translateX(-50%);width:114px;height:114px;border:1px solid #9b855d;border-radius:50%;display:grid;place-items:center;background:#37292a;box-shadow:0 0 80px #b6944d18}.art-center span{font-family:var(--serif);font-size:80px;line-height:.8;color:#d2b581;margin-top:-17px}.art-orbit{position:absolute;left:50%;top:90px;width:144px;height:144px;border:1px solid #9b855d30;border-radius:50%;transform:translateX(-50%)}.art-line{height:1px;background:linear-gradient(90deg,transparent,#9b855d80,transparent);position:absolute;top:238px;left:10%;right:10%}.art-caption{position:absolute;top:258px;left:0;right:0;text-align:center;color:#b4a284;font-size:8px;letter-spacing:2px}.auth-form-area{display:flex;flex-direction:column;min-width:0;background:#fcfcf9;padding:50px 52px 30px;position:relative}.auth-top-note{align-self:flex-end;display:flex;align-items:center;gap:7px;color:#8c7f80;font-size:9px;letter-spacing:1.6px}.auth-top-note .icon{width:13px;height:13px}.auth-form-card{width:100%;max-width:374px;margin:auto; padding:68px 0}.auth-form-card>.eyebrow{color:#8e906f;letter-spacing:1.8px;font-size:10px}.auth-form-card h2{font-family:var(--serif);font-size:37px;letter-spacing:-1.2px;font-weight:400;margin:14px 0 10px}.auth-intro{font-size:14px;color:#817778;line-height:1.8}.login-form{margin-top:35px}.field{margin-bottom:22px;min-width:0}.field>label{display:block;font-size:14px;font-weight:600;color:#514344;margin-bottom:8px}.field input:not([type=checkbox]),.field select,.field textarea,.filter-bar input,.filter-bar select{width:100%;border:1px solid #e1d6d7;border-radius:6px;background:white;padding:12px 13px;font-size:14px;color:#3b282a;min-height:46px;transition:border-color .15s}.field input::placeholder{color:#a99e9f}.field input:focus,.field select:focus,.field textarea:focus{border-color:#9d7d80;outline:2px solid #c5acaf50;outline-offset:1px}.field input:disabled,.field select:disabled{background:#f4eff0;color:#907f81}.field select,.filter-bar select,.branch-select select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236e7a65' stroke-width='1.5'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:34px}.password-input{position:relative}.password-input input{padding-right:48px!important}.password-toggle{position:absolute;right:5px;top:4px}.password-toggle .icon{width:18px;height:18px}.login-security{font-size:12px;color:#89797b;display:flex;align-items:center;gap:7px;margin-top:-5px;margin-bottom:25px}.login-security .icon{width:15px;height:15px}.login-submit{width:100%;min-height:48px;background:#493537!important;font-size:14px;font-weight:500}.login-help{border-top:1px solid var(--line);margin-top:34px;padding-top:24px;text-align:center;font-size:12px;color:#918586}.login-help strong{font-size:12px;color:#736062;font-weight:600}.login-help p{margin-top:5px}.auth-footer{font-size:10px;color:#958788;display:flex;justify-content:space-between;gap:10px}.errorlist{list-style:none;margin:8px 0 0;padding:0;font-size:13px;color:#ab413b;line-height:1.6}.errorlist li{margin:3px 0}.notice{display:flex;align-items:flex-start;gap:10px;border-radius:7px;padding:13px 15px;font-size:13px;margin-bottom:20px;line-height:1.6}.notice.error{background:#fff0ec;color:#9e3d32;border:1px solid #f1d4ca}.notice .errorlist{margin:0}.notice.success{background:#efe6e7;border:1px solid #dec8cb;color:#683f43;align-items:center}.notice .icon-button{margin-left:auto;padding:3px;min-height:28px;min-width:28px}.messages{margin-bottom:20px}
/* Workspace */
.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:var(--dark);color:#c5b6b8;display:flex;flex-direction:column;z-index:30;overflow-y:auto;border-right:1px solid #221819}.sidebar-brand{display:flex;flex-direction:column;align-items:center;padding:33px 30px 27px}.sidebar-brand .wordmark{font-size:28px;padding:5px 15px 8px;letter-spacing:2px}.brand-caption{font-size:8px;letter-spacing:2.5px;color:#aa9496;margin-top:16px}.workspace-label{display:flex;gap:10px;margin:0 18px 25px;padding:14px 0;border-top:1px solid #ffffff0d;border-bottom:1px solid #ffffff0d;align-items:center}.workspace-symbol{display:grid;place-items:center;font-family:var(--serif);font-size:23px;border:1px solid #9d787c40;background:#ffffff05;color:#d2bf99;border-radius:6px;width:35px;height:36px}.workspace-label strong{font-size:11px;font-weight:500;color:#e1d5d6;display:block}.workspace-label small{font-size:10px;color:#a18a8c;display:block;margin-top:3px}.sidebar nav{padding:0 12px}.nav-link{display:flex;align-items:center;gap:11px;padding:10px 12px;min-height:40px;font-size:12px;border-radius:5px;margin:2px 0;color:#c1b0b2;border:1px solid transparent}.nav-link .icon{width:17px;height:17px;opacity:.75}.nav-link:hover{background:#ffffff07;color:#eeeadd}.nav-link.active{background:#493436;color:#e4d5ae;border-color:#7651553d}.nav-link.active .icon{opacity:1}.nav-heading{font-size:8px;letter-spacing:1.5px;color:#90787a;margin:25px 12px 10px}.sidebar-bottom{margin-top:auto;padding:28px 20px 20px}.integration-mini{display:flex;align-items:center;gap:9px;padding:13px 0;border-top:1px solid #ffffff0d}.integration-mini>.icon{width:21px;color:#b3979a}.integration-mini strong{font-size:10px;font-weight:500;color:#cdbbbd;display:block}.integration-mini small{display:block;font-size:9px;color:#9a8083;margin-top:3px}.pending-dot{width:5px;height:5px;background:#b19962;border-radius:100%;margin-left:auto}.sidebar-note{font-family:var(--serif);color:#937c7e;font-size:12px;line-height:1.7;padding-top:13px}.main-shell{margin-left:244px;min-height:100vh}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#ffffffad;gap:15px}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:#95898a;min-width:0}.breadcrumb strong{font-weight:500;color:#5e484a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crumb-separator{color:#cebfc0}.topbar-actions{display:flex;align-items:center;gap:24px}.branch-select{display:flex;align-items:center;gap:6px;border-right:1px solid var(--line);padding-right:22px}.branch-select .icon{width:15px;height:15px;color:#8c7275}.branch-select select{font-size:12px;color:#6a5456;background-color:transparent;border:0;min-height:36px;padding-left:4px;max-width:180px;cursor:pointer}.account-menu{position:relative}.account-menu summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer}.account-menu summary::-webkit-details-marker{display:none}.avatar{width:35px;height:35px;border-radius:50%;background:#eadfe0;color:#775458;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:650;flex-shrink:0}.account-label strong{display:block;font-size:11px;color:#523d3f;font-weight:600}.account-label small{display:block;font-size:9px;color:#9d888a;margin-top:1px}.account-menu summary>.icon{width:12px;height:12px;color:#998587}.account-dropdown{position:absolute;z-index:40;right:0;top:48px;width:260px;border:1px solid var(--line);background:white;box-shadow:0 10px 35px #38262816;border-radius:9px;padding:16px}.account-dropdown>strong{display:block;font-size:13px}.account-dropdown>small{display:block;font-size:12px;color:var(--muted);margin:3px 0 14px;overflow-wrap:anywhere}.account-dropdown a,.account-dropdown button{display:flex;align-items:center;gap:9px;width:100%;padding:10px 5px;border:0;background:none;color:#634d4f;font-size:13px;text-align:left;border-top:1px solid #f0eaeb}.account-dropdown .icon{width:16px;height:16px}.content{max-width:1560px;padding:36px 38px 0;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.page-heading .eyebrow{color:#947d7f;font-size:9px;letter-spacing:1.9px;margin-bottom:11px}.page-heading h1{font-family:var(--serif);font-weight:400;font-size:37px;letter-spacing:-1px;line-height:1.2}.page-heading p{font-size:12px;color:#907f81;margin-top:10px;line-height:1.8}.date-label{display:flex;align-items:center;gap:7px;color:#8b7577;font-size:11px;white-space:nowrap;padding-top:15px}.date-label .icon{width:14px;height:14px}.overview-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:9px;display:flex;gap:16px;padding:22px;align-items:flex-start;box-shadow:0 2px 3px #37232501}.stat-icon{width:39px;height:39px;border-radius:9px;background:#f3eced;display:grid;place-items:center;color:#89676a;margin-top:2px}.stat-icon .icon{width:20px;height:20px}.stat-label{font-size:11px;color:#877173;display:block}.stat-card strong{font-size:33px;line-height:1.3;font-weight:450;display:block;color:#4c3033;letter-spacing:-1px;margin:4px 0}.stat-card .stat-total{font-size:15px;color:#b9a8aa;letter-spacing:0}.stat-card small{font-size:10px;color:#a38f91;display:block}.stat-card .stat-text{font-size:22px;letter-spacing:-.5px;margin:9px 0;overflow-wrap:anywhere}.welcome-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:22px;margin-bottom:34px}.welcome-card{border-radius:10px;background:#3b292b;position:relative;overflow:hidden;padding:28px 30px;color:#e9e9da;min-height:260px;display:flex;align-items:center}.welcome-copy{position:relative;z-index:2}.welcome-copy .eyebrow{font-size:8px;letter-spacing:1.4px;color:#bcba8f}.welcome-copy h2{font-family:var(--serif);font-weight:400;font-size:29px;line-height:1.22;letter-spacing:-.5px;margin:15px 0 12px}.welcome-copy p{font-size:11px;line-height:1.9;color:#b69c9f;margin-bottom:20px}.welcome-copy .button{font-size:11px;min-height:36px;padding:9px 13px;gap:7px;border-radius:4px}.welcome-copy .button .icon{width:14px;height:14px}.welcome-art{position:absolute;right:20px;bottom:0;width:160px;height:100%;opacity:.7}.welcome-arch{position:absolute;left:12px;top:25px;border:1px solid #9a656a4d;border-radius:90px 90px 0 0;width:140px;height:300px}.welcome-arch.second{left:31px;top:45px;width:102px;border-color:#9a656a30}.welcome-art-c{position:absolute;left:40px;top:95px;font-size:86px;font-family:var(--serif);color:#b8aa7b}.welcome-art-label{font-size:7px;letter-spacing:1.5px;position:absolute;bottom:23px;left:30px;white-space:nowrap;color:#ab8185}.setup-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px}.section-card-heading{display:flex;align-items:center;gap:9px}.mini-icon{display:grid;place-items:center;color:#957a7d}.mini-icon .icon{width:18px;height:18px}.setup-card h2{font-size:14px;font-weight:600}.setup-card>p{font-size:10px;color:#a18f91;margin:8px 0 17px}.setup-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:13px}.setup-list li{display:flex;align-items:center;gap:9px;font-size:10px;color:#866e70;line-height:1.4}.setup-list a:hover{text-decoration:underline}.check-circle,.step-circle{width:15px;height:15px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}.check-circle{background:#f0e7e8;color:#986a6f}.check-circle .icon{width:10px;height:10px}.step-circle{border:1px solid #e3d5d6}.tiny-tag{font-size:8px;background:#f6f6ef;color:#9b9c80;padding:2px 5px;border-radius:3px;margin-left:auto}.setup-progress{height:4px;background:#f2e9ea;border-radius:4px;margin:19px 0 9px;overflow:hidden}.setup-progress span{background:#ac8488;height:100%;display:block;border-radius:4px}.setup-card>small{font-size:9px;color:#a58f91}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.section-heading h2{font-family:var(--serif);font-size:23px;letter-spacing:-.4px}.section-heading p{font-size:11px;color:#9a8284;margin-top:6px}.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.module-card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:19px 18px 13px;display:flex;flex-direction:column;min-height:214px;transition:transform .15s,border-color .15s,box-shadow .15s}.module-card[href]:hover{border-color:#c4a6a9;transform:translateY(-3px);box-shadow:0 5px 15px #4b343610}.module-card-top{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-bottom:15px}.module-icon{width:33px;height:33px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#f1f1e7;color:#95696d;flex-shrink:0}.module-icon .icon{width:18px;height:18px}.tone-equipo{background:#f5efe6;color:#b2986b}.tone-operacion{background:#f1e7e8;color:#97676c}.tone-conciliaciones{background:#f2edee;color:#9c7c7f}.tone-integraciones{background:#f0eef3;color:#9a90a9}.module-category{font-size:8px;color:#a79092;text-align:right}.module-card h3{font-size:13px;font-weight:600;line-height:1.5;letter-spacing:-.1px}.module-card>p{font-size:10px;color:#9c8587;line-height:1.9;margin:8px 0 17px;flex:1}.module-card-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f1e9ea;padding-top:11px}.module-card-bottom>span:first-child{display:flex;align-items:center;gap:5px;font-size:9px;color:#a28c8e}.module-card-bottom .icon{width:13px;height:13px}.small-ring{width:6px;height:6px;border:1px solid #bea2a5;border-radius:50%;display:inline-block}.module-open{display:grid;place-items:center;color:#9a7f82}.module-card.restricted{background:#f3eeef;opacity:.75}.world-office-note{margin-top:26px;background:#f1e9ea;border:1px solid #e7d9da;border-radius:7px;padding:17px 20px;display:flex;align-items:center;gap:13px;color:#98787b}.world-office-note>.icon{width:25px;height:25px}.world-office-note strong{font-size:11px;font-weight:600;color:#806366}.world-office-note p{font-size:10px;margin-top:4px;color:#a38e90}.world-office-note>.soft-tag{margin-left:auto;background:#eadedf;font-size:9px}.page-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:22px 0;margin-top:36px;font-size:9px;color:#ac9799}.footer-divider{padding:0 10px;color:#d1c3c4}.mobile-menu{display:none}
/* Operational frames and access management */
.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.module-heading h1{font-size:34px}.module-heading p{max-width:720px}.module-notice{display:flex;align-items:flex-start;gap:10px;padding:14px 17px;background:#f1e8e9;border:1px solid #e7d8d9;border-radius:7px;margin:0 0 22px;font-size:13px;color:#826063}.module-notice .icon{width:18px;height:18px;margin-top:2px}.module-notice p{line-height:1.7}.module-notice strong{font-weight:600}.panel-header{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-header h2{font-size:17px;font-weight:600}.panel-header p{font-size:12px;color:#998284;margin-top:5px}.panel-header .button{font-size:12px;min-height:38px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:11px;font-weight:500;color:#967c7f;background:#f9f5f5;padding:13px 21px;white-space:nowrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:20px;font-size:12px;border-bottom:1px solid #f0e7e8;vertical-align:middle}tbody tr:last-child td{border-bottom:0}.empty-state{display:flex;align-items:center;flex-direction:column;text-align:center;padding:62px 20px;gap:14px}.empty-icon{width:60px;height:60px;display:grid;place-items:center;border-radius:16px;background:#f4eced;color:#a27b7f;margin-bottom:5px}.empty-icon .icon{width:28px;height:28px}.empty-state h3{font-family:var(--serif);font-size:25px;letter-spacing:-.5px}.empty-state p{color:#977e81;line-height:1.9;font-size:13px}.empty-state .soft-tag{margin-top:5px;font-size:11px}.module-bottom-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin-top:23px}.detail-panel{padding:24px}.detail-panel>.eyebrow{font-size:9px;color:#9d8486}.detail-panel h2{font-family:var(--serif);font-size:23px;margin:14px 0 10px}.detail-panel p{font-size:12px;line-height:1.9;color:#977f81}.capability-list{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.capability-list .soft-tag{font-size:10px}.branch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.branch-visual{height:190px;background:#463335;position:relative;overflow:hidden}.branch-card:nth-child(2) .branch-visual{background:#5d5a41}.branch-card:nth-child(3) .branch-visual{background:#554648}.branch-monogram{font-family:var(--serif);font-size:92px;position:absolute;left:28px;top:30px;color:#d4bc91;z-index:1}.branch-line-art{position:absolute;width:180px;height:230px;right:10px;top:18px;border:1px solid #b1858960;border-radius:100px 100px 0 0;box-shadow:0 0 0 18px #b1858910,0 0 0 36px #b1858908}.branch-visual-caption{position:absolute;bottom:20px;left:28px;font-size:8px;letter-spacing:2px;color:#c4a6a9}.branch-info{padding:26px}.branch-info .eyebrow{font-size:9px;color:#9c8184}.branch-info h2{font-family:var(--serif);font-size:29px;letter-spacing:-.5px;margin:11px 0 17px}.branch-info p{display:flex;align-items:center;gap:6px;color:#967c7f;font-size:12px;margin:8px 0}.branch-info p .icon{width:15px;height:15px}.branch-info>.soft-tag{margin-top:20px;font-size:10px}.inline-summary{display:flex;align-items:center;gap:28px;margin:-6px 0 24px;font-size:12px;color:#977f81}.inline-summary strong{font-size:16px;font-weight:500;color:#664a4d;margin-right:4px}.inline-summary>a{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:12px;color:#805f62}.inline-summary .icon{width:15px;height:15px}.filter-bar{padding:20px;display:flex;gap:10px;align-items:center}.search-field{position:relative;flex:1;max-width:480px}.search-field>.icon{position:absolute;left:12px;top:14px;width:17px;height:17px;color:#a58e90}.filter-bar .search-field input{padding-left:38px;min-height:43px}.filter-bar>select{width:185px;min-height:43px}.filter-bar .button{min-height:43px}.filter-bar .text-link{font-size:12px}.user-cell{display:flex;align-items:center;gap:10px;min-width:180px}.user-cell strong{font-weight:600;color:#664b4e;font-size:12px}.user-cell small{display:block;font-size:11px;color:#a08d8f;margin-top:4px}.root-label{font-size:7px;font-weight:600;letter-spacing:.7px;background:#f2ecdc;color:#a69061;padding:2px 4px;margin-left:5px;border-radius:3px;vertical-align:middle}.branch-pill{display:inline-block;font-size:10px;margin:3px 5px 3px 0;color:#93787b;white-space:nowrap}.status-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:5px;font-size:10px;white-space:nowrap}.status-tag>span{width:5px;height:5px;border-radius:50%}.active-status{background:#f1e9ea;color:#9a6a6f}.active-status>span{background:#a97a7f}.inactive-status{background:#f2eeeb;color:#a4978b}.inactive-status>span{background:#b3a293}.table-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.table-action{padding:7px;color:#8b7073;display:inline-flex;border:1px solid #ece1e2;border-radius:5px}.table-action:hover{background:#f2ebeb}.table-action .icon{width:15px;height:15px}.danger{color:#b57464}.table-action.danger:hover{background:#fcf0eb}.protected-label{display:inline-flex;align-items:center;gap:7px;color:#af9c9e;font-size:11px}.protected-label>.icon{width:14px;height:14px}.table-actions>.protected-label{padding:8px}.align-right{text-align:right}.subtle-note{display:flex;gap:9px;align-items:flex-start;margin:23px 0;font-size:11px;color:#a18c8e;line-height:1.8}.subtle-note>.icon{width:16px;height:16px;margin-top:3px}.role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.role-card{padding:24px;display:flex;flex-direction:column}.role-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.role-card-top .soft-tag{font-size:9px}.role-card h2{font-family:var(--serif);font-size:27px;letter-spacing:-.5px}.role-description{font-size:12px;color:#977e81;line-height:1.9;margin:10px 0 17px;min-height:65px}.role-meta{display:flex;gap:20px;border-top:1px solid var(--line);padding-top:15px;font-size:11px;color:#977a7d}.role-module-tags{display:flex;align-content:flex-start;flex-wrap:wrap;gap:5px;margin:15px 0;flex:1;min-height:85px}.role-module-tags .soft-tag{font-size:9px;white-space:normal}.role-capabilities{display:flex;flex-wrap:wrap;gap:10px;font-size:10px;color:#9a7c7f;min-height:23px}.role-capabilities span:first-child{display:flex;align-items:center;gap:4px}.role-capabilities .icon{width:13px;height:13px}.role-card-actions{margin-top:18px;border-top:1px solid var(--line);padding-top:16px;display:flex;align-items:center;justify-content:space-between}.role-card-actions .text-link{font-size:11px}.role-card-actions .text-link .icon{width:13px;height:13px}.form-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,1fr);gap:24px;align-items:start}.form-panel{padding:28px;margin-bottom:24px}.form-section-title{display:flex;align-items:flex-start;gap:11px;margin-bottom:27px}.form-section-title>.mini-icon{padding:4px;margin-top:2px}.form-section-title h2{font-size:17px;font-weight:600}.form-section-title p{font-size:12px;color:#9b8385;margin-top:5px}.form-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field-help{font-size:12px;color:#9b8688;line-height:1.8;margin-top:8px}.field-help ul{margin:4px 0;padding-left:18px}.required-mark{color:#b29b6b;margin-left:3px}.check-field{padding-top:2px}.check-field>label{display:flex;align-items:center;gap:8px;padding-top:25px}.check-field small{font-size:11px;color:#9e8789}.checkbox-fieldset,.action-checkboxes{margin:0;padding:0;border:0;min-width:0}.checkbox-fieldset>div{display:grid;gap:9px}.checkbox-fieldset>div>div{border:1px solid var(--line);border-radius:6px;transition:background .1s}.checkbox-fieldset label{display:flex;align-items:center;gap:9px;padding:13px 12px;font-size:13px;color:#826669;cursor:pointer}.checkbox-fieldset>div>div:has(input:checked){background:#f4eeee;border-color:#d7bec0}.checkbox-fieldset>div>div:has(input:disabled){opacity:.48;background:#f7f3f3}.checkbox-fieldset:has(input:disabled)>div>div:has(input:checked){opacity:.7}.checkbox-fieldset .errorlist{margin-bottom:15px}input[type=checkbox]{width:16px;height:16px;accent-color:#845b5f;flex-shrink:0;cursor:pointer}.permission-note{display:flex;align-items:flex-start;gap:8px;background:#f6f0f1;border-radius:7px;padding:14px;margin-top:22px}.permission-note>.icon{width:15px;height:15px;color:#987c7f;margin-top:2px}.permission-note p{font-size:11px;color:#9c8083;line-height:1.9}.permission-note a{text-decoration:underline}.action-checkboxes{margin-top:24px}.action-checkboxes legend{font-size:13px;font-weight:600;color:#715356;margin-bottom:13px}.action-checkboxes>label{display:flex;align-items:center;gap:9px;font-size:13px;color:#977c7f;padding:10px 0}.form-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:5px}.editor-form>.form-actions{border-top:1px solid var(--line);padding-top:22px}.password-panel{max-width:630px;padding:32px}.form-intro{display:flex;align-items:flex-start;gap:14px;margin-bottom:30px}.form-intro>.icon{color:#98787b;margin-top:3px}.form-intro h2{font-size:17px;font-weight:600}.form-intro p{font-size:12px;color:#9d8587;margin-top:6px;line-height:1.8}.confirm-panel{max-width:650px;padding:42px;margin:30px auto;text-align:center}.confirm-panel>.empty-icon{margin:0 auto 20px}.confirm-panel>.eyebrow{color:#a89092;font-size:10px}.confirm-panel>h1{font-family:var(--serif);font-size:37px;margin:13px 0 18px}.confirm-panel>p{color:#998284;font-size:14px;line-height:1.9;margin-bottom:27px;overflow-wrap:anywhere}.confirm-panel .form-actions{justify-content:center;margin-top:25px}.confirm-panel .empty-icon.danger{color:#b78a7b;background:#fbefea}.error-page{margin-top:20px;min-height:420px;justify-content:center}.error-page h1{font-family:var(--serif);font-size:35px;letter-spacing:-1px}.error-page .eyebrow{font-size:10px;color:#a78e91}.compact{padding:35px}.compact h3{font-size:21px}
/* Readability, responsive behavior and motion preferences */
@media(min-width:1600px){.content{padding-top:42px}.module-card{min-height:240px}.module-card>p{font-size:12px}.module-card h3{font-size:15px}.welcome-card{min-height:290px}.welcome-copy h2{font-size:34px}}
@media(max-width:1250px){.sidebar{width:223px}.main-shell{margin-left:223px}.topbar{padding:0 25px}.content{padding:30px 25px 0}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.module-card{min-height:205px}.module-card h3{font-size:15px}.module-card>p{font-size:12px}.module-card-top .module-category{font-size:10px}.module-card-bottom>span:first-child{font-size:11px}.welcome-art{opacity:.25;right:0}.welcome-copy h2{font-size:26px}.welcome-card{padding:25px}.welcome-grid{grid-template-columns:1.3fr 1fr;gap:18px}.setup-card{padding:21px}.stat-card{padding:18px;gap:11px}.role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-grid{gap:15px}.branch-info{padding:20px}.branch-info h2{font-size:25px}.topbar-actions{gap:16px}.branch-select{padding-right:15px}.auth-story{padding:44px 44px 28px}.auth-form-area{padding:44px 38px 28px}.auth-story h1{font-size:49px}.auth-story-copy .eyebrow{font-size:8px}.form-layout{grid-template-columns:1fr 1fr;gap:18px}.form-panel{padding:23px}}
@media(max-width:1000px){.account-label{display:none}.welcome-grid{grid-template-columns:1fr}.welcome-art{opacity:.7;right:35px;width:180px}.welcome-card{min-height:235px}.welcome-copy h2{font-size:30px}.setup-list{display:grid;grid-template-columns:1fr 1fr;gap:17px}.setup-card>small{font-size:10px}.setup-card{padding:23px}.setup-card>p{font-size:11px}.setup-list li{font-size:11px}.stat-card{padding:16px;gap:10px}.stat-icon{width:31px;height:31px}.stat-icon .icon{width:16px;height:16px}.stat-card strong{font-size:28px}.stat-label{font-size:10px}.stat-card small{font-size:9px}.page-heading h1{font-size:33px}.branch-grid{grid-template-columns:1fr}.branch-card{display:grid;grid-template-columns:220px 1fr}.branch-visual{height:100%;min-height:230px}.module-bottom-grid{grid-template-columns:1fr}.role-grid{grid-template-columns:1fr 1fr}.form-layout{grid-template-columns:1fr}.permissions-panel{margin-top:0}.auth-layout{grid-template-columns:.9fr 1fr}.auth-story{padding:40px 32px 25px}.auth-story-copy{margin-top:90px}.auth-story h1{font-size:42px}.auth-story-copy p{font-size:13px}.auth-form-card h2{font-size:32px}.auth-story-copy .eyebrow{max-width:230px;line-height:2}.auth-footer{font-size:8px}.auth-form-area{padding:40px 30px 25px}.world-office-note>.soft-tag{display:none}.page-footer{font-size:8px;flex-wrap:wrap}}
@media(max-width:760px){.sidebar{width:244px;transform:translateX(-100%);transition:transform .2s}.main-shell{margin-left:0}.menu-open .sidebar{transform:translateX(0)}.sidebar-scrim{position:fixed;inset:0;background:#24111370;z-index:25;border:0}.menu-open{overflow:hidden}.mobile-menu{display:inline-flex;margin-left:-10px}.topbar{height:69px;padding:0 22px}.breadcrumb{gap:7px;font-size:11px}.breadcrumb>span:first-of-type,.crumb-separator{display:none}.topbar-actions{gap:10px}.branch-select{padding-right:10px}.branch-select select{font-size:10px;max-width:144px;padding-right:23px;background-position:right 4px center}.branch-select>.icon{width:13px}.account-menu summary{gap:0}.account-menu summary>.icon{display:none}.avatar{width:32px;height:32px;font-size:10px}.content{padding:27px 22px 0}.page-heading{gap:10px;align-items:flex-start}.page-heading h1{font-size:32px}.page-heading p{font-size:12px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.date-label{display:none}.page-heading>.button{font-size:11px;padding:9px 11px;min-height:38px}.page-heading>.outline-tag{font-size:8px;padding:5px 6px}.overview-stats{gap:10px}.stat-card{padding:14px 12px;gap:8px}.stat-icon{display:none}.stat-card strong{font-size:27px}.stat-card .stat-total{font-size:11px}.stat-card small{font-size:8px;line-height:1.6}.welcome-grid{margin-bottom:28px}.welcome-card{padding:25px}.welcome-copy h2{font-size:30px}.welcome-copy p{font-size:11px}.welcome-art{right:20px;opacity:.5}.module-grid{gap:13px}.module-card{padding:17px 16px 12px}.module-card h3{font-size:14px}.module-card>p{font-size:11px}.section-heading h2{font-size:22px}.section-heading p{font-size:11px}.section-heading>.outline-tag{font-size:8px}.world-office-note{padding:17px 15px;align-items:flex-start}.world-office-note strong{font-size:11px}.world-office-note p{font-size:10px;line-height:1.8}.page-footer{padding:20px 0;line-height:1.8}.role-grid{gap:14px}.role-card{padding:20px}.role-card h2{font-size:25px}.filter-bar{flex-wrap:wrap;padding:15px}.search-field{min-width:100%;max-width:none}.filter-bar>select{flex:1}.users-table td{padding:17px 16px}.inline-summary{font-size:10px;gap:18px;flex-wrap:wrap}.inline-summary>a{font-size:10px}.inline-summary strong{font-size:14px}.panel-header{padding:20px}.panel-header h2{font-size:15px}.panel-header .button{font-size:10px;padding:8px 11px}.form-panel{padding:22px}.password-panel{padding:25px}.auth-layout{grid-template-columns:1fr;min-height:100vh}.auth-story{min-height:auto;padding:30px 30px 34px;display:block}.auth-story .wordmark{font-size:28px;padding:5px 14px 8px}.auth-story-copy{margin-top:26px}.auth-story-copy .eyebrow{max-width:none;font-size:7px;letter-spacing:1.6px}.auth-story h1{font-size:39px;letter-spacing:-1px;margin:13px 0 0;line-height:1.08}.auth-story h1 br{display:none}.auth-story h1 em{white-space:nowrap}.auth-story-copy p,.auth-story-footer,.auth-art{display:none}.auth-form-area{padding:27px 30px 24px;min-height:calc(100vh - 225px)}.auth-top-note{font-size:8px}.auth-form-card{padding:26px 0 45px;max-width:430px}.auth-form-card h2{font-size:33px}.auth-form-card>.eyebrow{font-size:8px}.login-form{margin-top:25px}.login-help{margin-top:27px;padding-top:20px}.auth-footer{font-size:9px}.auth-intro{font-size:13px}.branch-card{grid-template-columns:170px 1fr}.branch-monogram{left:23px}.branch-line-art{right:-60px}.branch-visual-caption{font-size:6px}.confirm-panel{padding:30px}}
@media(max-width:480px){.content{padding:24px 16px 0}.topbar{padding:0 16px}.breadcrumb strong{max-width:120px;font-size:10px}.branch-select{padding-right:8px}.branch-select select{max-width:127px;font-size:9px}.overview-stats{gap:8px}.stat-card{padding:13px 10px}.stat-label{font-size:9px;line-height:1.6}.stat-card strong{font-size:25px}.stat-card small{font-size:8px}.stat-card .stat-text{font-size:16px}.welcome-art{right:-35px;opacity:.25}.welcome-copy .eyebrow{font-size:7px}.welcome-copy h2{font-size:27px}.welcome-card{padding:24px 21px}.desktop-break{display:none}.setup-list{grid-template-columns:1fr}.setup-list li{font-size:12px}.setup-card h2{font-size:16px}.setup-card>p{font-size:12px}.setup-card>small{font-size:10px}.setup-progress{margin-top:22px}.module-grid{grid-template-columns:1fr}.module-card{min-height:198px;padding:22px}.module-card h3{font-size:17px}.module-card>p{font-size:13px;line-height:1.8}.module-card-top .module-category{font-size:11px}.module-card-bottom>span:first-child{font-size:11px}.module-icon{width:38px;height:38px}.module-icon .icon{width:20px;height:20px}.section-heading{align-items:flex-start}.section-heading h2{font-size:23px}.section-heading p{font-size:12px}.section-heading>.outline-tag{white-space:normal;text-align:center;max-width:90px;font-size:7px;letter-spacing:.6px}.role-grid{grid-template-columns:1fr}.role-description{min-height:auto}.role-module-tags{min-height:auto}.role-card{padding:25px}.role-card h2{font-size:29px}.role-description{font-size:13px}.role-module-tags .soft-tag{font-size:11px}.role-meta{font-size:12px}.role-card-actions .text-link{font-size:13px}.role-capabilities{font-size:12px}.branch-card{display:block}.branch-visual{height:180px;min-height:0}.branch-monogram{top:17px;left:30px}.branch-line-art{right:10px}.branch-visual-caption{font-size:8px;left:30px}.branch-info{padding:25px}.branch-info h2{font-size:30px}.branch-info p{font-size:14px}.branch-info>.soft-tag{font-size:12px}.form-two-columns{grid-template-columns:1fr;gap:0}.check-field{padding-top:0}.check-field>label{padding-top:0}.module-heading h1{font-size:29px}.module-heading>.outline-tag{display:none}.module-stats .stat-card{padding:13px 9px}.module-stats .stat-label{font-size:9px}.module-notice{font-size:12px}.panel-header{align-items:flex-start;flex-direction:column}.empty-state{padding:42px 20px}.empty-state h3{font-size:25px}.empty-state p{font-size:13px}.inline-summary{gap:12px}.inline-summary>a{width:100%;margin-left:0;margin-top:2px;font-size:12px}.page-heading:has(>.button){align-items:flex-start}.page-heading:has(>.button) h1{font-size:30px}.page-heading>.button{font-size:10px;padding:8px}.page-heading>.button .icon{width:14px;height:14px}.page-heading>.outline-tag{font-size:7px}.form-actions .button{font-size:13px}.error-page h1{font-size:29px}.auth-story h1{font-size:36px}.auth-footer{font-size:8px}.auth-form-area{padding-left:25px;padding-right:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Work surfaces use readable task text; small type is reserved for metadata. */
.nav-link{font-size:14px}.workspace-label strong{font-size:12px}.workspace-label small{font-size:11px}.nav-heading{font-size:10px}.integration-mini strong{font-size:12px}.integration-mini small{font-size:11px}.sidebar-note{font-size:14px}.brand-caption{font-size:9px}.page-heading p,.section-heading p{font-size:14px}.page-heading .eyebrow{font-size:11px}.breadcrumb,.branch-select select{font-size:13px}.account-label strong{font-size:13px}.account-label small{font-size:11px}.stat-label{font-size:14px}.stat-card small{font-size:12px}.welcome-copy p{font-size:14px}.welcome-copy .eyebrow{font-size:10px}.welcome-copy .button{font-size:13px}.setup-card h2{font-size:16px}.setup-card>p{font-size:12px}.setup-list li{font-size:12px}.setup-card>small{font-size:11px}.module-card h3{font-size:16px}.module-card>p{font-size:14px;line-height:1.7}.module-category{font-size:11px}.module-card-bottom>span:first-child{font-size:12px}.module-card{min-height:245px}.section-heading>.outline-tag{font-size:10px}.world-office-note strong{font-size:14px}.world-office-note p{font-size:12px}.world-office-note>.soft-tag{font-size:11px}.panel-header p,.detail-panel p{font-size:14px}.panel-header .button{font-size:14px}th{font-size:13px}td{font-size:14px}.user-cell strong{font-size:14px}.user-cell small{font-size:12px}.branch-pill{font-size:12px}.status-tag{font-size:12px}.role-description{font-size:14px}.role-module-tags .soft-tag{font-size:12px}.role-meta,.role-capabilities{font-size:12px}.role-card-actions .text-link{font-size:14px}.inline-summary{font-size:13px}.inline-summary>a{font-size:13px}.subtle-note{font-size:13px}.form-section-title p,.permission-note p{font-size:13px}.checkbox-fieldset label,.action-checkboxes>label{font-size:14px}.form-section-title h2{font-size:18px}.branch-info p{font-size:14px}.auth-intro{font-size:16px}.auth-form-card>.eyebrow{font-size:11px}.auth-top-note{font-size:10px}.login-help,.login-help strong{font-size:13px}.auth-footer{font-size:11px}.auth-story-copy .eyebrow{font-size:11px}.login-security{font-size:13px}
@media(max-width:1000px){.overview-stats .stat-label{font-size:12px}.stat-card small{font-size:11px}.setup-list{grid-template-columns:1fr}.welcome-copy p{max-width:390px}.auth-story-copy .eyebrow{font-size:9px}}
@media(max-width:760px){.branch-select select{font-size:11px}.account-label{display:none}.module-card h3{font-size:16px}.module-card>p{font-size:14px}.page-heading .eyebrow{font-size:10px}.welcome-copy p{max-width:340px}.breadcrumb{font-size:12px}.auth-story h1 br{display:inline}.auth-story h1 br::after{content:' '}}
@media(max-width:480px){.overview-stats .stat-label{font-size:11px}.stat-card small{font-size:10px}.stat-card{padding:13px 9px}.stat-card .stat-text{font-size:17px}.branch-select select{font-size:10px}.page-heading p{font-size:14px}.page-heading .eyebrow{font-size:9px}.welcome-copy .eyebrow{font-size:9px}.module-card{min-height:215px}.setup-list li{font-size:14px}.auth-footer{font-size:9px}.auth-story-copy .eyebrow{font-size:8px}.auth-form-card>.eyebrow{font-size:10px}.section-heading>.outline-tag{font-size:8px}}

.module-card>p,.page-heading p,.section-heading p,.stat-label,.stat-card small,.setup-list li,.setup-card>p,.setup-card>small,.world-office-note p,.detail-panel p,.panel-header p,.role-description,.role-meta,.role-capabilities,.user-cell small,.branch-pill,.branch-info p,.subtle-note,.form-section-title p,.field-help,.small-text,.permission-note p,.checkbox-fieldset label,.action-checkboxes>label,.empty-state p,.confirm-panel>p{color:#786567}.module-category,.module-card-bottom>span:first-child{color:#856f71}.world-office-note strong{color:#6c4d50}.auth-intro,.login-help p{color:#7b696b}
@media(max-width:760px){.sidebar{visibility:hidden}.menu-open .sidebar{visibility:visible}}

@media(max-width:760px){.sidebar-scrim{left:244px}}

/* Sedes independientes y vistas consolidadas. */
.operation-scope{display:flex;align-items:center;gap:13px;background:#f1e9ea;border:1px solid #e4d3d5;border-radius:8px;padding:16px 19px;margin-bottom:25px}
.scope-icon{width:37px;height:37px;display:grid;place-items:center;background:#e7d7d9;border-radius:8px;color:#7d5055;flex-shrink:0}
.operation-scope strong{font-size:16px;font-weight:600;color:#563538}
.operation-scope p{font-size:13px;color:#786567;margin-top:2px}
.operation-scope>.text-link{margin-left:auto;white-space:nowrap;font-size:13px}
.all-branches-card{padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px;background:#f3ebec}
.all-branches-card .eyebrow{font-size:10px;color:#8a6d70}
.all-branches-card h2{font-family:var(--serif);font-size:28px;margin:8px 0}
.all-branches-card p{font-size:14px;color:#786567}
.branch-card-actions{display:flex;align-items:center;gap:9px;margin-top:22px;flex-wrap:wrap}
.branch-card-actions .button{margin-right:auto;font-size:14px}
.global-access-control{border:1px solid #e1ced0;border-radius:8px;padding:16px;margin-bottom:18px;background:#f5f0f0}
.global-access-control>label{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:600;color:#68474a;cursor:pointer}
.global-access-control p{font-size:13px;color:#786567;margin-top:9px;line-height:1.8}
@media(max-width:760px){.operation-scope{flex-wrap:wrap;padding:14px}.operation-scope>div{flex:1}.operation-scope>.text-link{margin-left:50px;white-space:normal}.all-branches-card{align-items:flex-start;flex-direction:column}.branch-card-actions{gap:7px}.branch-card-actions .button{font-size:13px}}

.inbox-toasts{position:fixed;right:24px;top:90px;z-index:1000;width:min(440px,calc(100vw - 32px))}.inbox-toasts .notice{box-shadow:0 8px 32px #0003;display:flex;align-items:center;gap:16px;background:#fff}.inbox-toasts a{overflow-wrap:anywhere}

.pdf-preview{width:100%;margin:16px 0}.pdf-preview iframe{width:100%;height:650px;border:1px solid #ddd;border-radius:8px}.intake-links{flex-wrap:wrap}

body.pdf-dialog-open{overflow:hidden}
.pdf-dialog{width:96vw;max-width:none;height:94vh;height:94dvh;max-height:100dvh;padding:0;border:0;border-radius:14px;background:#fff;color:#282021;box-shadow:0 24px 80px #0005}
.pdf-dialog::backdrop{background:rgba(15,23,18,.65)}
.pdf-dialog-shell{height:100%;display:flex;flex-direction:column;min-height:0}
.pdf-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px;border-bottom:1px solid #ddd;flex-shrink:0}
.pdf-dialog-header h2{font-size:18px;margin:0;overflow-wrap:anywhere;min-width:0}
.pdf-dialog-actions{display:flex;gap:10px;flex-shrink:0}
.pdf-dialog-frame{display:block;width:100%;flex:1;min-height:0;border:0;background:#525659}
@media(max-width:640px){.pdf-dialog{width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.pdf-dialog-header{padding:12px;flex-wrap:wrap;gap:10px}.pdf-dialog-header h2{font-size:15px}.pdf-dialog-actions{margin-left:auto}}

.invoice-decision-actions{display:flex;flex-wrap:wrap;gap:12px}.return-message{white-space:normal;overflow-wrap:anywhere}.detail-panel textarea{width:100%;min-height:240px}
:root{--ink:#3c1418;--dark:#3c1418;--paper:#faf7f5;--muted:#817073;--line:#eadfe0;--gold:#b58a65;--gold-light:#ffcca3}
.sidebar{background:#3c1418;color:#e4c5bc;border-right-color:#2b0e11;transition:width .2s ease,transform .2s ease}.main-shell{transition:margin-left .2s ease}.sidebar-header{padding-top:10px;flex-shrink:0}.sidebar-toggle{display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:36px;margin:0 12px 0 auto;padding:6px;color:#ffcca3;background:transparent;border:1px solid #ffcca34d;border-radius:6px}.sidebar-toggle:hover{background:#ffcca31a}.sidebar-toggle svg{transition:transform .2s ease}.sidebar-brand{padding:12px 20px 22px}.brand-full{display:block;width:200px;max-width:100%;height:auto;object-fit:contain}.brand-mark{display:none;width:64px;height:64px;object-fit:contain}.brand-caption{color:#d8b6a1}.workspace-symbol{object-fit:contain;padding:0;background:transparent;border:0}.workspace-label strong{color:#f7ded0}.workspace-label small{color:#d4b2ab}.nav-link{color:#e5c8bf}.nav-link:hover{background:#ffcca312;color:#fff0e5}.nav-link.active{background:#ffcca31f;border-color:#ffcca34d;color:#ffcca3}.nav-heading{color:#c39e97}.sidebar-note{color:#d0aaa1}.integration-mini>.icon{color:#ffcca3}.integration-mini strong{color:#f4d5c4}.integration-mini small{color:#d0aaa1}.auth-brand .brand-full{width:280px}.art-center{overflow:hidden;background:#3c1418}.art-center img{display:block;object-fit:contain;width:100%;height:100%}.button.primary{background:#3c1418;border-color:#3c1418}.button.primary:hover{background:#552026;border-color:#552026}
@media(min-width:761px){html[data-sidebar-collapsed="true"] .sidebar{width:80px}html[data-sidebar-collapsed="true"] .main-shell{margin-left:80px}html[data-sidebar-collapsed="true"] .sidebar-toggle{margin:0 auto}html[data-sidebar-collapsed="true"] .sidebar-toggle svg{transform:rotate(180deg)}html[data-sidebar-collapsed="true"] .sidebar-brand{padding:12px 8px 18px}html[data-sidebar-collapsed="true"] .brand-full,html[data-sidebar-collapsed="true"] .brand-caption,html[data-sidebar-collapsed="true"] .workspace-label,html[data-sidebar-collapsed="true"] .nav-heading,html[data-sidebar-collapsed="true"] .sidebar-note,html[data-sidebar-collapsed="true"] .pending-dot{display:none}html[data-sidebar-collapsed="true"] .brand-mark{display:block}html[data-sidebar-collapsed="true"] .sidebar nav{padding:0 10px}html[data-sidebar-collapsed="true"] .nav-link{justify-content:center;width:60px;min-height:44px;padding:10px;margin:4px 0;gap:0}html[data-sidebar-collapsed="true"] .nav-link .icon{width:20px;height:20px}html[data-sidebar-collapsed="true"] .nav-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}html[data-sidebar-collapsed="true"] .sidebar-bottom{padding:20px 14px}html[data-sidebar-collapsed="true"] .integration-mini{justify-content:center}html[data-sidebar-collapsed="true"] .integration-mini>div{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}}
@media(max-width:760px){.sidebar-toggle{display:none}.sidebar-header{padding-top:10px}.sidebar-brand{padding-top:18px}.sidebar{transition:transform .2s ease}.main-shell{transition:none}.auth-brand .brand-full{width:220px}}
/* Purchase planning parameters: scoped presentation, shared portal palette. */
.planning-parameters,.planning-parameters h2,.planning-parameters input,.planning-parameters select,.planning-parameters button{font-family:var(--sans)}
.planning-parameters{min-width:0}
.planning-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px 24px;margin-bottom:24px}
.planning-parameters .planning-heading h2{margin:0;font-size:20px}
.planning-explanation{flex:1 1 260px;min-width:0;font-size:12px}
.planning-explanation summary{cursor:pointer;color:var(--ink);width:fit-content;border-radius:4px}
.planning-explanation p{white-space:normal;overflow-wrap:anywhere;max-width:75ch;margin-top:10px}
.planning-block{border:0;padding:0;margin:0;min-width:0}
.planning-block legend{font-size:13px;font-weight:600;margin-bottom:16px}
.planning-calculation-grid{display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,1fr) minmax(260px,1.5fr);gap:20px;align-items:start}
.planning-display{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}
.planning-display legend{float:left;width:100%;margin-bottom:16px}
.planning-display-grid{clear:both;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(280px,1.4fr);gap:20px}
.planning-type-column{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;min-width:0}
.planning-parameters .field{min-width:0;margin:0}
.planning-parameters .field>label{display:block;font-size:12px;line-height:1.5;margin-bottom:8px}
.planning-parameters .field>input,.planning-parameters .field>select{width:100%;min-width:0;min-height:44px}
.planning-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:26px}
.planning-presets{display:flex;gap:8px;margin-top:10px}
.planning-presets button{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:20px;padding:7px 14px;font-size:12px;cursor:pointer}
.planning-presets button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
.planning-toggle-field{min-width:140px}.planning-toggle-field>label{display:block;font-size:12px;line-height:1.5;margin-bottom:8px}.planning-switch{position:relative;width:46px;height:28px}
.planning-switch input[type=checkbox]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;z-index:1;cursor:pointer}
.planning-switch span{display:block;width:46px;height:28px;background:var(--line);border:1px solid var(--muted);border-radius:20px;pointer-events:none}
.planning-switch span:after{content:'';display:block;width:20px;height:20px;margin:3px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0003;transition:transform .15s}
.planning-switch input:checked+span{background:var(--ink);border-color:var(--ink)}
.planning-switch input:checked+span:after{transform:translateX(18px)}
.planning-switch input:focus-visible+span,.planning-presets button:focus-visible,.planning-explanation summary:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
@media(max-width:1100px){.planning-calculation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.planning-actions{grid-column:1/-1;padding-top:0}.planning-display-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.planning-display-grid>.field:first-child{grid-column:1/-1}.planning-type-column{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:600px){.planning-calculation-grid,.planning-display-grid{grid-template-columns:minmax(0,1fr)}.planning-actions .button{flex:1;justify-content:center}.planning-heading{gap:12px}.planning-display-grid>.field:first-child{grid-column:auto}.planning-type-column{grid-column:auto;grid-template-columns:minmax(0,1fr) auto}}
