/* EBSS Next UI / Canonical stylesheet. Theme tokens: Earth and Earth Dark. Preview-only. */
/* === FOUNDATION / migrated source === */
/* NextUI: standalone, opt-in presentation foundation. No legacy selectors. */
.nx-shell{--nx-bg:#141713;--nx-surface:#20241e;--nx-text:#f4f4f5;--nx-muted:#a5a7af;--nx-border:#3a4038;--nx-accent:#c1f2ad;--nx-radius:12px;background:var(--nx-bg);color:var(--nx-text);font:400 14px/1.5 system-ui,sans-serif;min-height:100vh;min-width:0;box-sizing:border-box}
.nx-shell *, .nx-shell *::before, .nx-shell *::after{box-sizing:border-box}
.nx-workspace{width:100%;min-width:0;margin:auto;min-height:calc(100vh - 72px)}
.nx-page-subnav{display:flex;gap:16px;align-items:center;min-height:40px}
.nx-data-list table{width:100%;border-collapse:collapse;text-align:left}.nx-data-list .nx-empty{text-align:center;color:var(--nx-muted);padding:36px}
.nx-field{display:flex;flex-direction:column;gap:6px;min-width:0}.nx-field label{font-size:13px;font-weight:650}.nx-field input{width:100%;min-width:0;height:40px;padding:8px 12px;border:1px solid var(--nx-border);border-radius:9px;background:var(--nx-surface);color:var(--nx-text);font:inherit}
.nx-field input:focus-visible,.nx-button:focus-visible{outline:2px solid var(--nx-accent);outline-offset:2px}

.nx-filterbar select{width:100%;height:40px;min-width:0;padding:8px 12px;border:1px solid var(--nx-border);border-radius:9px;background:var(--nx-surface);color:var(--nx-text);font:inherit}.nx-filter-actions button{cursor:pointer}.nx-sort{color:inherit;text-decoration:none}.nx-sort:hover{text-decoration:underline}.nx-pagination>div{display:flex;gap:10px}.nx-form-grid,.nx-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.nx-detail-item{min-width:0}.nx-detail-item dt{font-size:12px;color:var(--nx-muted);margin-bottom:6px}.nx-detail-item dd{margin:0;overflow-wrap:anywhere}.nx-record-actions{display:flex;justify-content:flex-end;padding:18px 0}.nx-record-actions button{cursor:pointer}.nx-error{padding:12px;border:1px solid #b44;color:#f88;border-radius:8px}@media(max-width:700px){.nx-form-grid,.nx-detail-grid{grid-template-columns:1fr}}.nx-field textarea{width:100%;min-height:90px;padding:12px;border:1px solid var(--nx-border);border-radius:9px;background:var(--nx-surface);color:var(--nx-text);font:inherit}.nx-checkbox{display:flex;align-items:center;gap:8px}.nx-checkbox input{width:18px;height:18px}


/* === SHELL / migrated source === */
.nx-layout{display:grid;grid-template-columns:256px minmax(0,1fr);min-height:100vh;width:100%;max-width:100%;overflow:hidden}.nx-sidebar{display:flex;flex-direction:column;min-width:0;z-index:5}.nx-nav-link:hover,.nx-nav-link--active{background:color-mix(in srgb,var(--nx-accent) 14%,transparent);color:var(--nx-text)}.nx-main{min-width:0;width:100%;max-width:100%}.nx-separator{padding:0 10px;opacity:.5}.nx-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:900px}.nx-hint{color:var(--nx-muted);font-size:13px;margin:8px 0 22px}@media(max-width:900px){.nx-layout{grid-template-columns:190px minmax(0,1fr)}.nx-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}/* Next UI preview visual refinement: isolated nx namespace */
.nx-shell{--nx-bg:#192017;--nx-surface:#242d20;--nx-text:#edf2ff;--nx-muted:#b1c3a9;--nx-border:#3c4d35;--nx-accent:#add99c;--nx-radius:18px;background:radial-gradient(ellipse at 85% -10%,#43543c 0%,transparent 42%),var(--nx-bg);font-family:Inter,ui-sans-serif,system-ui,sans-serif}.nx-preview-navigation a:hover,.nx-preview-navigation a[aria-current]{background:color-mix(in srgb,var(--nx-accent) 15%,var(--nx-surface));border-color:color-mix(in srgb,var(--nx-accent) 40%,transparent);color:var(--nx-text)}.nx-record-section{border-top:1px solid var(--nx-border);background:var(--nx-surface);border:1px solid var(--nx-border);border-radius:18px;padding:24px;margin:20px 0;box-shadow:0 12px 30px #03071612}.nx-record-section h2{margin:0 0 16px;font-size:19px;letter-spacing:-.025em}.nx-field input,.nx-field textarea,.nx-filterbar select{border-radius:11px;background:color-mix(in srgb,var(--nx-bg) 30%,var(--nx-surface));transition:border-color .15s,box-shadow .15s}
@media(max-width:900px){.nx-layout{grid-template-columns:190px minmax(0,1fr)}.nx-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.nx-layout{grid-template-columns:minmax(0,1fr)}.nx-sidebar{padding:16px;gap:12px}.nx-navigation{display:flex;flex-wrap:wrap;margin-top:8px}.nx-nav-link{min-height:38px;padding:8px 12px}.nx-sidebar-foot{display:none}.nx-workspace{padding:22px 16px 45px}.nx-topbar{height:auto;min-height:62px;padding:12px 16px;flex-wrap:wrap}.nx-kpis{grid-template-columns:1fr 1fr;gap:10px}.nx-kpi{padding:17px;min-height:120px}.nx-kpi-value{font-size:29px}.nx-page-title{font-size:34px}}

/* Shared form-control contract: all Next UI selects match input and textarea height. */
.nx-shell .nx-field input,.nx-shell .nx-field select,.nx-shell .nx-filterbar select{display:block;width:100%;height:40px;min-height:40px;max-height:40px;box-sizing:border-box;padding:8px 36px 8px 12px;border:1px solid var(--nx-border);border-radius:11px;background-color:color-mix(in srgb,var(--nx-bg) 30%,var(--nx-surface));color:var(--nx-text);font:inherit;line-height:22px}
.nx-shell .nx-field input{padding-right:12px}.nx-shell .nx-field select,.nx-shell .nx-filterbar select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%239ca8c5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");background-position:right 12px center;background-size:16px 16px;background-repeat:no-repeat;cursor:pointer}
.nx-shell .nx-field select:focus-visible,.nx-shell .nx-filterbar select:focus-visible{outline:2px solid var(--nx-accent);outline-offset:2px}.nx-shell .nx-field select option{background:var(--nx-surface);color:var(--nx-text)}.nx-hero-actions .nx-button:not(.nx-button--primary){background:#ffffff13;color:#fff;border-color:#ffffff40}.nx-dot-b{right:15px;top:135px;background:#ffcb99}
@media(max-width:1100px){.nx-dashboard-grid{grid-template-columns:1fr}.nx-hero{grid-template-columns:1fr auto}.nx-hero-graphic{width:160px;height:160px}.nx-hero-core{inset:46px;font-size:22px}}@media(max-width:650px){.nx-hero{grid-template-columns:1fr;padding:26px}.nx-hero-graphic{display:none}.nx-dashboard-heading{align-items:start;flex-direction:column}.nx-dashboard-panel{padding:18px}.nx-task-pill{display:none}}
/* Shared checkbox contract: control and label must remain adjacent, never grid-separated. */
.nx-shell .nx-form-grid .nx-field:has(> .nx-checkbox){display:flex;flex-direction:row;align-items:center;min-height:40px;gap:0}
.nx-shell .nx-field .nx-checkbox{display:inline-flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;width:max-content;max-width:100%;min-height:40px;margin:0;cursor:pointer;font-size:13px;font-weight:650;line-height:1.4;color:var(--nx-text);white-space:normal}
/* Checkbox alignment standard: both control and label text share one vertical centerline. */
.nx-shell .nx-field .nx-checkbox{display:inline-flex;align-items:center;justify-content:flex-start;vertical-align:middle;line-height:18px;min-height:40px;gap:10px}.nx-shell .nx-field .nx-checkbox input[type="checkbox"]{appearance:auto;-webkit-appearance:checkbox;display:inline-block;flex:0 0 18px;width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;max-height:18px;margin:0;padding:0;border:0;box-shadow:none;accent-color:var(--nx-accent);cursor:pointer;align-self:center;vertical-align:middle;position:static;transform:none;flex-shrink:0}

/* Align checkbox control row with the neighboring field CONTROL, not its label.
   Grid neighbors have a 13px label + 6px label/control gap. */
.nx-shell .nx-form-grid > .nx-field:has(> .nx-checkbox){padding-top:25px;align-items:flex-start;min-height:65px}
.nx-shell .nx-form-grid > .nx-field:has(> .nx-checkbox) > .nx-checkbox{height:40px;min-height:40px;line-height:18px;align-items:center}
/* Consistent module navigation and list composition, Next UI only. */
.nx-nav-link{gap:13px}.nx-nav-icon{display:grid;place-items:center;height:27px;flex:0 0 27px;border-radius:9px;font-size:19px;font-weight:600;color:#d5ffc3}.nx-nav-link--active .nx-nav-icon{color:#fff}.nx-nav-link:nth-child(3) .nx-nav-icon{color:#7ddad2}.nx-nav-link:nth-child(4) .nx-nav-icon{color:#f2bd8c}.nx-nav-link:nth-child(5) .nx-nav-icon{color:#dcffcd}.nx-filterbar .nx-field{flex:1 1 200px}.nx-filter-actions{display:flex;align-items:center;gap:10px;min-height:40px;margin-left:auto;align-self:flex-end;flex:0 0 auto}.nx-filterbar .nx-field label{color:var(--nx-muted)}.nx-data-list td:first-child{font-weight:650}.nx-data-list td{color:var(--nx-text)}.nx-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--nx-muted);padding:20px 6px}
.nx-shell .nx-field input[type="search"]{appearance:none;-webkit-appearance:none}.nx-shell .nx-field input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}
@media(max-width:650px){.nx-filterbar{padding:14px}.nx-filter-actions{width:100%;justify-content:flex-end}.nx-nav-link{gap:6px}.nx-nav-icon{width:24px;flex-basis:24px}}
/* Native EBSS IconPark library; multicolor SVG assets, no glyph stand-ins. */
.nx-nav-icon{background:transparent;width:30px;height:30px;flex-basis:30px}.nx-nav-icon img{display:block;object-fit:contain;filter:drop-shadow(0 2px 5px #0004)}.nx-nav-link--active .nx-nav-icon img{filter:drop-shadow(0 0 8px #8c78fa80)}

/* NEXT UI / PREMIUM EDITORIAL DIRECTION. Restrained contrast, no glow. */
.nx-shell{--nx-bg:#161c14;--nx-surface:#232b20;--nx-text:#f2f4f6;--nx-muted:#a8b4a3;--nx-border:#3c4737;--nx-accent:#b1dd9f;--nx-radius:14px;background:var(--nx-bg);font-family:Inter,ui-sans-serif,system-ui,sans-serif}
.nx-sidebar{border-color:#343e30;}.nx-nav-link:hover{transform:none}.nx-nav-icon img,.nx-nav-link--active .nx-nav-icon img{filter:none}.nx-button:hover{filter:brightness(1.08);transform:none}.nx-data-list,.nx-record-section,.nx-filterbar,.nx-dashboard-panel,.nx-kpi{background:var(--nx-surface);border:1px solid var(--nx-border);box-shadow:none;border-radius:14px}.nx-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 27px}.nx-overline{font-size:10px;font-weight:800;letter-spacing:.17em;color:#aabfa1}.nx-title-period{color:#c7e3bb}.nx-intro p{color:var(--nx-muted);margin:0;font-size:14px}.nx-intro-actions{display:flex;align-items:center;gap:13px}.nx-date-chip{color:var(--nx-muted);font-size:12px;border:1px solid var(--nx-border);padding:11px 14px;border-radius:9px;white-space:nowrap}.nx-intro-actions .nx-button img{width:17px;height:17px}.nx-feature-copy{align-self:center}.nx-feature-label{font-size:10px;letter-spacing:.15em;font-weight:800;color:#c1d8b8;display:flex;align-items:center;gap:9px}.nx-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#75c4a6;flex:none}.nx-feature h2 span{color:#c5dfba}.nx-feature p{max-width:470px;font-size:14px;line-height:1.7;color:#b9c5ae}.nx-feature-link{display:inline-flex;align-items:center;gap:16px;color:#e3f1dd;text-decoration:none;font-weight:700;margin-top:17px;border-bottom:1px solid #9f9380;padding-bottom:6px}.nx-aside-caption{font-size:10px;font-weight:800;letter-spacing:.15em;color:#b5c5af;margin-bottom:12px}.nx-aside-row{display:flex;justify-content:space-between;align-items:center;padding:13px 0;border-bottom:1px solid #414e3c;color:#c6d0da;font-size:13px}.nx-aside-row strong{font-size:25px;letter-spacing:-.04em;color:#f3f5f8}.nx-aside-footer{display:flex;align-items:center;gap:8px;color:#b3a999;font-size:11px;margin-top:19px}.nx-chart-bars>div:nth-child(4) i{height:65%}.nx-chart-bars>div:nth-child(5) i{height:76%}.nx-chart-bars>div:nth-child(6) i{height:94%;background:#cbe4c1}.nx-task-arrow{font-size:18px}.nx-panel-link{color:#cde3c4}.nx-activity-panel{margin-top:18px}.nx-activity-symbol img{width:20px;height:20px}.nx-field input:focus,.nx-field textarea:focus,.nx-filterbar select:focus{border-color:var(--nx-accent);outline:none;box-shadow:0 0 0 2px #6f86c44d}.nx-shell[data-surface="light"]{--nx-bg:#eae2d5;--nx-surface:#fff;--nx-text:#352f25;--nx-muted:#768670;--nx-border:#d9cdbd;--nx-accent:#85a678;background:var(--nx-bg)}.nx-shell[data-surface="light"] .nx-feature h2 span{color:#7ea16f}.nx-shell[data-surface="light"] .nx-feature p{color:#817561}.nx-shell[data-surface="light"] .nx-aside-row,.nx-shell[data-surface="light"] .nx-aside-row strong{color:#473e30}.nx-shell[data-surface="light"] .nx-feature-label,.nx-shell[data-surface="light"] .nx-aside-caption,.nx-shell[data-surface="light"] .nx-feature-link{color:#83745a}
@media(max-width:1100px){.nx-feature{grid-template-columns:1fr}.nx-feature-aside{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.nx-aside-caption,.nx-aside-footer{grid-column:1/-1}.nx-dashboard-grid{grid-template-columns:1fr}}@media(max-width:700px){.nx-intro{align-items:start;flex-direction:column}.nx-intro-actions{flex-wrap:wrap}.nx-feature{padding:25px}.nx-feature-aside{display:block}.nx-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-kpi{padding:15px;min-height:165px}}@media(max-width:420px){.nx-kpis{grid-template-columns:1fr}.nx-feature h2{font-size:39px}}
/* Next UI shared create/edit density contract: three balanced columns, full-width sections. */
.nx-shell .nx-record-form{width:100%;max-width:none;display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.nx-shell .nx-record-form .nx-form-grid > .nx-field{min-width:0}
.nx-shell .nx-record-form .nx-record-actions{padding:5px 0 10px;display:flex;justify-content:flex-end}
.nx-shell .nx-record-form .nx-record-actions .nx-button{min-width:150px}
/* Checkbox aligns to the centerline of adjacent 40px inputs, including the label row above. */
.nx-shell .nx-record-form .nx-form-grid > .nx-field:has(> .nx-checkbox){padding-top:25px;min-height:65px}
@media(max-width:1150px){.nx-shell .nx-record-form .nx-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.nx-shell .nx-record-form .nx-form-grid{grid-template-columns:minmax(0,1fr);gap:15px}.nx-shell .nx-record-form .nx-record-section{padding:19px 17px}.nx-shell .nx-record-form .nx-record-actions .nx-button{min-width:140px}}
/* Workspace structure, not a color-only treatment. */
.nx-sidebar-group .nx-navigation{margin-top:14px}.nx-sidebar-bottom{margin-top:auto}.nx-sidebar-help strong{font-size:12px;color:#e8eef5}.nx-list-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;background:var(--nx-surface);border:1px solid var(--nx-border);border-radius:14px;margin-bottom:19px}.nx-list-intro h2{font-size:25px;letter-spacing:-.04em;margin:6px 0;font-weight:750}.nx-list-intro p{font-size:13px;color:#bdcbb7;margin:0}.nx-list-summary{min-width:142px;border-left:1px solid #52614b;padding:0 0 0 24px;display:grid;gap:4px}.nx-list-summary strong{font-size:33px;line-height:1;letter-spacing:-.05em}.nx-list-summary span{color:#bdcbb7;font-size:11px}.nx-data-list th{font-weight:600;text-transform:uppercase;letter-spacing:.07em;font-size:11px;background:var(--nx-table-head);color:var(--nx-table-head-text)}.nx-shell[data-surface="light"] .nx-list-intro p,.nx-shell[data-surface="light"] .nx-list-summary span{color:#837762}
@media(max-width:700px){.nx-sidebar-group{margin-top:12px}.nx-sidebar-help{display:none}.nx-list-intro{padding:19px;align-items:start}.nx-list-summary{min-width:80px;padding-left:13px}.nx-list-intro h2{font-size:20px}}
/* Shared detail layout and relationship profile */
.nx-profile-hero{display:flex;align-items:center;gap:20px;padding:24px 28px;background:var(--nx-surface);border:1px solid var(--nx-border);border-radius:14px;margin:0 0 19px}.nx-profile-avatar{display:grid;place-items:center;width:72px;height:72px;flex:0 0 72px;border-radius:17px;background:#685c49;color:#f8f5ef;font-size:25px;font-weight:800;letter-spacing:-.06em}.nx-profile-copy{min-width:0;flex:1}.nx-profile-copy h2{font-size:27px;letter-spacing:-.04em;margin:4px 0}.nx-profile-copy p{margin:0;color:#c3d0be;overflow-wrap:anywhere}.nx-profile-status{padding:8px 13px;border:1px solid #507464;background:#29493f;color:#a6dfc4;border-radius:8px;font-size:12px;font-weight:750}.nx-detail-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.nx-detail-layout .nx-record-section h2{padding-bottom:13px;border-bottom:1px solid var(--nx-border)}.nx-detail-layout .nx-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.nx-detail-layout .nx-hint{grid-column:1/-1}.nx-detail-layout .nx-detail-item dd{font-weight:600}.nx-shell[data-surface="light"] .nx-profile-copy p{color:#837762}
@media(max-width:1050px){.nx-detail-layout{grid-template-columns:1fr}}@media(max-width:600px){.nx-profile-hero{padding:18px;flex-wrap:wrap}.nx-profile-avatar{width:54px;height:54px;flex-basis:54px;font-size:19px}.nx-detail-layout .nx-detail-grid{grid-template-columns:1fr}}
/* Work orders: information-rich operations list rather than generic data table. */
.nx-work-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 19px}.nx-work-summary>div{display:flex;align-items:center;gap:12px;padding:19px 22px;background:var(--nx-surface);border:1px solid var(--nx-border);border-radius:12px}.nx-work-summary>div>span:nth-child(2){color:var(--nx-muted);font-weight:650;font-size:13px;flex:1}.nx-work-summary strong{font-size:25px;letter-spacing:-.05em}.nx-work-summary-dot{width:9px;height:9px;border-radius:50%;flex:none}.nx-dot-blue{background:#bfe8af}.nx-dot-gold{background:#dfb479}.nx-dot-green{background:#8bceb0}.nx-work-list{background:var(--nx-surface);border:1px solid var(--nx-border);border-radius:14px;overflow:hidden}.nx-work-list-head,.nx-work-row{display:grid;grid-template-columns:1.15fr 1.6fr 1fr .6fr;gap:18px;align-items:center;padding:19px 25px}.nx-work-list-head{background:var(--nx-table-head);color:var(--nx-table-head-text);font-size:10px;font-weight:800;letter-spacing:.11em}.nx-work-row:hover{background:#34402f}.nx-work-id{display:flex;align-items:center;gap:13px}.nx-work-icon{display:grid;place-items:center;width:42px;height:42px;background:#474033;border:1px solid #615849;border-radius:10px;flex:none}.nx-work-id>div,.nx-work-customer{display:grid;gap:4px;min-width:0}.nx-work-id strong,.nx-work-customer strong{font-size:13px}.nx-work-id small,.nx-work-customer small{font-size:11px;color:var(--nx-muted)}.nx-work-status{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;font-size:11px;font-weight:700;white-space:nowrap}.nx-work-status i{width:6px;height:6px;border-radius:50%;background:currentColor}.nx-status-blue{background:#45563e;color:#d1edc5}.nx-status-gold{background:#4b3b2d;color:#e8c28b}.nx-status-green{background:#28453e;color:#a8dcc5}.nx-work-priority{font-size:12px;color:var(--nx-muted)}
@media(max-width:900px){.nx-work-list-head,.nx-work-row{grid-template-columns:1fr 1.2fr .8fr}.nx-work-list-head>span:last-child,.nx-work-row>.nx-work-priority{display:none}}@media(max-width:650px){.nx-work-summary{grid-template-columns:1fr;gap:8px}.nx-work-list-head{display:none}.nx-work-row{grid-template-columns:1fr auto;padding:17px;gap:9px}.nx-work-customer{grid-column:1}.nx-work-row>span:nth-child(3){grid-column:2;grid-row:1/3}.nx-work-status{font-size:10px}}


/* === PREMIUM / migrated source === */
/* EBSS Next UI — premium workspace layer. Isolated, deliberate, no legacy imports. */
.nx-shell{--nx-bg:#192017;--nx-surface:#312b22;--nx-text:#f2f5f8;--nx-muted:#b0bfaa;--nx-border:#4f483d;--nx-accent:#b2d1a5;color:var(--nx-text)}
.nx-layout{grid-template-columns:244px minmax(0,1fr)}
.nx-sidebar{position:sticky;top:0;height:100vh;min-height:650px;background:#28231a;padding:30px 18px 19px;border-right:1px solid #4d4639}.nx-brand{display:flex;align-items:center;gap:12px;font-weight:800;color:#f5f4ff;padding:0 9px;font-size:11px;letter-spacing:.09em}.nx-brand-mark{display:grid;place-items:center;color:white;letter-spacing:-.08em;box-shadow:none;width:43px;height:43px;border-radius:12px;background:#615542;border:1px solid #90836c;font-size:16px}.nx-brand small{display:block;font-weight:500;font-size:10px;letter-spacing:.03em;color:#c0b7a8;margin-top:5px}
.nx-sidebar-group{margin-top:52px}.nx-sidebar-label{display:block;color:#a79d8c;font-weight:800;padding:0 14px;font-size:10px;letter-spacing:.14em}.nx-navigation{display:grid;gap:5px;margin-top:13px}.nx-nav-link--active{color:#fff;background:#4e4536;border:1px solid #6b614f;box-shadow:none}.nx-nav-link--active:before{content:"";width:3px;height:20px;position:absolute;left:0;background:#cfe6c5;border-radius:0 3px 3px 0}.nx-nav-link{display:flex;align-items:center;color:var(--nx-muted);text-decoration:none;border-radius:9px;transition:background .15s;min-height:47px;gap:12px;padding:9px 13px;font-weight:590;font-size:13px;border:1px solid transparent;position:relative}.nx-nav-icon{width:28px;flex-basis:28px}.nx-nav-icon img{width:23px;height:23px}.nx-sidebar-help{border:1px solid #475541;border-radius:13px;padding:17px;background:#3a3326;border-color:#615747}.nx-sidebar-help-mark{display:block;color:#c1d8b7;font-size:20px;margin-bottom:6px}.nx-sidebar-help p{font-size:11px;color:#abb9a5;line-height:1.55;margin:7px 0 0;margin-bottom:13px}.nx-sidebar-help a{font-size:11px;color:#d9ead2;text-decoration:none;border-bottom:1px solid #afa390;padding-bottom:3px}.nx-sidebar-foot{margin-top:auto;padding:22px 8px 0;color:var(--nx-muted);padding-top:20px;font-size:9px;letter-spacing:.1em}.nx-topbar{display:flex;align-items:center;justify-content:space-between;color:var(--nx-muted);backdrop-filter:none;border-color:#343e30;height:72px;padding:0 36px;background:#2d271e;border-bottom:1px solid #4f483c;gap:20px}.nx-breadcrumb{display:flex;align-items:center;gap:3px;font-size:13px;white-space:nowrap;color:#c6beb0}.nx-breadcrumb strong{font-weight:650;color:#eef2f6}.nx-topbar-actions{display:flex;align-items:center;gap:12px}.nx-command{display:flex;align-items:center;gap:12px;width:240px;height:37px;border:1px solid #5b5345;border-radius:9px;padding:0 11px;background:#383126;color:#c0b7a9;text-decoration:none;font-size:12px;cursor:pointer;font-family:inherit;text-align:left;justify-content:flex-start}.nx-command-glass{font-size:23px;line-height:1}.nx-command kbd{margin-left:auto;font-size:13px;border:1px solid #645b4d;border-radius:4px;padding:0 6px;font-family:inherit}.nx-mode-toggle{height:36px;width:36px;border-radius:9px;border:1px solid #655c4d;background:#443c30;color:#e9e0d3;font-size:21px;cursor:pointer}.nx-user-avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#827764;color:#fff;font-size:14px;font-weight:800}.nx-preview-tag{font-weight:700;letter-spacing:.08em;background:#3c362c;border:1px solid #574f43;color:#c7d9c0;border-radius:7px;font-size:9px;white-space:nowrap;padding:7px 9px}
.nx-workspace{max-width:1550px;padding:33px clamp(25px,3vw,50px) 75px}.nx-preview-navigation{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--nx-border);margin-bottom:32px;border-color:var(--nx-border);border:0;margin:0 0 27px;padding:0;gap:4px}.nx-preview-navigation a{text-decoration:none;color:var(--nx-muted);border:1px solid transparent;transition:all .2s;font-size:11px;padding:8px 11px;border-radius:7px}.nx-preview-navigation a[aria-current]{background:#4b4335;border-color:#736958}.nx-intro h1{letter-spacing:-.06em;line-height:1.12;margin:10px 0;font-weight:780;font-size:clamp(36px,3.4vw,52px)}.nx-feature{display:grid;gap:30px;border-radius:16px;min-height:330px;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);background:#3d362a;border:1px solid #5e5546;box-shadow:none;padding:42px 45px}.nx-feature h2{font-size:clamp(37px,4vw,59px);line-height:1.02;letter-spacing:-.065em;margin:18px 0 13px;font-weight:780}.nx-feature-aside{align-self:stretch;border-radius:13px;padding:25px;display:flex;flex-direction:column;justify-content:center;background:#332c21;border:1px solid #645b4c}.nx-feature-link:hover,.nx-panel-link:hover{color:#fff}.nx-kpi{min-height:174px;padding:23px}.nx-kpi-value{font-weight:760}.nx-dashboard-grid{gap:16px}.nx-dashboard-panel{border-radius:14px}.nx-chart-bars i{box-shadow:none}.nx-task-mark{background:#394534;border-radius:9px;color:#c9dac2;flex-basis:38px}.nx-activity-symbol{background:#433c31;border-radius:9px;flex:none}.nx-activity-item:last-child{border:0}.nx-list-intro{min-height:146px}.nx-page-header{display:grid;grid-template-rows:auto minmax(40px,auto) minmax(40px,auto);gap:10px;margin-bottom:16px}.nx-page-title{line-height:1.1;margin:0;letter-spacing:-.055em;font-weight:780;font-size:clamp(34px,3vw,47px)}.nx-page-subnav:empty{min-height:0;display:none}.nx-page-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;min-height:40px;margin-top:0}.nx-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px 16px;text-decoration:none;border:1px solid var(--nx-border);color:var(--nx-text);background:var(--nx-surface);border-radius:11px;transition:transform .2s,filter .2s;cursor:pointer;font-size:12px;font-weight:680;min-height:40px}.nx-button--primary{border:1px solid #aed0a0;box-shadow:none;color:#fff;background:#94b586;border-color:#a5c698}.nx-filterbar{flex-wrap:wrap;margin-bottom:22px;background:var(--nx-surface);border:1px solid var(--nx-border);border-radius:17px;display:flex;align-items:flex-end;gap:14px;padding:19px 22px;box-shadow:none}.nx-filterbar .nx-field label,.nx-record-form .nx-field label{font-size:12px;color:#c4d0bf}.nx-field input,.nx-field select,.nx-field textarea{border-color:#5e574a}.nx-data-list{width:100%;min-width:0;border-top:1px solid var(--nx-border);background:var(--nx-surface);border:1px solid var(--nx-border);overflow-x:auto;margin-top:16px;border-radius:13px;box-shadow:none}.nx-data-list td,.nx-data-list th{border-bottom:1px solid var(--nx-border);padding:17px 20px}.nx-data-list tbody tr{transition:background .13s}.nx-data-list tbody tr:hover{background:var(--nx-bg)}.nx-record-form .nx-record-section{padding:24px 27px;border-left:0;border-top:3px solid var(--nx-accent)}.nx-record-form .nx-record-section h2{color:#f1eadf}.nx-record-form .nx-form-grid{gap:20px 23px}.nx-record-form .nx-record-actions{padding-top:12px}.nx-detail-layout .nx-record-section{margin:0;min-width:0;border-radius:13px}.nx-work-row{border-top:1px solid var(--nx-border);min-height:91px;transition:background .13s}
.nx-shell :is(a,button,input,select,textarea):focus-visible{outline:2px solid #d0e7c6;outline-offset:3px}
/* Fully functional preview appearance switch: contrast extends beyond the background. */
.nx-shell[data-surface="light"]{--nx-bg:#eae2d5;--nx-surface:#fff;--nx-text:#3d362b;--nx-muted:#847b6c;--nx-border:#d9cdbd;--nx-accent:#7c9d6f;background:#eae2d5}.nx-shell[data-surface="light"] .nx-sidebar{background:#e3d8c8;border-color:#d2c3b0}.nx-shell[data-surface="light"] .nx-brand{color:#463d2f}.nx-shell[data-surface="light"] .nx-brand small,.nx-shell[data-surface="light"] .nx-sidebar-label,.nx-shell[data-surface="light"] .nx-sidebar-foot{color:#8b806e}.nx-shell[data-surface="light"] .nx-nav-link{color:#776c5a}.nx-shell[data-surface="light"] .nx-nav-link--active,.nx-shell[data-surface="light"] .nx-nav-link:hover{background:#d7cbb9;color:#3e493a;border-color:#ddd4c6}.nx-shell[data-surface="light"] .nx-sidebar-help{background:#d8dcca;border-color:#ddd6c9}.nx-shell[data-surface="light"] .nx-sidebar-help strong{color:#574c39}.nx-shell[data-surface="light"] .nx-sidebar-help p{color:#8b806e}.nx-shell[data-surface="light"] .nx-sidebar-help a{color:#78674b}.nx-shell[data-surface="light"] .nx-topbar{background:#fff;border-color:#d9cdbd}.nx-shell[data-surface="light"] .nx-breadcrumb,.nx-shell[data-surface="light"] .nx-breadcrumb strong{color:#706553}.nx-shell[data-surface="light"] .nx-command,.nx-shell[data-surface="light"] .nx-mode-toggle{background:#f1f5f8;color:#766a56;border-color:#d0dde6}.nx-shell[data-surface="light"] .nx-feature-aside{background:#f7fafc;border-color:#e7e0d4}.nx-shell[data-surface="light"] .nx-feature-label,.nx-shell[data-surface="light"] .nx-aside-caption{color:#88795f}.nx-shell[data-surface="light"] .nx-aside-row{border-color:#d5e1eb}.nx-shell[data-surface="light"] .nx-feature-link{color:#79694d}.nx-shell[data-surface="light"] .nx-list-intro{border-color:#d9cdbd;background:#f8f5ef}.nx-shell[data-surface="light"] .nx-record-form .nx-record-section h2{color:#504533}.nx-shell[data-surface="light"] .nx-filterbar .nx-field label,.nx-shell[data-surface="light"] .nx-record-form .nx-field label{color:#706553}.nx-shell[data-surface="light"] .nx-field input,.nx-shell[data-surface="light"] .nx-field select,.nx-shell[data-surface="light"] .nx-field textarea{border-color:#e9e0d3}.nx-shell[data-surface="light"] .nx-data-list th,.nx-shell[data-surface="light"] .nx-work-list-head{background:var(--nx-table-head);color:var(--nx-table-head-text)}.nx-shell[data-surface="light"] .nx-data-list tbody tr:hover,.nx-shell[data-surface="light"] .nx-work-row:hover{background:#f0f5f8}.nx-shell[data-surface="light"] .nx-profile-hero{border-color:#d9cdbd;background:#f8f5ef}.nx-shell[data-surface="light"] .nx-work-icon,.nx-shell[data-surface="light"] .nx-metric-icon{background:#e9e0d3;border-color:#d9cdbd}.nx-shell[data-surface="light"] .nx-status-blue{background:#e2edf9;color:#79966c}.nx-shell[data-surface="light"] .nx-status-gold{background:#f8eddc;color:#94682e}.nx-shell[data-surface="light"] .nx-status-green{background:#dff3e8;color:#357356}
@media(max-width:1100px){.nx-layout{grid-template-columns:205px minmax(0,1fr)}.nx-topbar{padding:0 22px}.nx-command{width:180px}.nx-feature{grid-template-columns:1fr}.nx-feature-aside{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.nx-feature-aside .nx-aside-caption,.nx-feature-aside .nx-aside-footer{grid-column:1/-1}}
@media(max-width:750px){.nx-layout{grid-template-columns:minmax(0,1fr)}.nx-sidebar{height:auto;min-height:0;position:static;padding:16px}.nx-sidebar-group{margin-top:15px}.nx-sidebar-group .nx-navigation{display:flex;flex-wrap:wrap;gap:4px}.nx-sidebar-label,.nx-sidebar-bottom{display:none}.nx-topbar{height:auto;min-height:65px;flex-wrap:wrap;padding:12px 16px}.nx-command{display:none}.nx-workspace{padding:22px 16px 50px}.nx-feature{padding:25px;min-height:0}.nx-feature-aside{display:block}.nx-intro-actions{flex-wrap:wrap}.nx-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-record-form .nx-form-grid{grid-template-columns:1fr}.nx-list-intro{flex-wrap:wrap}.nx-list-summary{margin-left:auto}.nx-preview-navigation{overflow-x:auto;flex-wrap:nowrap;white-space:nowrap}.nx-preview-navigation a{flex:none}}
@media(max-width:420px){.nx-kpis{grid-template-columns:1fr}.nx-topbar-actions{gap:6px}.nx-preview-tag{display:none}.nx-date-chip{display:none}}



/* === FINISH / migrated source === */
/* Next UI finishing system: type, navigation, interactions, responsive polish. */
.nx-shell{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.008em}

.nx-page-title,.nx-intro h1,.nx-feature h2,.nx-list-intro h2,.nx-profile-copy h2{letter-spacing:-.055em;line-height:1.09}
.nx-intro p,.nx-feature p,.nx-list-intro p{line-height:1.65}
.nx-nav-link,.nx-button,.nx-command,.nx-mode-toggle,.nx-work-row,.nx-data-list tbody tr{transition:background .16s ease,border-color .16s ease,transform .16s ease,color .16s ease}
.nx-button:active{transform:translateY(0)}
.nx-nav-link--active:hover{transform:none}
.nx-command:hover{background:#4d4435;border-color:#9a8d76}.nx-command:focus-visible{outline:2px solid #e5dac7}.nx-shell .nx-record-form .nx-record-section{margin:0;padding:23px 26px 26px;width:100%;min-width:0;background:var(--nx-surface);border:1px solid var(--nx-border);border-top:3px solid #74856c;border-radius:13px;box-shadow:none}.nx-shell .nx-record-form .nx-record-section h2{margin:0 0 19px;padding-bottom:13px;border-bottom:1px solid var(--nx-border);font-weight:750;font-size:16px;letter-spacing:-.03em}.nx-shell .nx-record-form .nx-form-grid{display:grid;gap:19px 20px;width:100%;align-items:start;grid-template-columns:repeat(3,minmax(0,1fr));max-width:none}.nx-shell .nx-record-form .nx-form-grid>.nx-field:has(>.nx-checkbox){padding-top:25px}.nx-shell .nx-record-form .nx-form-grid>.nx-field:has(>.nx-checkbox)>.nx-checkbox{height:40px;align-items:center}.nx-shell .nx-record-form .nx-form-grid>.nx-field:has(>.nx-checkbox) input[type=checkbox]{height:18px;width:18px;min-height:18px;max-height:18px;flex:0 0 18px}
.nx-shell .nx-filterbar{border-radius:12px}.nx-shell .nx-data-list{border:1px solid var(--nx-border);border-radius:13px}.nx-shell .nx-data-list tbody tr:last-child td{border-bottom:0}
.nx-command-backdrop[hidden]{display:none}.nx-command-backdrop{position:fixed;inset:0;z-index:1000;background:#08121bba;display:flex;justify-content:center;align-items:flex-start;padding:17vh 18px 20px;backdrop-filter:blur(5px)}.nx-command-dialog{width:min(530px,100%);border-radius:16px;background:#393328;border:1px solid #7d7260;box-shadow:0 24px 75px #0007;padding:20px}.nx-command-dialog label{display:block;font-size:11px;letter-spacing:.12em;font-weight:800;color:#c7bcaa;margin:0 0 13px}.nx-command-dialog input{height:48px;width:100%;background:#312a1f;border:1px solid #756b5a;border-radius:10px;color:#f1f5f8;font:inherit;padding:0 15px;outline:none}.nx-command-dialog input:focus{border-color:#bed7b4}.nx-command-results{display:grid;gap:5px;margin-top:14px}.nx-command-results a{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:9px;color:#edf2f6;text-decoration:none;font-size:13px;font-weight:680}.nx-command-results a:hover,.nx-command-results a:focus-visible{background:#5a503f;outline:none}.nx-command-results a[hidden]{display:none}.nx-command-results a>span{font-size:20px;color:#dad0be;width:24px}.nx-command-results a>small{margin-left:auto;color:#c7beb0;font-size:11px;font-weight:500}.nx-command-dialog p{font-size:11px;color:#b9ae9c;margin:15px 3px 0}.nx-shell[data-surface="light"] .nx-command-dialog{background:#f8fbfd;border-color:#e2dbcf}.nx-shell[data-surface="light"] .nx-command-dialog label,.nx-shell[data-surface="light"] .nx-command-dialog p{color:#908572}.nx-shell[data-surface="light"] .nx-command-dialog input{background:#fff;border-color:#e9e0d3;color:#473e2f}.nx-shell[data-surface="light"] .nx-command-results a{color:#4e4433}.nx-shell[data-surface="light"] .nx-command-results a:hover,.nx-shell[data-surface="light"] .nx-command-results a:focus-visible{background:#e4edf4}.nx-shell[data-surface="light"] .nx-command-results a>small{color:#8a806e}
@media(max-width:1150px){.nx-shell .nx-record-form .nx-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:740px){.nx-shell .nx-record-form .nx-form-grid{grid-template-columns:1fr}.nx-command-backdrop{padding-top:9vh}}
@media(prefers-reduced-motion:reduce){.nx-shell *{transition:none;animation:none}}


/* === EDITORIAL / migrated source === */
/* Dashboard art direction: editorial data canvas, no KPI/card grid. */
.nx-shell .nx-feature{min-height:240px;padding:35px 44px;grid-template-columns:minmax(0,1.3fr) minmax(270px,.7fr);border-radius:13px;background:#433b2d}.nx-shell .nx-feature h2{font-size:clamp(44px,4.3vw,70px);line-height:.97}.nx-shell .nx-feature-aside{align-self:stretch;border-radius:11px}.nx-editorial-board{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.8fr);border:1px solid var(--nx-border);border-radius:14px;overflow:hidden;background:var(--nx-surface);margin:29px 0 18px}.nx-editorial-main{padding:29px 35px 22px;min-width:0}.nx-editorial-rail{border-left:1px solid var(--nx-border);padding:29px 29px 20px;display:flex;flex-direction:column;min-width:0}.nx-editorial-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:26px}.nx-editorial-heading .nx-overline{font-size:10px;letter-spacing:.14em;color:#d2cbbe;font-weight:800}.nx-editorial-period{font-size:9px;letter-spacing:.12em;color:var(--nx-muted);white-space:nowrap;font-weight:750}.nx-editorial-revenue{display:grid;gap:7px}.nx-editorial-revenue>span:first-child{font-size:13px;color:var(--nx-muted)}.nx-editorial-revenue>strong{font-size:clamp(44px,4.3vw,70px);font-weight:750;letter-spacing:-.075em;line-height:1.15}.nx-revenue-cents{font-size:.47em;opacity:.55;letter-spacing:-.03em}.nx-editorial-trend{font-size:12px;font-weight:780;color:#a5d8b9}.nx-editorial-trend small{color:var(--nx-muted);font-weight:500;margin-left:7px}.nx-editorial-chart{height:202px;margin-top:32px;position:relative;border-bottom:1px solid var(--nx-border)}.nx-editorial-chart-rule{position:absolute;inset:0;background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(25% - 1px),var(--nx-border) calc(25% - 1px),var(--nx-border) 25%);opacity:.5}.nx-editorial-chart-columns{position:relative;z-index:1;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(10px,2.4vw,34px);height:100%;align-items:end;padding:0 10px}.nx-editorial-chart-columns>div{height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:12px}.nx-editorial-chart-columns i{display:block;width:100%;max-width:55px;height:calc(var(--bar)*155px);background:linear-gradient(180deg,#c4b7a0,#83745b);border-radius:5px 5px 0 0}.nx-editorial-chart-columns>div:last-child i{background:linear-gradient(180deg,#e2dacc,#aea087)}.nx-editorial-chart-columns span{font-size:9px;letter-spacing:.1em;color:var(--nx-muted);font-weight:750;margin-bottom:-24px}.nx-pulse-item{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:22px 0;border-bottom:1px solid var(--nx-border)}.nx-pulse-item:first-of-type{padding-top:0}.nx-pulse-item div{display:grid;gap:5px}.nx-pulse-item div>span{font-size:13px;font-weight:680}.nx-pulse-item small{font-size:11px;color:var(--nx-muted)}.nx-pulse-item strong{font-size:34px;letter-spacing:-.065em;font-weight:760}.nx-editorial-rail-link{display:flex;justify-content:space-between;align-items:center;color:var(--nx-text);font-size:12px;font-weight:750;text-decoration:none;margin-top:auto;padding:22px 0 0}.nx-editorial-rail-link span{font-size:20px}.nx-editorial-bottom{display:grid;grid-template-columns:1fr 1fr;gap:18px}.nx-editorial-focus,.nx-editorial-activity{padding:30px 34px;background:var(--nx-surface);border:1px solid var(--nx-border);border-radius:13px;min-width:0}.nx-editorial-bottom h2{font-size:25px;font-weight:730;letter-spacing:-.055em;margin:-8px 0 18px}.nx-focus-line{display:flex;align-items:center;gap:17px;text-decoration:none;color:var(--nx-text);border-top:1px solid var(--nx-border);padding:17px 0}.nx-focus-line:hover,.nx-editorial-rail-link:hover{color:#e2d4bb}.nx-focus-num{font-size:11px;font-weight:800;color:var(--nx-muted)}.nx-focus-line>span:nth-child(2){display:grid;gap:5px;flex:1}.nx-focus-line strong,.nx-moment strong{font-size:12px;font-weight:700}.nx-focus-line small,.nx-moment small{font-size:11px;color:var(--nx-muted)}.nx-focus-arrow{font-size:18px;color:var(--nx-muted)}.nx-moment{display:flex;align-items:flex-start;gap:13px;border-top:1px solid var(--nx-border);padding:18px 0}.nx-moment-dot{width:8px;height:8px;flex:none;border:2px solid #d9ccb6;border-radius:50%;margin-top:5px}.nx-moment div{display:grid;gap:5px;flex:1}.nx-moment time{font-size:10px;color:var(--nx-muted);white-space:nowrap}.nx-editorial-disclaimer{font-size:10px;color:var(--nx-muted);margin:18px 0 0}.nx-shell[data-surface="light"] .nx-editorial-heading .nx-overline{color:#82735a}.nx-shell[data-surface="light"] .nx-editorial-trend{color:#387b57}.nx-shell[data-surface="light"] .nx-feature{color:#3c4a35;border-color:#e6dfd3;background:#e2ebf3}
@media(max-width:1100px){.nx-shell .nx-feature{grid-template-columns:1fr}.nx-editorial-board{grid-template-columns:1fr}.nx-editorial-rail{border-left:0;border-top:1px solid var(--nx-border)}.nx-editorial-rail-link{margin-top:12px}.nx-editorial-bottom{grid-template-columns:1fr}}
@media(max-width:650px){.nx-shell .nx-feature{padding:26px}.nx-editorial-main,.nx-editorial-rail,.nx-editorial-focus,.nx-editorial-activity{padding:22px}.nx-editorial-heading{flex-wrap:wrap;margin-bottom:22px}.nx-editorial-chart-columns{gap:10px}.nx-editorial-revenue>strong{font-size:49px}.nx-moment time{font-size:9px}}


/* === MODULES / migrated source === */
/* Additional module previews share the Next UI editorial language. */
.nx-module-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin:10px 0 32px}.nx-module-intro h1{font-size:clamp(38px,4vw,56px);letter-spacing:-.06em;line-height:1.08;margin:11px 0 10px}.nx-module-intro p{color:var(--nx-muted);font-size:14px;margin:0;max-width:610px}.nx-module-action{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;padding:13px 17px;min-width:165px;background:#ac9c81;color:#fff;border-radius:9px;font-weight:720;font-size:12px;white-space:nowrap}.nx-module-action>span{font-size:18px}.nx-module-board{background:var(--nx-surface);border:1px solid var(--nx-border);border-radius:14px;overflow:hidden}.nx-module-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:28px 31px;border-bottom:1px solid var(--nx-border)}.nx-module-toolbar h2{font-size:26px;letter-spacing:-.05em;margin:7px 0 0}.nx-module-subtle{font-size:10px;letter-spacing:.1em;font-weight:720;color:var(--nx-muted)}.nx-module-table{overflow-x:auto}.nx-module-table table{border-collapse:collapse;width:100%;text-align:left}.nx-module-table th{background:var(--nx-table-head);color:var(--nx-table-head-text);font-size:10px;letter-spacing:.12em;font-weight:800;padding:17px 28px;white-space:nowrap}.nx-module-table td{border-top:1px solid var(--nx-border);padding:21px 28px;font-size:13px}.nx-module-table tbody tr:hover{background:#463f32}.nx-module-table td:first-child{font-weight:720}.nx-module-note{color:var(--nx-muted);font-size:11px;margin-top:19px}.nx-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-height:315px}.nx-week-day{min-width:0;padding:21px 13px;border-right:1px solid var(--nx-border);display:flex;flex-direction:column;gap:9px}.nx-week-day:last-child{border-right:0}.nx-week-day>span{color:var(--nx-muted);font-size:10px;letter-spacing:.1em;font-weight:800}.nx-week-day>strong{font-size:29px;letter-spacing:-.06em}.nx-week-event{background:#594f3d;border-left:3px solid #d8cab3;border-radius:5px;padding:11px 9px;margin-top:20px;display:grid;gap:8px}.nx-week-event small{font-size:10px;color:#d1dfcb}.nx-week-event b{font-size:11px;line-height:1.45;overflow-wrap:anywhere}.nx-week-empty{font-size:11px;color:var(--nx-muted);margin-top:28px}.nx-inbox{display:grid;grid-template-columns:215px minmax(0,1fr);border:1px solid var(--nx-border);border-radius:14px;background:var(--nx-surface);overflow:hidden}.nx-inbox-folders{display:flex;flex-direction:column;gap:6px;padding:26px 15px;background:#332c21;border-right:1px solid var(--nx-border)}.nx-inbox-folders>strong{font-size:10px;letter-spacing:.12em;color:var(--nx-muted);padding:0 12px 14px}.nx-inbox-folders>span{padding:12px;border-radius:8px;font-size:12px;color:#c1cbd4}.nx-inbox-folders .nx-folder-current{background:#5b5140;color:#fff;font-weight:740;display:flex;justify-content:space-between}.nx-inbox-messages{min-width:0}.nx-message-row{display:flex;gap:16px;align-items:flex-start;padding:20px 29px;border-bottom:1px solid var(--nx-border)}.nx-message-row:last-child{border-bottom:0}.nx-message-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#695d48;color:#e6f1fa;font-size:12px;font-weight:800;flex:none}.nx-message-row>div{display:grid;gap:5px;min-width:0;flex:1}.nx-message-row strong{font-size:12px}.nx-message-row b{font-size:13px}.nx-message-row small{color:var(--nx-muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nx-message-row time{color:var(--nx-muted);font-size:10px;white-space:nowrap}.nx-shell[data-surface="light"] .nx-module-table th{background:var(--nx-table-head);color:var(--nx-table-head-text)}.nx-shell[data-surface="light"] .nx-module-table tbody tr:hover{background:#eee8de}.nx-shell[data-surface="light"] .nx-inbox-folders{background:#e9e0d3}.nx-shell[data-surface="light"] .nx-inbox-folders>span{color:#756a56}.nx-shell[data-surface="light"] .nx-inbox-folders .nx-folder-current{background:#e9e1d5;color:#625540}.nx-shell[data-surface="light"] .nx-week-event{background:#dceaf4;color:#6b5d46}.nx-shell[data-surface="light"] .nx-week-event small{color:#8c7d63}
@media(max-width:1050px){.nx-week{grid-template-columns:repeat(4,minmax(0,1fr))}.nx-week-day{border-bottom:1px solid var(--nx-border)}}@media(max-width:750px){.nx-module-intro{align-items:flex-start;flex-direction:column}.nx-module-toolbar{padding:22px;align-items:flex-start;flex-direction:column}.nx-week{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-inbox{grid-template-columns:1fr}.nx-inbox-folders{border-right:0;border-bottom:1px solid var(--nx-border);flex-direction:row;overflow-x:auto}.nx-inbox-folders>strong{display:none}.nx-message-row{padding:17px}.nx-message-row time{font-size:9px}.nx-module-table th,.nx-module-table td{padding:17px}}


/* === EARTH / migrated source === */
/* EBSS Next UI / Earth study — unified warm surface system, preview only. */
.nx-shell:not([data-surface="dark"]){--nx-bg:#eae2d5;--nx-surface:#f8f5ef;--nx-text:#493c32;--nx-muted:#82766a;--nx-border:#d9cdbd;--nx-accent:#74856c;--nx-table-head:#e9e0d3;--nx-table-head-text:#776b5e;--nx-row-hover:#eee8de;--nx-section-accent:#74856c;background:var(--nx-bg);color:var(--nx-text);color-scheme:light}
.nx-shell:not([data-surface="dark"]) .nx-sidebar{background:#e3d8c8;border-right:1px solid #d2c3b0;box-shadow:none}
.nx-shell:not([data-surface="dark"]) .nx-topbar{background:#f2ebe1;border-bottom:1px solid #d9cdbd;box-shadow:none}
.nx-shell:not([data-surface="dark"]) .nx-brand-mark{background:#74856c;border-color:#74856c;color:#fff;box-shadow:none}
.nx-shell:not([data-surface="dark"]) .nx-brand,.nx-shell:not([data-surface="dark"]) .nx-brand small,.nx-shell:not([data-surface="dark"]) .nx-sidebar-label,.nx-shell:not([data-surface="dark"]) .nx-breadcrumb,.nx-shell:not([data-surface="dark"]) .nx-breadcrumb a{color:#625648}
.nx-shell:not([data-surface="dark"]) .nx-nav-link{color:#655a4f;background:transparent;border-color:transparent}
.nx-shell:not([data-surface="dark"]) .nx-nav-link:hover{background:#d7cbb9;color:#3e493a}
.nx-shell:not([data-surface="dark"]) .nx-nav-link--active{background:#74856c;color:#fff;border-color:#74856c;box-shadow:none}
.nx-shell:not([data-surface="dark"]) .nx-nav-link--active .nx-nav-icon img{filter:brightness(0) invert(1)}
.nx-shell:not([data-surface="dark"]) .nx-command{background:#eae2d5;border:1px solid #d3c5b4;color:#625648;box-shadow:none}
.nx-shell:not([data-surface="dark"]) .nx-command:hover{background:#ddd0be;border-color:#b6a58f}
.nx-shell:not([data-surface="dark"]) .nx-mode-toggle,.nx-shell:not([data-surface="dark"]) .nx-avatar,.nx-shell:not([data-surface="dark"]) .nx-preview-tag{background:#e5dbcd;border-color:#d2c3b0;color:#493c32;box-shadow:none}
.nx-shell:not([data-surface="dark"]) .nx-feature{background:#d9dece;border:1px solid #bfc8b4;box-shadow:none;color:#3e493a}
.nx-shell:not([data-surface="dark"]) .nx-feature h2,.nx-shell:not([data-surface="dark"]) .nx-feature p,.nx-shell:not([data-surface="dark"]) .nx-feature-label{color:#3e493a;text-shadow:none}
.nx-shell:not([data-surface="dark"]) .nx-feature-aside,.nx-shell:not([data-surface="dark"]) .nx-feature-aside{background:#f1eee5;border-color:#c9d0c0;box-shadow:none;color:#493c32}
.nx-shell:not([data-surface="dark"]) .nx-feature-aside *{color:#493c32}
.nx-shell:not([data-surface="dark"]) .nx-title-period{color:#8b9a7d}
.nx-shell:not([data-surface="dark"]) .nx-button--primary,.nx-shell:not([data-surface="dark"]) .nx-module-action{background:#74856c;border-color:#74856c;color:#fff;box-shadow:none}
.nx-shell:not([data-surface="dark"]) .nx-button--primary:hover,.nx-shell:not([data-surface="dark"]) .nx-module-action:hover{background:#617459}
.nx-shell:not([data-surface="dark"]) .nx-button:not(.nx-button--primary){background:#f8f5ef;border-color:#d3c5b4;color:#493c32}
.nx-shell:where(:not([data-surface="dark"])) .nx-editorial-board,.nx-shell:where(:not([data-surface="dark"])) .nx-editorial-main,.nx-shell:where(:not([data-surface="dark"])) .nx-editorial-rail,.nx-shell:where(:not([data-surface="dark"])) .nx-editorial-focus,.nx-shell:where(:not([data-surface="dark"])) .nx-editorial-activity,.nx-shell:where(:not([data-surface="dark"])) .nx-module-board,.nx-shell:where(:not([data-surface="dark"])) .nx-inbox,.nx-shell:where(:not([data-surface="dark"])) .nx-record-section,.nx-shell:where(:not([data-surface="dark"])) .nx-data-list,.nx-shell:where(:not([data-surface="dark"])) .nx-filterbar{background:#f8f5ef;border-color:#d9cdbd;box-shadow:none}
.nx-shell:not([data-surface="dark"]) .nx-editorial-heading .nx-overline,.nx-shell:not([data-surface="dark"]) .nx-overline{color:#718064}
.nx-shell:not([data-surface="dark"]) .nx-editorial-trend{color:#5d7755}
.nx-shell:not([data-surface="dark"]) .nx-editorial-chart-columns i{background:linear-gradient(180deg,#9aaa8f,#74856c)}
.nx-shell:not([data-surface="dark"]) .nx-editorial-chart-columns>div:last-child i{background:linear-gradient(180deg,#b49572,#967854)}
.nx-shell:not([data-surface="dark"]) .nx-pulse-item,.nx-shell:not([data-surface="dark"]) .nx-focus-line,.nx-shell:not([data-surface="dark"]) .nx-moment,.nx-shell:not([data-surface="dark"]) .nx-message-row,.nx-shell:not([data-surface="dark"]) .nx-module-toolbar{border-color:#ded2c3}
.nx-shell:not([data-surface="dark"]) .nx-focus-line:hover,.nx-shell:not([data-surface="dark"]) .nx-editorial-rail-link:hover{color:#62785b}
.nx-shell:not([data-surface="dark"]) .nx-moment-dot{border-color:#8b9a7d}
.nx-shell:not([data-surface="dark"]) .nx-inbox-folders{background:#e9e0d3;border-color:#d9cdbd}
.nx-shell:not([data-surface="dark"]) .nx-inbox-folders>span{color:#695d50}
.nx-shell:not([data-surface="dark"]) .nx-inbox-folders .nx-folder-current{background:#74856c;color:#fff}
.nx-shell:not([data-surface="dark"]) .nx-message-avatar{background:#d5decf;color:#465742}
.nx-shell:not([data-surface="dark"]) .nx-week-event{background:#dce5d7;color:#465742;border-left-color:#74856c}
.nx-shell:not([data-surface="dark"]) .nx-week-event small{color:#5f7158}
.nx-shell:not([data-surface="dark"]) .nx-module-table td,.nx-shell:not([data-surface="dark"]) .nx-week-day{border-color:#ded2c3}
.nx-shell:where(:not([data-surface="dark"])) .nx-field input,.nx-shell:where(:not([data-surface="dark"])) .nx-field select,.nx-shell:where(:not([data-surface="dark"])) .nx-field textarea,.nx-shell:where(:not([data-surface="dark"])) .nx-filterbar input,.nx-shell:where(:not([data-surface="dark"])) .nx-filterbar select{background:#fffdf8;color:#493c32;border-color:#d2c5b5;box-shadow:none}
.nx-shell:not([data-surface="dark"]) .nx-field :is(input,select,textarea):focus-visible{outline:2px solid #74856c;outline-offset:1px}
.nx-shell:not([data-surface="dark"]) .nx-command-dialog{background:#f8f5ef;border-color:#d3c5b4;color:#493c32}
.nx-shell:not([data-surface="dark"]) .nx-command-dialog label,.nx-shell:not([data-surface="dark"]) .nx-command-dialog p{color:#82766a}
.nx-shell:not([data-surface="dark"]) .nx-command-dialog input{background:#fffdf8;border-color:#d2c5b5;color:#493c32}
.nx-shell:not([data-surface="dark"]) .nx-command-results a{color:#493c32}.nx-shell:not([data-surface="dark"]) .nx-command-results a:hover,.nx-shell:not([data-surface="dark"]) .nx-command-results a:focus-visible{background:#eae2d5}.nx-shell:not([data-surface="dark"]) .nx-command-results a>span,.nx-shell:not([data-surface="dark"]) .nx-command-results a>small{color:#74856c}
.nx-shell:not([data-surface="dark"]) .nx-preview-navigation a{color:#76695d}.nx-shell:not([data-surface="dark"]) .nx-preview-navigation a:hover,.nx-shell:not([data-surface="dark"]) .nx-preview-navigation a[aria-current]{background:#dcd0bf;color:#493c32}
.nx-shell:not([data-surface="dark"]) .nx-status,.nx-shell:not([data-surface="dark"]) .nx-pill,.nx-shell:not([data-surface="dark"]) .nx-tag{box-shadow:none}
.nx-shell:not([data-surface="dark"]) .nx-work-list,.nx-shell:not([data-surface="dark"]) .nx-work-summary{background:#f8f5ef;border-color:#d9cdbd}
.nx-shell:not([data-surface="dark"]) .nx-work-row:hover{background:#eee8de}
.nx-shell:not([data-surface="dark"]) .nx-sidebar-help,.nx-shell:not([data-surface="dark"]) .nx-sidebar-card{background:#d8dcca;border-color:#bcc5b3;color:#493c32;box-shadow:none}
.nx-shell:not([data-surface="dark"]) :is(a,button,input,select,textarea):focus-visible{outline-color:#74856c}
/* Sidebar note light mode: override the exact light selectors from premium.css. */
.nx-shell:not([data-surface="dark"]) .nx-sidebar-help .nx-sidebar-help-mark{color:#74856c}
.nx-shell:not([data-surface="dark"]) .nx-sidebar-help strong{color:#493c32}
.nx-shell:not([data-surface="dark"]) .nx-sidebar-help p{color:#655e50}
.nx-shell:not([data-surface="dark"]) .nx-sidebar-help a{color:#52694d;border-bottom-color:#9cab90}


/* === EARTH-DARK / migrated source === */
/* Sand & Sage dark companion: true near-black espresso, moss and muted brass. */
.nx-shell[data-surface="dark"]{--nx-bg:#171b17;--nx-surface:#242b25;--nx-text:#f1eadf;--nx-muted:#b0ae9f;--nx-border:#40483e;--nx-accent:#a1b491;--nx-table-head:#303b31;--nx-table-head-text:#becab5;--nx-row-hover:#303b31;--nx-section-accent:#829777;background:#171b17;color:#f1eadf;color-scheme:dark}
.nx-shell[data-surface="dark"] .nx-sidebar{background:#111712;border-right-color:#343e33}
.nx-shell[data-surface="dark"] .nx-topbar{background:#1c231d;border-bottom-color:#394338}
.nx-shell[data-surface="dark"] .nx-brand,.nx-shell[data-surface="dark"] .nx-brand small,.nx-shell[data-surface="dark"] .nx-sidebar-label,.nx-shell[data-surface="dark"] .nx-breadcrumb,.nx-shell[data-surface="dark"] .nx-breadcrumb a{color:#c4c6b6}
.nx-shell[data-surface="dark"] .nx-brand-mark{background:#8c9f7f;border-color:#8c9f7f}
.nx-shell[data-surface="dark"] .nx-nav-link{color:#c0c7b7;background:transparent;border-color:transparent}
.nx-shell[data-surface="dark"] .nx-nav-link:hover{background:#29362b;color:#f5f1e8}
.nx-shell[data-surface="dark"] .nx-nav-link--active{background:#526b4f;border-color:#526b4f;color:#fff}
.nx-shell[data-surface="dark"] .nx-command{background:#293229;border-color:#445043;color:#e0dfd1}
.nx-shell[data-surface="dark"] .nx-command:hover{background:#334135;border-color:#71866c}
.nx-shell[data-surface="dark"] .nx-mode-toggle,.nx-shell[data-surface="dark"] .nx-avatar,.nx-shell[data-surface="dark"] .nx-preview-tag{background:#2b362d;border-color:#445044;color:#f0e9de}
.nx-shell[data-surface="dark"] .nx-feature{background:#344336;border-color:#536a50;color:#f4eee2}
.nx-shell[data-surface="dark"] .nx-feature h2,.nx-shell[data-surface="dark"] .nx-feature p,.nx-shell[data-surface="dark"] .nx-feature-label{color:#f3eee4}
.nx-shell[data-surface="dark"] .nx-feature-aside{background:#253127;border-color:#52634f;color:#f0e8dc}
.nx-shell[data-surface="dark"] .nx-feature-aside *{color:#f0e8dc}
.nx-shell[data-surface="dark"] .nx-title-period{color:#b0be9b}
.nx-shell[data-surface="dark"] .nx-button--primary,.nx-shell[data-surface="dark"] .nx-module-action{background:#829777;border-color:#829777;color:#121a13}
.nx-shell[data-surface="dark"] .nx-button--primary:hover,.nx-shell[data-surface="dark"] .nx-module-action:hover{background:#a4b596}
.nx-shell[data-surface="dark"] .nx-button:not(.nx-button--primary){background:#2b352d;border-color:#465244;color:#f0e9de}
.nx-shell[data-surface="dark"] .nx-editorial-board,.nx-shell[data-surface="dark"] .nx-editorial-main,.nx-shell[data-surface="dark"] .nx-editorial-rail,.nx-shell[data-surface="dark"] .nx-editorial-focus,.nx-shell[data-surface="dark"] .nx-editorial-activity,.nx-shell[data-surface="dark"] .nx-module-board,.nx-shell[data-surface="dark"] .nx-inbox,.nx-shell[data-surface="dark"] .nx-record-section,.nx-shell[data-surface="dark"] .nx-data-list,.nx-shell[data-surface="dark"] .nx-filterbar{background:#242b25;box-shadow:none}
.nx-shell[data-surface="dark"] .nx-editorial-heading .nx-overline,.nx-shell[data-surface="dark"] .nx-overline{color:#a4b995}
.nx-shell[data-surface="dark"] .nx-editorial-trend{color:#a6c59a}
.nx-shell[data-surface="dark"] .nx-editorial-chart-columns i{background:linear-gradient(180deg,#a0b294,#586d54)}
.nx-shell[data-surface="dark"] .nx-editorial-chart-columns>div:last-child i{background:linear-gradient(180deg,#c3a17c,#806b52)}
.nx-shell[data-surface="dark"] .nx-pulse-item,.nx-shell[data-surface="dark"] .nx-focus-line,.nx-shell[data-surface="dark"] .nx-moment,.nx-shell[data-surface="dark"] .nx-message-row,.nx-shell[data-surface="dark"] .nx-module-toolbar
.nx-shell[data-surface="dark"] .nx-editorial-board,.nx-shell[data-surface="dark"] .nx-editorial-main,.nx-shell[data-surface="dark"] .nx-editorial-rail,.nx-shell[data-surface="dark"] .nx-editorial-focus,.nx-shell[data-surface="dark"] .nx-editorial-activity,.nx-shell[data-surface="dark"] .nx-module-board,.nx-shell[data-surface="dark"] .nx-inbox,.nx-shell[data-surface="dark"] .nx-record-section,.nx-shell[data-surface="dark"] .nx-data-list,.nx-shell[data-surface="dark"] .nx-filterbar,.nx-shell[data-surface="dark"] .nx-pulse-item,.nx-shell[data-surface="dark"] .nx-focus-line,.nx-shell[data-surface="dark"] .nx-moment,.nx-shell[data-surface="dark"] .nx-message-row,.nx-shell[data-surface="dark"] .nx-module-toolbar{border-color:#40483e}
.nx-shell[data-surface="dark"] .nx-focus-line:hover,.nx-shell[data-surface="dark"] .nx-editorial-rail-link:hover{color:#b4c7a5}
.nx-shell[data-surface="dark"] .nx-moment-dot{border-color:#a4b995}
.nx-shell[data-surface="dark"] .nx-inbox-folders{background:#1b251e;border-color:#40483e}
.nx-shell[data-surface="dark"] .nx-inbox-folders>span{color:#c5c9bc}
.nx-shell[data-surface="dark"] .nx-inbox-folders .nx-folder-current{background:#526b4f;color:#fff}
.nx-shell[data-surface="dark"] .nx-message-avatar{background:#415342;color:#f2f2e8}
.nx-shell[data-surface="dark"] .nx-week-event{background:#364a38;color:#f2efe4;border-left-color:#a4b995}
.nx-shell[data-surface="dark"] .nx-week-event small{color:#c4d1bb}
.nx-shell[data-surface="dark"] .nx-module-table td,.nx-shell[data-surface="dark"] .nx-week-day{border-color:#40483e}
.nx-shell[data-surface="dark"] .nx-field input,.nx-shell[data-surface="dark"] .nx-field select,.nx-shell[data-surface="dark"] .nx-field textarea,.nx-shell[data-surface="dark"] .nx-filterbar input,.nx-shell[data-surface="dark"] .nx-filterbar select{background:#1b231d;color:#f1eadf;border-color:#485446}
.nx-shell[data-surface="dark"] .nx-field :is(input,select,textarea):focus-visible{outline-color:#a4b995}
.nx-shell[data-surface="dark"] .nx-command-dialog{background:#222c24;border-color:#556450;color:#f1eadf}
.nx-shell[data-surface="dark"] .nx-command-dialog label,.nx-shell[data-surface="dark"] .nx-command-dialog p{color:#b0beaa}
.nx-shell[data-surface="dark"] .nx-command-dialog input{background:#161e18;border-color:#53624e;color:#f1eadf}
.nx-shell[data-surface="dark"] .nx-command-results a{color:#f1eadf}
.nx-shell[data-surface="dark"] .nx-command-results a:hover,.nx-shell[data-surface="dark"] .nx-command-results a:focus-visible{background:#344437}
.nx-shell[data-surface="dark"] .nx-command-results a>span,.nx-shell[data-surface="dark"] .nx-command-results a>small{color:#b4c7a5}
.nx-shell[data-surface="dark"] .nx-preview-navigation a{color:#bec3b5}
.nx-shell[data-surface="dark"] .nx-preview-navigation a:hover,.nx-shell[data-surface="dark"] .nx-preview-navigation a[aria-current]{background:#344437;color:#f3eee4}
.nx-shell[data-surface="dark"] .nx-work-list,.nx-shell[data-surface="dark"] .nx-work-summary{background:#242b25;border-color:#40483e}
.nx-shell[data-surface="dark"] .nx-work-row:hover{background:#303b31}
.nx-shell[data-surface="dark"] .nx-sidebar-help,.nx-shell[data-surface="dark"] .nx-sidebar-card{background:#29392b;border-color:#4c624b;color:#f1eadf}
.nx-shell[data-surface="dark"] :is(a,button,input,select,textarea):focus-visible{outline-color:#a4b995}
/* Earth icon artwork is scoped to preview and re-toned per appearance. */
.nx-shell[data-surface="dark"] .nx-nav-icon img,.nx-shell[data-surface="dark"] .nx-metric-icon img,.nx-shell[data-surface="dark"] .nx-work-icon img{filter:brightness(1.2) saturate(.75)}
.nx-shell[data-surface="dark"] .nx-nav-link--active .nx-nav-icon img{filter:brightness(0) invert(1)}
.nx-shell[data-surface="dark"] .nx-sidebar-help .nx-sidebar-help-mark{color:#a4b995}
.nx-shell[data-surface="dark"] .nx-sidebar-help strong{color:#f1eadf}
.nx-shell[data-surface="dark"] .nx-sidebar-help p{color:#bac5b2}
.nx-shell[data-surface="dark"] .nx-sidebar-help a{color:#52694d;border-bottom-color:#9cab90}


/* Shared mobile navigation drawer. Desktop sidebar remains unchanged. */
.nx-mobile-menu,.nx-mobile-close{display:none}.nx-mobile-scrim[hidden]{display:none}
@media(max-width:750px){
.nx-mobile-menu{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:40px;height:40px;flex:none;border:1px solid var(--nx-border);border-radius:10px;background:var(--nx-surface);color:var(--nx-text);cursor:pointer;order:-2}
.nx-mobile-menu span{display:block;width:19px;height:2px;border-radius:2px;background:currentColor}
.nx-mobile-close{display:grid;place-items:center;position:absolute;right:14px;top:14px;width:38px;height:38px;border:1px solid var(--nx-border);border-radius:9px;background:var(--nx-surface);color:var(--nx-text);font-size:28px;cursor:pointer}
.nx-shell .nx-sidebar{position:fixed;top:0;bottom:0;left:0;width:min(310px,85vw);height:100dvh;min-height:0;overflow-y:auto;overscroll-behavior:contain;transform:translateX(-105%);visibility:hidden;pointer-events:none;transition:transform .22s ease,visibility .22s ease;z-index:1001;padding:24px 16px;box-shadow:10px 0 35px rgba(0,0,0,.24)}
.nx-shell .nx-sidebar.nx-mobile-open{transform:translateX(0);visibility:visible;pointer-events:auto}
.nx-shell .nx-sidebar-group{margin-top:28px}
.nx-shell .nx-sidebar-group .nx-navigation{display:grid;grid-template-columns:1fr;gap:5px;margin-top:12px}
.nx-shell .nx-sidebar .nx-nav-link{min-height:44px}
.nx-shell .nx-sidebar-bottom{display:block;margin-top:30px}
.nx-mobile-scrim:not([hidden]){display:block;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:1000}
.nx-drawer-active{overflow:hidden}
.nx-topbar{justify-content:space-between}
.nx-topbar .nx-breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis}
}
@media(prefers-reduced-motion:reduce){.nx-shell .nx-sidebar{transition:none}}

.nx-global-search-form{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 20px;flex-wrap:wrap}.nx-global-search-form label{font-size:13px;font-weight:650;flex:0 0 100%}.nx-global-search-form input{height:40px;flex:1 1 200px;min-width:0;border:1px solid var(--nx-border,#40483e);border-radius:9px;padding:0 12px;background:var(--nx-surface,#242b25);color:inherit}.nx-global-search-form button{height:40px;padding:0 18px;background:var(--nx-accent,#a1b491);color:#171b17;border:0;border-radius:9px;cursor:pointer}

.nx-shell .nx-data-list a{color:var(--nx-accent);font-weight:650;text-decoration:none}.nx-shell .nx-data-list a:hover{text-decoration:underline}
@media(max-width:750px){.nx-shell .nx-data-list{overflow:visible}.nx-shell .nx-data-list table,.nx-shell .nx-data-list tbody,.nx-shell .nx-data-list tr,.nx-shell .nx-data-list td{display:block;width:100%}.nx-shell .nx-data-list thead{display:none}.nx-shell .nx-data-list tbody tr{display:block;padding:9px 13px;border-bottom:1px solid var(--nx-border)}.nx-shell .nx-data-list tbody tr:last-child{border-bottom:0}.nx-shell .nx-data-list td{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:7px 0;border:0;text-align:right;overflow-wrap:anywhere;white-space:normal}.nx-shell .nx-data-list td::before{content:attr(data-label);color:var(--nx-muted);font-size:12px;font-weight:600;flex:0 0 75px;text-align:left}.nx-shell .nx-data-list td.nx-empty{display:block;text-align:center}.nx-shell .nx-data-list td.nx-empty::before{content:none}}

.nx-shell .nx-sidebar{overflow-y:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin}.nx-shell .nx-data-list td[data-label="Email"]{min-width:0}@media(max-width:750px){.nx-shell .nx-data-list td[data-label="Email"]{display:block;text-align:left}.nx-shell .nx-data-list td[data-label="Email"]::before{display:block;margin-bottom:4px}.nx-shell .nx-data-list td[data-label="Email"] a{overflow-wrap:anywhere}}

.nx-shell .nx-brand-logo{width:42px;height:42px;object-fit:contain;border-radius:10px;flex:0 0 42px}
.nx-service-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}.nx-service-actions form{margin:0}.nx-service-actions .nx-button{min-height:36px;padding:8px 12px}.nx-service-featured{display:block;color:var(--nx-muted);font-size:11px;margin-top:3px}.nx-service-drag{cursor:grab;display:inline-flex;padding:8px}.nx-service-list tr.is-dragging{opacity:.45}
@media(max-width:750px){.nx-service-actions{justify-content:flex-end;flex-wrap:wrap}}
.nx-record-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.nx-record-section-head h2{margin:0}.nx-record-delete{display:flex;justify-content:flex-end;margin:18px 0 0}.nx-record-section .nx-data-list{max-width:100%}

.nx-task-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}.nx-task-metrics .nx-kpi{padding:16px;min-height:94px}.nx-task-metrics .nx-kpi span{display:block;font-size:12px;color:var(--nx-muted)}.nx-task-metrics .nx-kpi strong{display:block;margin-top:9px;font-size:24px;color:var(--nx-text)}@media(max-width:750px){.nx-task-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

.nx-location-map{display:block;width:100%;height:350px;border:1px solid var(--nx-border);border-radius:12px;background:var(--nx-surface)}@media(max-width:650px){.nx-location-map{height:270px}}

.nx-staff-photo-preview{display:flex;align-items:center;justify-content:center;width:min(100%,420px);min-height:220px;border:1px solid var(--nx-border);border-radius:14px;background:var(--nx-bg);overflow:hidden}.nx-staff-photo-preview img{display:block;max-width:100%;max-height:400px;object-fit:contain}.nx-staff-photo-preview p{color:var(--nx-muted);font-size:13px}.nx-staff-remove{display:flex;gap:8px;align-items:center;margin-top:14px}

.nx-staff-titles-list{display:grid;gap:10px}.nx-staff-title-row{display:grid;grid-template-columns:minmax(160px,2fr) minmax(90px,130px) auto auto auto;gap:14px;align-items:end;padding:12px 0;border-bottom:1px solid var(--nx-border)}.nx-staff-title-row .nx-field{min-width:0}.nx-staff-title-row .nx-field label{display:grid;gap:6px}.nx-staff-title-row .nx-field input{width:100%;height:40px}.nx-staff-toggle{display:flex;align-items:center;gap:7px;height:40px;white-space:nowrap}@media(max-width:850px){.nx-staff-title-row{grid-template-columns:1fr 1fr}.nx-staff-title-row .nx-staff-toggle{height:auto}.nx-staff-title-row button{justify-self:end}}@media(max-width:470px){.nx-staff-title-row{grid-template-columns:1fr}.nx-staff-title-row button{justify-self:stretch}}

.nx-product-name{display:flex;align-items:center;gap:12px;min-width:0}.nx-product-name img{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border-radius:10px}.nx-product-name div{min-width:0;overflow-wrap:anywhere}

.nx-product-hero-image{display:block;width:min(100%,720px);height:auto;max-height:450px;object-fit:contain;border-radius:14px}.nx-product-images{display:flex;flex-wrap:wrap;gap:16px;margin-top:16px}.nx-product-images>div{display:grid;gap:8px}.nx-product-images img{width:120px;height:120px;object-fit:cover;border-radius:10px}.nx-variant-row{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr)) auto;gap:12px;align-items:end;padding:12px 0;border-bottom:1px solid var(--nx-border)}.nx-variant-row .nx-field{min-width:0}.nx-variant-row .nx-field input,.nx-variant-row .nx-field select{width:100%}@media(max-width:900px){.nx-variant-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.nx-variant-row{grid-template-columns:1fr}}

.nx-document-folders{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0}.nx-document-folder{display:flex;align-items:center;gap:9px;padding:9px 13px;border:1px solid var(--nx-border);border-radius:11px;background:var(--nx-surface);max-width:100%;flex-wrap:wrap}.nx-document-folder a{color:var(--nx-accent);font-weight:650;overflow-wrap:anywhere;text-decoration:none}

.nx-document-folders{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.nx-document-folder{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--nx-border);border-radius:12px;min-width:0}.nx-document-folder small{font-size:11px;color:var(--nx-muted)}.nx-document-folder-dot{width:10px;height:10px;flex:0 0 10px;border-radius:50%}.nx-document-folder form{margin:0}.nx-document-folder .nx-button{padding:6px 10px;min-height:32px}@media(max-width:550px){.nx-document-folders{display:grid}.nx-document-folder{flex-wrap:wrap}}

.nx-palette-mode{display:flex;gap:12px;flex-wrap:wrap}.nx-palette-mode form{margin:0}.nx-palette-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.nx-palette-choice{min-width:0;border:1px solid var(--nx-border);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.nx-palette-choice.is-selected{outline:2px solid var(--nx-accent);outline-offset:2px}.nx-palette-preview{height:145px;padding:14px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.nx-palette-sidebar,.nx-palette-surface{border-radius:9px;padding:12px;display:flex;flex-direction:column;gap:9px}.nx-palette-sidebar span{height:9px;border-radius:7px;background:rgba(127,127,127,.2)}.nx-palette-sidebar span:first-child{width:42%}.nx-palette-surface{justify-content:space-between}.nx-palette-surface i{height:28px;border-radius:7px}.nx-palette-body{display:flex;flex-direction:column;gap:10px;padding:14px;flex:1}.nx-palette-body h3{margin:0;font-size:16px}.nx-palette-body p{margin:0;color:var(--nx-muted);font-size:12px;flex:1}.nx-palette-body form{margin-top:auto}.nx-palette-body button{width:100%}@media(max-width:1100px){.nx-palette-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.nx-palette-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.nx-palette-grid{grid-template-columns:1fr}}

.nx-payroll-review{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:240px}.nx-payroll-review input{flex:1 1 140px;min-width:0}.nx-payroll-review .nx-button{white-space:nowrap}.nx-data-list td select,.nx-data-list td input{min-width:0;max-width:100%}

.nx-terminology-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}.nx-terminology-card{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid var(--nx-border);border-radius:12px;color:inherit;text-decoration:none}.nx-terminology-card:hover{border-color:var(--nx-accent)}.nx-terminology-card small{color:var(--nx-muted)}.nx-terminology-fields{display:grid;gap:12px}.nx-terminology-field{display:grid;grid-template-columns:minmax(160px,230px) minmax(0,1fr);gap:10px 16px;align-items:center;padding:12px 0;border-bottom:1px solid var(--nx-border)}.nx-terminology-field-label{display:flex;gap:9px;align-items:center;font-weight:600}.nx-terminology-field small{grid-column:1/-1;color:var(--nx-muted)}.nx-terminology-field .nx-field input{width:100%}@media(max-width:900px){.nx-terminology-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.nx-terminology-grid,.nx-terminology-field{grid-template-columns:1fr}}

.nx-account-billing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.nx-account-billing-grid h3{font-size:16px}.nx-kpi strong.nx-kpi-text{font-size:15px;line-height:1.3;overflow-wrap:anywhere}.nx-pay-detail{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:800px){.nx-account-billing-grid{grid-template-columns:1fr}}

.nx-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:20px}.nx-calendar-switcher,.nx-calendar-period{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.nx-calendar-period h2{font-size:20px;min-width:0;margin:0 10px}.nx-calendar-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.nx-calendar-weekday{text-align:center;font-size:12px;font-weight:700;padding:12px 2px}.nx-calendar-day{min-height:118px;min-width:0;padding:10px;border:1px solid var(--nx-border);border-radius:10px}.nx-calendar-day--muted{opacity:.5}.nx-calendar-day-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}.nx-calendar-day-head a{color:inherit;text-decoration:none;font-weight:700}.nx-calendar-events{display:grid;gap:5px;min-width:0}.nx-calendar-event{display:flex;flex-direction:column;gap:3px;min-width:0;text-decoration:none;color:inherit;padding:7px 8px;border-radius:8px;background:color-mix(in srgb,var(--nx-accent) 12%,transparent)}.nx-calendar-event strong{font-size:12px;overflow-wrap:anywhere}.nx-calendar-event small{font-size:11px;opacity:.75}.nx-calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.nx-calendar-week-day{display:grid;align-content:start;gap:7px;min-width:0;border:1px solid var(--nx-border);border-radius:12px;padding:9px}.nx-calendar-day-items,.nx-calendar-upcoming{display:grid;gap:10px}.nx-calendar-day-item,.nx-calendar-upcoming-item{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px;border:1px solid var(--nx-border);border-radius:10px;color:inherit;text-decoration:none}.nx-calendar-upcoming-item span,.nx-calendar-day-item span{font-size:12px;opacity:.75}@media(max-width:900px){.nx-calendar-week{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-calendar-day{padding:6px;min-height:100px}.nx-calendar-event{padding:4px}.nx-calendar-event strong{font-size:10px}.nx-calendar-event small{font-size:9px}}@media(max-width:550px){.nx-calendar-month{gap:2px}.nx-calendar-day{padding:3px;min-height:65px;border-radius:5px}.nx-calendar-day-head{margin-bottom:3px}.nx-calendar-day-head a{font-size:11px}.nx-calendar-events{gap:2px}.nx-calendar-event{padding:2px 3px}.nx-calendar-event strong{font-size:9px;line-height:1.2}.nx-calendar-event small{display:none}.nx-calendar-week{grid-template-columns:1fr}.nx-calendar-period{width:100%;justify-content:space-between}.nx-calendar-period h2{font-size:16px;margin:0 3px}}

.nx-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.nx-media-card{display:flex;flex-direction:column;gap:10px;min-width:0;border:1px solid var(--nx-border);border-radius:13px;padding:14px}.nx-media-card strong{overflow-wrap:anywhere}.nx-media-card small{font-size:11px;color:var(--nx-muted);overflow-wrap:anywhere}.nx-media-preview{width:100%;aspect-ratio:16/10;overflow:hidden;border-radius:9px;background:color-mix(in srgb,var(--nx-border) 30%,transparent)}.nx-media-preview img,.nx-media-preview video{width:100%;height:100%;object-fit:cover}.nx-media-card .nx-service-actions{margin-top:auto;display:flex;gap:8px;flex-wrap:wrap}.nx-media-card .nx-service-actions form{margin:0}@media(max-width:1000px){.nx-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.nx-media-grid{grid-template-columns:1fr}}

.nx-gallery-edit-preview{width:min(100%,720px);max-height:440px;border-radius:12px;overflow:hidden}.nx-gallery-edit-preview img,.nx-gallery-edit-preview video{display:block;width:100%;max-height:440px;object-fit:contain}

.nx-role-permission-groups{display:grid;gap:14px}.nx-role-permission-group{border:1px solid var(--nx-border);border-radius:12px;padding:16px;display:grid;gap:12px}.nx-role-permission-group h3{margin:0;font-size:16px}.nx-role-subgroup{display:grid;gap:9px}.nx-role-subgroup h4{margin:0;font-size:13px;color:var(--nx-muted)}.nx-role-permissions{display:flex;flex-wrap:wrap;gap:10px 18px}.nx-role-permissions .nx-staff-toggle{margin:0;flex:0 1 auto}

.nx-notification-list{display:grid;gap:12px}.nx-notification-item{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border:1px solid var(--nx-border);border-radius:11px;padding:14px}.nx-notification-item.is-unread{border-left:3px solid var(--nx-accent)}.nx-notification-item strong{font-size:14px}.nx-notification-item p{margin:6px 0}.nx-notification-item small{color:var(--nx-muted)}.nx-notification-item .nx-service-actions{display:flex;gap:8px;flex-wrap:wrap}.nx-notification-item form{margin:0}@media(max-width:650px){.nx-notification-item{flex-direction:column}}

.nx-search-results{display:grid;gap:10px}.nx-search-result{display:flex;align-items:flex-start;gap:16px;padding:15px;border:1px solid var(--nx-border);border-radius:11px;color:inherit;text-decoration:none}.nx-search-result:hover{border-color:var(--nx-accent)}.nx-search-result>span{width:100px;flex:0 0 100px;font-size:11px;font-weight:700;text-transform:uppercase;color:var(--nx-muted)}.nx-search-result>div{display:grid;gap:5px;min-width:0}.nx-search-result strong{overflow-wrap:anywhere}.nx-search-result small{color:var(--nx-muted)}@media(max-width:600px){.nx-search-result{flex-direction:column;gap:6px}.nx-search-result>span{width:auto;flex:auto}}

.nx-website-asset-preview{display:block;max-width:220px;max-height:90px;object-fit:contain;margin:12px 0;padding:6px;border-radius:8px;background:#fff}

.nx-dashboard-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.nx-dashboard-editor-item{display:grid;align-content:start;gap:9px;padding:15px;border:1px solid var(--nx-border);border-radius:12px;min-width:0}.nx-dashboard-editor-item small{color:var(--nx-muted)}@media(max-width:650px){.nx-dashboard-editor-grid{grid-template-columns:1fr}}

.nx-page-drag{appearance:none;border:0;background:transparent;color:inherit;cursor:grab;margin-right:9px;font-size:18px;opacity:.65}.nx-page-drag:hover,.nx-page-drag:focus-visible{opacity:1}.nx-page-order-table tr.is-dragging{opacity:.45}.nx-page-order-table tr.drag-target{outline:1px dashed currentColor;outline-offset:-2px}.nx-page-order-table input[type=checkbox]{width:18px;height:18px}.nx-page-order-table .nx-service-actions{display:flex;gap:8px;flex-wrap:wrap}

.nx-pipeline-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}.nx-pipeline-column{min-width:0;border:1px solid var(--nx-border);border-radius:12px;overflow:hidden}.nx-pipeline-header{display:grid;gap:5px;padding:14px;border-bottom:1px solid var(--nx-border)}.nx-pipeline-header strong{font-size:16px}.nx-pipeline-header small{color:var(--nx-muted)}.nx-pipeline-body{padding:10px;min-height:145px;display:grid;align-content:start;gap:10px}.nx-pipeline-body.drag-over{outline:2px dashed var(--nx-accent);outline-offset:-4px}.nx-pipeline-card{color:inherit;text-decoration:none;border:1px solid var(--nx-border);border-radius:10px;padding:12px;display:grid;gap:7px;min-width:0;overflow-wrap:anywhere}.nx-pipeline-card[draggable=true]{cursor:grab}.nx-pipeline-card.dragging{opacity:.45}.nx-pipeline-card.is-stale{border-color:#b58340}.nx-pipeline-card small{font-size:11px;color:var(--nx-muted)}@media(max-width:1100px){.nx-pipeline-board{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.nx-pipeline-board{grid-template-columns:1fr}}

.nx-pipeline-admin-row{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:12px 0}.nx-pipeline-admin-row form{margin:0}.nx-pipeline-admin-row .nx-record-form{flex:1 1 320px;display:flex;align-items:end;gap:10px;flex-wrap:wrap}.nx-pipeline-admin-row .nx-record-form .nx-field{flex:1 1 200px}.nx-pipeline-admin-stage{border:1px solid var(--nx-border);border-radius:12px;padding:14px;margin:12px 0}.nx-pipeline-admin-stage h3{margin:0 0 12px}.nx-pipeline-admin-stage .nx-record-actions form{margin:0}

.nx-plain-fieldset{border:0;padding:0;margin:0;min-width:0}.nx-brand-preview{border:1px solid var(--nx-border);border-radius:12px;overflow:hidden;max-width:700px}.nx-brand-preview-header{padding:16px;display:flex;gap:10px;align-items:center;color:#fff;min-height:72px}.nx-brand-preview-header img{max-width:160px;max-height:44px;object-fit:contain}.nx-brand-preview-body{display:grid;gap:12px;padding:18px;color:#26303b}.nx-brand-preview-body p{margin:0}.nx-brand-preview-body span{width:fit-content;padding:10px 16px;border-radius:9px;color:#fff}

.nx-dashboard-live-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.nx-dashboard-preview-tile{display:grid;align-content:start;gap:5px;grid-column:span 2;padding:15px;border:1px solid var(--nx-border);border-radius:10px;min-width:0}.nx-dashboard-preview-tile[data-size="1x1"],.nx-dashboard-preview-tile[data-size="1x2"]{grid-column:span 1}.nx-dashboard-preview-tile[data-size="2x2"],.nx-dashboard-preview-tile[data-size="1x2"]{min-height:110px}.nx-dashboard-preview-tile small{color:var(--nx-muted)}.nx-dashboard-live-preview[data-summary-style=soft] .nx-dashboard-preview-tile{background:color-mix(in srgb,var(--nx-accent) 10%,transparent)}.nx-dashboard-preview-tile[hidden]{display:none}@media(max-width:650px){.nx-dashboard-live-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Phase 3 canonical field contract: tenant forms never inherit classic sizing. */
body.nx-shell .nx-workspace :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="color"]):not([type="range"]),select){
  display:block;max-width:100%;box-sizing:border-box;height:40px;min-height:40px;max-height:40px;
  padding:8px 12px;border:1px solid var(--nx-border);border-radius:9px;
  background:var(--nx-surface);color:var(--nx-text);font:inherit;
}
body.nx-shell .nx-workspace .nx-field{min-width:0;gap:6px}
body.nx-shell .nx-workspace label:has(> :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea)){
  display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;
}
body.nx-shell .nx-workspace :is(input,select,textarea):focus-visible{outline:2px solid var(--nx-accent);outline-offset:1px}

/* Native IconPark chooser: icon preview stays separate from the editable form. */
.nx-icon-preview{display:flex;align-items:center;gap:16px;min-width:0;margin:14px 0;padding:10px 0;color:var(--nx-muted);overflow-wrap:anywhere}
.nx-icon-preview [data-icon-preview]{display:grid;place-items:center;width:74px;height:74px;flex:none;border:1px solid var(--nx-border);border-radius:12px;background:var(--nx-surface)}
.nx-icon-preview svg{max-width:52px;max-height:52px;width:52px;height:52px}
.nx-icon-picker{width:min(920px,calc(100vw - 32px));max-height:min(88dvh,950px);padding:24px;border:1px solid var(--nx-border);border-radius:16px;background:var(--nx-surface);color:var(--nx-text);box-shadow:0 24px 68px rgba(0,0,0,.24);overflow:auto}
.nx-icon-picker::backdrop{background:rgba(5,10,7,.65)}
.nx-icon-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.nx-icon-picker-heading h2{margin:0;font-size:24px}
.nx-icon-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;margin-top:18px;max-height:50vh;overflow-y:auto}
.nx-icon-picker-choice{display:flex;flex-direction:column;align-items:center;gap:8px;justify-content:start;min-height:98px;padding:12px 8px;border:1px solid var(--nx-border);border-radius:11px;background:var(--nx-surface);color:var(--nx-text);font:inherit;font-size:12px;cursor:pointer;text-align:center;overflow-wrap:anywhere}
.nx-icon-picker-choice:hover,.nx-icon-picker-choice:focus-visible,.nx-icon-picker-choice.is-selected{border-color:var(--nx-accent);background:var(--nx-row-hover);outline-offset:2px}
.nx-icon-picker-choice img{display:block;object-fit:contain;flex:none}
@media(max-width:520px){.nx-icon-picker{padding:16px}.nx-icon-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.nx-icon-picker-choice{min-height:94px;padding:9px 5px}}

/* Contacts is the canonical interactive record-list layout for tenant Next UI. */
.nx-shell .nx-contact-filterbar{display:flex;flex-wrap:nowrap;gap:9px;align-items:flex-end;margin-bottom:18px}
.nx-shell .nx-contact-filterbar>.nx-field{flex:1 1 115px;min-width:95px}
.nx-shell .nx-contact-filterbar>.nx-contact-search{flex:2 1 200px;min-width:170px}
.nx-shell .nx-contact-filterbar>.nx-filter-actions{flex:0 0 auto;display:flex;gap:7px;align-items:flex-end}
.nx-contact-subline{font-size:12px;color:var(--nx-muted);line-height:1.4;overflow-wrap:anywhere}
.nx-shell .nx-contact-data-row{cursor:pointer}
.nx-shell .nx-contact-data-row:focus-visible{outline:2px solid var(--nx-accent);outline-offset:-2px}
.nx-shell .nx-contact-row-actions{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:nowrap}
.nx-contact-row-actions form{margin:0;display:inline-flex}
.nx-shell .nx-contact-action{width:34px;height:34px;min-height:34px;min-width:34px;display:inline-grid;place-items:center;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--nx-text);text-decoration:none;font-size:18px;cursor:pointer;padding:5px}
.nx-shell .nx-contact-action:hover,.nx-shell .nx-contact-action:focus-visible{border-color:var(--nx-border);background:var(--nx-row-hover)}
.nx-contact-action img{display:block;object-fit:contain}
@media(max-width:1240px){.nx-shell .nx-contact-filterbar{flex-wrap:wrap}.nx-shell .nx-contact-filterbar>.nx-field{flex:1 1 180px}.nx-shell .nx-contact-filterbar>.nx-contact-search{flex:2 1 300px}}
@media(max-width:600px){.nx-shell .nx-contact-filterbar>.nx-field,.nx-shell .nx-contact-filterbar>.nx-contact-search{flex:1 1 100%}.nx-shell .nx-contact-filterbar>.nx-filter-actions{width:100%}.nx-shell .nx-contact-filterbar>.nx-filter-actions>*{flex:1 1 0}}

@media print{body.nx-shell[data-next-receipt="native"]{background:#fff;color:#111;margin:0;padding:0}body.nx-shell[data-next-receipt="native"] .nx-topbar,body.nx-shell[data-next-receipt="native"] .nx-receipt-actions{display:none}body.nx-shell[data-next-receipt="native"] .nx-workspace{max-width:none;width:100%;margin:0;padding:0}body.nx-shell[data-next-receipt="native"] .nx-record-section{background:#fff;color:#111;border:0;box-shadow:none;padding:0;margin:0}body.nx-shell[data-next-receipt="native"] .nx-work-row{border-color:#ccc;break-inside:avoid}}

body.nx-shell[data-next-receipt="native"]{overflow-x:clip}body.nx-shell[data-next-receipt="native"] .nx-topbar,body.nx-shell[data-next-receipt="native"] .nx-workspace,body.nx-shell[data-next-receipt="native"] .nx-record-section{max-width:100%;min-width:0;box-sizing:border-box}body.nx-shell[data-next-receipt="native"] .nx-work-row{min-width:0;flex-wrap:wrap;overflow-wrap:anywhere}body.nx-shell[data-next-receipt="native"] .nx-work-row>*{min-width:0;overflow-wrap:anywhere}

.nx-shell .nx-inline-help{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;margin-left:6px;border:1px solid var(--nx-border);border-radius:50%;color:var(--nx-accent);font-size:12px;font-weight:700;line-height:1;cursor:help;vertical-align:middle}
