.institutional-profile{border:1px solid #dce5ed;border-radius:12px;padding:20px;margin:20px 0}.institutional-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.institutional-grid label{display:flex;flex-direction:column;gap:6px;min-width:0}.institutional-grid input,.institutional-grid select{width:100%;box-sizing:border-box}.institutional-grid label button{align-self:flex-start;padding:4px 8px;font-size:12px}.institutional-profile[hidden]{display:none!important}@media(max-width:700px){.institutional-grid{grid-template-columns:1fr}}

.institutional-grid{display:block}.institutional-group{margin:0 0 22px;padding:16px;border:1px solid #e0e8ef;border-radius:10px}.institutional-group legend{font-weight:600;padding:0 8px;color:#173b58}.institutional-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 16px}.institutional-capital .institutional-row{grid-template-columns:minmax(0,320px)}.institutional-group label{margin:0!important;justify-content:flex-start}.institutional-group input,.institutional-group select{margin:0!important}@media(max-width:700px){.institutional-row{grid-template-columns:1fr}.institutional-group{padding:12px}.institutional-capital .institutional-row{grid-template-columns:1fr}}

#client-dialog .institutional-profile{grid-column:1/-1;min-width:0;background:#f6f9fc;border:1px solid #dce6f0;padding:22px;border-radius:14px;margin:0 0 22px}
.institutional-profile>h3{margin:0 0 8px;color:#163b5d}.institutional-profile>p{color:#61768b;font-size:13px;margin-bottom:22px}
.institutional-portals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.institutional-portals .institutional-group{background:white;border:1px solid #dbe5ef;box-shadow:0 4px 14px #173b5810;margin:0;padding:18px;border-radius:14px}
.institutional-portals .institutional-row{grid-template-columns:1fr;gap:15px}.institutional-portals legend{font-size:17px}.institutional-portal-icon{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;margin-left:10px;background:#e7f1ff;color:#165f9e;border-radius:8px;padding:6px 10px;font-size:19px}.institutional-portal-icon[hidden]{display:none!important}
.institutional-records,.institutional-signature,.institutional-capital{background:white}.institutional-grid label{position:relative}.institutional-grid input{min-height:40px;border-radius:7px}.institutional-profile button{cursor:pointer}.institutional-records .institutional-row{gap:20px}.institutional-profile #institutional-access-form{display:none}
@media(max-width:1050px){.institutional-portals{grid-template-columns:1fr}.institutional-portals .institutional-row{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.institutional-portals .institutional-row{grid-template-columns:1fr}#client-dialog .institutional-profile{padding:15px}}

/* FIRMA 360 / 360 CONTABLES: desktop shell, scoped to preserve dialogs. */
body.f360-shell{--f360-navy:#06253c;--f360-turquoise:#00b9b1;--f360-gold:#f1bc47;background:#f0f7fc;color:#112d48}
body.f360-shell #app:not([hidden]){display:grid!important;grid-template-columns:226px minmax(0,1fr);gap:0;min-height:100dvh;max-width:none;margin:0}
body.f360-shell #app-sidebar{position:sticky!important;top:0!important;left:auto!important;width:auto!important;min-width:0;height:100dvh;max-height:100dvh;background:linear-gradient(160deg,#031c2d,#082f49)!important;color:#dfeaf2;padding:22px 14px 18px;display:flex!important;flex-direction:column;overflow-y:auto;border:0;box-shadow:3px 0 16px #08283b15;transform:none!important;z-index:40}
body.f360-shell .workspace{min-width:0!important;margin:0!important;padding:0 28px 32px!important;max-width:none;width:auto!important;background:linear-gradient(180deg,#eef8ff,#f6faff 65%);overflow:visible}
body.f360-shell .workspace>header{position:relative!important;top:auto;display:flex!important;align-items:center;justify-content:space-between;gap:22px;min-height:76px;margin:0 -28px 0!important;padding:12px 28px!important;background:#fff!important;border-bottom:1px solid #e1ebf4;box-shadow:none!important;z-index:30;border-radius:0}
body.f360-shell .sidebar-brand{padding:0 0 22px!important;margin-bottom:20px;border-bottom:1px solid #ffffff25;text-align:left}
body.f360-shell #brand-refresh{display:flex!important;gap:10px;align-items:center;width:100%;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.f360-main-mark{display:block;width:46px;height:48px;flex-shrink:0;background-color:white;background-repeat:no-repeat;background-size:174px 87px;background-position:-12px -20px;border-radius:10px}
body.f360-shell .f360-main-name{color:var(--f360-gold)!important;font-size:22px!important;font-weight:800;letter-spacing:-.7px;white-space:nowrap}
body.f360-shell .firma-brand-caption{display:block;color:#b7c9d8!important;font-size:9px!important;letter-spacing:2px;padding-top:12px;text-align:center}
body.f360-shell #app-sidebar>.eyebrow{color:#9cb8cd;font-size:10px;letter-spacing:1.6px;margin:0 10px 10px}
body.f360-shell #app-sidebar .f360-original-nav,body.f360-shell #app-sidebar .mobile-menu-close{display:none!important}
body.f360-shell .f360-general-nav{display:grid;gap:8px;margin:0}
body.f360-shell .f360-general-nav button,body.f360-shell .f360-administration button{display:flex!important;align-items:center;gap:11px;min-height:48px;width:100%;text-align:left;padding:11px 10px!important;border:1px solid transparent!important;border-radius:9px;background:transparent;color:#dfebf6!important;font-size:12px!important;font-weight:500;box-shadow:none}
body.f360-shell #app-sidebar svg{width:21px;height:21px;flex-shrink:0}
body.f360-shell .f360-general-nav button:disabled{opacity:.52;cursor:default;flex-wrap:wrap;gap:8px}
body.f360-shell .f360-general-nav button small{font-size:8px;background:#41627d66;border-radius:5px;padding:4px 5px;margin-left:29px;margin-top:-5px}
body.f360-shell .f360-general-nav button.f360-module-active{background:linear-gradient(110deg,#00b9b137,#00b9b113)!important;color:#b5fffa!important;border-color:#00b9b15c!important;font-weight:750;box-shadow:inset 3px 0 #00c7be}
body.f360-shell .f360-general-nav button.selected{background:#ffffff0a!important}
body.f360-shell .f360-administration{display:grid;gap:6px;border-top:1px solid #ffffff25;margin-top:25px;padding-top:22px}
.f360-admin-title{font-size:10px;letter-spacing:1.3px;color:#9cb8cd;margin:0 10px 8px}
body.f360-shell .f360-administration button[hidden]{display:none!important}
body.f360-shell .sidebar-footer{margin-top:auto;padding-top:24px;border-top:1px solid #ffffff20;color:#c8dbe9;font-size:11px;line-height:1.7}
body.f360-shell #logout{background:transparent;color:#e7f2fa;border-color:#ffffff25;font-size:12px}
.f360-module-chrome{padding:25px 0 20px;min-width:0}
.f360-module-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px}
.f360-module-identity{display:flex;gap:16px;align-items:center}.f360-module-mark{display:block;flex-shrink:0;width:60px;height:60px;background-color:#fff;background-repeat:no-repeat;background-size:220px 110px;background-position:-17px -26px;border:1px solid #bfeee9;border-radius:13px;box-shadow:0 5px 12px #00aa9914}
.f360-module-titleline{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.f360-module-titleline h2{color:#008d8b!important;font-size:27px;letter-spacing:-.8px;margin:0;font-weight:800}.f360-module-identity p{margin:7px 0 0;color:#526f88;font-size:13px}
.f360-active-badge{color:#007d71;background:#c9f4ec;padding:6px 12px;border-radius:22px;font-size:10px;font-weight:700;white-space:nowrap}
.f360-date{display:flex;align-items:center;gap:10px;padding:13px 16px;border:1px solid #d3e4f1;background:#ffffffbd;border-radius:10px;color:#294b68;font-size:11px}.f360-date svg{width:22px;height:22px}
body.f360-shell .f360-horizontal-nav{display:flex!important;gap:3px;overflow-x:auto;align-items:stretch;background:#fff;border:1px solid #dce9f3;box-shadow:0 5px 15px #224b7510;border-radius:12px;padding:5px;scrollbar-width:thin}
body.f360-shell .f360-horizontal-nav .f360-function{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:9px;position:relative;flex:1 0 98px;min-width:98px;min-height:76px;padding:12px 8px!important;margin:0;border:1px solid transparent!important;border-radius:8px!important;background:#fff!important;color:#173956!important;font-size:10px!important;font-weight:600;line-height:1.3;white-space:nowrap;box-shadow:none!important}
body.f360-shell .f360-horizontal-nav .f360-function svg{width:22px;height:22px}.f360-horizontal-nav .mobile-side-arrow{display:none}
body.f360-shell .f360-horizontal-nav .f360-function[hidden]{display:none!important}
body.f360-shell .f360-horizontal-nav .f360-function[aria-current=page],body.f360-shell .f360-horizontal-nav .f360-function.selected{background:#e3faf6!important;border-color:#00b9b1!important;color:#008a83!important}
body.f360-shell .f360-horizontal-nav .f360-function:hover{background:#f2fafb!important}
.f360-horizontal-nav .mailbox-badge{position:absolute;top:7px;right:12px}
.f360-client-tools{margin-top:10px;text-align:right;font-size:10px;color:#536f88}.f360-client-tools summary{cursor:pointer}.f360-client-tools button{margin:8px 0 0 8px;font-size:11px}
.f360-company-context{display:flex;flex-direction:column;gap:3px;color:#102f4c;font-size:10px}.f360-company-context>strong{font-size:13px}.f360-company-context>small{display:none}
body.f360-shell .workspace-heading{min-width:145px;gap:12px;display:flex!important}
.f360-header-search{display:flex;gap:6px;max-width:440px;flex:1;margin:0}.f360-header-search input{width:100%;min-width:100px;background:#edf5fc!important;border:1px solid #e6eef6!important;font-size:12px!important;padding:10px 13px!important;border-radius:7px!important}.f360-header-search button{font-size:10px;color:#26536f;border-color:#e0eaf3;background:white;padding:8px}
body.f360-shell .workspace-header-actions{margin-left:auto;flex-shrink:0}.f360-shell .private-label{font-size:10px;color:#46775e}
body.f360-shell .workspace>section:not([hidden]){margin-top:0!important;max-width:none!important}
body.f360-shell .workspace .page-heading{padding:0 0 16px!important;margin:0 0 8px!important;gap:16px}
body.f360-shell .workspace .page-heading h1{font-size:24px;letter-spacing:-.5px;color:#102f4c;margin:0 0 5px}
body.f360-shell .workspace .page-heading p{font-size:12px;color:#61788e}
body.f360-shell .workspace .board{border:1px solid #dce7f1!important;border-radius:12px!important;box-shadow:0 4px 15px #123a5c08;background:#fff}
body.f360-shell .workspace .stats article,body.f360-shell .workspace .task-summary-card{border-radius:11px!important;border:1px solid #dce8f2!important;box-shadow:0 3px 10px #16395408!important}
body.f360-shell .workspace button.primary{background:#009f99!important;border-color:#009f99!important;color:#fff!important}
body.f360-shell .workspace th{background:#f0f7fc;color:#254661}body.f360-shell .workspace table{font-size:12px}
body.f360-shell .f360-login-logo{background:#fff;border-radius:14px;object-fit:contain;max-width:390px;width:100%;height:auto}
body.f360-shell button:focus-visible,body.f360-shell summary:focus-visible{outline:3px solid #f1bc47!important;outline-offset:3px}
@media(min-width:1000px){body.f360-shell #sidebar-toggle{display:none!important}body.f360-shell.sidebar-collapsed #app:not([hidden]){grid-template-columns:226px minmax(0,1fr)}body.f360-shell .workspace>header{position:relative!important}}
@media(max-width:1100px) and (min-width:761px){body.f360-shell #app:not([hidden]){grid-template-columns:196px minmax(0,1fr)}body.f360-shell .f360-main-name{font-size:18px!important}.f360-main-mark{width:38px}.f360-date{display:none}.f360-header-search{max-width:280px}.f360-active-badge{display:none}}
@media(max-width:760px){body.f360-shell #app:not([hidden]){display:block!important}body.f360-shell #app-sidebar{position:relative!important;display:block!important;width:100%!important;height:auto;max-height:none;padding:12px 16px;box-sizing:border-box;overflow:visible}body.f360-shell .sidebar-brand{padding:0!important;margin:0!important;border:0}body.f360-shell #brand-refresh{justify-content:center}.f360-main-mark{height:38px;width:38px;background-size:148px 74px;background-position:-11px -18px}body.f360-shell .firma-brand-caption,body.f360-shell #app-sidebar>.eyebrow,body.f360-shell .f360-general-nav,body.f360-shell .f360-administration,body.f360-shell .sidebar-footer{display:none!important}body.f360-shell .workspace{padding:0 14px 24px!important}body.f360-shell .workspace>header{margin:0 -14px!important;padding:10px 14px!important;gap:10px;min-height:58px;flex-wrap:wrap}.f360-header-search{order:3;flex-basis:100%;max-width:none}.f360-company-context>strong{font-size:12px}.f360-company-context #breadcrumb{font-size:10px}body.f360-shell #sidebar-toggle{display:none!important}.f360-module-chrome{padding:18px 0 16px}.f360-module-banner{margin-bottom:15px}.f360-date,.f360-active-badge{display:none}.f360-module-titleline h2{font-size:21px}.f360-module-mark{height:46px;width:46px;background-size:178px 89px;background-position:-15px -22px}.f360-module-identity{gap:10px}.f360-module-identity p{font-size:10px}.f360-horizontal-nav{scroll-snap-type:x proximity}.f360-horizontal-nav .f360-function{scroll-snap-align:start}.f360-client-tools{text-align:left}.f360-shell .private-label{display:none!important}body.f360-shell .workspace .page-heading h1{font-size:22px}}
/* Client profile: numbered sections and institution cards. */
body.f360-shell #client-dialog{width:min(1400px,96vw)!important;max-width:96vw!important;max-height:94dvh;padding:26px!important;border:1px solid #d8e6ef!important;border-radius:16px!important;background:#f7fbfe;color:#102f4c;scroll-behavior:smooth}
body.f360-shell #client-dialog::backdrop{background:#031b2ac9;backdrop-filter:blur(3px)}
body.f360-shell #client-dialog .dialog-title{background:#fff;border-radius:10px;padding:16px;margin-bottom:16px}
body.f360-shell #client-title{font-size:23px!important;color:#12334d}
.f360-profile-steps{display:flex;gap:12px;align-items:stretch;overflow-x:auto;margin:0 0 22px;padding:8px 0 12px;border-bottom:1px solid #dbe7ee}
.f360-profile-steps button{display:flex;flex:1 0 160px;gap:9px;align-items:center;justify-content:flex-start;background:transparent;color:#526e83;border:1px solid transparent;border-radius:9px;padding:9px;font-size:11px;line-height:1.4;text-align:left}
.f360-step-number{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:29px;height:29px;background:#edf3f7;color:#58738b;border:1px solid #d5e2ec;border-radius:50%;font-size:13px;font-weight:700}
.f360-profile-steps button[aria-current=step]{color:#008f89;background:#e5f9f6;border-color:#8edcd4}.f360-profile-steps button[aria-current=step] .f360-step-number{background:#00aaa2;color:#fff;border-color:#00aaa2}
.f360-profile-steps button[hidden]{display:none!important}
body.f360-shell #client-dialog .pc-profile-section{grid-column:1/-1;border:1px solid #dce7ef;border-radius:12px;background:#fff;padding:20px;margin-bottom:20px;scroll-margin-top:20px}
body.f360-shell #client-dialog .pc-profile-section>h3{margin:0 0 18px!important;font-size:17px!important;color:#15415c!important;border-bottom:1px solid #e0ecf2;padding-bottom:12px}
body.f360-shell #client-dialog .institutional-profile{scroll-margin-top:20px;background:#f5fafc!important}
body.f360-shell .institutional-portals .institutional-group{min-height:110px;display:flex;align-items:flex-start;flex-direction:column;justify-content:space-between;gap:12px}
body.f360-shell .institutional-portals .institutional-group legend{font-size:16px;color:#123b52;max-width:100%;padding:0 6px}.institutional-portals .institutional-portal-icon{color:#008c87!important;background:#e1f8f4!important;font-size:16px;white-space:nowrap}
body.f360-shell .institutional-portals .f360-institution-selected{border-color:#00aaa2!important;background:#effbf9!important;box-shadow:inset 0 3px #00aaa2!important}
body.f360-shell .institutional-portals .f360-institution-choose{color:#008a82;background:transparent;border:0;padding:5px 0;font-size:12px;font-weight:650;text-align:left}
.f360-institution-editor{margin-bottom:24px}.f360-institution-panel{background:#fff;border:1px solid #dce9ef;border-radius:12px;padding:20px}.f360-institution-panel[hidden]{display:none!important}.f360-institution-panel h4{font-size:16px;color:#103851;margin:0 0 18px}.f360-institution-panel .institutional-row{grid-template-columns:repeat(3,minmax(0,1fr))}.f360-institution-panel input{width:100%}.f360-institution-panel label{min-width:0}.f360-institution-panel label button{margin:2px 7px 0 0!important}.f360-institution-panel label:has(input[name=tss_url]){grid-column:1/-1}
body.f360-shell #client-dialog .primary,body.f360-shell #client-institutional-profile>button.primary{background:#009f99!important;border-color:#009f99!important;color:white!important}
/* Public login: gold/yellow main identity, turquoise reserved for accounting. */
body.f360-shell #login .brand{background:radial-gradient(ellipse at 0% 0%,#24455a 0%,#102e43 40%,#061d2e 100%)!important;border-right:1px solid #f1bc4740}
body.f360-shell #login .brand .eyebrow{color:#f1c65a!important;letter-spacing:1.8px;font-size:10px;font-weight:700}
body.f360-shell #login .brand h1{color:#fff!important}body.f360-shell #login .brand p{color:#c9d7e2!important}
body.f360-shell #login .login-card{background:#faf9f5!important;color:#17334a}
body.f360-shell #login .login-card>.eyebrow{color:#8d6921!important}
body.f360-shell #login-form input{background:#fff!important;border:1px solid #dbdfdf!important;border-radius:8px!important;min-height:44px}
body.f360-shell #login-form input:focus{outline:2px solid #dbb04d!important;outline-offset:2px}
body.f360-shell #login-form button.primary{background:linear-gradient(110deg,#f1c55d,#d6a23b)!important;border:1px solid #d5a03b!important;color:#132a3c!important;font-weight:750;min-height:46px;box-shadow:0 6px 16px #af7c2420}
body.f360-shell #login .firma360-install{border-color:#d4b573;color:#79581d;background:#fffdf5}
@media(max-width:760px){body.f360-shell #client-dialog{padding:14px!important;width:98vw!important;max-width:98vw!important}.f360-profile-steps button{flex-basis:155px}.f360-institution-panel .institutional-row{grid-template-columns:1fr}.f360-institution-panel{padding:15px}body.f360-shell #client-title{font-size:18px!important}body.f360-shell #client-dialog .pc-profile-section{padding:15px}.f360-profile-steps{margin-bottom:15px}}
@media(max-width:760px){body.f360-shell .f360-administration{display:flex!important;overflow-x:auto;margin-top:12px;padding-top:10px;gap:5px}body.f360-shell .f360-administration .f360-admin-title{display:none}body.f360-shell .f360-administration button{min-width:max-content;width:auto!important;min-height:34px;font-size:10px!important;padding:6px!important}body.f360-shell .f360-administration svg{width:15px!important;height:15px!important}body.f360-shell .sidebar-footer{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding-top:10px}body.f360-shell .sidebar-footer #logout{font-size:10px;padding:5px 8px}}

/* Uniform background behind the login form. */


body.f360-shell #login .login-card{background:transparent!important;box-shadow:none!important;border:0!important}
/* Approved Home layout; all counts come from existing dashboard records. */
.f360-legacy-dashboard{display:none!important}
body.f360-shell #dashboard-view>.page-heading{background:white;border:1px solid #deebf4;border-radius:12px 12px 0 0;padding:20px 22px 0!important;margin:0!important;border-bottom:0}
.f360-home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:18px 20px 20px;background:white;border:1px solid #deebf4;border-top:0;border-radius:0 0 12px 12px;margin-bottom:20px}
body.f360-shell .f360-home-metric{display:flex;align-items:center;gap:14px;padding:17px 14px!important;min-height:100px;border-radius:11px;border:1px solid #d9e8f4;background:#fff;color:#173b57;text-align:left;box-shadow:none!important;min-width:0}
.f360-metric-icon{width:43px;height:48px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:25px;background:#e2f1ff;color:#1687da;border-radius:9px}.f360-metric-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.f360-metric-copy>span{font-size:11px;line-height:1.4}.f360-metric-copy>strong{font-size:29px;color:#102f4c;line-height:1.1}
.f360-metric-monthly .f360-metric-icon{background:#fff0ce;color:#d99a06}.f360-metric-pending .f360-metric-icon{background:#ffe9ec;color:#ed5275}.f360-metric-due .f360-metric-icon{background:#dff9ee;color:#00a678}
body.f360-shell .f360-metric-monthly{border-color:#f6e5bc}body.f360-shell .f360-metric-pending{border-color:#f6dfe7}body.f360-shell .f360-metric-due{border-color:#d5f2e6}
.f360-home-lower{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:20px;margin-bottom:22px}.f360-home-panel{background:#fff;border:1px solid #deebf4;border-radius:12px;padding:20px;min-width:0;box-shadow:0 4px 14px #234e7510}
.f360-home-panel-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.f360-home-panel-title h2{font-size:17px!important;color:#123550;margin:0!important}.f360-text-action{background:transparent!important;border:0!important;color:#008f89!important;font-size:11px!important;padding:5px!important;white-space:nowrap}
.f360-home-task-scroll{overflow:auto}.f360-home-task-scroll table{width:100%;border-collapse:collapse}.f360-home-task-scroll th,.f360-home-task-scroll td{text-align:left;padding:12px 9px;border-bottom:1px solid #e7eff5;font-size:11px!important;vertical-align:middle}.f360-home-task-scroll td strong{display:block;font-size:11px;font-weight:600}.f360-home-task-scroll td small{display:block;color:#70869a;font-size:9px;margin-top:4px}.f360-task-state{display:inline-block;font-size:9px;padding:5px 8px;border-radius:6px;white-space:nowrap}.f360-state-pendiente{color:#a76b00;background:#fff3d5}.f360-state-en_proceso{color:#167aaa;background:#e3f3ff}.f360-state-completado{color:#00865c;background:#dff8ec}.f360-date-overdue{color:#d3495d}.f360-home-subtitle{font-size:10px;color:#678298;margin:-5px 0 16px}.f360-home-empty{padding:34px 12px;color:#6d879b;font-size:12px;line-height:1.8;text-align:center}
.f360-upcoming-row{display:flex;align-items:center;gap:13px;padding:14px 0;border-top:1px solid #e7eff5}.f360-upcoming-day{min-width:43px;height:48px;display:flex;align-items:center;justify-content:center;background:#f0f7fb;color:#0d6d82;font-size:24px;font-weight:750;border-radius:9px}.f360-upcoming-row>div{min-width:0}.f360-upcoming-row strong{font-size:12px}.f360-upcoming-row small{display:block;font-size:10px;color:#648298;line-height:1.8}.f360-upcoming-today{margin-left:auto;background:#fff1d7;color:#9a6b15;font-size:9px;padding:5px 7px;border-radius:5px}
@media(max-width:1100px){.f360-home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.f360-home-lower{grid-template-columns:1fr}}@media(max-width:540px){.f360-home-metrics{gap:8px;padding:14px 12px}.f360-metric-icon{width:30px;height:35px;font-size:19px}body.f360-shell .f360-home-metric{gap:8px;padding:12px 9px!important;min-height:90px}.f360-metric-copy>span{font-size:10px}.f360-metric-copy>strong{font-size:25px}.f360-home-panel{padding:14px}}
/* Shared visual language across all existing module screens. */
body.f360-shell,body.f360-shell input,body.f360-shell select,body.f360-shell textarea,body.f360-shell button{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body.f360-shell .workspace .page-heading>div:first-child>h1{display:flex;align-items:center;gap:12px}
body.f360-shell .workspace>section:not(#dashboard-view)>.page-heading{background:#ffffffb8;border:1px solid #deebf4;border-radius:12px;padding:18px 20px!important;margin-bottom:18px!important}
body.f360-shell .workspace .board-toolbar,body.f360-shell .workspace .board-heading{background:#fff;border-bottom:1px solid #e2edf5;padding:16px 18px;border-radius:12px 12px 0 0}
body.f360-shell .workspace .task-filters,body.f360-shell .workspace .task-filter-bar,body.f360-shell .workspace .nre-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;padding:16px 18px;background:#fafcfe;border-bottom:1px solid #e4edf4;align-items:end}
body.f360-shell .workspace .task-filters label,body.f360-shell .workspace .task-filter-bar label{display:flex;flex-direction:column;gap:6px;font-size:10px;color:#587289;min-width:0}
body.f360-shell .workspace .tools{gap:9px;flex-wrap:wrap}
body.f360-shell .workspace input,body.f360-shell .workspace select{border-radius:7px;border:1px solid #d9e5ef;background:#fff;font-size:11px;min-height:36px;box-sizing:border-box;color:#183e5a}
body.f360-shell .workspace .task-filters input,body.f360-shell .workspace .task-filters select,body.f360-shell .workspace .task-filter-bar input,body.f360-shell .workspace .task-filter-bar select{width:100%;min-width:0}
body.f360-shell .workspace .table-scroll,body.f360-shell .workspace .task-table-scroll{border-radius:0 0 10px 10px}
body.f360-shell .workspace table th{font-size:10px;font-weight:650;background:#eff6fc;border-bottom:1px solid #dce8f2;padding:12px 11px}
body.f360-shell .workspace table td{font-size:11px;padding:12px 11px;border-bottom:1px solid #e8f0f6;color:#25445d}
body.f360-shell .workspace table tbody tr:hover{background:#f3fbfa}
body.f360-shell .workspace .task-bulk-toolbar{background:#fff;padding:10px 18px;border-bottom:1px solid #e7eff5;font-size:10px}
body.f360-shell .workspace .board-footer{background:#fbfdff;color:#738ba0;border-top:1px solid #e4eef5;font-size:10px;padding:12px 16px;border-radius:0 0 12px 12px;line-height:1.6}
body.f360-shell .workspace .stats{gap:14px;margin-bottom:20px}
body.f360-shell .workspace .stats>article{background:#fff;padding:18px;border:1px solid #deebf4;border-radius:11px}
body.f360-shell .workspace .stats>article>span{color:#607d94;font-size:11px}body.f360-shell .workspace .stats>article>strong{font-size:27px;color:#143d58}
body.f360-shell .workspace .task-summary{gap:14px;margin-bottom:20px}
body.f360-shell .workspace .task-summary-card{padding:16px;min-height:88px;background:#fff}
body.f360-shell .workspace .empty{color:#7890a2;padding:36px 20px;font-size:12px}
body.f360-shell .workspace .eyebrow{color:#008e88;font-size:9px;letter-spacing:1.4px}
body.f360-shell .workspace button:not(.f360-function):not(.f360-home-metric):not(.primary){border-radius:7px}
body.f360-shell .mobile-bottom-nav{display:none!important}
@media(max-width:760px){body.f360-shell .workspace>section:not(#dashboard-view)>.page-heading{padding:15px!important}.f360-shell .workspace .task-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:12px!important;gap:10px!important}body.f360-shell .workspace .board-toolbar{padding:13px}body.f360-shell .workspace .task-bulk-toolbar{padding:10px 12px}}


/* FIRMA360 reference alignment 20261023-r7: shared visual layer only. */
body.f360-shell{color:#122747!important;background:#edf5ff!important}
body.f360-shell #app-sidebar{background:#041c2c!important;padding:18px 12px!important}
body.f360-shell .workspace{background:#edf5ff!important}
body.f360-shell .workspace h1,body.f360-shell .workspace h2,body.f360-shell .workspace h3{color:#10254c!important}
body.f360-shell .workspace button.primary,body.f360-shell .workspace #new-client,body.f360-shell .workspace #new-recurring-task,body.f360-shell .workspace #nre-new,body.f360-shell .workspace #new-user,body.f360-shell .workspace #crm-add{background:#075cf5!important;border-color:#075cf5!important;color:white!important;box-shadow:0 3px 8px #075cf51a!important;border-radius:6px!important}
body.f360-shell .workspace>header{min-height:60px!important;padding-top:9px!important;padding-bottom:9px!important;gap:14px!important}
body.f360-shell .sidebar-brand{padding-bottom:14px!important;margin-bottom:14px!important}
body.f360-shell .f360-general-nav{gap:3px!important}
body.f360-shell .f360-general-nav button,body.f360-shell .f360-administration button{min-height:37px!important;padding:8px 9px!important;font-size:11px!important;border-radius:5px!important}
body.f360-shell .f360-general-nav button:disabled{flex-wrap:nowrap!important;gap:8px!important}
body.f360-shell .f360-general-nav button small{margin:0 0 0 auto!important;font-size:7px!important;padding:3px!important}
body.f360-shell .f360-administration{gap:2px!important;margin-top:22px!important;padding-top:16px!important}
body.f360-shell #app-sidebar svg{width:18px!important;height:18px!important}
body.f360-shell .f360-module-chrome{padding:18px 0 15px!important}
body.f360-shell .f360-module-banner{margin-bottom:15px!important}
body.f360-shell .f360-module-titleline h2{font-size:25px!important;color:#0d2348!important;letter-spacing:-.7px!important}
body.f360-shell .f360-module-identity p{font-size:12px!important;color:#526787!important}
body.f360-shell .f360-horizontal-nav{border-radius:7px!important;box-shadow:0 2px 8px #17365008!important;padding:4px!important}
body.f360-shell .f360-horizontal-nav .f360-function{min-height:59px!important;gap:6px!important;padding:8px 7px!important;border-radius:5px!important;color:#122d5b!important}
body.f360-shell .f360-horizontal-nav .f360-function svg{width:22px!important;height:22px!important}
body.f360-shell .f360-horizontal-nav .f360-function.selected,body.f360-shell .f360-horizontal-nav .f360-function[aria-current=page]{color:#009a75!important;background:#e7fbf4!important;border-color:#66cbb1!important}
body.f360-shell .workspace>section:not(#dashboard-view)>.page-heading{padding:12px 16px!important;margin-bottom:12px!important;border-radius:8px!important}
body.f360-shell .workspace .page-heading h1{font-size:22px!important;line-height:1.25!important}
body.f360-shell .workspace .board{border-radius:8px!important;box-shadow:0 2px 8px #17365008!important;border-color:#dce7f3!important}
body.f360-shell .workspace .board-toolbar,body.f360-shell .workspace .board-heading{padding:12px 15px!important;border-radius:8px 8px 0 0!important}
body.f360-shell .workspace .task-filters,body.f360-shell .workspace .task-filter-bar{padding:12px 15px!important;gap:10px!important;background:#fff!important}
body.f360-shell .workspace .task-bulk-toolbar{padding:8px 15px!important}
body.f360-shell .workspace table th{background:#eef4fd!important;color:#1c3159!important;font-size:11px!important;font-weight:650!important;border-bottom:1px solid #dce6f2!important}
body.f360-shell .workspace table td{color:#203451!important;border-bottom:1px solid #e9eef6!important}
body.f360-shell .workspace table tbody tr:hover{background:#f0f6ff!important}
body.f360-shell .workspace .stats,body.f360-shell .workspace .task-summary{gap:10px!important;margin-bottom:12px!important}
body.f360-shell .workspace .stats>article,body.f360-shell .workspace .task-summary-card{padding:13px!important;min-height:76px!important;border-radius:8px!important;box-shadow:none!important}
body.f360-shell #dashboard-view>.page-heading{background:#e2f0ff!important;border:1px solid #d5e5f6!important;border-bottom:0!important;padding:16px 18px 0!important;border-radius:8px 8px 0 0!important}
body.f360-shell .f360-home-metrics{background:#e2f0ff!important;border-color:#d5e5f6!important;gap:10px!important;padding:14px 16px 16px!important;margin-bottom:14px!important;border-radius:0 0 8px 8px!important}
body.f360-shell .f360-home-metric{min-height:82px!important;padding:12px!important;border-radius:7px!important}
body.f360-shell .f360-metric-copy>strong{font-size:27px!important;color:#10254c!important}
body.f360-shell .f360-home-panel{padding:16px!important;border-radius:8px!important;box-shadow:0 2px 8px #17365008!important}
body.f360-shell .f360-home-lower{gap:14px!important}
.f360-state-chart{background:#fff;border:1px solid #dce7f3;border-radius:8px;padding:16px;margin:0 0 14px;color:#10254c}
.f360-state-chart h2{font-size:16px!important;margin:0 0 14px!important}.f360-chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.f360-chart-item{min-width:0}.f360-chart-item>div:first-child{display:flex;justify-content:space-between;font-size:12px;margin-bottom:9px}.f360-chart-track{height:8px;background:#edf2f9;border-radius:5px;overflow:hidden}.f360-chart-fill{height:100%;background:#0864f7;border-radius:5px;width:0}.f360-chart-item:nth-child(2) .f360-chart-fill{background:#f0ac27}.f360-chart-item:nth-child(3) .f360-chart-fill{background:#0cbb8c}.f360-chart-track meter{width:100%;height:12px}
@media(min-width:1000px){body.f360-shell #app:not([hidden]),body.f360-shell.sidebar-collapsed #app:not([hidden]){grid-template-columns:205px minmax(0,1fr)!important}body.f360-shell .workspace{padding:0 22px 28px!important}body.f360-shell .workspace>header{margin:0 -22px!important;padding-left:22px!important;padding-right:22px!important}body.f360-shell .f360-main-name{font-size:19px!important}}
@media(max-width:760px){body.f360-shell .f360-module-titleline h2{font-size:21px!important}body.f360-shell .workspace>header{gap:8px!important}body.f360-shell .f360-horizontal-nav .f360-function{min-width:91px!important;min-height:60px!important}.f360-chart-grid{grid-template-columns:1fr;gap:14px}body.f360-shell .workspace input,body.f360-shell .workspace select{font-size:14px!important;min-height:42px!important}body.f360-shell .f360-home-metrics{gap:8px!important;padding:10px!important}}


/* Remove legacy status icons while preserving all summary values. */
body.f360-shell #app .unified-summary-icon{display:none!important}
body.f360-shell #app [data-summary-unified="1"]{grid-template-columns:minmax(0,1fr)!important;gap:0!important}

/* Welcome cover: integrated original gold logo on warm ivory. */
body.f360-shell #login{background:#f7f3e9!important;color:#10283e}
body.f360-shell #login .brand{background:radial-gradient(ellipse at 12% 8%,#fffdf7 0%,#f4eddd 65%,#eadebf 100%)!important;border-right:1px solid #cfb777!important;isolation:isolate}
body.f360-shell #login .brand .f360-login-logo{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;mix-blend-mode:multiply;max-width:440px;width:100%;height:auto;object-fit:contain}
body.f360-shell #login .brand .eyebrow{color:#8a601d!important}
body.f360-shell #login .brand h1{color:#10283e!important;letter-spacing:-1.5px}
body.f360-shell #login .brand p{color:#526071!important}
body.f360-shell #login .login-card{background:#10283e!important;color:#f7f3e9!important;border-radius:20px!important;padding:38px!important;box-shadow:0 18px 50px #10283e18!important}
body.f360-shell #login .login-card h2{color:#fff!important}
body.f360-shell #login .login-card>.eyebrow{color:#e9bd61!important}
body.f360-shell #login .login-card>p,body.f360-shell #login .login-card .hint{color:#c4cfda!important}
body.f360-shell #login-form label{color:#edf1f5!important}
body.f360-shell #login-form input{color:#10283e!important;background:#fffdf8!important;border-color:#d8c9a7!important}
body.f360-shell #login-form button.primary{background:linear-gradient(110deg,#eac16d,#c99638)!important;color:#10283e!important;border-color:#d4aa51!important}
@media(max-width:760px){body.f360-shell #login .brand{border-right:0!important;border-bottom:1px solid #cfb777!important}body.f360-shell #login .brand .f360-login-logo{max-width:340px}body.f360-shell #login .login-card{border-radius:16px!important;padding:26px!important;margin:20px 16px!important}}

/* Retire old dashboard filter cards; preserve the replacement home summary. */
body.f360-shell #app #dashboard-view #dashboard-stats,
body.f360-shell #app #dashboard-view .f360-legacy-dashboard{display:none!important}

/* Center the mobile app welcome cover and balance its horizontal margins. */
@media(max-width:760px){
body.f360-shell #login{width:100%!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important;grid-template-columns:minmax(0,1fr)!important;justify-items:center!important;padding-left:0!important;padding-right:0!important}
body.f360-shell #login .brand{width:100%!important;box-sizing:border-box!important;text-align:center!important;padding:24px 22px 28px!important;display:flex!important;flex-direction:column!important;align-items:center!important}
body.f360-shell #login .brand .f360-login-logo{display:block!important;width:min(100%,340px)!important;max-width:340px!important;margin:0 auto 12px!important}
body.f360-shell #login .brand .eyebrow,body.f360-shell #login .brand h1,body.f360-shell #login .brand p{width:100%!important;max-width:420px!important;text-align:center!important;margin-left:auto!important;margin-right:auto!important}
body.f360-shell #login .login-card{box-sizing:border-box!important;width:calc(100% - 32px)!important;max-width:440px!important;min-width:0!important;margin:20px auto calc(20px + env(safe-area-inset-bottom,0px))!important;padding:26px!important;justify-self:center!important;text-align:center!important}
body.f360-shell #login-form{width:100%!important;box-sizing:border-box!important;text-align:left!important}
body.f360-shell #login-form input,body.f360-shell #login-form button{box-sizing:border-box!important;width:100%!important;max-width:100%!important}
body.f360-shell #login .login-card>.eyebrow,body.f360-shell #login .login-card>h2,body.f360-shell #login .login-card>p{text-align:center!important}
}

/* Unified task tabs and company settings, 2026-10-23. */
.f360-task-tabs{display:flex;flex-wrap:wrap;gap:0;margin:12px 0 24px!important;max-width:760px}.f360-task-tabs>button{flex:1;min-width:150px;border:1px solid #dce6f2!important;background:#fff!important;border-radius:0!important;color:#102f4c!important;min-height:50px;font-weight:600!important;padding:12px 20px!important}.f360-task-tabs>button:first-child{border-radius:10px 0 0 10px!important}.f360-task-tabs>button:last-child{border-radius:0 10px 10px 0!important}.f360-task-tabs>button[aria-current=page]{background:#102f4c!important;color:#fff!important;border-color:#102f4c!important}.f360-task-tabs>button:focus-visible{outline:3px solid #cba24f;outline-offset:2px}
.f360-company-settings{background:#fff;border:1px solid #e1e8f0;border-radius:14px;padding:26px;margin-top:22px}.f360-company-settings h2{font-size:20px;font-weight:500;margin:0 0 26px;color:#334b61}.f360-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 32px;max-width:1000px;margin:0 auto 20px}.f360-settings-grid>button{position:relative;min-height:50px;border:1px solid #d2d9e2!important;border-radius:16px!important;background:#fff!important;color:#314c6b!important;font-size:15px;font-weight:400;padding:12px 24px;overflow:hidden}.f360-settings-grid>button::before{content:"";position:absolute;left:0;top:0;bottom:0;width:12px;background:linear-gradient(#85e7ed,#559fff)}.f360-settings-grid>button:hover{background:#f2f8ff!important;border-color:#8bb5e9!important}
.firma-account-settings #firm-basic-open,.firma-account-settings #central-sequences-open,.firma-account-settings #cloudya-settings-open,.firma-account-settings #vision-settings-open,.firma-account-settings .firma360-install,.firma-account-options>button[aria-label="Cerrar sesión"],#dashboard-refresh{display:none!important}
@media(max-width:640px){.f360-settings-grid{grid-template-columns:1fr;gap:12px}.f360-company-settings{padding:20px 16px}.f360-task-tabs>button{min-width:0;font-size:12px;padding:10px 8px!important}}

/* PC: sección 4 después de Salida (30) y antes de Novedades (40). */
@media (min-width:1000px){#client-dialog #client-institutional-profile{order:35!important}}

/* DGII demonstration: fits its available panel space at every screen size. */
#dashboard-view .f360-home-lower{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important}
#dashboard-view #f360-dgii-demo{width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important;container-type:inline-size;padding:18px!important}
#dashboard-view #f360-dgii-demo .f360-dgii-top{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
#dashboard-view #f360-dgii-demo .f360-dgii-top h2{margin:0!important;font-size:17px!important}
#dashboard-view #f360-dgii-demo .f360-dgii-badge{font-size:12px!important;background:#eaf5f6!important;color:#006c69!important;padding:5px 8px!important;border-radius:6px!important;white-space:normal!important}
#dashboard-view #f360-dgii-demo .f360-dgii-intro{font-size:13px!important;line-height:1.5!important;color:#526b7a!important;margin:10px 0 14px!important}
#dashboard-view #f360-dgii-demo .f360-dgii-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
#dashboard-view #f360-dgii-demo .f360-dgii-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;align-content:start!important;margin:0!important;min-width:0!important}
#dashboard-view #f360-dgii-demo .f360-dgii-message{display:block!important;width:100%!important;min-width:0!important;text-align:left!important;background:#fff!important;border:1px solid #dbe7ed!important;border-radius:8px!important;padding:11px 12px!important;color:#173447!important;cursor:pointer!important;white-space:normal!important}
#dashboard-view #f360-dgii-demo .f360-dgii-message[aria-pressed=true]{background:#eaf8f5!important;border-color:#008e8b!important}
#dashboard-view #f360-dgii-demo .f360-dgii-message strong{display:block!important;font-size:14px!important;line-height:1.35!important;margin:5px 0 0!important;overflow-wrap:anywhere!important}
#dashboard-view #f360-dgii-demo .f360-dgii-message small{display:block!important;color:#486778!important;font-size:12px!important;line-height:1.3!important}
#dashboard-view #f360-dgii-demo .f360-dgii-detail{border-top:1px solid #e2ebf1!important;padding-top:15px!important;min-width:0!important}
#dashboard-view #f360-dgii-demo .f360-dgii-detail h3{font-size:16px!important;line-height:1.4!important;margin:0 0 8px!important}
#dashboard-view #f360-dgii-demo .f360-dgii-detail p{font-size:14px!important;line-height:1.5!important;margin:8px 0!important;color:#2d4657!important;overflow-wrap:anywhere!important}
#dashboard-view #f360-dgii-demo .f360-dgii-recipients,#dashboard-view #f360-dgii-demo .f360-dgii-preview-body{display:block!important;padding:13px!important;border-radius:8px!important;background:#eff6fa!important;margin:14px 0!important;font-size:13px!important;line-height:1.5!important;color:#173447!important;overflow-wrap:anywhere!important}
#dashboard-view #f360-dgii-demo .f360-dgii-recipients strong{display:block!important;font-size:14px!important;margin-bottom:6px!important}
#dashboard-view #f360-dgii-demo .f360-dgii-recipients span{display:block!important}
#dashboard-view #f360-dgii-demo .f360-dgii-preview-button{display:block!important;border:0!important;background:none!important;color:#00847f!important;padding:9px 0!important;font-size:13px!important;text-align:left!important;cursor:pointer!important}
#dashboard-view #f360-dgii-demo .f360-dgii-send{display:block!important;width:100%!important;min-width:0!important;border:0!important;border-radius:8px!important;background:#008e8b!important;color:#fff!important;padding:13px!important;font-size:14px!important;font-weight:600!important;cursor:pointer!important;white-space:normal!important}
#dashboard-view #f360-dgii-demo .f360-dgii-send:disabled{opacity:.7!important;cursor:default!important}
#dashboard-view #f360-dgii-demo .f360-dgii-result{color:#006c69!important}
#dashboard-view #f360-dgii-demo .f360-dgii-footer{border-top:1px solid #e2ebf1!important;padding-top:12px!important;margin:16px 0 0!important;font-size:12px!important;line-height:1.5!important;color:#526b7a!important}
#dashboard-view #f360-dgii-demo [hidden]{display:none!important}
@container (min-width:720px){
 #dashboard-view #f360-dgii-demo .f360-dgii-layout{grid-template-columns:minmax(190px,.8fr) minmax(0,1.2fr)!important;gap:18px!important}
 #dashboard-view #f360-dgii-demo .f360-dgii-detail{border-top:0!important;border-left:1px solid #e2ebf1!important;padding-top:0!important;padding-left:18px!important}
}
@media(max-width:1240px){#dashboard-view .f360-home-lower{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:550px){#dashboard-view #f360-dgii-demo{padding:14px!important}#dashboard-view #f360-dgii-demo .f360-dgii-top{align-items:flex-start!important;flex-direction:column!important}}

#dashboard-view #f360-dgii-demo .f360-dgii-import-form{display:grid!important;gap:12px!important;margin:14px 0!important;padding:14px!important;background:#eff6fa!important;border-radius:8px!important}#dashboard-view #f360-dgii-demo label{display:flex!important;flex-direction:column!important;gap:7px!important;font-size:13px!important}#dashboard-view #f360-dgii-demo input,#dashboard-view #f360-dgii-demo textarea,#dashboard-view #f360-dgii-demo select{width:100%!important;min-width:0!important;box-sizing:border-box!important;border:1px solid #ccdce5!important;border-radius:6px!important;padding:9px!important;font:inherit!important;background:#fff!important;color:#173447!important}#dashboard-view #f360-dgii-demo .f360-dgii-review-check{flex-direction:row!important;align-items:flex-start!important}#dashboard-view #f360-dgii-demo input[type=checkbox]{width:auto!important;flex:none!important}#dashboard-view #f360-dgii-demo pre{white-space:pre-wrap!important;overflow-wrap:anywhere!important;font-family:inherit!important;font-size:13px!important;line-height:1.6!important;margin:12px 0 0!important}#dashboard-view #f360-dgii-demo [hidden]{display:none!important}

/* Acceso aprobado: bloque izquierdo centrado y separación compacta bajo el logo. */
@media (min-width:761px){
 body.f360-shell #login .brand{justify-content:center!important;align-items:flex-start!important;gap:0!important;padding-top:55px!important;padding-bottom:55px!important;}
 body.f360-shell #login .brand .f360-login-logo{width:min(100%,440px)!important;max-width:440px!important;height:165px!important;object-fit:cover!important;object-position:center!important;padding:0!important;margin:0 0 20px!important;flex-shrink:0!important;}
 body.f360-shell #login .brand .eyebrow{margin:0!important;}
 body.f360-shell #login .brand h1{margin:24px 0!important;}
 body.f360-shell #login .brand p{margin:0!important;max-width:450px!important;}
}

/* Horizontal modules and 360 Audio */
body.f360-shell #app-sidebar>.eyebrow{display:none!important}
body.f360-shell .workspace>.f360-general-nav{display:flex!important;flex-flow:row wrap!important;gap:8px!important;padding:12px 22px!important;margin:0!important;background:#082c40!important;border-bottom:1px solid #16495d!important}
body.f360-shell .workspace>.f360-general-nav button{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 1 auto!important;gap:8px!important;width:auto!important;min-width:125px!important;padding:11px 16px!important;color:#d9e9ef!important;background:transparent!important;border:1px solid transparent!important;border-radius:8px!important;font-size:13px!important;text-transform:none!important}
body.f360-shell .workspace>.f360-general-nav button.f360-module-active{background:#0a6573!important;border-color:#1cc7c5!important;color:white!important}
body.f360-shell .workspace>.f360-general-nav button:disabled{opacity:.48!important}
body.f360-shell .workspace>.f360-general-nav svg{width:22px!important;height:22px!important;flex:none!important}
body.f360-shell .workspace>.f360-general-nav small{font-size:9px!important}
body.f360-shell .f360-horizontal-nav[hidden],body.f360-shell .f360-client-tools[hidden],.f360-audio-nav[hidden],.f360-audio-section[hidden]{display:none!important}
body.f360-shell .f360-audio-nav{display:flex;overflow-x:auto;gap:5px;padding:10px;background:white;border-bottom:1px solid #dce9ef}
body.f360-shell .f360-audio-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;flex:1 0 100px;max-width:160px;min-height:76px;padding:9px;border:1px solid transparent;border-radius:7px;color:#173a51;background:white;font-size:12px;line-height:1.25}
body.f360-shell .f360-audio-nav button[aria-current=page]{background:#e2f7f7;color:#008d9e;border-color:#93dcd9}
.f360-audio-nav svg{width:25px;height:25px;flex:none}
body.f360-shell .f360-audio-section{padding:24px!important;color:#12324a}
.audio-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.audio-heading h1{font-size:30px;margin:4px 0 8px;color:#0b2e47}.audio-heading p{margin:4px 0;color:#607789}.audio-heading .audio-eyebrow{font-size:11px;letter-spacing:1.4px;color:#008b9a}
.audio-actions{display:flex;gap:10px;flex-wrap:wrap}.f360-audio-section button,.audio-dialog button{cursor:pointer;border:1px solid #d1e1e8;border-radius:7px;padding:10px 14px;background:white;color:#14394d;font:inherit;font-size:13px}.f360-audio-section button.primary,.audio-dialog button.primary{background:#009caf;color:white;border-color:#009caf}
.audio-hero{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(110deg,#ebfbfd,#e0f3fa);border:1px solid #d4eef2;border-radius:13px;padding:30px;margin-bottom:22px}.audio-hero h2{font-size:32px;margin:0 0 10px;color:#0b344c}.audio-hero p{font-size:18px;color:#627b90}.audio-hero span{font-size:13px;color:#008598}.audio-hero>svg{width:130px;height:130px;color:#009bad;flex:none;margin-left:20px}
.audio-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.f360-audio-section button.audio-stat{display:grid;grid-template-columns:42px 1fr;gap:7px 12px;text-align:left;padding:20px;background:#fff;border-color:#dce9ef}.audio-stat svg{width:34px;height:34px;color:#00a0af;grid-row:span 2;align-self:center}.audio-stat strong{font-size:30px;color:#008fa2}.audio-stat span{font-size:12px;color:#587488}
.audio-home-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px}.audio-board{padding:23px;border:1px solid #dbe8ef;background:#fff;border-radius:12px}.audio-board h2{margin:0 0 15px;font-size:21px}.audio-quick{display:flex;align-items:center;gap:12px;width:100%;margin:10px 0;text-align:left!important;background:#f0fafb!important}.audio-quick svg{width:25px;height:25px;color:#009aac}.audio-appointment{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;margin:9px 0}.audio-status{display:inline-block;background:#e6f6f4;color:#0b7f78;padding:5px 9px;border-radius:20px;font-size:12px;white-space:nowrap}.audio-empty{padding:25px;color:#67808e;text-align:center}.audio-filters{display:flex;gap:12px;margin:14px 0}.audio-filters input{flex:1}.audio-filters input,.audio-filters select,.audio-dialog input,.audio-dialog select,.audio-dialog textarea{box-sizing:border-box;padding:10px;border:1px solid #cddfe8;border-radius:7px;background:white;color:#13374c;font:inherit;font-size:14px;min-width:0}.audio-table-scroll{overflow:auto;border:1px solid #dce7ee;border-radius:10px;background:white}.audio-table-scroll table{width:100%;border-collapse:collapse}.audio-table-scroll th,.audio-table-scroll td{padding:12px;text-align:left;border-bottom:1px solid #e5edf2;font-size:13px}.audio-table-scroll th{background:#edf5fa;color:#355066;font-size:12px}.audio-table-scroll td:first-child{width:115px;white-space:nowrap}.audio-id{padding:5px 8px!important;font-size:12px!important}.audio-count{color:#6a8291;font-size:12px}.audio-dialog{width:min(850px,94vw);max-height:90vh;padding:24px;border:1px solid #d0e2eb;border-radius:12px;overflow:auto;color:#12354a}.audio-dialog::backdrop{background:#061e32a8}.audio-dialog .dialog-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.audio-dialog h2{font-size:21px}.audio-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.audio-form-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px}.audio-wide{grid-column:1/-1}.audio-dialog [hidden]{display:none!important}.audio-error{color:#a02436;white-space:pre-wrap}.audio-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px}
@media(max-width:760px){body.f360-shell .workspace>.f360-general-nav{flex-wrap:nowrap!important;overflow-x:auto!important;padding:9px!important}.audio-stats{grid-template-columns:1fr 1fr}.audio-home-grid{grid-template-columns:1fr}.audio-heading{align-items:flex-start;flex-direction:column}.audio-hero{padding:20px}.audio-hero h2{font-size:25px}.audio-hero>svg{width:70px;height:70px}.audio-form-grid{grid-template-columns:1fr}.audio-wide{grid-column:auto}.audio-filters{flex-wrap:wrap}body.f360-shell .f360-audio-section{padding:15px!important}}

body.f360-shell .workspace>.f360-general-nav{flex-wrap:nowrap!important;overflow-x:auto!important}body.f360-shell .workspace>.f360-general-nav button{flex-shrink:0!important;min-width:0!important;padding:10px 12px!important;font-size:12px!important}body.f360-shell .workspace>.f360-general-nav small{display:none!important}body.f360-shell .f360-audio-nav button{color:#173a51!important}body.f360-shell .f360-audio-nav button[aria-current=page]{color:#008c9c!important}body.f360-shell .f360-audio-section svg{color:#009bad!important;stroke:currentColor!important}body.f360-shell .f360-audio-section button.primary,body.f360-shell .audio-dialog button.primary{background:#009caf!important;border-color:#009caf!important;color:white!important}body.f360-shell .f360-audio-section .audio-stat strong{color:#008fa2!important}body.f360-shell .f360-audio-section .audio-hero h2{color:#0b344c!important}

body.f360-shell #app-sidebar>.eyebrow{display:block!important}body.f360-shell #app-sidebar .f360-general-nav{display:flex!important;flex-direction:column!important;gap:6px!important}body.f360-shell #app-sidebar .f360-general-nav button{width:100%!important;display:flex!important;align-items:center!important;gap:10px!important;text-align:left!important}body.f360-shell #app-sidebar .f360-general-nav svg{width:22px!important;height:22px!important;flex:none!important}body.f360-shell .f360-header-search[hidden]{display:none!important}
