@font-face{font-family:Inter;src:local("Inter"),local("Segoe UI")}*{box-sizing:border-box}html,body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;color:#333335;background:#f0f1f7;font-size:14px}a{color:#7650cc;text-decoration:none}a:hover{text-decoration:underline}h1,h2,p{margin-top:0}h1{font-size:25px;font-weight:650;letter-spacing:-.65px;margin-bottom:8px}h2{font-size:16px;font-weight:650;margin-bottom:8px}p{line-height:1.65;color:#727784}small{font-size:11px}button,input,select,textarea{font:inherit}input:not([type=checkbox]),select,textarea{border:1px solid #dce0e9;border-radius:6px;padding:10px 12px;background:white;color:#333335;min-height:39px;width:100%}input:focus,select:focus,textarea:focus{outline:2px solid #bfa9ef;outline-offset:1px}label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}textarea{resize:vertical}button{cursor:pointer}input[type=checkbox]{accent-color:#845adf;width:16px;height:16px}a:focus-visible,button:focus-visible{outline:3px solid #c7b2f1;outline-offset:3px}.rz-button{border-radius:5px!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;font-weight:600!important;min-height:36px}.rz-button.rz-primary{background:#845adf!important}.rz-button.rz-primary:hover{background:#724ac5!important}.rz-button.rz-variant-text{background:transparent!important;color:#7650cc!important}.aic-layout{--rz-sidebar-width:244px;--rz-header-height:67px;grid-template-areas:"rz-sidebar rz-header" "rz-sidebar rz-body"!important;grid-template-rows:67px 1fr;min-height:100vh}.aic-header{display:flex!important;align-items:center;background:white!important;color:#3c4254!important;border-bottom:1px solid #e9ebf2;height:67px;padding-right:27px;box-shadow:none!important}.aic-header .rz-sidebar-toggle{color:#687082!important;background:transparent!important}.header-title{display:flex;gap:12px;align-items:center;font-size:12px}.header-title strong{letter-spacing:1.2px;font-size:11px}.header-title span{color:#89909e;border-left:1px solid #e5e8ef;padding-left:12px}.header-account{margin-left:auto;display:flex;align-items:center;gap:18px}.source-pill{display:flex;align-items:center;gap:5px;background:#f2edf9;color:#7650cc;padding:5px 9px;border-radius:4px;font-size:11px}.source-pill .rzi{font-size:16px}.aic-sidebar{background:#111c43!important;color:#d0d7ec;box-shadow:none!important}.brand{background:transparent;display:flex;align-items:center;padding:20px 18px;gap:12px;min-height:104px;color:#f5f7fc;border-bottom:1px solid #ffffff14}.brand:hover{color:#fff;text-decoration:none}.brand img{display:block;width:56px;height:56px;max-height:none;flex-shrink:0;object-fit:contain}.brand>span{min-width:0;font-size:26px;font-weight:750;letter-spacing:1.4px;line-height:1.1}.brand small{display:block;font-size:9.5px;font-weight:400;letter-spacing:0;color:#b7c4df;margin-top:6px;line-height:1.5}.menu-caption{font-size:9px;letter-spacing:1.7px;font-weight:650;color:#6c7a9f;margin:25px 22px 9px}.aic-menu{background:transparent!important;border:0!important;padding:0 10px}.aic-menu .rz-navigation-item{border:0!important;background:transparent!important}.aic-menu .rz-navigation-item-link{color:#c9cfe1!important;font-size:12px!important;padding:12px 12px!important;border-radius:5px!important;min-height:43px}.aic-menu .rz-navigation-item-icon{font-size:19px!important;color:#97a5c6!important;margin-inline-end:12px!important}.aic-menu .rz-navigation-item-link-active,.aic-menu .rz-navigation-item-link:hover{background:#27335a!important;color:white!important;text-decoration:none}.aic-menu .rz-navigation-item-link-active .rzi{color:#c2a8fc!important}.sidebar-note{border-top:1px solid #2a3559;margin:30px 20px 15px;padding-top:18px;display:flex;align-items:center;gap:10px;font-size:10px;color:#b5c3df}.sidebar-note>.rzi{color:#a58bdc;font-size:22px}.sidebar-note small{display:block;font-size:9px;color:#697da5;margin-top:6px}.aic-body{padding:24px 28px!important;background:#f0f1f7;min-width:0}.workspace-filter{display:flex;gap:17px;align-items:end;padding:0 0 23px;border-bottom:1px solid #dfe2ed;margin-bottom:25px}.workspace-filter>div{min-width:140px}.workspace-filter>div:first-child{min-width:225px}.workspace-filter label{font-size:10px;color:#7a8396;letter-spacing:.2px;margin-bottom:7px}.workspace-filter select{font-size:12px;height:38px;min-height:38px;border-color:#e0e3ed}.filter-status{margin-left:auto;align-self:center;font-size:10px;color:#7f8798;white-space:nowrap}.status-dot{display:inline-block;width:6px;height:6px;background:#28a87a;border-radius:50%;margin-right:6px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 25px}.page-heading p{margin:0;font-size:12px;color:#7f8594}.eyebrow{display:block;font-size:9px;letter-spacing:1.7px;color:#8c829e;font-weight:650;margin-bottom:8px}.page-actions{display:flex;align-items:center;gap:9px}.secondary-button{background:white;border:1px solid #dddfea;border-radius:5px;color:#696579;display:inline-flex;gap:8px;align-items:center;font-size:11px;font-weight:600;padding:9px 13px;white-space:nowrap}.secondary-button .rzi{font-size:17px}.secondary-button:hover{border-color:#bca4ed;text-decoration:none;color:#7650cc}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px;margin-bottom:24px}.metric-card{position:relative;display:flex;align-items:flex-start;background:white;border:1px solid #e9eaf1;border-radius:8px;padding:21px 17px 19px;min-height:137px;color:#343746;box-shadow:0 2px 4px #1b244004;transition:transform .15s,box-shadow .15s}.metric-card:hover{text-decoration:none;transform:translateY(-2px);box-shadow:0 7px 15px #1b24400c}.metric-icon{display:grid;place-items:center;width:43px;height:43px;flex-shrink:0;border-radius:7px;margin-right:12px;background:#f0eafa;color:#845adf}.metric-copy{min-width:0}.metric-copy>span{display:block;font-size:8px;letter-spacing:.65px;font-weight:650;color:#8c909a;margin:1px 0 12px;line-height:1.4}.metric-copy strong{display:block;font-size:21px;font-weight:650;letter-spacing:-.6px;white-space:normal}.metric-copy small{display:block;color:#8b91a0;font-size:10px;margin-top:8px;line-height:1.5}.metric-arrow{position:absolute;right:12px;top:12px;color:#c1c4ce;font-size:14px!important}.metric-card.blue .metric-icon{background:#e7f6fd;color:#23b7e5}.metric-card.gold .metric-icon{background:#fff5dd;color:#d49a22}.metric-card.green .metric-icon{background:#e5f6ef;color:#26a87e}.panel{background:white;border:1px solid #e6e8f0;border-radius:8px;padding:22px;margin-bottom:23px;min-width:0;box-shadow:0 2px 3px #22284c03}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.panel-heading h2{font-size:14px;margin-bottom:5px;padding-left:10px;border-left:3px solid #845adf}.panel-heading p{margin:0;color:#959aa6;font-size:11px}.panel-heading>a{font-size:11px}.panel-heading>.rzi{color:#b4a4d8}.dashboard-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:23px}.chart-caption{font-size:10px;color:#999eac;margin:12px 0 0}.chart-empty{height:215px;display:flex;align-items:center;justify-content:center;color:#969cad;font-size:12px}.crop-rank{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eff0f5;padding:11px 0;gap:12px}.crop-rank>div{display:grid;grid-template-columns:12px 1fr;column-gap:8px}.crop-rank strong{font-size:11px;font-weight:600}.crop-rank small{grid-column:2;color:#9298a7;font-size:10px;margin-top:3px}.crop-rank .measure{font-size:11px;text-align:right}.crop-dot{width:7px;height:7px;border-radius:50%;background:#ab8fe4;align-self:center}.panel-link{display:flex;align-items:center;justify-content:center;font-size:11px;margin-top:18px;gap:9px}.panel-link .rzi{font-size:16px}.status-badge{display:inline-block;padding:5px 8px;border-radius:4px;font-size:10px;line-height:1.3;white-space:normal}.status-badge.neutral{background:#f0edf7;color:#80689b}.status-badge.warning{background:#fff3d7;color:#ad7928}.status-badge.success{background:#e3f5ec;color:#27875d}.notice{padding:13px 16px;border-radius:6px;margin-bottom:20px;font-size:12px;line-height:1.7;border:1px solid transparent}.notice.subtle{background:#f7f6fb;color:#79748c;border-color:#e5e2ed}.notice.error{background:#fff0ee;color:#ae473d;border-color:#f5d4cd}.notice.success{background:#e9f8f0;color:#2a805a;border-color:#ccebdc}.notice-list{font-size:12px;color:#747b8c;line-height:1.8;margin:0;padding-left:18px}.notice-list li{margin-bottom:8px}.notice-list strong{color:#4e586e}.measure{display:inline-flex;flex-direction:column;gap:4px;font-variant-numeric:tabular-nums;line-height:1.35}.measure>span{font-weight:550}.measure>small{color:#949bab;font-size:10px}.source-ref{font-size:10px;color:#7f6ba3;word-break:break-word}.source-raw{display:block;color:#9299a8;font-size:10px;margin-top:5px;white-space:normal;overflow-wrap:anywhere}.rz-data-grid{border:0!important;border-radius:0!important;font-size:12px!important}.rz-grid-table thead th{background:#fafbfe!important;color:#83899a!important;font-size:10px!important;font-weight:650!important;border-bottom:1px solid #e7eaf2!important;padding:13px 12px!important}.rz-grid-table tbody td{border-bottom:1px solid #eff0f5!important;padding:13px 12px!important;font-size:11px!important;vertical-align:middle!important;color:#596174!important;white-space:normal!important}.rz-cell-data{white-space:normal!important;line-height:1.5;overflow-wrap:anywhere}.rz-grid-table tbody tr:hover td{background:#fbfaff!important}.rz-paginator{padding-top:15px!important;font-size:11px!important}.rz-paginator-page.rz-state-active{background:#845adf!important;color:white!important}.rz-grid-filter input{font-size:11px!important;padding:5px!important}.rz-paginator-element{min-width:30px!important;min-height:30px!important}.aic-footer{display:flex;justify-content:space-between;gap:20px;padding:8px 0 3px;color:#989eae;font-size:10px}.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:400px;background:white;border:1px solid #e3e5ee;border-radius:8px;padding:50px}.empty-state>div{width:76px;height:76px;border-radius:22px;background:#f0eafa;color:#845adf;display:grid;place-items:center;margin-bottom:25px}.empty-state>div .rzi{font-size:36px}.empty-state h2{font-size:22px}.empty-state p{font-size:13px;max-width:470px;margin-bottom:25px}.loading{padding:50px;text-align:center}.site-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.site-card{padding:22px}.site-card-heading{display:flex;align-items:center;gap:12px;margin-bottom:24px}.site-card-heading h2{margin:0;font-size:15px}.site-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;background:#edf6f1;color:#499474}.site-card dl{margin:0}.site-card dl>div{display:flex;justify-content:space-between;gap:16px;margin:17px 0}.site-card dt{font-size:11px;color:#979dab}.site-card dd{margin:0;text-align:right;font-size:12px}.site-card>small{display:block;color:#9298a8;margin:15px 0}.import-intake{display:flex;align-items:flex-start;gap:24px;padding:28px;border:1px dashed #c7b7e5;background:#fdfcff}.upload-symbol{background:#f0eafa;color:#845adf;display:grid;place-items:center;min-width:65px;height:65px;border-radius:15px}.upload-symbol .rzi{font-size:30px}.import-intake h2{font-size:18px}.import-intake p{font-size:12px;max-width:700px}.import-intake small{display:block;color:#9893a4;margin-top:10px}.file-picker{display:inline-flex;align-items:center;gap:12px;font-size:12px;color:#7650cc;font-weight:600}.file-picker input{font-size:11px;max-width:360px;border:0;padding:8px;background:#f3effb}.import-summary{display:flex;align-items:center;justify-content:space-between;gap:20px}.import-summary h2{font-size:18px;margin:10px 0}.import-summary p{font-size:11px;margin:0}.publish-panel p{font-size:12px;max-width:900px}.check-label{display:flex;align-items:flex-start;gap:9px;font-size:12px;font-weight:400;line-height:1.6;margin:17px 0}.check-label input{flex-shrink:0;margin-top:3px}.button-row{display:flex;gap:12px;margin-top:17px}.source-selectors{display:flex;gap:24px}.source-selectors>div:first-child{flex:2}.source-selectors>div:last-child{flex:1}.public-page{min-height:100vh}.login-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.login-story{position:relative;background:linear-gradient(140deg,#111c43,#1f2b56);padding:70px 12% 55px;color:white;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.login-story:after{content:"";position:absolute;bottom:-150px;right:-220px;width:650px;height:650px;border:1px solid #52619f38;border-radius:50%;box-shadow:0 0 0 90px #52619f09,0 0 0 180px #52619f06;pointer-events:none}.login-story img{width:170px;max-height:110px;object-fit:contain;background:white;border-radius:7px;padding:12px;margin-bottom:65px;align-self:flex-start}.login-story .eyebrow{color:#b3a0dc;margin-bottom:22px;font-size:10px}.login-story h1{font-size:46px;line-height:1.18;letter-spacing:-1.6px;font-weight:600;margin-bottom:25px}.login-story p{color:#9caacc;font-size:14px;line-height:1.9;margin-bottom:35px}.login-features{display:flex;flex-direction:column;gap:18px;font-size:12px;color:#c6cce0}.login-features span{display:flex;align-items:center;gap:12px}.login-features .rzi{color:#a98bdd;font-size:20px}.login-story>small{color:#6e7fa7;margin-top:65px;letter-spacing:1px;font-size:10px}.login-form{display:flex;flex-direction:column;justify-content:center;max-width:510px;width:100%;margin:auto;padding:65px}.login-form h2{font-size:27px;font-weight:650;letter-spacing:-.7px;line-height:1.25;margin:8px 0 12px}.login-form>p{font-size:13px;color:#9295a1;margin-bottom:30px}.login-form form>label{font-size:11px;margin-top:18px;margin-bottom:9px;color:#676b7c}.login-form input{height:46px;background:white;border-color:#dadde7}.primary-button{display:flex;align-items:center;justify-content:space-between;background:#845adf;color:white;font-weight:600;font-size:12px;border:0;padding:15px 18px;border-radius:5px;width:100%;margin-top:27px}.primary-button:hover{background:#724ac5}.login-footnote{display:flex;align-items:center;gap:13px;border-top:1px solid #dfe2eb;padding-top:25px;margin-top:30px;font-size:11px;color:#999dac;line-height:1.8}.login-footnote .rzi{font-size:25px;color:#aa9cc8}#blazor-error-ui{display:none;position:fixed;bottom:0;left:0;width:100%;z-index:2000;background:#fff4d5;padding:15px;color:#7c6231;border-top:1px solid #e5d7ad}.rz-dialog-wrapper,.rz-notification{font-family:inherit}.rzi{user-select:none}
@media(min-width:1700px){.aic-body{padding:30px 42px!important}.metric-card{padding:25px;min-height:145px}.metric-copy strong{font-size:27px}.metric-copy>span{font-size:9px}.dashboard-grid{grid-template-columns:1.6fr 1fr}}
@media(max-width:1250px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-filter{flex-wrap:wrap}.filter-status{display:none}.header-title span{display:none}.dashboard-grid{grid-template-columns:1fr 1fr}.aic-body{padding:22px!important}.login-story h1{font-size:38px}.login-form{padding:45px}}
@media(max-width:900px){.aic-layout{grid-template-areas:"rz-header rz-header" "rz-body rz-body"!important}.aic-sidebar{z-index:1000!important}.aic-body{padding:18px!important}.dashboard-grid{grid-template-columns:1fr}.header-account{gap:8px}.source-pill{display:none}.workspace-filter{gap:10px}.workspace-filter>div,.workspace-filter>div:first-child{min-width:calc(50% - 10px);flex:1}.login-shell{grid-template-columns:1fr}.login-story{padding:35px}.login-story img{margin-bottom:25px;width:125px}.login-story h1{font-size:33px;margin-bottom:12px}.login-story p{margin-bottom:0}.login-story>small,.login-features{display:none}.login-form{padding:35px;max-width:520px}.page-heading{align-items:flex-start}.page-actions{flex-wrap:wrap}.aic-footer span:last-child{display:none}}
@media(max-width:560px){.metric-grid,.site-cards{grid-template-columns:1fr}.page-heading{flex-direction:column;gap:12px}.metric-card{min-height:110px}.metric-copy strong{font-size:25px}.panel{padding:16px}.import-intake{flex-direction:column}.import-summary{flex-direction:column;align-items:flex-start}.source-selectors{flex-direction:column}.file-picker{flex-direction:column;align-items:flex-start}.file-picker input{max-width:100%}.header-title{font-size:10px}.aic-header{padding-right:10px}.button-row{flex-wrap:wrap}}
@media print{.aic-sidebar,.aic-header,.workspace-filter,.page-actions,.publish-panel,.aic-footer,.rz-paginator{display:none!important}.aic-layout{display:block!important}.aic-body{margin:0!important;padding:0!important}.panel{break-inside:avoid;box-shadow:none}.measure small{color:#555}.notice{border:1px solid #ddd}}

h1:focus { outline: none; }

.aic-sidebar {
  container: aimis-sidebar / size;
}

@container aimis-sidebar (max-height: 640px) {
  .aic-sidebar .brand {
    min-height: 0;
    padding-block: clamp(4px, calc(3cqh - 7px), 12px);
  }

  .aic-sidebar .brand img {
    width: clamp(36px, 9cqh, 56px);
    height: clamp(36px, 9cqh, 56px);
  }

  .aic-sidebar .brand > span {
    font-size: clamp(20px, 4.2cqh, 26px);
  }

  .aic-sidebar .brand small {
    margin-top: 3px;
    line-height: 1.3;
  }

  .aic-sidebar .menu-caption {
    margin-block: clamp(2px, calc(8cqh - 28px), 23px) clamp(2px, calc(1.5cqh - 3px), 8px);
    line-height: 1.3;
  }

  .aic-sidebar .aic-menu .rz-navigation-item-link {
    min-height: clamp(30px, 7.5cqh, 48px);
    padding-block: 3px !important;
  }
}

fieldset.workspace-filter { border: 0; border-bottom: 1px solid #dfe2eb; padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; min-width: 0; }
@media(max-width:900px) {
  .aic-layout { grid-template-areas:"rz-header" "rz-body"!important; grid-template-columns:minmax(0,1fr)!important; grid-template-rows:67px minmax(0,1fr)!important; }
  .aic-layout .aic-sidebar { position:fixed!important; grid-area:auto!important; top:67px; bottom:0; left:0; height:calc(100dvh - 67px); }
  .aic-body { min-height:0; min-width:0; }
}
.setup-shell { min-height:100vh; display:grid; place-items:center; padding:32px 18px; }
.account-panel { width:100%; max-width:650px; min-width:0; }
.account-panel label { margin-top:18px; }
.account-panel .form-hint { font-size:12px; margin-top:10px; }
.signin-password { position:relative; }
.signin-password input { padding-inline-end:48px; }
.signin-password input::-ms-reveal { display:none; }
.signin-password button { position:absolute; inset-block:3px; inset-inline-end:3px; width:40px; display:grid; place-items:center; border:0; border-radius:4px; background:transparent; color:#676b7c; }
.signin-password button:hover { background:#f2edf9; color:#7650cc; }
.signin-password button[hidden] { display:none; }

/* AIMIS sign-in */
.login-shell{min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,440px);gap:clamp(32px,7vw,110px);align-items:center;padding:clamp(16px,4dvh,48px) clamp(24px,6vw,90px);background:linear-gradient(90deg,rgba(4,26,39,.86) 0%,rgba(5,32,39,.65) 45%,rgba(5,30,30,.25) 100%),url('images/aimis-landscape.webp') center center/cover no-repeat fixed}
.login-story{position:relative;display:block;background:none;padding:0;color:#fff;overflow:visible}
.login-story:after{display:none}
.aimis-brand{display:flex;align-items:center;gap:22px;margin-bottom:clamp(24px,6dvh,52px)}
.login-story .aimis-brand img{display:block;width:clamp(105px,12vw,155px);height:auto;max-height:none;object-fit:contain;background:none;border-radius:0;padding:0;margin:0}
.aimis-name{font-size:clamp(48px,6vw,78px);font-weight:750;line-height:1;letter-spacing:2px}
.aimis-full-name{font-size:clamp(14px,1.55vw,20px);line-height:1.4;margin-top:8px;color:#f6f9f3}
.login-story h1{font-size:clamp(35px,4vw,54px);line-height:1.15;letter-spacing:-1.5px;font-weight:650;margin:0 0 20px;text-shadow:0 2px 12px #001b20aa}
.login-story h1:after{content:"";display:block;width:110px;height:4px;background:#dba526;border-radius:4px;margin-top:24px}
.login-story p{font-size:15px;color:#eef4ed;margin:0;text-shadow:0 1px 5px #001b20}
.login-form{display:flex;flex-direction:column;justify-content:center;width:100%;min-width:0;max-width:none;margin:0;padding:clamp(20px,4dvh,40px) clamp(24px,3.5vw,48px);background:#fff;border-radius:18px;box-shadow:0 22px 65px #071b2380;color:#112b36}
.login-form .eyebrow{color:#6b806f;letter-spacing:1.5px;margin-bottom:6px}
.login-form h2{color:#092b3c;font-size:27px;margin:4px 0 8px}
.login-form>p{color:#66777c;margin-bottom:12px}
.login-form form>label{color:#243f48;font-size:12px;margin-top:12px;margin-bottom:6px}
.login-form input{height:48px;border-color:#c8d3d0}
.login-form input:focus{outline-color:#75ab74}
.login-form .primary-button{background:#07304a;color:#fff;font-size:13px;min-height:48px;margin-top:20px}
.login-form .primary-button:hover{background:#15516a;text-decoration:none}
.login-form .primary-button:disabled{cursor:wait;background:#15516a}
.login-organization{display:flex;justify-content:center;flex-shrink:0;border-top:1px solid #e2e9e4;margin-top:20px;padding-top:16px}
/* Keep the official image intact while excluding its transparent top and bottom margins. */
.login-organization-logo{position:relative;overflow:hidden;width:190px;max-width:100%;aspect-ratio:2560/870}
.login-organization-logo img{position:absolute;top:-54.6%;left:0;display:block;width:100%;height:auto}
.signin-spinner{width:17px;height:17px;flex-shrink:0;border:2px solid #ffffff66;border-top-color:#fff;border-radius:50%;animation:signin-spin .8s linear infinite}
.signin-spinner[hidden]{display:none}
.signin-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@keyframes signin-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.signin-spinner{animation:none}}
.login-footnote{border-color:#e2e9e4;color:#768684;margin-top:20px;padding-top:16px;line-height:1.6}
.login-footnote .rzi{color:#78a779}
.signin-password button:hover{background:#edf5ee;color:#246f3b}
@media(max-width:900px){.login-shell{grid-template-columns:minmax(0,1fr);gap:24px;padding:clamp(16px,3dvh,32px) 24px;background-attachment:scroll;align-content:center}.login-story{padding:0;width:100%;max-width:520px;margin:0 auto}.aimis-brand{margin-bottom:0}.login-story .aimis-brand img{width:80px;margin:0}.aimis-name{font-size:42px}.aimis-full-name{font-size:13px}.login-story h1,.login-story p{display:none}.login-form{max-width:520px;margin:0 auto;padding-inline:32px}}
@media(max-width:400px){.login-shell{padding-inline:16px;gap:20px}.aimis-brand{gap:12px}.login-story .aimis-brand img{width:70px}.aimis-name{font-size:38px}.aimis-full-name{font-size:12px}.login-form{padding-inline:24px}.login-form h2{font-size:23px}}
@media(max-height:700px){.login-shell{padding-block:16px}.login-form{padding-block:20px}.login-form>p{margin-bottom:8px}.login-form form>label{margin-top:10px}.login-form .primary-button{margin-top:16px}.login-footnote{margin-top:16px;padding-top:12px}}

.production-columns,.production-category summary,.production-row,.production-total{display:grid;grid-template-columns:minmax(0,1fr) minmax(75px,auto) minmax(75px,auto);gap:10px;align-items:center}.production-columns{padding:4px 10px 10px;color:#858d9c;font-size:10px;text-transform:uppercase}.production-columns span:not(:first-child),.production-category summary>span:not(:first-child),.production-row span:not(:first-child),.production-total strong:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.production-category summary{cursor:pointer;list-style:none;background:#f7f5fc;border-top:1px solid #eaedf3;padding:12px 10px;font-size:12px;font-weight:650}.production-category summary::-webkit-details-marker{display:none}.category-name:before{content:'›';display:inline-block;width:20px;color:#845adf;font-size:17px;line-height:10px}.production-category[open] .category-name:before{content:'⌄'}.production-row{padding:10px 10px 10px 30px;border-top:1px solid #edf0f4;color:#596172;font-size:12px}.production-empty{padding:10px 30px;color:#858d9c;font-size:12px}.production-total{padding:12px 10px;background:#f0ebfa;color:#423167;font-size:12px}.production-note{font-size:11px;margin:14px 0;color:#7f8594}.production-to-date{min-width:0}

.monthly-production{margin-bottom:24px;min-width:0}.production-panels{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}.monthly-heading{gap:16px;align-items:flex-start}.production-toggle{display:flex;flex-shrink:0;padding:3px;border:1px solid #dddfea;border-radius:6px;background:#fff}.production-toggle button{border:0;background:transparent;color:#696f80;padding:8px 15px;border-radius:4px;font-size:12px;font-weight:600}.production-toggle button.selected{background:#845adf;color:white}.crop-period-scroll{max-width:100%;overflow-x:auto}.crop-period-table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums}.quarterly-table{min-width:590px}.crop-period-table th,.crop-period-table td{padding:10px 8px;text-align:right;border-bottom:1px solid #edf0f4;white-space:nowrap}.crop-period-table thead th{color:#838b9a;font-size:10px;font-weight:600}.crop-period-table th:first-child{text-align:left;min-width:155px}.period-category{background:#f7f5fc}.period-category th,.period-category td{font-weight:650;color:#343449}.period-expand{background:none;border:0;padding:0;text-align:left;color:inherit;font-weight:inherit}.period-expand span{display:inline-block;width:17px;color:#845adf;font-size:16px}.period-crop th{padding-left:27px!important;font-weight:400;color:#596172}.period-crop td{color:#596172}.crop-period-table .period-empty{text-align:left;color:#858d9c;padding-left:25px}.period-grand-total{background:#f0ebfa;color:#423167;font-weight:700}.quarterly-production{min-width:0}@media(max-width:1250px){.production-panels{grid-template-columns:1fr}}@media(max-width:600px){.monthly-heading{flex-direction:column}.production-toggle{align-self:flex-start}}

.quarterly-table{min-width:520px}.quarterly-table th,.quarterly-table td{padding-left:5px;padding-right:5px}

/* Keep all twelve months and the total within the monthly panel. */
.monthly-table{table-layout:fixed;font-size:10px}.monthly-table th,.monthly-table td{padding-left:3px;padding-right:3px;white-space:normal;overflow-wrap:anywhere}.monthly-table th:first-child{width:14%;min-width:0}.monthly-table .period-expand{overflow-wrap:anywhere}
.monthly-title{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.monthly-title h2{margin-bottom:0}.monthly-unit-toggle{display:inline-flex;margin-top:0}.monthly-chart-scroll{max-width:100%;overflow-x:auto}
.dashboard-summary{padding:20px;margin-bottom:24px;border:1px solid #dddfea;border-radius:9px;background:#e9ebf5}
.dashboard-summary .workspace-filter{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(125px,1fr) minmax(140px,1fr) minmax(190px,1.3fr) auto;gap:16px;align-items:end;margin:0 0 18px;padding:0 0 18px;border-bottom:1px solid #d5d9e7}
.dashboard-summary .workspace-filter>div,.dashboard-summary .workspace-filter>div:first-child{min-width:0}
.filter-refresh{margin-left:auto;align-self:end;min-width:0!important}
.summary-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.summary-context h2{font-size:14px;margin:0;color:#414b66}
.summary-context>span{font-size:11px;color:#6d7690}
.dashboard-summary .metric-grid{margin-bottom:0}
@media(max-width:1250px){.dashboard-summary .workspace-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-summary .filter-refresh{grid-column:1/-1}}
@media(max-width:560px){.dashboard-summary{padding:14px}.dashboard-summary .workspace-filter{grid-template-columns:minmax(0,1fr)}.summary-context{align-items:flex-start;flex-direction:column;gap:5px}}

/* Report worksheet matrix: independently scrollable, with visible KPI names and month headings. */
.reporting-panel { padding: 1rem; }
.reporting-scroll { max-height: 72vh; overflow: auto; border: 1px solid var(--line, #dbe1e8); }
.reporting-table { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; font-size: .875rem; }
.reporting-table caption { text-align: left; padding: .75rem; }
.reporting-table th, .reporting-table td { width: 165px; min-width: 165px; max-width: 220px; padding: .75rem; vertical-align: top; border-right: 1px solid #e2e8ef; border-bottom: 1px solid #e2e8ef; background: white; }
.reporting-table thead th { position: sticky; top: 0; z-index: 3; background: #edf2f7; }
.reporting-table th:first-child { position: sticky; left: 0; min-width: 300px; max-width: 360px; z-index: 2; text-align: left; }
.reporting-table thead th:first-child { z-index: 4; }
.reporting-table .reporting-group th { background: #e6edf5; color: #173556; }
.reporting-table small { display: block; margin-top: .4rem; color: #526378; }
.reporting-text { white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.reporting-table th .reporting-text { display: block; }
.reporting-full-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.reporting-table details[open] { min-width: 300px; }
.app-download-dialog { border-radius:14px; overflow:hidden; }
.app-download-dialog .rz-dialog-titlebar { padding:20px 26px; border-bottom:1px solid #ececf3; }
.app-download-dialog .rz-dialog-title { font-size:15px; font-weight:600; }
.app-download-dialog .app-download-dialog-content { padding:0; }
@media(max-width:600px) {
    .header-account { gap:8px; min-width:0; }
    .aic-header { padding-right:10px; }
}
.reporting-table .reporting-group td { background: #e6edf5; }
@media (max-width: 600px) {
    .reporting-table th:first-child { min-width: 170px; max-width: 170px; }
    .reporting-table th, .reporting-table td { padding: .6rem; }
}

.account-editor-dialog .rz-dialog-titlebar{padding:16px 22px 10px}.account-editor-dialog .rz-dialog-content{padding:10px 22px 18px}
body.report-fullscreen-open,body.report-fullscreen-open .aic-body{overflow:hidden!important}
body.report-fullscreen-open .aic-body{transform:none!important}

.crm-tabs { display:flex; flex-wrap:wrap; gap:.4rem; margin-bottom:1rem; }
.crm-tabs button { padding:.55rem .85rem; border:1px solid #dfe0e9; border-radius:6px; background:#fff; color:#37405a; cursor:pointer; }
.crm-tabs button[aria-pressed="true"] { border-color:#6851ae; background:#eee9fb; color:#442d86; font-weight:650; }
.crm-workspace-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    box-shadow: inset 0 -1px #dce0ed;
}
.crm-workspace-tabs button {
    min-height: 40px;
    padding: 8px 15px;
    border: 0;
    background: transparent;
    color: #1f2941;
    font-weight: 600;
}
.crm-workspace-tabs button:hover,
.crm-workspace-tabs button[aria-pressed="true"] { color: #542aa6; }
.crm-workspace-tabs button[aria-pressed="true"] { box-shadow: inset 0 -3px #7852bc; }
.crm-workspace-tabs button:disabled { cursor: default; }
@media (max-width: 680px) {
    .crm-workspace-tabs button { min-height: 38px; padding-inline: 10px; font-size: 13px; }
}
.crm-filters { display:flex; flex-wrap:wrap; align-items:flex-end; gap:.85rem; margin-bottom:1rem; }
.crm-form-grid, .crm-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr)); gap:.85rem 1.25rem; }
.crm-filters label, .crm-form-grid label { display:grid; gap:.35rem; font-size:.83rem; color:#3e4861; }
.crm-filters input:not([type="checkbox"]), .crm-filters select, .crm-form-grid input:not([type="checkbox"]),
.crm-form-grid select, .crm-form-grid textarea {
    min-width:0; width:100%; min-height:2.4rem; padding:.45rem .6rem; border:1px solid #c9cfdd; border-radius:5px;
    background:#fff; color:#222e45; font:inherit;
}
.crm-filters label:has(input[type="search"]) { flex:0 1 24rem; }
.crm-filters label.crm-check, .crm-form-grid label.crm-check, .crm-check { display:flex; align-items:center; gap:.45rem; min-height:2.4rem; }
.crm-facts { margin:.6rem 0 1.2rem; }
.crm-facts dt { font-size:.8rem; color:#59647c; }
.crm-facts dd { margin:.25rem 0 0; color:#273248; overflow-wrap:anywhere; }
.crm-editor { padding:1rem; margin:1rem 0; border:1px solid #e3e4ed; border-radius:6px; background:#fafafe; }
.crm-create-fields { min-width:0; margin:0; padding:0; border:0; }
.crm-profile > h2 { font-size:1rem; }
.crm-profile h3 { font-size:.95rem; margin:1.1rem 0 .65rem; }
.crm-profile-dialog-content { overflow:auto; }
.crm-profile-dialog-content .crm-profile { margin-bottom:0; }
.crm-profile-dialog-content:has(> .crm-profile-timeline) { display:flex; flex-direction:column; }
.crm-profile-dialog-content:has(> .crm-profile-timeline) > :not(.crm-profile-timeline),
.crm-profile-dialog-content > .crm-profile-timeline > :not(.crm-timeline-list) { flex-shrink:0; }
.crm-profile-dialog-content > .crm-profile-timeline { display:flex; flex-direction:column; min-height:0; }
.crm-profile-dialog-content .crm-timeline-list { min-height:0; }
.crm-profile-dialog-content .crm-timeline-list .rz-data-grid-data { overscroll-behavior:contain; }
@media (max-width: 600px) {
    .crm-profile-dialog-content:has(> .crm-profile-timeline) { padding-inline:1rem; }
    .crm-profile-dialog-content:has(> .crm-profile-timeline) > .crm-profile-dialog-heading { flex-wrap:nowrap; }
    .crm-profile-dialog-content:has(> .crm-profile-timeline) .crm-profile-dialog-heading > div { min-width:0; }
    .crm-profile-dialog-content:has(> .crm-profile-timeline) .crm-tabs button { padding-inline:.55rem; }
    .crm-profile-dialog-content > .crm-profile-timeline { padding-inline:.75rem; }
    .crm-profile-dialog-content .crm-profile-timeline .crm-action-heading .crm-action-button { padding-inline:.45rem; }
}
.crm-profile-dialog-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.75rem; margin-bottom:1rem; }
.crm-profile-dialog-heading h2 { margin-bottom:.25rem; overflow-wrap:anywhere; }
.crm-profile-dialog-heading p { margin:0; }
@media (max-height: 740px) {
    .crm-workspace-profile-dialog .rz-dialog-titlebar { padding-block:.85rem; }
    .crm-workspace-profile-dialog .crm-profile-dialog-content { padding-block:.65rem .85rem; }
    .crm-workspace-profile-dialog .crm-profile-dialog-heading,
    .crm-workspace-profile-dialog .crm-tabs { margin-bottom:.65rem; }
    .crm-workspace-profile-dialog .crm-profile-dialog-content > .notice { padding-block:.45rem; margin-bottom:.65rem; }
    .crm-workspace-profile-dialog .crm-profile { padding-block:1rem; }
    .crm-workspace-profile-dialog .crm-profile > .panel-heading { margin-bottom:.7rem; }
    .crm-workspace-profile-dialog .crm-facts { row-gap:.55rem; margin:.45rem 0 .75rem; }
    .crm-workspace-profile-dialog .crm-facts dd { margin-top:.15rem; }
    .crm-workspace-profile-dialog .crm-profile > .button-row { margin-top:.75rem; }
}
.crm-hint { color:#526078; font-size:.85rem; }
.crm-link { border:0; padding:.15rem; background:none; color:#5634a4; text-decoration:underline; cursor:pointer; font:inherit; }
.crm-link:disabled { cursor:default; opacity:.55; }
.crm-row-actions { display:flex; flex-wrap:wrap; gap:.5rem; }
.crm-action-heading { flex-wrap:wrap; }
.crm-action-button {
    display:inline-flex; align-items:center; gap:.4rem; min-height:44px; padding:.4rem .7rem;
    border:1px solid #c9b9ea; border-radius:6px; background:#fff; color:#5634a4;
    font-size:.9rem; font-weight:600; white-space:nowrap;
}
.crm-action-button:hover:not(:disabled) { background:#f5efff; text-decoration:none; }
.crm-action-button:disabled { cursor:default; opacity:.55; }
.crm-action-button .rzi { font-size:20px; }
.crm-action-icon { justify-content:center; width:44px; padding:0; }
.crm-wide { grid-column:1 / -1; }
.crm-note { white-space:pre-wrap; }
.crm-communication { display:grid; gap:.35rem; min-width:0; overflow-wrap:anywhere; padding:.4rem 0; }
.crm-message-status { color:#465977; font-size:.85rem; }
.crm-communication details > summary { cursor:pointer; }
.crm-channel-settings { display:flex; gap:1rem; flex-wrap:wrap; border:1px solid #ccd6e5; border-radius:.4rem; }
.crm-pair-code { width:min(100%,42rem); }
.crm-match-list { display:grid; gap:.35rem; }
.crm-overdue { color:#922f31; font-weight:700; }
.crm-transitions { margin-top:1rem; border:1px solid #e3e4ed; border-radius:5px; padding:.6rem 1rem; }
.crm-transitions legend { font-size:.86rem; font-weight:650; padding:0 .35rem; }
