/* VyaraRecon workspace design system */
:root{
  color-scheme:light;
  font-size:16px;
  font-family:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  --ink:#1a251f;
  --heading:#12281c;
  --muted:#57655d;
  --line:#e2e7e3;
  --paper:#fff;
  --surface:#f9faf9;
  --green:#176b45;
  --green-dark:#125638;
  --green-light:#eaf3ee;
  --focus:#5b9b78;
  --shadow:0 8px 24px rgba(16,24,40,.07);
  background:#fff;
  color:var(--ink);
}
*,*::before,*::after{box-sizing:border-box;font-family:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{background:#fff;color:var(--ink);font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
:focus-visible{outline:2px solid rgba(23,107,69,0.35)!important;outline-offset:2px}
button:focus-visible,.button:focus-visible{outline:none!important;box-shadow:0 0 0 3px rgba(23,107,69,0.25)!important}

button:disabled{cursor:not-allowed;opacity:.55}

/* Modern Enterprise Button System */
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:40px;
  padding:0 16px;
  border-radius:9px;
  font-size:13px;
  font-weight:600;
  letter-spacing:-0.01em;
  cursor:pointer;
  transition:all .15s cubic-bezier(0.16, 1, 0.3, 1);
  border:1px solid transparent;
  text-decoration:none;
  user-select:none;
  white-space:nowrap;
}
.button:hover{transform:translateY(-1px)}
.button:active{transform:translateY(0)}
.button.dark{
  background:linear-gradient(180deg, #1f6b49 0%, #155439 100%);
  border-color:#144f35;
  color:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,0.06), 0 2px 5px rgba(23,107,69,0.18);
}
.button.dark:hover{
  background:linear-gradient(180deg, #237853 0%, #175d3f 100%);
  box-shadow:0 3px 8px rgba(0,0,0,0.08), 0 5px 14px rgba(23,107,69,0.25);
}
.button.outline{
  background:#fff;
  border:1px solid #d4ddd5;
  color:#27392e;
  box-shadow:0 1px 2px rgba(16,24,40,0.04);
}
.button.outline:hover{
  background:#f4f8f4;
  border-color:#b9ccbd;
  color:#165b3b;
}
.button.whatsapp{
  background:#25D366;
  border-color:#20ba5a;
  color:#fff;
  box-shadow:0 2px 6px rgba(37,211,102,0.25);
}
.button.whatsapp:hover{
  background:#20ba5a;
  box-shadow:0 4px 12px rgba(37,211,102,0.35);
}
.button.danger{
  background:#fef2f2;
  border-color:#fecaca;
  color:#b91c1c;
}
.button.danger:hover{
  background:#fee2e2;
  border-color:#fca5a5;
}
.button.secondary{
  background:#eef4f0;
  border-color:#dbe7df;
  color:#1d4e35;
}
.button.secondary:hover{
  background:#e2ede5;
}
input,select,textarea{border-radius:5px;border-color:#cfd8d3;color:var(--ink)}
input:focus,select:focus,textarea:focus{border-color:#438362;box-shadow:0 0 0 3px #176b4517}
.kicker,.eyebrow{color:#526b5c}
.workflow-steps article{grid-template-columns:40px minmax(0,1fr);align-items:start}
.workflow-steps article>span{display:grid;place-items:center;width:32px;height:32px;min-width:32px;margin-top:1px;border:2px solid var(--green)!important;border-radius:50%;background:var(--green)!important;color:#fff!important;font:700 14px/1 "Plus Jakarta Sans",sans-serif!important;box-shadow:0 0 0 3px #176b4512}
.workflow-steps h3{font-size:15px;line-height:1.35;color:#2e4437}
.workflow-steps p{font-size:13px;line-height:1.65;color:#526157}
.details-section .section-intro{max-width:720px}
.detail-grid article{min-height:118px}
.detail-grid h3{font-size:16px;color:#2c4033}
.detail-grid p{font-size:13px;line-height:1.65;color:#526157}
.scope-note{display:block;margin:16px 0 0;padding:0;border:0;border-radius:0;background:transparent;color:#5b6572;font-size:12px;line-height:1.6}
.scope-note strong{color:#344b3c;font-size:12px;font-weight:650}
.scope-note span{display:inline}
.plan-card p,.plan-card li{font-size:13px;line-height:1.6}
.plan-note{font-size:11px;line-height:1.6}
.faq-list summary{color:#2d4235}
.faq-list p{font-size:13px;line-height:1.65;color:#526157}
.site-footer{border-top:1px solid var(--line)}

/* Signed-in workspace */
.app-shell,.main-area,.app-content{background:#fff}
.app-shell{background:var(--surface)}
.sidebar{background:#fff;border-color:var(--line);box-shadow:1px 0 0 rgba(16,24,40,.015)}
.app-nav{gap:3px}
.app-nav>p{font-size:10px;letter-spacing:.08em;color:#66746d}
.nav-link{min-height:40px;border-radius:6px;font-size:13px;color:#34453c}
.nav-link:hover,.nav-link.active{background:#f2f8f4;color:#165b3b}
.nav-link.active{box-shadow:inset 2px 0 var(--green)}
.nav-link:focus-visible{outline-offset:-2px}
.workspace-switch strong{font-size:13px}
.workspace-switch small,.sidebar-foot,.breadcrumbs{font-size:11px}
.topbar{background:rgba(255,255,255,.97);backdrop-filter:saturate(140%) blur(10px);border-bottom-color:var(--line)}
.global-search{border-color:#dce3df;background:#f9fbfa}
.global-search input{font-size:13px}
.global-search:focus-within{border-color:#6da182;box-shadow:0 0 0 3px #176b4516}
.app-content{max-width:1520px;font-size:14px;line-height:1.55}
.page-heading{align-items:center;margin-bottom:24px}
.page-heading h1{color:var(--heading);font-size:28px;line-height:1.2;letter-spacing:-.65px}
.page-heading .muted{font-size:14px;line-height:1.55}
.eyebrow{font-size:10px;letter-spacing:.075em}
.panel{border-color:var(--line);box-shadow:0 1px 2px rgba(16,24,40,.025)}
.panel-head{padding-bottom:13px;border-color:var(--line)}
.panel-head h2,.export-card h2{font-size:16px;letter-spacing:-.15px}
.panel-head p,.metric-card small,.settings-row p,.upload-note,.fine-print{font-size:12px;line-height:1.55;color:#5b6870}
.metric-card>span,.settings-row h2,.tool-card label,.client-form label,.ocr-field-grid label{font-size:13px}
.metric-card strong,.result-metrics strong{font-variant-numeric:tabular-nums}
input:not([type=checkbox]),select,textarea{min-height:40px}
label{line-height:1.45}
.table-wrap{overflow:auto;width:100%;border:1px solid var(--line);border-radius:8px;background:#fff}
.table-wrap table{min-width:680px;font-size:12px;font-variant-numeric:tabular-nums}
.table-wrap th{position:sticky;top:0;z-index:1;background:#f7f9f8;color:#47564e;font-size:11px;font-weight:650;letter-spacing:.015em}
.table-wrap td{padding-block:10px;color:#34443b;font-size:12px;line-height:1.45}
.table-wrap tbody tr:nth-child(even){background:#fcfdfc}
.table-wrap tbody tr:hover{background:#f3f8f5}
.table-wrap input[type=checkbox]{width:16px;height:16px;min-height:16px;accent-color:var(--green)}
.results-tabs button{min-height:36px;border-radius:6px}
.results-tabs button:focus-visible{outline-offset:-2px}
.upload-card{border-color:#d8e1db;background:#fbfdfb}
.upload-card:hover{border-color:#6c9d7f;background:#f5faf6}
.upload-card:focus-within{outline:3px solid #5b9b7840;outline-offset:2px}
.tag,.pill{font-weight:600}
.user-menu{border:1px solid var(--line);box-shadow:0 10px 28px rgba(16,24,40,.12);border-radius:8px}
.dialog{max-height:min(85vh,850px);overflow:auto;border-color:var(--line);border-radius:10px}
.dialog::backdrop{background:rgba(16,24,40,.35);backdrop-filter:blur(2px)}

/* Saved reconciliation register */
.history-actions{display:flex;gap:8px;flex-wrap:wrap}
.history-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}
.history-summary article{min-width:0;padding:15px 17px;border:1px solid var(--line);border-radius:8px;background:#fff}
.history-summary span{display:block;color:#5b6870;font-size:12px}
.history-summary strong{display:block;margin-top:4px;color:var(--heading);font-size:23px;font-variant-numeric:tabular-nums}
.history-panel{padding:16px}
.history-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(150px,.5fr) minmax(150px,.5fr) auto;align-items:end;gap:10px;margin-bottom:14px}
.history-toolbar label{display:grid;gap:5px;color:#47564e;font-size:12px;font-weight:600}
.history-toolbar input,.history-toolbar select{width:100%;min-width:0}
.history-toolbar .button{white-space:nowrap}

/* Auth and legal pages */
.auth-screen,.legal-page{background:#fff;color:var(--ink)}
.auth-card{padding:30px;border-color:var(--line);border-radius:10px;box-shadow:var(--shadow)}
.auth-card h1{color:var(--heading);font-size:28px;letter-spacing:-.6px}
.auth-lede{font-size:14px;line-height:1.6;color:var(--muted)}
.legal-content{max-width:860px}
.legal-content h1{font-size:36px}
.legal-card{padding:30px}
.legal-card p,.legal-card li{font-size:14px;line-height:1.75;color:#475467}
.legal-card h2{font-size:17px;letter-spacing:-.2px;color:var(--ink)}
.legal-notice{border:1px solid var(--line);border-left:3px solid var(--green);border-radius:6px;color:#475467}

/* History controls */
.history-toolbar{grid-template-columns:minmax(220px,1fr) minmax(150px,.5fr) minmax(150px,.5fr) auto}

@media(max-width:800px){
  html{scroll-padding-top:68px}
  .hero{min-height:auto}
  .legal-card{padding:24px}
  .history-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .history-search{grid-column:1/-1}
}
@media(max-width:700px){
  .sidebar{background:#fff}
  .topbar{backdrop-filter:none}
  .table-wrap{max-height:65vh}
  .page-heading{align-items:flex-start}
  .nav-link{min-height:44px}
  .global-search input{font-size:14px}
  .app-content{padding-bottom:24px}
}
@media(max-width:540px){
  .scope-note{padding:0}
  .topbar{gap:5px}
  .breadcrumbs{min-width:0;flex:1;overflow:hidden;white-space:nowrap}
  .breadcrumbs>strong{overflow:hidden;text-overflow:ellipsis}
  .top-actions{min-width:0;flex:0 1 auto}
  .global-search{width:clamp(104px,42vw,164px);min-width:104px}
  .user-button{flex:none}
  .workflow-steps article{grid-template-columns:36px minmax(0,1fr);gap:10px}
  .workflow-steps article>span{width:30px;height:30px;min-width:30px}
  .scope-note{padding:12px;font-size:12px}
  .history-summary{gap:7px}
  .history-summary article{padding:11px}
  .history-summary span{font-size:10px}
  .history-summary strong{font-size:19px}
  .history-toolbar{grid-template-columns:1fr}
  .history-search{grid-column:auto}
  .history-actions{width:100%}
  .history-actions .button{flex:1}
  .legal-card{padding:20px}
  .legal-card p,.legal-card li{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}
.import-panel>.panel-head>div{min-width:0;flex:1}
.import-panel>.panel-head>.step-tag{flex:none;white-space:nowrap;margin-left:auto;padding-top:3px}
/* Readability pass: keep secondary copy legible at every breakpoint. */
.kicker,.eyebrow,.feature-index,.plan-label,.preview-kicker,.file-type,.preview-head,.preview-footer,.step-tag{font-size:11px;line-height:1.4;letter-spacing:.04em}
.hero-note,.hero-proof,.trust-inner>span,.preview-state,.preview-file small,.preview-row,.preview-head,.preview-footer{font-size:12px;line-height:1.45}
.preview-state{max-width:155px;white-space:normal;text-align:center;align-self:flex-start}
.preview-files{align-items:stretch}
.preview-file small{display:block;white-space:normal}
.preview-label strong,.preview-row>span{font-size:12px}
.feature-card p,.detail-grid p,.workflow-steps p,.faq-list p,.plan-card p,.plan-card li{font-size:14px;line-height:1.65}
.feature-card h3,.detail-grid h3,.workflow-steps h3{font-size:16px;line-height:1.4}
.trust-inner>span:first-child{font-size:11px}
.app-nav>p{font-size:11px}
.welcome-banner p:not(.kicker){font-size:14px;line-height:1.6}
.welcome-banner a{font-size:13px}
.stack-file,.stack-file b{font-size:12px}
.checklist li,.checklist li span{font-size:12px;line-height:1.5}
.quick-actions span{font-size:11px}
.quick-actions b{font-size:13px}
.empty-state p,.empty-state strong{font-size:14px;line-height:1.5}
.page-heading .button,.table-toolbar .text-action,.row-link,.results-tabs button,.decision-select{font-size:12px}
.step-tag{font-size:11px;color:#526157}
.upload-icon{font-size:18px}
.upload-card strong{font-size:14px}
.upload-card span:nth-of-type(2),.upload-card small{font-size:12px;line-height:1.45}
.upload-note,.upload-note>span,.fine-print,.form-error{font-size:12px;line-height:1.55}
.result-metrics span,.result-metrics strong{font-size:12px}
.tag,.pill{font-size:11px;line-height:1.4}
.tool-card label,.client-form label,.ocr-field-grid label,.ledger-form label{font-size:12px}
.tool-card>p,.tool-result,.tool-note,.ledger-status,.ledger-error{font-size:12px;line-height:1.55}
.capture-main strong,.capture-main span,.capture-confidence,.ocr-field-grid input{font-size:12px}
.export-card p,.settings-row>a,.app-footer{font-size:12px;line-height:1.55}
.auth-form label,.auth-lede,.auth-terms,.auth-footer{font-size:13px;line-height:1.55}
@media(max-width:540px){
  .preview-top{align-items:flex-start;flex-wrap:wrap}
  .preview-state{max-width:145px;font-size:11px}
  .preview-files{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr)}
  .preview-file{min-width:0}
  .preview-file strong,.preview-file small{font-size:11px;overflow-wrap:anywhere}
  .preview-head,.preview-row{grid-template-columns:minmax(92px,.9fr) minmax(0,1fr)}
  .preview-head,.preview-row,.preview-row>span,.preview-label strong{font-size:11px}
  .trust-inner>span{font-size:11px}
  .hero-note{font-size:12px}
  .feature-card p,.detail-grid p,.faq-list p,.plan-card p,.plan-card li{font-size:13px}
  .app-footer{font-size:11px}
  .upload-grid{grid-template-columns:1fr}
}
@media(max-width:360px){
  .hero-cta .button{font-size:12px}
  .preview-state{max-width:120px}
  .preview-row>span{overflow-wrap:anywhere}
  .site-actions .button{font-size:11px}
}
/* Minimum readable size for metadata and supporting copy. */
.feature-art .directory-line span,.feature-art .export-work>span,.feature-art .ocr-sheet>span,.feature-art .confidence,.feature-art .work-step span,.feature-art .work-step small,.feature-art .work-result{font-size:11px;line-height:1.45}
.legal-eyebrow,.legal-updated,.legal-footer,.legal-footer a,.legal-header .legal-back,.legal-notice{font-size:12px;line-height:1.55}
@media(max-width:540px){.legal-eyebrow,.legal-updated,.legal-footer,.legal-footer a,.legal-header .legal-back{font-size:11px}}
.feature-art .export-work small,.feature-art .ocr-sheet>b{font-size:11px;line-height:1.45}
.tolerance-fields>p{font-size:12px;line-height:1.55}
.upload-note>span:first-child{display:grid;place-items:center;width:18px;height:18px;font-size:12px;font-weight:700;line-height:1}
.site-actions .button,.hero-cta .button,.page-heading .button,.form-actions .button{font-size:12px}
.auth-divider>span,.google-status{font-size:12px;line-height:1.5}
@media(max-width:360px){.site-actions .button{font-size:11px;padding-inline:8px}.hero-cta .button{font-size:12px;padding-inline:10px}}
.activation-card{width:min(100%,520px)}
.activation-card .auth-terms{margin:14px 0 0}
.device-id-block{display:grid;gap:7px;margin:18px 0 20px;padding:13px;border:1px solid var(--line);border-radius:7px;background:#f8faf9}
.device-id-block>label{font-size:12px;font-weight:650;color:#34443b}
.device-id-block>div{display:flex;align-items:center;gap:9px;min-width:0}
.device-id-block code{min-width:0;flex:1;overflow-wrap:anywhere;font:12px/1.5 ui-monospace,Consolas,monospace;color:#34443b}
.device-id-block .button{flex:none;min-height:36px}
.activation-card textarea{width:100%;min-height:124px;padding:11px;resize:vertical;font:12px/1.55 ui-monospace,Consolas,monospace;letter-spacing:0}
.activation-card .form-message{min-height:18px;font-size:12px;line-height:1.5}
@media(max-width:420px){.device-id-block>div{align-items:stretch;flex-direction:column}.device-id-block .button{width:100%}}

/* Ledger-first workspace: plain navigation, consistent line icons, no template cards. */
#app *,#authScreen *,#licenseScreen *{font-family:Inter,"Segoe UI Variable","Segoe UI",system-ui,sans-serif!important}
.app-shell{background:#f5f7f5}
.sidebar{width:248px;padding:20px 14px 14px;background:#f6f8f6;border-color:#e3e8e4;box-shadow:none}
.sidebar>.brand{padding:0 7px;margin:1px 0 18px;gap:10px}
.workspace-switch{margin:0 5px 12px;padding:11px 4px;border:0;border-bottom:1px solid #e1e7e2;border-radius:0;background:transparent;gap:10px}
.workspace-avatar{width:30px;height:30px;border-radius:5px;background:#e6eee8;color:#214e37;font-size:11px}
.workspace-switch small{font-size:11px;letter-spacing:0;color:#68756d}
.workspace-switch strong{font-size:13px;color:#24362b}
.workspace-switch button{display:grid;place-items:center;width:28px;height:28px;border-radius:4px}
.workspace-switch button:hover{background:#e9efeb}
.app-nav{gap:1px;padding:0 0 10px}
.app-nav>p,.app-nav>p.nav-group-label{margin:14px 0 4px;padding:0 9px;font-size:11px;line-height:1.4;letter-spacing:0;font-weight:650;color:#758279;text-transform:none}
.nav-link{min-height:38px;padding:0 10px;gap:11px;border-radius:4px;color:#3e4d44;font-size:13px;font-weight:500}
.nav-link:hover{background:#ebf0ec;color:#214e37}
.nav-link.active{background:#e7efe9;color:#17472f;font-weight:650;box-shadow:inset 3px 0 #176b45}
.nav-link svg{width:17px;height:17px;flex:none;stroke-width:1.65}
.nav-link .nav-count{font-size:10px;padding:2px 7px}
.sidebar-foot{min-height:38px;padding:10px 4px 0;border-color:#e1e7e2;font-size:11px;color:#6b776e}
.main-area{margin-left:248px;min-width:0}
.app-content{width:100%;min-width:0;margin-inline:auto}
.topbar{height:64px;background:#fff;border-color:#e6ebe7;backdrop-filter:none}
.top-actions{gap:16px}
.global-search{height:38px;width:clamp(240px,26vw,340px);border-radius:5px;background:#f8faf8}
.global-search input{font-size:13px;outline:0!important;box-shadow:none!important}
.global-search:focus-within{border-color:#3f805d;outline:2px solid #3f805d;outline-offset:1px;box-shadow:none}
.global-search input:focus-visible{outline:0!important;box-shadow:none!important}
.empty-mark svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.search-icon,.chevron-icon,.menu-icon{display:block;width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.user-button .chevron-icon,.workspace-switch .chevron-icon{width:14px;height:14px}
.settings-panel{min-width:0}
.settings-panel .settings-row{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(0,1.2fr);align-items:center;gap:24px;min-width:0;padding:15px 0}
.settings-row>div{min-width:0;max-width:none}
.settings-row>span,.settings-row>a{justify-self:start}
.settings-row form{width:100%;min-width:0;max-width:100%}
.password-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:8px}
.password-form input{width:100%;min-width:0}
.password-form .button{grid-column:1/-1;justify-self:start;max-width:100%}
.danger-row form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}
.danger-row input{width:100%;min-width:0}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #3f805d!important;outline-offset:1px;box-shadow:none!important}
.global-search input:focus-visible{outline:0!important}
@media(max-width:980px){
  .settings-panel .settings-row{grid-template-columns:minmax(0,1fr);gap:9px;padding:14px 0}
  .settings-row form{max-width:640px}
  .history-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .history-search{grid-column:1/-1}
}
@media(max-width:700px){
  .sidebar{width:248px}
  .main-area{margin-left:0}
  .global-search{width:clamp(120px,40vw,220px);min-width:0}
  .top-actions{gap:8px}
}
@media(max-width:540px){
  .settings-panel .settings-row{grid-template-columns:minmax(0,1fr)}
  .password-form{grid-template-columns:minmax(0,1fr)}
  .password-form .button{grid-column:1}
  .danger-row form{grid-template-columns:minmax(0,1fr)}
  .global-search{width:clamp(104px,34vw,164px)}
}

/* Account controls: editable identity, clear hierarchy and compact menus. */
.user-menu{display:grid;gap:2px;min-width:190px;padding:5px;background:#fff}
.user-menu[hidden]{display:none}
.user-menu button{min-height:38px;padding:0 11px;border:0;border-radius:4px;background:transparent;text-align:left;color:#34443a;font:500 13px/1.4 Inter,"Segoe UI",system-ui,sans-serif;cursor:pointer}
.user-menu button:hover{background:#f2f5f2}
.avatar.has-photo{overflow:hidden;padding:0;background:#eef2ee}
.avatar.has-photo img{display:block;width:100%;height:100%;object-fit:cover}
.settings-panel .settings-row.profile-row{align-items:start;padding:20px 0}
.profile-form{display:grid;grid-template-columns:minmax(190px,1fr) auto auto auto;align-items:center;gap:10px;width:100%;max-width:none!important}
.profile-preview{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding-bottom:5px}
.profile-preview>span:last-child{display:grid;gap:3px;min-width:0}
.profile-preview strong{font-size:14px;color:#24362b}
.profile-preview small{font-size:12px;color:#69766e;overflow-wrap:anywhere}
.profile-avatar{width:48px;height:48px;font-size:17px}
.profile-name-label{display:grid;gap:6px;font-size:12px;font-weight:600;color:#435148}
.profile-name-label input{width:100%;min-width:0}
.profile-photo-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;white-space:nowrap;cursor:pointer}
.profile-form>.button.quiet{min-height:40px}
.profile-form>button[type=submit]{min-height:40px;white-space:nowrap}
.profile-form .form-message{grid-column:1/-1;margin:0;min-height:0}
.profile-row>div{align-self:start}
.batch-control{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 2px;color:#5b6870;font-size:13px}
.batch-control[hidden]{display:none}
.batch-control .button{min-height:38px;white-space:nowrap}
.run-export-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;max-width:100%}
.run-export-actions .button{min-height:38px;white-space:nowrap}
.return-totals-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:14px 16px;margin-block:18px 24px}
.return-totals-form>label{display:grid;gap:7px;min-width:0;color:#34443b;font-size:13px;font-weight:600}
.return-totals-form input{width:100%;min-width:0}
.return-totals-form>button{min-height:42px;justify-self:start}
@media(max-width:850px){.return-totals-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.return-totals-form{grid-template-columns:minmax(0,1fr)}.return-totals-form>button{width:100%}}
@media(max-width:720px){.run-export-actions{width:100%;justify-content:flex-start}.run-export-actions .button{flex:1 1 145px}}
@media(max-width:1450px){
  .settings-panel .settings-row{grid-template-columns:minmax(0,1fr);gap:10px;padding:16px 0}
  .profile-form{grid-template-columns:minmax(0,1fr) auto auto}
  .profile-name-label{grid-column:1/-1}
}
@media(max-width:640px){
  .batch-control{align-items:stretch;flex-direction:column}
  .batch-control .button{width:100%}
  .profile-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .profile-form .profile-preview,.profile-form .profile-name-label,.profile-form .form-message{grid-column:1/-1}
  .profile-photo-button,.profile-form>.button.quiet,.profile-form>button[type=submit]{width:100%;padding-inline:8px;font-size:12px}
  .user-menu{right:8px;top:calc(100% - 2px)}
}

/* Public website: one type system, a real workflow illustration, and a user-driven feature carousel. */
html,body,body *{font-family:Inter,"Segoe UI Variable","Segoe UI",system-ui,sans-serif!important}
html,:root,body,.landing{background:#fff;color:#26332c}
.site-header{height:72px;background:#fff;border-bottom:1px solid #e5e9e6}
.brand{color:#183b2c;font-size:20px;letter-spacing:-.35px}
.brand-icon{width:36px;height:36px;border-radius:6px;background:#176b45;box-shadow:none}
.brand-icon svg{width:23px;height:23px;stroke:#fff;stroke-width:2.3}
.site-nav{gap:26px}
.site-nav a{font-size:13px;color:#4f5d54}
.hero{min-height:510px;padding-block:64px;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:clamp(34px,6vw,86px)}
.hero-copy{max-width:610px}
.hero-copy .kicker{font-size:12px;letter-spacing:.01em;font-weight:600;color:#476553}
.hero h1{max-width:600px;margin:18px 0 16px;font-size:clamp(38px,4.5vw,58px);line-height:1.08;letter-spacing:-1.7px;font-weight:650;color:#172b21}
.hero-lede{max-width:560px;font-size:16px;line-height:1.65;color:#536159}
.hero-cta{margin-top:24px}
.hero-note{max-width:560px;margin-top:14px;font-size:12px;color:#657169}
.hero-art{min-height:0;display:block;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.hero-art::before,.hero-art::after{content:none}
.workflow-diagram{width:100%;max-width:500px;margin:auto;padding:24px;border:1px solid #dfe6e1;border-radius:5px;background:#fff}
.workflow-diagram-head{display:grid;gap:5px;padding-bottom:17px;border-bottom:1px solid #e7ece8}
.workflow-diagram-head span{font-size:11px;color:#64736a;letter-spacing:.02em}
.workflow-diagram-head strong{font-size:18px;font-weight:600;color:#26392e}
.workflow-source{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:11px;padding:16px 0;border-bottom:1px solid #edf0ed}
.workflow-source-no{font-size:12px;font-variant-numeric:tabular-nums;color:#78857c}
.workflow-source>div{display:grid;gap:3px}
.workflow-source strong,.workflow-output strong{font-size:14px;color:#2d3b33;font-weight:600}
.workflow-source small,.workflow-output small{font-size:12px;color:#657169;line-height:1.5}
.workflow-compare{display:grid;gap:4px;padding:15px 0;border-bottom:1px solid #edf0ed}
.workflow-compare span,.workflow-output>span{font-size:11px;color:#64736a}
.workflow-compare strong{font-size:13px;color:#37483d;font-weight:550}
.workflow-output{display:grid;padding-top:15px}
.workflow-output>div{display:grid;gap:3px}
.trust-strip{background:#f7f9f7;border-block:1px solid #e7ece8}
.trust-inner{min-height:60px;justify-content:space-between;gap:16px;color:#4f5d54;font-size:12px}
.trust-inner>span:first-child{font-size:12px;letter-spacing:0;font-weight:550;color:#4f5d54}
.trust-inner i{display:none}
.section{padding-block:78px}
.section-intro{max-width:720px;margin-bottom:32px}
.section-intro .kicker{font-size:12px;letter-spacing:0;font-weight:600;color:#476553}
.section-intro h2,.workflow-inner h2{max-width:720px;font-size:clamp(29px,3.3vw,42px);line-height:1.18;letter-spacing:-1.1px;font-weight:620;color:#172b21}
.section-intro>p:last-child,.workflow-inner>div>p:not(.kicker){font-size:15px;line-height:1.65;color:#536159}
.feature-showcase{max-width:1060px;margin:0 auto;border-top:1px solid #dfe6e1;border-bottom:1px solid #dfe6e1;background:#fff}
.feature-window{overflow:hidden}
.feature-track{display:flex;transition:transform .24s ease}
.feature-slide{min-width:100%;min-height:284px;padding:34px clamp(20px,5vw,58px);display:grid;grid-template-rows:auto 1fr;gap:27px;background:#fff}
.feature-slide-meta{display:flex;align-items:center;gap:13px;color:#627067;font-size:12px}
.feature-slide-meta>span:first-child{font-variant-numeric:tabular-nums;color:#176b45;font-weight:600}
.feature-slide-meta>span+span{padding-left:13px;border-left:1px solid #dfe6e1}
.feature-slide-body{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr) minmax(190px,.8fr);gap:clamp(22px,3.2vw,44px);align-items:center}
.feature-slide h3{max-width:520px;margin:0;color:#1e3025;font-size:clamp(24px,3vw,36px);line-height:1.2;letter-spacing:-.8px;font-weight:620}
.feature-slide-body>div{max-width:470px}
.feature-slide-body p{margin:0;color:#536159;font-size:14px;line-height:1.7}
.feature-slide-body .feature-fact{margin-top:14px;padding-top:11px;border-top:1px solid #e9eeea;color:#68756d;font-size:12px}
.feature-fact strong{color:#35483b;font-weight:600}
.feature-visual{width:100%;min-width:0;height:168px;display:grid;place-items:center;border:1px solid #e2e9e4;background:#f8faf8}
.feature-visual svg{display:block;width:100%;height:100%;max-width:320px;padding:10px;overflow:visible}
.feature-visual .v-paper{fill:#fff;stroke:#cfd9d2;stroke-width:1.2}
.feature-visual .v-ink{fill:none;stroke:#718077;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.feature-visual .v-accent{fill:none;stroke:#397251;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.feature-visual .v-guide{fill:none;stroke:#d5ded8;stroke-width:1;stroke-dasharray:3 3}
.feature-visual .v-mark{fill:#fff;stroke:#397251;stroke-width:1.5}
.feature-visual .v-scan{stroke-dasharray:4 3}
.feature-visual text{fill:#65736a;font-family:Inter,"Segoe UI Variable","Segoe UI",system-ui,sans-serif;font-size:8px;letter-spacing:.03em}
.feature-controls{min-height:58px;padding:9px clamp(20px,5vw,58px);display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e7ece8;background:#fbfcfb}
.feature-controls>span{font-size:12px;font-variant-numeric:tabular-nums;color:#647169}
.feature-controls>div{display:flex;gap:7px}
.feature-control{width:36px;height:36px;display:grid;place-items:center;border:1px solid #d5ded8;border-radius:4px;background:#fff;color:#30483a;cursor:pointer}
.feature-control:hover:not(:disabled){background:#f2f6f3;border-color:#93ad9b}
.feature-control:disabled{opacity:.42;cursor:default}
.carousel-arrow{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.carousel-arrow.previous{transform:rotate(90deg)}
.carousel-arrow.next{transform:rotate(-90deg)}
.feature-showcase:focus-visible{outline:2px solid #4a805e;outline-offset:3px}
.feature-control:focus-visible{outline:2px solid #4a805e;outline-offset:2px}
.workflow-section,.faq-section,.site-footer{background:#f7f9f7;border-color:#e5eae6}
.workflow-section{padding-block:68px}
.workflow-steps article>span{box-shadow:none!important}
.scope-note{color:#59665e}
.scope-note strong{color:#34483b}
.plan-price{display:flex;align-items:baseline;gap:8px;margin:22px 0 3px;color:#172b21}
.plan-price strong{font-size:40px;line-height:1;font-weight:650;letter-spacing:-1.4px}
.plan-price span{font-size:15px;color:#5c6b62}
.plan-renewal{margin:0 0 15px;color:#536159;font-size:13px;line-height:1.55}
@media(max-width:800px){
  .hero{grid-template-columns:1fr;gap:32px;padding-block:48px}
  .hero-art{width:100%;max-width:600px}
  .workflow-diagram{max-width:none}
  .feature-slide{min-height:310px}
  .feature-slide-body{grid-template-columns:minmax(0,1.1fr) minmax(190px,.9fr);grid-template-rows:auto auto;gap:12px 24px}
  .feature-slide-body>h3{grid-column:1;grid-row:1}
  .feature-slide-body>div:not(.feature-visual){grid-column:1;grid-row:2}
  .feature-slide-body>.feature-visual{grid-column:2;grid-row:1/3}
}
@media(max-width:540px){
  .site-header{height:64px}
  .site-nav{gap:12px}
  .hero{padding-block:34px 40px;gap:24px}
  .hero h1{font-size:clamp(34px,9vw,45px);letter-spacing:-1px}
  .hero-lede{font-size:15px}
  .workflow-diagram{padding:17px}
  .trust-inner{display:grid;grid-template-columns:1fr 1fr;padding-block:13px;gap:10px 15px}
  .trust-inner>span,.trust-inner>span:first-child{font-size:11px}
  .section{padding-block:56px}
  .feature-slide{min-height:350px;padding:22px 18px;gap:23px}
  .feature-slide h3{font-size:27px}
  .feature-slide-body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:14px}
  .feature-slide-body>h3,.feature-slide-body>div:not(.feature-visual),.feature-slide-body>.feature-visual{grid-column:1;grid-row:auto}
  .feature-visual{height:158px}
  .feature-controls{padding-inline:18px}
}
@media(prefers-reduced-motion:reduce){.feature-track{transition:none}}
.profile-photo-action{justify-self:start;display:inline-flex;align-items:center;min-height:40px;padding-inline:8px;color:#256344;font-size:13px;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.profile-photo-action:hover{color:#174a32}.profile-photo-button{display:none}.profile-form>.profile-photo-action{width:auto;white-space:nowrap}
.quick-create{position:relative}.quick-create-trigger{min-height:36px;white-space:nowrap;padding-inline:12px}.quick-create-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:20;display:grid;gap:2px;min-width:235px;padding:7px;background:#fff;border:1px solid #dfe5de;border-radius:7px;box-shadow:0 14px 36px #1f302419}.quick-create-menu[hidden]{display:none}.quick-create-menu>p{margin:4px 8px 6px;color:#879187;font-size:10px;font-weight:600}.quick-create-menu>a{padding:9px 8px;border-radius:4px;color:#34483a;font-size:12px}.quick-create-menu>a:hover{background:#f0f4ef;color:#205b3c}.top-actions>.global-search{flex:0 1 245px}@media(max-width:760px){.quick-create-trigger{padding-inline:9px}.quick-create-menu{left:auto;right:0}}@media(max-width:540px){.top-actions{gap:7px}.quick-create-trigger{min-height:34px;font-size:11px}.top-actions>.global-search{width:clamp(96px,33vw,150px)}}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #3c7c5d;outline-offset:2px}.button{min-height:38px;border-radius:9px;font-weight:600;transition:background-color .14s,border-color .14s,color .14s,transform .14s}.button.dark:hover{background:#155b3d}.button.outline:hover{background:#f4f7f4;border-color:#cdd8cd}

/* Month-end close: one compact, actionable view of unfinished work. */
.close-period-control{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.close-period-control label{font-size:12px;font-weight:600;color:#425447}.close-period-control input{min-height:38px;padding:7px 10px;border:1px solid #d8e0d8;border-radius:5px;background:#fff;color:#203329}.close-summary{display:flex;align-items:center;gap:18px;margin:0 0 14px;padding:16px 18px;border:1px solid #dfe6df;border-radius:7px;background:#f7f9f7}.close-summary>p{margin:0;color:#596b60;font-size:13px;line-height:1.5}.close-score{display:grid;gap:2px;min-width:115px}.close-score strong{color:#203c2d;font-size:22px;letter-spacing:-.4px}.close-score span{color:#6d7b70;font-size:11px}.close-checks{display:grid}.close-check{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #edf0ed}.close-check:first-child{border-top:0}.close-check-mark{display:grid;place-items:center;width:23px;height:23px;border:1px solid #d7dfd8;border-radius:50%;color:#738077;font-size:13px}.close-check.complete .close-check-mark{border-color:#c4dfcf;background:#edf6ef;color:#216744}.close-check-copy{display:grid;grid-template-columns:auto auto;justify-content:start;align-items:center;gap:2px 10px}.close-check-copy>strong{font-size:13px;color:#293b30}.close-check-state{color:#738077;font-size:11px}.close-check-copy>p{grid-column:1/-1;margin:2px 0 0;color:#718076;font-size:12px;line-height:1.45}.close-check>.button{white-space:nowrap}.close-runs .table-wrap{margin-top:0}.close-check-panel{margin-bottom:14px}
@media(max-width:680px){.close-summary{align-items:flex-start;flex-direction:column;gap:8px}.close-period-control{width:100%}.close-period-control label{width:100%}.close-period-control input{flex:1;min-width:0}.close-check{grid-template-columns:24px minmax(0,1fr);gap:8px}.close-check>.button{grid-column:2;justify-self:start;margin-top:3px}.close-check-copy{grid-template-columns:1fr;gap:3px}.close-check-state{grid-row:2}.close-check-copy>p{grid-column:1}}

/* GST compliance workbench: organize filing preparation around the user's chosen scope. */
.compliance-period{display:flex;align-items:center;gap:9px}.compliance-period label{font-size:12px;font-weight:600;color:#425447}.compliance-period input{min-height:38px;padding:7px 10px;border:1px solid #d8e0d8;border-radius:5px;background:#fff;color:#203329}.compliance-intro{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;padding:16px 18px;border:1px solid #dfe6df;border-radius:7px;background:#f7f9f7}.compliance-intro strong{font-size:14px;color:#263c2e}.compliance-intro p{margin:4px 0 0;color:#68776d;font-size:12px;line-height:1.5}.compliance-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.compliance-shortcuts>.panel{display:grid;gap:7px;align-content:start;padding:15px;text-decoration:none;transition:border-color .15s,background-color .15s}.compliance-shortcuts>.panel:hover{border-color:#b8cbbd;background:#fbfcfb}.compliance-shortcuts span{color:#758178;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.compliance-shortcuts strong{color:#244330;font-size:13px;line-height:1.4}.compliance-shortcuts small{color:#748076;font-size:11px;line-height:1.45}.compliance-work-panel>.panel-head{align-items:center}.compliance-item-form{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(140px,.55fr) minmax(200px,1.3fr) auto;align-items:end;gap:10px;padding:14px;margin-bottom:12px;border:1px solid #e7ebe7;border-radius:6px;background:#fafbfa}.compliance-item-form label,.compliance-item label{display:grid;gap:6px;color:#45564a;font-size:11px;font-weight:600}.compliance-item-form label span{font-weight:400;color:#7a877e}.compliance-item-form input,.compliance-item-form select,.compliance-item input,.compliance-item select,.compliance-item textarea{width:100%;min-width:0;min-height:36px;padding:7px 9px;border:1px solid #dce3dc;border-radius:5px;background:#fff;color:#27392f;font:inherit;font-size:12px}.compliance-item-form>.button{min-height:36px;white-space:nowrap}.compliance-item-form>.form-message{grid-column:1/-1;margin:0}.compliance-items{min-width:0}.compliance-empty{padding:24px 12px;text-align:center}.compliance-empty strong{color:#33483a;font-size:13px}.compliance-empty p{color:#77847b;font-size:12px}.compliance-list{display:grid;gap:9px}.compliance-item{display:grid;grid-template-columns:minmax(150px,1.1fr) minmax(130px,.65fr) minmax(180px,.8fr) minmax(190px,1.2fr);align-items:start;gap:10px;padding:13px;border:1px solid #e3e8e3;border-radius:6px;background:#fff}.compliance-item-title{display:grid;gap:5px;align-content:start;padding-top:3px}.compliance-item-title strong{color:#2c4033;font-size:12px;line-height:1.45}.compliance-item-title span,.compliance-item-actions small{color:#78857b;font-size:10px}.compliance-item-note{grid-column:auto}.compliance-item textarea{resize:vertical}.compliance-item-actions{grid-column:1/-1;display:flex;align-items:center;gap:8px;padding-top:8px;border-top:1px solid #edf0ed}.compliance-item-actions small{margin-right:auto}.compliance-item-actions .button{min-height:32px}.compliance-reference{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.7fr);gap:22px;margin-top:14px;padding:18px}.compliance-reference h2{margin:0 0 8px;font-size:16px}.compliance-reference p:not(.eyebrow){margin:0;color:#68776d;font-size:12px;line-height:1.65}.compliance-links{display:grid;align-content:center;gap:10px}.compliance-links a{color:#286046;font-size:12px;text-decoration:underline;text-underline-offset:2px}.compliance-footnote{line-height:1.6;margin:12px 0 0}
@media(max-width:960px){.compliance-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.compliance-item{grid-template-columns:repeat(2,minmax(0,1fr))}.compliance-item-title{grid-column:1/-1}.compliance-reference{grid-template-columns:1fr}}
@media(max-width:620px){.compliance-intro{align-items:flex-start;flex-direction:column}.compliance-shortcuts{grid-template-columns:1fr}.compliance-period{width:100%}.compliance-period input{flex:1}.compliance-item-form{grid-template-columns:1fr}.compliance-item-form>.form-message{grid-column:1}.compliance-item{grid-template-columns:1fr}.compliance-item-title{grid-column:1}.compliance-item-actions{grid-column:1;flex-wrap:wrap}.compliance-item-actions small{width:100%}.compliance-reference{padding:14px}}

/* ==========================================================================
   MODERN WORKSPACE SWITCHER & TALLY-INSPIRED FINANCIAL WORKSTATION STYLES
   ========================================================================== */

/* Redesigned Sidebar Workspace Card */
.workspace-switch{position:relative;margin:0 4px 14px;padding:9px 11px;border:1px solid #dce4dd;background:#ffffff;border-radius:8px;display:flex;align-items:center;gap:10px;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}
.workspace-switch:hover{border-color:#2f7850;box-shadow:0 3px 12px rgba(20,55,35,0.06);background:#fcfefd}
.workspace-avatar{width:32px;height:32px;border-radius:7px;background:#e3f0e7;color:#144c2e;font-size:11px;font-weight:700;display:grid;place-items:center;flex-shrink:0}
.workspace-info{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.workspace-info small{font-size:9px;letter-spacing:.06em;color:#758578;font-weight:700;text-transform:uppercase}
.workspace-info strong{font-size:12px;color:#183222;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workspace-chevron{display:grid;place-items:center;width:20px;height:20px;color:#6b7c70;margin-left:auto;flex-shrink:0}
.workspace-chevron svg{width:14px;height:14px;transition:transform .15s}
.workspace-switch[aria-expanded="true"] .chevron-icon{transform:rotate(180deg)}

/* Sleek Workspace Dropdown Menu */
.workspace-menu{position:absolute;top:calc(100% + 6px);left:0;width:245px;max-width:280px;z-index:999;background:#ffffff;border:1px solid #d2ded5;border-radius:8px;padding:8px;box-shadow:0 14px 36px rgba(15,35,22,0.14)}
.workspace-menu[hidden]{display:none}
.workspace-menu-header{display:flex;justify-content:space-between;align-items:center;padding:5px 8px 8px;border-bottom:1px solid #ebf1ec}
.workspace-menu-header p{margin:0;font-size:10px;font-weight:700;letter-spacing:.05em;color:#6e7d72;text-transform:uppercase}
.workspace-menu-count{background:#e3f0e7;color:#185333;font-size:10px;font-weight:700;padding:2px 7px;border-radius:10px}
#workspaceMenuItems{display:flex;flex-direction:column;gap:2px;margin:6px 0}
.workspace-menu button,
.workspace-menu .workspace-option{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;margin:2px 0!important;padding:8px 10px!important;border:0!important;border-radius:6px!important;background:transparent!important;text-align:left!important;cursor:pointer!important;box-sizing:border-box!important;transition:background-color .12s}
.workspace-menu .workspace-option:hover{background:#edf5ef!important}
.workspace-menu .workspace-option.active{background:#e5f2e8!important}
.workspace-menu .workspace-option>span:first-child{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important;flex:1 1 auto!important}
.workspace-menu .workspace-option b{font-size:12px!important;color:#183222!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;display:block!important;font-weight:650!important}
.workspace-menu .workspace-option small{font-size:10px!important;color:#65766a!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;display:block!important}
.workspace-menu .workspace-check{color:#13633d!important;font-size:14px!important;font-weight:800!important;flex:0 0 auto!important;margin-left:8px!important}
.workspace-menu-actions{margin-top:6px;padding-top:6px;border-top:1px solid #ebf1ec}
.workspace-menu-actions a{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:5px;color:#1a5937;font-size:11px;font-weight:650;text-decoration:none}
.workspace-menu-actions a:hover{background:#edf5ef}


/* Topbar Workspace Pill */
.topbar-workspace-chip{display:inline-flex;align-items:center;gap:7px;padding:4px 11px;background:#eef4f0;border:1px solid #d4dfd6;border-radius:16px;color:#18452d;font-size:11px;font-weight:650;cursor:pointer;transition:all .12s}
.topbar-workspace-chip:hover{background:#e4eee6;border-color:#b9ccbd}
.chip-avatar{width:16px;height:16px;border-radius:4px;background:#205739;color:#fff;font-size:9px;font-weight:700;display:grid;place-items:center}
.topbar-workspace-chip .chevron-icon{width:12px;height:12px}

/* Enhanced Clean Profile Photo Uploader */
.profile-card-layout{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:center;padding:14px;background:#f9fbf9;border:1px solid #e1e7e2;border-radius:8px;margin-bottom:14px}
.profile-avatar-large{width:64px;height:64px;border-radius:50%;background:#e5efe8;color:#1c4f34;font-size:24px;font-weight:700;display:grid;place-items:center;border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,0.06);overflow:hidden}
.profile-avatar-large.has-photo img{width:100%;height:100%;object-fit:cover}
.profile-meta-title{font-size:16px;font-weight:700;color:#1e3325;margin:0 0 4px}
.profile-meta-email{font-size:12px;color:#67776d;margin:0}
.profile-actions-bar{display:flex;align-items:center;gap:10px;margin-top:12px}
.profile-actions-bar .button{min-height:38px}

/* GST Platform Tabs */
.gst-tab-bar{display:flex;gap:4px;border-bottom:1px solid #dce4dd;margin-bottom:20px;overflow-x:auto}
.gst-tab-btn{padding:10px 16px;border:0;background:transparent;color:#55665a;font-size:13px;font-weight:600;border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap;transition:all .12s}
.gst-tab-btn:hover{color:#1a442e;background:#f2f6f3}
.gst-tab-btn.active{color:#145233;border-bottom-color:#18683f;background:#ebf3ed}

/* GST Scorecard Badge */
.compliance-scorecard{display:grid;grid-template-columns:auto 1fr;gap:24px;align-items:center;padding:22px;background:#fff;border:1px solid #dce5dd;border-radius:9px;margin-bottom:18px}
.score-circle{width:88px;height:88px;border-radius:50%;background:conic-gradient(#18683f var(--score-deg,270deg),#e4ebe5 0);display:grid;place-items:center;box-shadow:0 4px 12px rgba(24,104,63,0.1)}
.score-inner{width:72px;height:72px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}
.score-inner strong{font-size:24px;font-weight:800;color:#184b30;line-height:1}
.score-inner small{font-size:10px;color:#78867b;font-weight:700}
.score-grade-badge{display:inline-block;padding:3px 8px;border-radius:4px;font-size:11px;font-weight:700;margin-top:4px}
.grade-A{background:#e5f6eb;color:#126338}
.grade-B{background:#fef7e4;color:#855c11}
.grade-C{background:#fdeeee;color:#9b1c1c}

/* GST Cards & Grid */
.gst-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.gst-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.gst-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
@media(max-width:980px){.gst-grid-2,.gst-grid-3,.gst-grid-4{grid-template-columns:1fr}}

/* Portal Sync Card */
.portal-card{background:#ffffff;border:1px solid #dce4dd;border-radius:8px;padding:20px;display:grid;gap:14px}
.portal-status-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:700}
.portal-status-pill.connected{background:#e7f5ec;color:#146037}
.portal-status-pill.disconnected{background:#fbeded;color:#9c1c1c}

/* Tabular Numerals & High-Density Tables */
.gst-data-table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
.gst-data-table th{background:#f6f8f6;color:#495a4f;font-weight:650;text-align:left;padding:9px 12px;border-bottom:1px solid #dfe5e0;font-size:11px}
.gst-data-table td{padding:10px 12px;border-bottom:1px solid #edf1ed;color:#283a2e}
.gst-data-table tr:hover td{background:#f9fbf9}
.gst-data-table .num{text-align:right}

/* HSN Search Widget */
.hsn-search-bar{display:flex;gap:10px;margin-bottom:14px}
.hsn-search-bar input{flex:1;min-height:40px;padding:8px 12px;border:1px solid #d4dfd6;border-radius:6px;font-size:13px}
.hsn-rate-badge{background:#eef4ef;color:#185333;font-size:10px;font-weight:700;padding:2px 6px;border-radius:4px}

/* Topbar Universal FY & Period Selector */
.topbar-fy-wrap{display:flex;align-items:center;gap:8px;background:#f0f5f1;padding:4px 10px;border-radius:8px;border:1px solid #d7e2da}
.topbar-fy-wrap label{font-size:10px;font-weight:700;color:#526759;text-transform:uppercase;letter-spacing:0.04em}
.topbar-fy-wrap select,.topbar-fy-wrap input{height:28px;padding:2px 8px;font-size:12px;font-weight:600;border:1px solid #cbd8cf;border-radius:6px;background:#fff;color:#183c2a}

/* Modern Dialog / Modals */
.enterprise-modal{position:fixed;inset:0;background:rgba(18,34,24,0.45);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:999;padding:16px}
.enterprise-modal[hidden]{display:none!important}
.modal-box{background:#fff;border-radius:12px;box-shadow:0 20px 50px rgba(0,0,0,0.18);border:1px solid #e1e7e2;width:min(680px,100%);max-height:90vh;display:flex;flex-direction:column;overflow:hidden;animation:modalPop .16s ease-out}
@keyframes modalPop{from{opacity:0;transform:scale(0.97)}to{opacity:1;transform:scale(1)}}
.modal-head{padding:18px 22px;border-bottom:1px solid #e8ede9;display:flex;align-items:center;justify-content:space-between;background:#fafbfa}
.modal-head h2{margin:0;font-size:17px;font-weight:700;color:#172e21}
.modal-head p{margin:4px 0 0;font-size:12px;color:#5c6b62}
.modal-close-btn{border:0;background:none;font-size:22px;line-height:1;color:#6d7f73;cursor:pointer;padding:4px 8px;border-radius:6px}
.modal-close-btn:hover{background:#eef3ef;color:#173b27}
.modal-body{padding:22px;overflow-y:auto;display:grid;gap:16px}
.modal-foot{padding:16px 22px;border-top:1px solid #e8ede9;display:flex;align-items:center;justify-content:flex-end;gap:12px;background:#fafbfa}

/* Live Discrepancy & Amendment Form */
.edit-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.edit-form-grid label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#495d51}
.edit-form-grid input,.edit-form-grid select{height:38px;padding:0 12px;border:1px solid #ccd8cf;border-radius:7px;font-size:13px}
.edit-form-grid input:focus{border-color:#176b45;box-shadow:0 0 0 3px rgba(23,107,69,0.15)}
.amendment-target-selector{grid-column:1/-1;background:#f2f7f3;border:1px solid #d4dfd6;border-radius:8px;padding:12px;display:flex;gap:16px;align-items:center}
.amendment-target-selector label{display:flex;align-items:center;gap:6px;font-size:12px;cursor:pointer;font-weight:600;color:#1b4a32}

/* Table Quick Action Buttons */
.btn-action-edit{padding:4px 9px;border-radius:6px;border:1px solid #c9d8cc;background:#fff;color:#175938;font-size:11px;font-weight:650;cursor:pointer;transition:all .12s}
.btn-action-edit:hover{background:#edf5ef;border-color:#176b45}
.btn-action-wa{padding:4px 9px;border-radius:6px;border:1px solid #25D366;background:#eefbf3;color:#14823d;font-size:11px;font-weight:650;cursor:pointer;transition:all .12s}
.btn-action-wa:hover{background:#25D366;color:#fff}

/* WhatsApp Legal Notice Box */
.whatsapp-preview-box{background:#f0fbf4;border:1px solid #c8ebd3;border-radius:8px;padding:16px;font-family:monospace;font-size:12px;line-height:1.6;white-space:pre-wrap;color:#19442a;max-height:220px;overflow-y:auto}

/* Rule 88A Visual Table */
.rule88a-table{width:100%;border-collapse:collapse;margin-top:12px}
.rule88a-table th{background:#eef4ef;padding:10px 14px;border:1px solid #d7e2da;font-size:12px;font-weight:700;color:#1a3a28;text-align:left}
.rule88a-table td{padding:10px 14px;border:1px solid #d7e2da;font-size:12px;font-variant-numeric:tabular-nums}
.rule88a-table tr.highlight{background:#fafdfb;font-weight:700}
.challan-box{background:#fdf6e7;border:1px solid #f2dfae;border-radius:8px;padding:16px;margin-top:14px;display:flex;align-items:center;justify-content:space-between}
.challan-box strong{font-size:20px;color:#7e5200}

/* Printable Tax Invoice */
@media print{
  body *{visibility:hidden}
  #printInvoiceArea,#printInvoiceArea *{visibility:visible}
  #printInvoiceArea{position:absolute;left:0;top:0;width:100%}
  .no-print{display:none!important}
}
.invoice-print-sheet{width:100%;max-width:750px;margin:0 auto;background:#fff;padding:32px;border:1px solid #ddd;color:#111;font-family:"Plus Jakarta Sans",sans-serif;font-size:12px;line-height:1.5}
.invoice-print-header{display:flex;justify-content:space-between;border-bottom:2px solid #222;padding-bottom:16px;margin-bottom:16px}
.invoice-print-title{font-size:22px;font-weight:800;letter-spacing:-0.5px}
.invoice-print-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px;border-bottom:1px solid #eee;padding-bottom:14px;margin-bottom:14px}
.invoice-items-table{width:100%;border-collapse:collapse;margin:14px 0}
.invoice-items-table th,.invoice-items-table td{border:1px solid #ddd;padding:8px 10px;text-align:left}
.invoice-items-table th{background:#f8f9fa;font-weight:700}


/* Workspace access in the compact top bar and consistent profile controls */
.topbar-workspace-chip{max-width:min(28vw,300px);min-width:0;border-radius:8px;padding:5px 9px;background:#fff;color:#23372b}
.topbar-workspace-chip .crumb-ws{display:block;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar-workspace-chip .workspace-avatar{width:22px;height:22px;flex:0 0 22px;border-radius:6px;font-size:9px}
.topbar-workspace-chip:focus-visible,.profile-actions-bar .button:focus-visible{outline:3px solid #84b99a;outline-offset:2px}
.profile-card-layout{grid-template-columns:72px minmax(0,1fr)!important;gap:16px!important;max-width:680px!important}
.profile-card-layout>div:last-child{min-width:0}
.profile-actions-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.profile-actions-bar .button{min-height:38px;padding:8px 13px;border-radius:7px!important;font:600 12px/1.2 inherit!important;display:inline-flex;align-items:center;justify-content:center}
.profile-actions-bar label.button{margin:0!important;cursor:pointer}
@media(max-width:760px){.breadcrumbs>span:first-child,.breadcrumbs>b:first-of-type{display:none}.topbar-workspace-chip{max-width:42vw}.topbar-workspace-chip .crumb-ws{max-width:25vw}.topbar{gap:8px}.profile-card-layout{grid-template-columns:1fr!important}.profile-avatar-large{margin:0 auto}.profile-actions-bar{gap:8px}.profile-actions-bar .button{flex:1 1 auto}}
