
  :root{
    color-scheme:light;
    --bg:#f5f7f6;
    --bg-subtle:#eef2f0;
    --surface:#ffffff;
    --surface-soft:#f9fbfa;
    --surface-muted:#f1f5f3;
    --ink:#14201f;
    --ink-soft:#283736;
    --muted:#667571;
    --muted-2:#87928f;
    --line:#dbe3df;
    --line-strong:#c6d0cb;
    --brand:#006f5c;
    --brand-strong:#004f43;
    --brand-soft:#e6f4ef;
    --accent:#8f123f;
    --warn:#a96c05;
    --danger:#b42338;
    --blue:#255a9b;
    --radius:18px;
    --radius-sm:12px;
    --shadow:0 18px 48px rgba(20,32,31,.08);
    --shadow-soft:0 8px 24px rgba(20,32,31,.06);
    --page-max:1240px;
    --nav-h:58px;
    --mobile-nav-safe:118px;
  }

  *{box-sizing:border-box}
  html{min-height:100%;background:var(--bg);scroll-behavior:smooth}
  body{
    min-height:100%;margin:0;color:var(--ink);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
    font-size:15px;line-height:1.5;
    background:
      linear-gradient(115deg,rgba(0,111,92,.055),transparent 28rem),
      linear-gradient(245deg,rgba(143,18,63,.045),transparent 24rem),
      linear-gradient(180deg,#fbfcfb 0%,var(--bg) 42%,#f0f3f2 100%);
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
  }
  body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(20,32,31,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(20,32,31,.022) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(180deg,rgba(0,0,0,.32),transparent 68%)}
  a{color:inherit}button{font:inherit;appearance:none}input,select,textarea{font-family:inherit;font-size:16px;line-height:1.4}img{max-width:100%}

  .shell{min-height:100dvh;padding:18px clamp(14px,2.4vw,34px) 40px;position:relative}
  .hero-shell{max-width:var(--page-max);margin:0 auto 22px;position:relative}
  .app-topbar,.public-header{width:min(100%,var(--page-max));margin:0 auto 12px;display:flex;align-items:center;justify-content:space-between;gap:14px}

  .brand-lockup{display:inline-flex;align-items:center;gap:10px;min-width:0;color:var(--ink);text-decoration:none;font-weight:850;letter-spacing:-.035em;line-height:1}
  .brand-lockup img{display:block;width:auto;max-width:172px;height:44px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,111,92,.10))}
  .brand-lockup img.brand-image-icon{width:42px;height:42px}.brand-word{display:inline-flex;align-items:baseline;white-space:nowrap;font-size:25px}.brand-main{color:#172322}.brand-dot,.brand-tax{color:var(--brand)}
  .brand-word[hidden]{display:none!important}

  .user-box{display:flex;align-items:center;gap:8px;min-width:0;border:1px solid var(--line);background:rgba(255,255,255,.86);border-radius:999px;padding:6px;box-shadow:var(--shadow-soft);backdrop-filter:blur(18px)}
  .user-box form{margin:0}.user-box button{min-height:34px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink-soft);font-weight:800;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}.user-box button:hover{border-color:var(--line-strong);color:var(--brand-strong);transform:translateY(-1px)}.logout-button{padding:0 12px}.notification-toggle{display:inline-flex;align-items:center;gap:8px;padding:0 7px 0 10px;min-width:116px;justify-content:space-between}.notification-bell{display:inline-grid;place-items:center;width:20px;height:20px;color:var(--ink-soft)}.notification-bell svg{width:19px;height:19px;display:block}.notification-switch{position:relative;width:42px;height:22px;border-radius:999px;background:#dfe6e3;border:1px solid rgba(20,32,31,.10);box-shadow:inset 0 1px 2px rgba(20,32,31,.08);transition:background .18s ease,border-color .18s ease}.notification-switch i{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:999px;background:#fff;box-shadow:0 4px 9px rgba(20,32,31,.18);transition:transform .18s ease}.notification-toggle.is-on .notification-switch{background:var(--brand);border-color:rgba(0,111,92,.30)}.notification-toggle.is-on .notification-switch i{transform:translateX(20px)}.notification-toggle.is-on .notification-bell{color:var(--brand-strong)}.notification-label{min-width:26px;color:var(--muted);font-size:10px;font-weight:900;letter-spacing:.075em}.notification-toggle.is-on .notification-label{color:var(--brand-strong)}.admin-mail-form{margin:0}.admin-mail-toggle{display:inline-flex;align-items:center;gap:8px;padding:0 7px 0 10px;min-width:112px;justify-content:space-between}.admin-mail-word{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-soft)}.admin-mail-toggle.is-on .notification-switch{background:#111;border-color:#111}.admin-mail-toggle.is-off .notification-switch{background:#dfe6e3}.admin-mail-toggle.is-on .notification-switch i{transform:translateX(20px)}.admin-mail-toggle.is-on .admin-mail-word,.admin-mail-toggle.is-on .notification-label{color:#111}.admin-mail-toggle.is-off .notification-label{color:var(--muted)}

  .app-nav-shell{width:min(100%,var(--page-max));margin:0 auto;position:relative}.app-nav-shell:before,.app-nav-shell:after{content:"";position:absolute;top:2px;bottom:2px;z-index:3;width:42px;pointer-events:none;opacity:0;transition:opacity .18s ease;border-radius:999px}.app-nav-shell:before{left:1px;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))}.app-nav-shell:after{right:1px;background:linear-gradient(270deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))}.app-nav-shell.has-left-fade:before,.app-nav-shell.has-right-fade:after{opacity:1}.app-nav{width:100%;height:var(--nav-h);margin:0 auto;padding:5px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.86);box-shadow:var(--shadow-soft);backdrop-filter:blur(18px);display:flex;align-items:center;gap:4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;white-space:nowrap;scroll-behavior:smooth}.app-nav::-webkit-scrollbar{display:none}.nav-item{height:46px;min-width:max-content;flex:1 0 auto;border-radius:999px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;color:#5f6f6b;font-weight:760;font-size:13.5px;letter-spacing:-.01em;transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}.nav-item:hover{background:var(--surface-muted);color:var(--ink);transform:translateY(-1px)}.nav-item.active{background:var(--ink);color:#fff;box-shadow:0 10px 24px rgba(20,32,31,.16)}.nav-icon{display:inline-grid;place-items:center;flex:0 0 auto}.nav-icon svg{width:19px;height:19px;display:block}.nav-label{line-height:1}

  .page-wrap{width:min(100%,var(--page-max));margin:0 auto;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.page-heading{display:grid;gap:5px;margin:0 0 16px;padding:2px 2px 0}.page-heading h1{font-size:clamp(25px,2.6vw,36px);line-height:1.08;letter-spacing:-.04em;margin:0;color:var(--ink)}.page-heading p{max-width:780px;margin:0;color:var(--muted);font-size:14.5px;line-height:1.55}.eyebrow{display:inline-flex;width:max-content;margin:0 0 7px;color:var(--brand);font-size:10.5px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
  h2{font-size:clamp(20px,2vw,28px);line-height:1.15;letter-spacing:-.035em;margin:0 0 8px;color:var(--ink)}h3{font-size:18px;line-height:1.2;letter-spacing:-.025em;margin:0 0 6px;color:var(--ink)}p{color:var(--muted);margin:0 0 10px}small{color:var(--muted)}code{display:inline-block;max-width:100%;overflow:auto;border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;padding:9px 11px;color:var(--brand-strong);font-size:13px}

  .panel,.source-card,.welcome-panel,.empty-state,.zip-hero,.doc-group,.auth-card,.landing-card{background:rgba(255,255,255,.88);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(17px,2.2vw,24px);box-shadow:var(--shadow-soft);backdrop-filter:blur(18px);margin:12px 0}.panel:hover,.source-card:hover,.doc-group:hover{border-color:var(--line-strong)}.section-title{margin-bottom:14px}.section-title p{max-width:820px}.empty-state{text-align:center;display:grid;justify-items:center;gap:12px;padding:clamp(30px,6vw,64px)}.empty-state p{max-width:620px}

  .alert{display:grid;gap:3px;margin:12px 0;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.92);box-shadow:var(--shadow-soft)}.alert strong{font-size:14px}.alert span{color:var(--muted);font-size:13.5px}.alert.ok{border-color:#b8d7ca;background:#f2faf6}.alert.err{border-color:#f0bdc5;background:#fff6f7}
  .status-badge{display:inline-flex;align-items:center;width:max-content;min-height:25px;padding:4px 9px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft);color:var(--muted);font-size:10.5px;font-weight:850;letter-spacing:.075em;text-transform:uppercase;margin:0 0 9px}.status-badge.ready{color:var(--brand-strong);border-color:#b9d9cc;background:#edf8f3}.status-badge.warn{color:var(--warn);border-color:#ead29f;background:#fff8e7}.status-badge.working{color:var(--blue);border-color:#bdd0ea;background:#eef5ff}.status-badge.danger{color:var(--danger);border-color:#efbac2;background:#fff3f4}.status-badge.muted{color:#667571;background:#f3f5f4}

  .primary-action,.secondary-action,.danger-action,.download-link,.file-inline-action{min-height:40px;border-radius:999px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;font-weight:820;font-size:13.4px;cursor:pointer;text-align:center;border:1px solid transparent;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease}.primary-action{background:var(--ink);color:#fff;box-shadow:0 12px 24px rgba(20,32,31,.16)}.primary-action:hover{transform:translateY(-1px);background:#0b1514}.secondary-action,.download-link,.file-inline-action{background:#fff;color:var(--ink-soft);border-color:var(--line)}.secondary-action:hover,.download-link:hover,.file-inline-action:hover{border-color:var(--line-strong);color:var(--brand-strong);transform:translateY(-1px)}.danger-action{background:#fff6f7;color:var(--danger);border-color:#efbac2}.danger-action:hover{background:#fff0f2;transform:translateY(-1px)}.primary-action.large,.secondary-action.large,.danger-action.large{min-height:46px;font-size:14px;padding-inline:15px}.primary-action.compact,.secondary-action.compact,.danger-action.compact{min-height:32px;padding:0 10px;font-size:12.2px}.primary-action:disabled,.secondary-action:disabled,.danger-action:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
  .button-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.button-row.three-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.sticky-actions{position:sticky;bottom:12px;z-index:4;padding:8px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.82);backdrop-filter:blur(14px);box-shadow:var(--shadow-soft)}

  .form-stack,.calc-form,.upload-form,.admin-role-form{display:grid;gap:12px}label{display:block}label b,.compact-list b{display:block;margin:0 0 6px;color:var(--ink-soft);font-size:13px;font-weight:800}input[type=text],input[type=email],input[type=password],select,input[type=file],textarea{width:100%;min-height:46px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);font:inherit;padding:0 13px;box-shadow:inset 0 1px 0 rgba(20,32,31,.03)}textarea{padding:10px 13px;min-height:84px}input:focus,select:focus,textarea:focus{outline:3px solid rgba(0,111,92,.12);border-color:#9cccbc}.check-line,.toggle-line,.chip{border:1px solid var(--line);border-radius:13px;padding:11px 12px;background:var(--surface-soft);font-weight:720;color:var(--ink-soft)}.check-line input,.toggle-line input,.chip input{margin-right:7px}.chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.chips.slim{margin-top:8px}.option-card{border:1px solid var(--line);border-radius:15px;padding:14px;background:linear-gradient(180deg,#fff,var(--surface-soft));display:grid;gap:10px}.option-card p{margin:3px 0 0}.fiscal-options{margin:14px 0;padding:14px;border:1px dashed #b9d9cc;border-radius:16px;background:#f4fbf8}.movement-tax-option{border-style:dashed}.movement-tax-state{display:none!important}

  .welcome-panel{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:18px;align-items:stretch}.welcome-panel h2{max-width:760px;font-size:clamp(23px,2.5vw,34px)}.home-start-action{margin-top:8px;width:max-content;min-width:164px}.year-card{border-radius:16px;background:linear-gradient(155deg,#102120,#006f5c);color:#fff;padding:18px;display:flex;flex-direction:column;justify-content:space-between;min-height:155px;box-shadow:0 16px 34px rgba(0,79,67,.18)}.year-card span,.year-card small{color:rgba(255,255,255,.76);font-weight:760}.year-card strong{font-size:48px;line-height:.95;letter-spacing:-.055em}.process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.step-card{border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.78);padding:16px;min-height:154px;box-shadow:0 5px 18px rgba(20,32,31,.045)}.step-card span{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:999px;background:var(--ink);color:#fff;font-size:12px;font-weight:850;margin-bottom:13px}.step-card p{font-size:13.5px;line-height:1.45}.two-col,.danger-zone{display:flex;align-items:center;justify-content:space-between;gap:16px}.danger-zone{border-color:#efbac2;background:linear-gradient(180deg,#fff,#fff8f9)}.danger-zone form{margin:0;flex:0 0 auto}.danger-zone p{max-width:760px}

  .source-card.available{background:rgba(255,255,255,.88)}.source-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.source-head>div:first-child{min-width:0}.source-logo{width:58px;height:58px;border-radius:16px;background:linear-gradient(160deg,#102120,#006f5c);color:#fff;display:grid;place-items:center;font-weight:850;font-size:18px;box-shadow:0 13px 28px rgba(0,79,67,.18);flex:0 0 auto}.saved-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:15px;background:var(--surface-soft);padding:13px;margin:14px 0}.saved-strip span{color:var(--muted);font-size:12px;font-weight:760;text-transform:uppercase;letter-spacing:.045em}.saved-strip strong{display:block;font-size:18px;letter-spacing:-.025em}.saved-strip p{margin:2px 0 0;font-size:13.5px}.source-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.source-actions form{margin:0}.source-status-strip{align-items:stretch}.source-status-strip>div:first-child{align-self:center}.source-modal{width:min(96vw,620px);border:0;background:transparent;padding:0;overflow:visible}.source-modal::backdrop{background:rgba(10,20,19,.42);backdrop-filter:blur(12px)}.modal-card,.payment-modal-card{width:min(100%,520px);background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 28px 90px rgba(20,32,31,.22);backdrop-filter:blur(18px)}.source-modal-card{width:100%;max-width:620px}.modal-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.modal-close{width:36px;height:36px;flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:22px;line-height:1;color:var(--ink);cursor:pointer;font-weight:650}.modal-backdrop,.payment-modal-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;background:rgba(10,20,19,.42);backdrop-filter:blur(12px);padding:16px}.payment-modal-backdrop[hidden]{display:none!important}.payment-modal-card{position:relative;display:grid;gap:10px;width:min(96vw,560px)}.payment-modal-card .modal-close{position:absolute;top:12px;right:12px}.modal-open{overflow:hidden}.file-inline-action{border-style:dashed}.file-inline-action input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.source-diagnostic-box{border:1px solid var(--line);border-radius:15px;background:var(--surface-soft);padding:13px;margin-top:12px}.source-diagnostic-box.ready-box{border-color:#b9d9cc;background:#f2faf6}.source-reset-note{color:var(--muted);font-size:12.8px;font-weight:720}.diagnostic-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.small-link{color:var(--brand-strong);font-weight:800;text-decoration:none;border-bottom:1px solid rgba(0,111,92,.25)}.small-link:hover{border-color:var(--brand-strong)}

  .work-panel.running{border-color:#bdd0ea}.work-panel.done{border-color:#b9d9cc}.work-panel.error{border-color:#efbac2}.work-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.loader{width:42px;height:42px;border-radius:999px;border:4px solid rgba(37,90,155,.16);border-top-color:var(--blue);animation:spin 1s linear infinite;flex:0 0 auto}@keyframes spin{to{transform:rotate(360deg)}}.metric-grid,.report-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0}.metric,.mini-stat{background:var(--surface-soft);border:1px solid var(--line);border-radius:15px;padding:13px}.metric span,.mini-stat span{display:block;color:var(--muted);font-size:12px;font-weight:760}.metric strong,.mini-stat strong{display:block;font-size:clamp(20px,2.2vw,28px);line-height:1.08;letter-spacing:-.045em;color:var(--ink)}.metric small{display:block;margin-top:4px;font-size:11.5px;font-weight:720}.metric.highlight{border-color:#b9d9cc;background:#f4fbf8}.metric.highlight.soft{background:#eef8f4}.logs-box{border:1px solid var(--line);border-radius:15px;background:var(--surface-soft);padding:13px;margin-top:14px}.logs-box summary{font-weight:850;cursor:pointer}.logs-box ul{padding-left:18px;max-height:320px;overflow:auto}.logs-box li{padding:5px 0;color:var(--muted);border-bottom:1px solid rgba(20,32,31,.07);font-size:13px}.error-text{color:var(--danger);font-weight:700}

  .generate-documents-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,300px);gap:16px;align-items:center;border:1px solid #b9d9cc;border-radius:16px;background:#f4fbf8;padding:16px;margin-top:14px}.generate-documents-panel h3{margin:0 0 5px;font-size:20px}.generate-documents-panel small{display:block;margin-top:7px;color:var(--muted);font-weight:720}.primary-action.is-ready{box-shadow:0 16px 34px rgba(0,111,92,.20)}

  .admin-role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.admin-user-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,300px);gap:14px;align-items:center;border:1px solid var(--line);border-radius:16px;background:var(--surface-soft);padding:16px}.admin-user-card h3{margin-top:8px}.admin-locked-role{border:1px solid #b9d9cc;border-radius:14px;background:#f2faf6;padding:12px}.admin-locked-role strong{display:block;color:var(--brand-strong);font-weight:850}.admin-locked-role small{display:block;color:var(--muted);font-weight:720;margin-top:4px}

  .consultant-intro{border-color:#b9d9cc;background:linear-gradient(180deg,#fff,#f5fbf8)}.consultant-type-counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0 14px}.consultant-type-counter{border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:12px;display:grid;gap:8px}.consultant-type-counter.ignored{border-color:#b9d9cc;background:#f2faf6}.consultant-type-counter.ignored strong:after{content:' · ignorato';color:var(--brand-strong);font-weight:850}.consultant-type-counter strong{display:block;font-size:13px}.consultant-type-counter span{display:block;color:var(--brand-strong);font-size:22px;font-weight:850;letter-spacing:-.04em}.type-ignore-line,.row-ignore-line{font-size:12px!important;text-transform:none!important;letter-spacing:0!important;color:var(--muted)!important;font-weight:760!important}.row-ignore-line{display:flex!important;align-items:center;gap:7px;margin-top:9px}.row-ignore-line input,.type-ignore-line input{width:auto!important;min-height:auto!important}.simple-consultant-row:has([data-ignore-row]:checked) .consultant-grid-cell{background:#fff8e7}.consultant-table-panel{overflow:hidden}.consultant-table-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.table-count{border:1px solid var(--line);border-radius:999px;background:#fff;padding:8px 12px;font-weight:850;color:var(--brand-strong);white-space:nowrap}.consultant-table-scroll{overflow:auto;border:1px solid var(--line);border-radius:16px;background:#fff;max-height:72vh}.consultant-grid-table{display:grid;width:max-content;min-width:100%;align-items:stretch}.consultant-grid-row{display:contents}.consultant-grid-header,.consultant-grid-cell{border-right:1px solid #e7ece9;border-bottom:1px solid #e7ece9;padding:9px;min-height:50px}.consultant-grid-header{position:sticky;top:0;z-index:1;background:#f5f7f6;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.045em;color:#53615e}.consultant-grid-header.editable{color:var(--brand-strong);background:#eef8f4}.consultant-grid-cell{font-size:12.8px;color:var(--ink-soft);background:#fff;word-break:break-word}.consultant-grid-cell.readonly{max-height:110px;overflow:hidden}.consultant-grid-cell.editable-cell{background:#f8fcfa}.consultant-grid-cell input,.consultant-grid-cell select,.consultant-grid-cell textarea{min-height:36px;border-radius:10px;padding:7px 9px;font-size:13px}.consultant-grid-cell textarea{resize:vertical;min-height:58px}.action-cell{position:sticky;left:0;z-index:1;background:rgba(255,255,255,.96)}.consultant-grid-header:first-child{position:sticky;left:0;z-index:2}.consultant-waiting{border-color:#ead29f;background:#fff8e7}.simple-consultant-scroll{max-height:74vh}.simple-consultant-table{width:100%;min-width:920px}.simple-consultant-row.saved .consultant-grid-cell{background:#f2faf6}.simple-missing strong{display:block;color:var(--ink)}.simple-missing small{display:inline-flex;margin-top:7px;border-radius:999px;background:#edf8f3;color:var(--brand-strong);font-size:10.5px;font-weight:850;text-transform:uppercase;padding:4px 8px}.simple-inputs{display:grid;grid-template-columns:1fr;gap:7px}.simple-inputs label,.consultant-grid-cell.editable-cell label{display:grid;gap:4px;font-size:10.5px;font-weight:850;color:var(--muted);text-transform:uppercase;letter-spacing:.045em}.simple-inputs input,.simple-inputs select,.consultant-grid-cell textarea{color:var(--ink);text-transform:none;letter-spacing:0}.simple-inputs small,.consultant-grid-cell.editable-cell small{display:block;color:var(--muted);font-size:10.5px;font-weight:720;line-height:1.35;text-transform:none;letter-spacing:0}.save-cell{background:#fff;display:flex;align-items:center}

  .tree-box{border:1px solid var(--line);border-radius:16px;background:#fff;padding:14px;overflow:auto}.tree-root{font-weight:850;font-size:16px;margin-bottom:8px}.tree-group{border-top:1px solid #e7ece9;padding:9px 0}.tree-group summary{font-weight:850;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px}.tree-group summary::-webkit-details-marker{display:none}.tree-group summary span{color:var(--muted)}.tree-group ul{margin:8px 0 0;padding-left:18px}.tree-group li{white-space:nowrap;padding:4px 0;color:var(--muted);list-style:none}.file-dot{display:inline-block;width:7px;height:7px;border-radius:999px;background:var(--brand);margin-right:8px}.documents-shell{display:grid;gap:12px}.zip-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,300px);gap:16px;align-items:center;background:linear-gradient(180deg,#fff,#f4fbf8)}.doc-group{margin:0}.doc-list{display:grid;gap:8px}.doc-item{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:10px;align-items:center;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:12px}.doc-item span{display:block;color:var(--muted);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.045em}.doc-item strong{display:block;word-break:break-word;font-size:13.5px}.download-link{min-height:40px;color:var(--brand-strong)}

  .auth-card{max-width:520px;margin:clamp(20px,5vw,58px) auto}.auth-card h1{font-size:clamp(28px,4vw,42px);line-height:1.04;letter-spacing:-.045em;margin:0 0 10px}.auth-card p{font-size:14.5px;line-height:1.55}.auth-switch{margin-top:16px;text-align:center;color:var(--muted)}.auth-switch a{font-weight:850;color:var(--brand-strong)}.public-shell{display:grid;align-content:start}.public-wrap{width:min(100%,var(--page-max))}.public-header{position:sticky;top:12px;z-index:10;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.84);backdrop-filter:blur(18px);box-shadow:var(--shadow-soft);padding:6px 7px 6px 14px}.public-links{display:flex;align-items:center;gap:6px}.public-links a,.landing-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border-radius:999px;text-decoration:none;font-weight:760;font-size:13px;color:var(--ink-soft)}.landing-nav{display:flex;align-items:center;gap:2px;overflow-x:auto;scrollbar-width:none}.landing-nav::-webkit-scrollbar{display:none}.public-links a:hover,.landing-nav a:hover{background:var(--surface-muted)}.public-start{background:var(--ink)!important;color:#fff!important}.public-footer{width:min(100%,var(--page-max));margin:18px auto 0;padding:18px 4px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:13px}.public-footer nav{display:flex;gap:18px}.public-footer a{text-decoration:none;color:var(--muted)}.public-footer a:hover{color:var(--brand-strong)}

  .primary-action.is-loading,.secondary-action.is-loading,.danger-action.is-loading,.download-link.is-loading,button.is-loading{position:relative;pointer-events:none;opacity:.78}.primary-action.is-loading::after,.secondary-action.is-loading::after,.danger-action.is-loading::after,.download-link.is-loading::after,button.is-loading::after{content:'';display:inline-block;width:14px;height:14px;margin-left:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:999px;vertical-align:-2px;animation:ft-spin .75s linear infinite}.action-status-message{margin:0 0 12px;padding:10px 12px;border:1px solid #b9d9cc;border-radius:12px;background:#f2faf6;color:var(--brand-strong);font-weight:760;font-size:13px}.action-status-message.error{border-color:#efbac2;background:#fff3f4;color:var(--danger)}@keyframes ft-spin{to{transform:rotate(360deg)}}

  @media(min-width:1180px){.app-nav{--nav-h:58px}.nav-item{flex:1 1 0}.page-heading{margin-bottom:18px}.panel,.source-card,.welcome-panel,.empty-state,.zip-hero,.doc-group,.auth-card,.landing-card{padding:22px 24px}.source-card,.panel{margin:14px 0}}
  @media(max-width:1040px){:root{--page-max:920px}.process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-panel,.zip-hero,.generate-documents-panel{grid-template-columns:1fr}.admin-role-grid,.admin-user-card{grid-template-columns:1fr}.consultant-type-counters{grid-template-columns:1fr 1fr}.button-row.three-actions{grid-template-columns:1fr}.metric-grid,.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.source-head,.saved-strip,.work-head,.two-col,.danger-zone,.consultant-table-head{display:grid;grid-template-columns:1fr}.source-actions{justify-content:flex-start}.source-actions .primary-action,.source-actions .secondary-action,.source-actions .danger-action,.source-actions form{width:auto}.source-actions form button{width:auto}}
  @media(max-width:760px){.shell{padding:12px 10px calc(var(--mobile-nav-safe) + env(safe-area-inset-bottom))}.page-wrap{padding-bottom:calc(var(--mobile-nav-safe) + 36px + env(safe-area-inset-bottom))}.hero-shell{margin-bottom:16px}.app-topbar{margin-bottom:10px}.brand-lockup img{max-width:138px;height:38px}.brand-lockup img.brand-image-icon{width:38px;height:38px}.brand-word{font-size:22px}.user-box{padding:5px;gap:6px}.user-box button{min-height:32px;font-size:12px}.notification-toggle,.admin-mail-toggle{min-width:104px;padding:0 6px 0 9px;gap:6px}.notification-switch{width:38px;height:21px}.notification-switch i{width:15px;height:15px}.notification-toggle.is-on .notification-switch i,.admin-mail-toggle.is-on .notification-switch i{transform:translateX(17px)}.notification-label{font-size:9.5px}.logout-button{padding:0 10px}.app-nav-shell{position:fixed!important;left:50%!important;right:auto!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;z-index:120!important;width:calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right)))!important;max-width:var(--page-max)!important;margin:0!important;transform:translate3d(-50%,0,0)!important;will-change:transform;contain:layout paint}.app-nav{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;height:62px;border-radius:22px;padding:6px;align-items:center;justify-content:flex-start;overscroll-behavior-x:contain}.app-nav-shell:before,.app-nav-shell:after{top:3px;bottom:3px;width:34px;border-radius:22px}.nav-item{height:50px;min-width:78px;flex:0 0 auto;flex-direction:column;gap:3px;padding:0 9px;font-size:10.5px}.nav-icon svg{width:21px;height:21px}.page-heading h1{font-size:28px}.page-heading p{font-size:13.5px}.panel,.source-card,.welcome-panel,.empty-state,.zip-hero,.doc-group,.auth-card,.landing-card{border-radius:16px;padding:16px;margin:10px 0}.welcome-panel,.process-grid,.chips,.metric-grid,.report-stats,.consultant-type-counters{grid-template-columns:1fr}.year-card{min-height:126px}.year-card strong{font-size:42px}.step-card{min-height:auto}.button-row{grid-template-columns:1fr}.primary-action,.secondary-action,.danger-action,.download-link,.file-inline-action{width:auto;max-width:100%;min-height:40px;padding-inline:13px}.source-logo{width:50px;height:50px}.modal-backdrop,.payment-modal-backdrop{padding:10px}.modal-card,.payment-modal-card{border-radius:16px;padding:18px}.consultant-table-scroll{border-radius:14px}.doc-item{grid-template-columns:1fr}.sticky-actions{position:static;border-radius:16px}.public-header{position:static;display:grid;grid-template-columns:1fr auto;gap:8px;border-radius:18px;padding:8px}.public-header .brand-lockup{min-width:0}.landing-nav{grid-column:1/-1;order:3}.public-links a,.landing-nav a{font-size:12px;padding:0 9px}.public-footer{display:grid;justify-items:start}.public-footer nav{gap:14px;flex-wrap:wrap}.auth-card{margin-top:16px}}
  @media(max-width:430px){.app-topbar{align-items:flex-start}.brand-lockup img{max-width:120px;height:35px}.notification-toggle,.admin-mail-toggle{min-width:92px}.notification-bell{width:18px}.notification-label{display:none}.page-heading h1{font-size:25px}.page-heading p{font-size:13px}.nav-item{min-width:72px}.metric strong,.mini-stat strong{font-size:20px}.panel,.source-card,.welcome-panel,.empty-state,.zip-hero,.doc-group,.auth-card,.landing-card{padding:14px}.source-head{gap:12px}.source-logo{width:44px;height:44px;border-radius:13px}.saved-strip{padding:11px}.doc-item{padding:10px}}
  @media(orientation:landscape) and (max-height:560px){.shell{padding-bottom:18px}.page-wrap{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.hero-shell{margin-bottom:14px}.app-nav-shell{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:min(100%,var(--page-max))!important;max-width:var(--page-max)!important;transform:none!important;contain:none}.app-nav{position:static!important;height:52px;border-radius:999px}.app-nav-shell:before,.app-nav-shell:after{width:32px}.nav-item{height:42px;min-width:max-content;flex-direction:row;font-size:12px;padding:0 12px}.nav-icon svg{width:18px;height:18px}.page-heading{margin-bottom:12px}.panel,.source-card,.welcome-panel,.empty-state,.zip-hero,.doc-group,.auth-card,.landing-card{padding:14px 16px}.process-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.step-card{min-height:120px}.app-topbar{margin-bottom:8px}.public-header{position:static}}


  /* Step 94 — PWA/device state UI: header switch only inside installed PWA, floating black CTAs for install/push. */
  .notification-toggle{display:none!important}
  body.ft-pwa .notification-toggle{display:inline-flex!important}
  body.ft-device-desktop:not(.ft-pwa) .notification-box,
  body.ft-mobile-browser .notification-box{padding:5px}
  .pwa-utility-badge{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));z-index:60;transform:translateX(-50%);min-height:42px;width:max-content;max-width:calc(100vw - 28px);border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#0f1313;color:#fff;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:950;letter-spacing:.025em;text-transform:uppercase;white-space:nowrap;box-shadow:0 18px 44px rgba(20,32,31,.26),inset 0 1px 0 rgba(255,255,255,.10);cursor:pointer;backdrop-filter:blur(16px);transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}.pwa-utility-badge:hover{transform:translateX(-50%) translateY(-1px);box-shadow:0 22px 54px rgba(20,32,31,.32),inset 0 1px 0 rgba(255,255,255,.12)}.pwa-utility-badge[hidden]{display:none!important}.pwa-utility-badge-icon{display:inline-grid;place-items:center;width:18px;height:18px;flex:0 0 18px;line-height:1}.pwa-utility-badge-icon svg{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:2.35;stroke-linecap:round;stroke-linejoin:round}.pwa-utility-badge.is-pulse{animation:ft-pwa-pulse 1.35s ease-in-out infinite}@keyframes ft-pwa-pulse{0%,100%{box-shadow:0 18px 44px rgba(20,32,31,.26),0 0 0 0 rgba(20,32,31,.24),inset 0 1px 0 rgba(255,255,255,.10)}50%{box-shadow:0 22px 54px rgba(20,32,31,.32),0 0 0 10px rgba(20,32,31,0),inset 0 1px 0 rgba(255,255,255,.12)}}.pwa-install-modal-backdrop{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));background:rgba(10,20,19,.48);backdrop-filter:blur(14px);overflow:auto}.pwa-install-modal-backdrop[hidden]{display:none!important}.pwa-install-card{position:relative;width:min(100%,520px);max-height:calc(100dvh - 28px);overflow:auto;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.97);box-shadow:0 34px 100px rgba(20,32,31,.26);padding:22px;display:grid;gap:10px}.pwa-install-card h2{margin:0}.pwa-install-card ol{margin:2px 0 8px;padding-left:22px;color:var(--ink-soft);font-weight:720}.pwa-install-card li{padding:4px 0}.pwa-install-card .modal-close{position:absolute;top:12px;right:12px}
  @media(max-width:760px){body.ft-mobile-browser .page-wrap,body.ft-pwa .page-wrap{padding-bottom:calc(var(--mobile-nav-safe) + 96px + env(safe-area-inset-bottom))}.pwa-utility-badge{bottom:calc(86px + env(safe-area-inset-bottom));width:max-content;min-width:0;max-width:calc(100vw - 32px);min-height:40px;padding:0 12px;font-size:11.5px;gap:6px}.pwa-utility-badge-icon,.pwa-utility-badge-icon svg{width:17px;height:17px}.pwa-install-card{border-radius:18px;padding:18px}}
  @media(orientation:landscape) and (max-height:560px){.pwa-utility-badge{bottom:calc(16px + env(safe-area-inset-bottom));right:calc(14px + env(safe-area-inset-right));left:auto;transform:none;min-width:0}.pwa-utility-badge:hover{transform:translateY(-1px)}}

  @media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

  .tiny-loader,.nav-mini-spinner{display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:999px;animation:ft-spin .75s linear infinite;vertical-align:-2px;flex:0 0 auto}.nav-mini-spinner{width:11px;height:11px;border-width:1.8px;margin-left:2px}.elapsed-pill{display:inline-flex;align-items:center;gap:7px}.loader-inline{display:inline-flex;align-items:center;gap:8px}.work-head .loader{display:none!important}.status-badge.with-loader{display:inline-flex;align-items:center;gap:8px}.status-badge.with-loader .tiny-loader{width:12px;height:12px;border-width:2px}.nav-icon{position:relative}.nav-badge{position:absolute;min-width:18px;height:18px;right:-9px;top:-10px;border-radius:999px;background:var(--accent);color:#fff;border:2px solid #fff;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:850;line-height:1;padding:0 4px;box-shadow:0 8px 16px rgba(143,18,63,.18)}.nav-badge.ticket-alert{background:#c1121f}

  .ticket-shell{display:grid;gap:14px}.ticket-grid{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.5fr);gap:14px;align-items:start}.ticket-form{display:grid;gap:12px;margin-top:14px}.ticket-form label{display:grid;gap:6px;color:var(--ink-soft);font-weight:780}.ticket-form input,.ticket-form textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);padding:11px 12px;outline:none}.ticket-form textarea{resize:vertical}.ticket-staff-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.ticket-list-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.ticket-list{display:grid;gap:8px}.ticket-list.compact{margin-top:12px}.ticket-row{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:12px;align-items:center;text-decoration:none;color:var(--ink);border:1px solid var(--line);background:rgba(255,255,255,.72);border-radius:16px;padding:12px;min-width:0;transition:border-color .18s ease,background .18s ease,transform .18s ease}.ticket-row:hover{border-color:var(--line-strong);background:#fff;transform:translateY(-1px)}.ticket-row.resolved{opacity:.72}.ticket-row.needs-reply{border-color:#f0c2c8;background:#fff8f8}.ticket-dot{width:10px;height:10px;border-radius:999px;background:var(--brand);box-shadow:0 0 0 4px rgba(0,111,92,.08)}.ticket-row.needs-reply .ticket-dot{background:#c1121f;box-shadow:0 0 0 4px rgba(193,18,31,.10)}.ticket-main{min-width:0;display:grid;gap:3px}.ticket-main b,.ticket-main small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ticket-main small,.ticket-meta small{color:var(--muted);font-size:12px}.ticket-meta{text-align:right;display:grid;gap:1px}.ticket-detail{display:grid;gap:16px}.ticket-detail-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.ticket-thread{display:grid;gap:12px}.ticket-message{max-width:min(760px,92%);border:1px solid var(--line);border-radius:18px;padding:13px 14px;background:rgba(255,255,255,.82);box-shadow:var(--shadow-soft);min-width:0}.ticket-message.mine{justify-self:end;background:var(--brand-soft);border-color:#bfddd2}.ticket-message.theirs{justify-self:start}.ticket-message header{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}.ticket-message header small{font-size:12px}.ticket-message p{white-space:normal;overflow-wrap:anywhere;color:var(--ink-soft);margin:0}.ticket-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.ticket-attachment{display:inline-flex;gap:8px;align-items:center;max-width:100%;text-decoration:none;border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 10px;font-weight:760;overflow:hidden;text-overflow:ellipsis}.ticket-close-form{display:flex;justify-content:flex-end}.empty-inline{border:1px dashed var(--line);border-radius:14px;padding:18px;text-align:center;color:var(--muted)}

  @media(max-width:860px){.ticket-grid{grid-template-columns:1fr}.ticket-detail-head{display:grid}.ticket-message{max-width:100%}.ticket-staff-metrics{grid-template-columns:1fr}.ticket-row{grid-template-columns:12px minmax(0,1fr);}.ticket-meta{grid-column:2;text-align:left;display:flex;gap:8px}.ticket-main b,.ticket-main small{white-space:normal;overflow-wrap:anywhere}}

  .home-simple-hero{background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(244,251,248,.92));border-color:#c7e0d6}.home-simple-hero h2{font-size:clamp(28px,4vw,48px);line-height:1.02;letter-spacing:-.055em;margin-top:5px}.home-simple-hero p{max-width:760px;font-size:clamp(15px,1.45vw,18px);line-height:1.55;color:var(--ink-soft)}.home-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.home-year-card{background:linear-gradient(155deg,#102120,#006f5c);min-height:180px}.home-focus-card{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;border:1px solid #b9d9cc;border-radius:18px;background:#f4fbf8;color:var(--ink);padding:14px 16px;margin:12px 0;text-align:center;box-shadow:0 8px 22px rgba(0,111,92,.07)}.home-focus-card b{font-weight:900}.home-focus-card span{color:var(--ink-soft);font-weight:760}.home-flow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0}.home-flow-card{position:relative;display:grid;align-content:start;gap:9px;min-height:245px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.88);padding:18px;box-shadow:var(--shadow-soft);overflow:hidden}.home-flow-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#006f5c,#102120);opacity:.9}.home-flow-number{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:999px;background:var(--ink);color:#fff;font-size:12px;font-weight:900;letter-spacing:.04em}.home-flow-card h3{font-size:21px;margin:2px 0 0;letter-spacing:-.03em}.home-flow-card p{font-size:14px;line-height:1.48;margin:0;color:var(--ink-soft)}.home-flow-card .secondary-action{margin-top:auto;width:100%;min-height:42px}.home-consultant-reminder{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(180deg,#fff,#f4fbf8);border-color:#b9d9cc}.home-consultant-reminder p{max-width:760px}
  @media(max-width:1040px){.home-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-flow-card{min-height:215px}.home-consultant-reminder{display:grid;grid-template-columns:1fr}.home-consultant-reminder .secondary-action{width:max-content}}
  @media(max-width:760px){.home-simple-hero h2{font-size:32px}.home-hero-actions{display:grid;grid-template-columns:1fr}.home-hero-actions .primary-action,.home-hero-actions .secondary-action,.home-consultant-reminder .secondary-action{width:100%}.home-flow-grid{grid-template-columns:1fr}.home-flow-card{min-height:auto}.home-focus-card{display:grid;gap:4px}.home-year-card{min-height:128px}}


  /* Step 401 — auth pages compact commercial redesign */
  .auth-public-shell{padding-top:clamp(10px,2vw,18px);padding-bottom:clamp(18px,3vw,30px);background:radial-gradient(circle at 12% 0%,rgba(0,111,92,.10),transparent 28rem),linear-gradient(180deg,#f8faf9 0%,#eef3f1 100%)}
  .auth-public-header{width:min(100%,940px);min-height:58px;margin-bottom:clamp(12px,2.6vw,24px);border-radius:26px;padding:8px 10px 8px 14px;box-shadow:0 14px 38px rgba(20,32,31,.08)}
  .auth-public-header .brand-lockup img{height:40px;max-width:158px}.auth-public-header .brand-lockup img.brand-image-icon{width:40px;height:40px}.auth-public-header .brand-word{font-size:24px}.auth-public-header .public-links a{min-height:36px;padding:0 13px;font-size:13px}.auth-public-header .public-start{padding:0 17px}
  .auth-public-wrap{width:min(100%,760px);padding-bottom:6px}.auth-public-footer{width:min(100%,760px);margin-top:clamp(14px,3vw,28px);padding-top:13px;font-size:12.5px;opacity:.86}
  .ft-auth-card{max-width:560px;margin:0 auto;border-radius:24px;padding:clamp(18px,3.2vw,30px);background:rgba(255,255,255,.92);border-color:#d8e5df;box-shadow:0 20px 70px rgba(20,32,31,.10);overflow:hidden;position:relative}.ft-auth-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--brand),var(--ink));opacity:.95}.ft-auth-card .status-badge{margin-bottom:10px}.auth-head{display:grid;gap:6px;margin-bottom:16px}.auth-head h1{margin:0;font-size:clamp(31px,4.7vw,46px);line-height:.98;letter-spacing:-.06em}.auth-head p{margin:0;max-width:470px;color:var(--ink-soft);font-size:15.5px;line-height:1.44;font-weight:640}.ft-auth-form{display:grid;gap:11px}.ft-auth-form label{display:grid;gap:6px}.ft-auth-form label b{font-size:13.5px;letter-spacing:-.01em}.ft-auth-form input[type="text"],.ft-auth-form input[type="email"],.ft-auth-form input[type="password"]{width:100%;height:46px;border-radius:16px;border:1px solid var(--line);background:#fff;padding:0 14px;outline:none;box-shadow:inset 0 1px 0 rgba(20,32,31,.03);transition:border-color .18s ease,box-shadow .18s ease}.ft-auth-form input:focus{border-color:#9fcec0;box-shadow:0 0 0 4px rgba(0,111,92,.09)}.ft-auth-form .primary-action.large{min-height:48px;margin-top:4px;border-radius:18px;font-size:15px;box-shadow:0 18px 34px rgba(20,32,31,.18)}.auth-switch{margin:12px 0 0!important;text-align:center;color:var(--muted);font-size:14px!important}.auth-switch a{font-weight:900;color:var(--brand-strong);text-underline-offset:3px}.ft-register-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}.ft-register-form label:first-child,.ft-register-form label:nth-child(6),.ft-register-form button,.ft-register-form + .auth-switch{grid-column:1/-1}.auth-consent{display:flex!important;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:11px 12px;color:var(--ink-soft);font-weight:720;font-size:13.2px;line-height:1.32}.auth-consent input{width:18px;height:18px;margin:0;flex:0 0 18px;accent-color:var(--brand)}.auth-consent span{min-width:0}.auth-consent a{font-weight:900;color:var(--brand-strong);text-underline-offset:3px}
  @media(max-width:760px){.auth-public-shell{padding:10px 10px 20px}.auth-public-header{position:static;display:flex;grid-template-columns:none;border-radius:22px;margin-bottom:14px;padding:8px 9px}.auth-public-header .public-links{margin-left:auto}.auth-public-header .public-links a:first-child{display:none}.auth-public-header .public-links a{min-height:38px;padding:0 15px}.auth-public-header .brand-lockup img{height:38px;max-width:150px}.auth-public-wrap{width:min(100%,620px)}.ft-auth-card{border-radius:20px;padding:18px 16px}.auth-head h1{font-size:33px}.auth-head p{font-size:14.5px}.ft-register-form{grid-template-columns:1fr;gap:10px}.ft-auth-form input[type="text"],.ft-auth-form input[type="email"],.ft-auth-form input[type="password"]{height:44px}.auth-public-footer{margin-top:16px}}
  @media(max-width:430px){.auth-public-header .brand-word{font-size:21px}.auth-public-header .brand-lockup img{max-width:132px;height:36px}.auth-public-header .public-start{padding:0 13px}.auth-head h1{font-size:30px}.ft-auth-card{padding:16px 14px}.auth-consent{font-size:12.8px}}


  
  .ft-hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);gap:clamp(24px,4vw,54px);align-items:center;min-height:min(690px,calc(100dvh - 132px));padding:clamp(42px,7vw,88px) 0 38px}
  .ft-hero-copy{display:grid;align-content:center}.ft-hero-copy .status-badge{margin-bottom:14px}.ft-hero-copy h1{max-width:760px;margin:0 0 14px;font-size:clamp(40px,6.4vw,76px);line-height:.94;letter-spacing:-.066em;color:var(--ink)}.ft-hero-lead{max-width:690px;margin:0;color:var(--ink-soft);font-size:clamp(17px,1.7vw,21px);line-height:1.54;font-weight:650}.ft-hero-note{max-width:640px;margin-top:10px;color:var(--muted);font-size:13.5px;font-weight:720}.ft-hero-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.ft-hero-pills span{display:inline-flex;align-items:center;min-height:30px;border:1px solid #b9d9cc;border-radius:999px;background:#edf8f3;color:var(--brand-strong);padding:0 11px;font-size:12px;font-weight:880;letter-spacing:-.01em}.landing-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.ft-hero-actions .primary-action,.ft-hero-actions .secondary-action{min-width:176px}
  .ft-hero-visual{position:relative;min-height:470px;border:1px solid var(--line);border-radius:28px;background:radial-gradient(circle at 88% 8%,rgba(143,18,63,.10),transparent 27%),radial-gradient(circle at 12% 0%,rgba(0,111,92,.12),transparent 30%),linear-gradient(145deg,#fff,var(--surface-soft));box-shadow:var(--shadow);overflow:hidden;padding:18px;display:grid;align-content:center}.ft-hero-visual:after{content:"";position:absolute;right:-80px;top:-80px;width:240px;height:240px;border-radius:999px;background:rgba(0,111,92,.07);filter:blur(3px)}.tax-preview-frame{position:relative;z-index:1;margin:0;display:grid;gap:13px}.tax-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.90);box-shadow:var(--shadow-soft);padding:8px 10px 8px 14px}.tax-preview-toolbar span{color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.tax-preview-toolbar strong{border:1px solid #b9d9cc;background:#edf8f3;color:var(--brand-strong);border-radius:999px;padding:6px 10px;font-size:11px;font-weight:950;white-space:nowrap}.tax-preview-docs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}.tax-real-pdf-card{min-width:0;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 18px 42px rgba(20,32,31,.10);padding:12px;display:grid;gap:10px;overflow:hidden}.tax-real-pdf-title{display:flex;align-items:center;gap:9px;min-width:0}.tax-real-pdf-title span{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#fff0eb;color:#cf3519;border:1px solid #f4c6b9;font-size:18px;font-weight:900;flex:0 0 auto}.tax-real-pdf-title strong{display:block;color:var(--ink);font-size:14.2px;line-height:1.1;font-weight:950;letter-spacing:-.018em}.tax-real-pdf-title small{display:block;color:var(--muted);font-size:11px;line-height:1.2;font-weight:720;margin-top:1px}.tax-real-pdf-page{height:360px;border:1px solid #dfe6e2;border-radius:13px;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.75);overflow:hidden;display:flex;align-items:flex-start;justify-content:center}.tax-real-pdf-page img{display:block;width:100%;height:100%;object-fit:contain;object-position:top center;background:#fff;user-select:none;-webkit-user-drag:none}.tax-preview-frame figcaption{color:var(--muted);font-size:11.5px;text-align:center;margin:0;font-weight:650}
  .ft-section{padding:clamp(42px,5.5vw,70px) 0;border-top:1px solid var(--line)}.ft-section-head{max-width:790px;margin-bottom:20px}.ft-section-head h2,.ft-split h2,.ft-consultant h2,.ft-pricing h2,.ft-final-cta h2{max-width:850px;margin:0 0 10px;font-size:clamp(28px,3.7vw,48px);line-height:1.03;letter-spacing:-.052em}.ft-section-head p,.ft-split p,.ft-consultant p,.ft-pricing p,.ft-final-cta p{max-width:790px;color:var(--muted);font-size:16px;line-height:1.58;font-weight:630}.ft-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ft-step{min-height:190px;border:1px solid var(--line);border-radius:18px;padding:17px;background:rgba(255,255,255,.86);box-shadow:var(--shadow-soft)}.ft-step span{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:999px;background:var(--ink);color:#fff;font-size:12px;font-weight:900;margin-bottom:13px}.ft-step h3{font-size:19px;line-height:1.08;letter-spacing:-.035em;margin-bottom:7px}.ft-step p{font-size:13.8px;line-height:1.48;margin:0;color:var(--ink-soft);font-weight:650}.ft-split,.ft-pricing,.ft-consultant{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,430px);gap:24px;align-items:center}.ft-compare-grid{display:grid;gap:10px}.ft-compare,.ft-folder-preview,.ft-consultant-card,.ft-price-card,.ft-final-cta{border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.88);box-shadow:var(--shadow-soft)}.ft-compare{padding:17px}.ft-compare.active{border-color:#b9d9cc;background:#f4fbf8}.ft-compare span,.ft-price-card span{display:block;color:var(--brand-strong);font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:10.5px}.ft-compare.muted span{color:var(--muted)}.ft-compare ul,.ft-price-card ul{margin:12px 0 0;padding:0;display:grid;gap:8px}.ft-compare li,.ft-price-card li{list-style:none;color:var(--ink-soft);font-size:13.8px;font-weight:760;line-height:1.38}.ft-compare li:before,.ft-price-card li:before{content:"✓";display:inline-grid;place-items:center;width:18px;height:18px;margin-right:7px;border-radius:999px;background:#edf8f3;color:var(--brand-strong);font-size:10px;font-weight:900}.ft-compare.muted li:before{content:"×";background:#f4f6f5;color:var(--muted)}.ft-folder-preview{overflow:hidden}.ft-folder-title{padding:15px 17px;background:var(--ink);color:#fff;font-size:21px;font-weight:900;letter-spacing:-.038em}.ft-folder-group{padding:15px 17px;border-top:1px solid var(--line)}.ft-folder-group strong{font-size:15.5px}.ft-folder-group ul{margin:10px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.ft-folder-group li{list-style:none;color:var(--ink-soft);font-size:13.6px;font-weight:740;line-height:1.35}.ft-consultant-card,.ft-price-card,.ft-final-cta{padding:clamp(18px,3vw,28px);background:linear-gradient(180deg,#fff,var(--surface-soft))}.ft-checklist{display:grid;gap:9px}.ft-checklist div{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:15px;background:#fff;padding:10px 12px}.ft-checklist b{display:grid;place-items:center;width:32px;height:32px;border-radius:999px;background:var(--ink);color:#fff;font-size:11px}.ft-checklist span{font-weight:790;color:var(--ink-soft);font-size:13.6px}.ft-price-card strong{display:block;font-size:clamp(24px,3vw,34px);line-height:1;letter-spacing:-.045em;margin:10px 0}.ft-price-card .primary-action{margin-top:16px;width:max-content;max-width:100%}.ft-faq-list{display:grid;gap:9px}.ft-faq-list details{border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.88);box-shadow:var(--shadow-soft);padding:14px 15px}.ft-faq-list summary{font-size:15.8px;font-weight:900;cursor:pointer;letter-spacing:-.02em}.ft-faq-list p{margin:9px 0 0;font-size:14px;color:var(--ink-soft);font-weight:650}.ft-final-cta{text-align:center;display:grid;justify-items:center;margin-bottom:8px}.ft-final-cta .landing-actions{justify-content:center}.legal-hero{padding:clamp(28px,5vw,60px) 0 20px}.legal-back{display:inline-flex;margin-bottom:18px;text-decoration:none;color:var(--brand-strong);font-weight:850}.legal-hero h1{font-size:clamp(30px,4.4vw,50px);line-height:1.03;letter-spacing:-.05em;margin:0 0 12px}.legal-hero p{font-size:15px;max-width:760px}.legal-card{border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.88);box-shadow:var(--shadow-soft);padding:clamp(18px,3vw,26px)}.legal-card article{padding:14px 0;border-top:1px solid var(--line)}.legal-card article:first-child{border-top:0;padding-top:0}.legal-card h2{font-size:clamp(20px,2.5vw,26px)}.check-line a{font-weight:850;color:var(--brand-strong)}
  .ft-seo-section{position:relative}.ft-seo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ft-seo-grid article{min-height:168px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.88);box-shadow:var(--shadow-soft);padding:16px}.ft-seo-grid h3{font-size:18px;line-height:1.08;letter-spacing:-.034em;margin:0 0 8px;color:var(--ink)}.ft-seo-grid p{margin:0;color:var(--ink-soft);font-size:13.7px;line-height:1.48;font-weight:680}.ft-seo-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.ft-seo-link-grid a{display:grid;gap:5px;min-height:116px;border:1px solid var(--line);border-radius:16px;background:#fff;text-decoration:none;padding:14px;box-shadow:var(--shadow-soft);transition:transform .18s ease,border-color .18s ease}.ft-seo-link-grid a:hover{border-color:var(--line-strong);transform:translateY(-1px)}.ft-seo-link-grid strong{font-size:15.5px;line-height:1.12;letter-spacing:0;color:var(--ink)}.ft-seo-link-grid span{font-size:12.7px;line-height:1.4;color:var(--muted);font-weight:680}.seo-topic-page{display:block}.seo-topic-hero{padding:clamp(26px,5vw,58px) 0 20px}.seo-topic-hero .legal-back{display:flex;width:max-content;max-width:100%;margin-bottom:18px}.seo-topic-hero .eyebrow{display:block;margin:0 0 8px}.seo-topic-hero h1{max-width:880px;font-size:52px;line-height:1;letter-spacing:0;margin:0 0 12px;color:var(--ink)}.seo-topic-hero p{max-width:820px;font-size:17px;line-height:1.55;color:var(--ink-soft);font-weight:650}.seo-topic-hero .landing-actions{max-width:520px}.seo-topic-hero .primary-action.large,.seo-topic-hero .secondary-action.large{width:max-content;min-width:160px}.seo-topic-badges{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 18px}.seo-topic-badges span{display:inline-flex;align-items:center;min-height:30px;border:1px solid #cfe4db;border-radius:999px;background:#edf8f3;color:var(--brand-strong);padding:0 10px;font-size:12px;font-weight:900}.seo-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.seo-topic-steps{margin-top:0}.seo-topic-deliverables{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);gap:20px;align-items:start}.seo-topic-deliverables ul{margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.seo-topic-deliverables li{list-style:none;border:1px solid var(--line);border-radius:14px;background:#fff;padding:10px 12px;color:var(--ink-soft);font-weight:800;font-size:13.5px}.seo-topic-deliverables li:before{content:"✓";display:inline-grid;place-items:center;width:18px;height:18px;border-radius:999px;background:#edf8f3;color:var(--brand-strong);font-size:10px;margin-right:7px}
  @media(max-width:1080px){.ft-hero{grid-template-columns:1fr}.ft-hero{min-height:auto;padding-top:38px}.ft-hero-visual{min-height:390px}.tax-real-pdf-page{height:420px}.ft-split,.ft-pricing,.ft-consultant{grid-template-columns:1fr}.ft-timeline,.ft-seo-grid,.ft-seo-link-grid,.seo-topic-grid{grid-template-columns:1fr 1fr}.seo-topic-deliverables{grid-template-columns:1fr}.ft-folder-group ul{grid-template-columns:1fr}}
  @media(max-width:700px){.ft-hero{padding:28px 0 30px;gap:18px}.ft-hero-copy h1{font-size:38px;letter-spacing:-.055em}.ft-hero-lead{font-size:15.8px}.landing-actions{display:flex}.landing-actions .primary-action,.landing-actions .secondary-action{width:100%;min-width:0}.ft-hero-pills span{font-size:11.5px}.ft-hero-visual{min-height:auto;border-radius:20px;padding:12px}.tax-preview-toolbar{display:grid;border-radius:16px}.tax-preview-docs{gap:8px}.tax-real-pdf-card{border-radius:14px;padding:8px}.tax-real-pdf-title{gap:6px}.tax-real-pdf-title span{display:none}.tax-real-pdf-title strong{font-size:12px}.tax-real-pdf-title small{font-size:9.5px}.tax-real-pdf-page{height:270px;border-radius:9px}.tax-preview-frame figcaption{font-size:10.5px}.ft-section{padding:34px 0}.ft-section-head h2,.ft-split h2,.ft-consultant h2,.ft-pricing h2,.ft-final-cta h2{font-size:29px;letter-spacing:-.048em}.ft-section-head p,.ft-split p,.ft-consultant p,.ft-pricing p,.ft-final-cta p{font-size:14.8px}.ft-timeline,.ft-seo-grid,.ft-seo-link-grid,.seo-topic-grid,.seo-topic-deliverables ul{grid-template-columns:1fr}.ft-step,.ft-seo-grid article,.ft-seo-link-grid a{min-height:auto}.seo-topic-hero h1{font-size:36px}.seo-topic-hero p{font-size:15px}.seo-topic-hero .landing-actions{max-width:none;width:100%}.seo-topic-hero .primary-action.large,.seo-topic-hero .secondary-action.large{width:100%;min-width:0}.ft-folder-title{font-size:17px}.ft-folder-group,.ft-compare,.ft-consultant-card,.ft-price-card,.ft-final-cta,.legal-card{padding:14px}.legal-hero h1{font-size:30px}.ft-final-cta{text-align:left;justify-items:start}.ft-final-cta .landing-actions{justify-content:stretch;width:100%}}
  @media(max-width:390px){.tax-preview-docs{gap:6px}.tax-real-pdf-card{padding:6px}.tax-real-pdf-title small{display:none}.tax-real-pdf-page{height:235px}}
  @media(orientation:landscape) and (max-height:560px){.ft-hero{min-height:auto;padding:20px 0}.ft-hero-copy h1{font-size:44px}.ft-hero-visual{min-height:320px}.tax-real-pdf-page{height:260px}.ft-section{padding:30px 0}}


  /* Step 400 — commercial landing: shorter, stronger, cleaner. */
  .public-shell{background:linear-gradient(180deg,#f8fbfa 0%,#eef3f1 100%)}
  .public-header{position:sticky;top:10px;z-index:50;border:1px solid rgba(219,227,223,.92);border-radius:22px;background:rgba(255,255,255,.86);box-shadow:0 14px 42px rgba(20,32,31,.08);backdrop-filter:blur(20px);padding:8px 10px 8px 12px}
  .landing-nav a{font-size:12.5px;font-weight:850}.public-links a{font-size:12.8px}.public-start{box-shadow:0 12px 28px rgba(20,32,31,.16)}
  .ft-hero-commercial{grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr);min-height:min(650px,calc(100dvh - 110px));padding:clamp(32px,5.2vw,70px) 0 28px;gap:clamp(22px,3.5vw,44px)}
  .ft-hero-commercial .ft-hero-copy h1{font-size:clamp(42px,6.2vw,78px);letter-spacing:-.072em;line-height:.93;max-width:780px;margin-bottom:14px}.ft-hero-commercial .ft-hero-lead{font-size:clamp(17px,1.55vw,20px);line-height:1.48;max-width:700px;font-weight:700;color:#243331}.ft-hero-actions{margin-top:24px}.ft-hero-actions .primary-action,.ft-hero-actions .secondary-action{min-height:46px;min-width:156px;font-size:14px}.ft-hero-proof{margin-top:18px;gap:7px}.ft-hero-proof span{min-height:29px;background:#fff;border-color:#cfe1da;box-shadow:0 8px 18px rgba(20,32,31,.04);font-size:11.7px}.ft-hero-proof span b{font-size:12px;margin-right:3px}
  .ft-hero-commercial .ft-hero-visual{min-height:440px;border-radius:26px;padding:14px;background:radial-gradient(circle at 88% 5%,rgba(0,111,92,.12),transparent 26%),linear-gradient(145deg,#ffffff,#f0f6f3);box-shadow:0 28px 80px rgba(20,32,31,.12)}
  .tax-preview-clean{gap:0}.tax-preview-clean .tax-preview-toolbar,.tax-preview-clean figcaption{display:none!important}.tax-preview-clean .tax-preview-docs{gap:12px}.tax-preview-clean .tax-real-pdf-card{border-radius:20px;padding:10px;background:#fff;box-shadow:0 18px 48px rgba(20,32,31,.10);border-color:#d7e2dd}.tax-preview-clean .tax-real-pdf-card.quadro-rw .tax-real-pdf-title span{background:#eef7ff;color:#255a9b;border-color:#bdd0ea}.tax-preview-clean .tax-real-pdf-card.quadro-t .tax-real-pdf-title span{background:#fff0eb;color:#cf3519;border-color:#f4c6b9}.tax-preview-clean .tax-real-pdf-title{gap:8px}.tax-preview-clean .tax-real-pdf-title strong{font-size:14.6px}.tax-preview-clean .tax-real-pdf-title small{font-size:10.8px}.tax-preview-clean .tax-real-pdf-page{height:352px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px rgba(20,32,31,.035)}
  .ft-section-tight{padding:clamp(34px,4.3vw,56px) 0}.ft-section-head{margin-bottom:16px}.ft-section-head h2,.ft-split h2,.ft-consultant h2,.ft-pricing h2,.ft-final-cta h2{font-size:clamp(28px,3.15vw,44px);letter-spacing:-.058em}.ft-section-head p,.ft-split p,.ft-consultant p,.ft-pricing p,.ft-final-cta p{font-size:15.2px;line-height:1.52;font-weight:680}.ft-timeline-commercial .ft-step{min-height:150px;padding:15px;border-radius:17px;background:#fff}.ft-timeline-commercial .ft-step span{width:32px;height:32px;margin-bottom:10px}.ft-timeline-commercial .ft-step h3{font-size:17.5px}.ft-timeline-commercial .ft-step p{font-size:13.2px}
  .ft-compare,.ft-folder-preview,.ft-consultant-card,.ft-price-card,.ft-final-cta{border-radius:18px}.ft-compare{padding:15px}.ft-compare ul{gap:6px}.ft-compare li{font-size:13.3px}.ft-folder-commercial{display:grid;grid-template-columns:1.15fr repeat(3,minmax(0,1fr));align-items:stretch}.ft-folder-commercial .ft-folder-title{display:flex;align-items:center;padding:18px;font-size:19px}.ft-folder-commercial .ft-folder-group{border-top:0;border-left:1px solid var(--line);padding:14px}.ft-folder-commercial .ft-folder-group ul{grid-template-columns:1fr;gap:6px}.ft-folder-commercial .ft-folder-group li{font-size:13.1px}.ft-checklist{gap:7px}.ft-checklist div{padding:9px 11px;border-radius:14px}.ft-price-grid{gap:8px}.ft-price-tier{border-radius:16px;padding:14px!important}.ft-price-tier strong{font-size:29px!important}.ft-price-tier p{font-size:12.5px!important}.ft-final-cta-commercial{margin-top:8px;background:linear-gradient(135deg,#14201f,#0d3934)!important;color:#fff!important;border:0!important;box-shadow:0 28px 75px rgba(20,32,31,.20)!important}.ft-final-cta-commercial h2,.ft-final-cta-commercial p{color:#fff}.ft-final-cta-commercial p{opacity:.82}.ft-final-cta-commercial .status-badge{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.18);color:#fff}.ft-final-cta-commercial .secondary-action{background:transparent;color:#fff;border-color:rgba(255,255,255,.30)}
  .ft-faq-list details{padding:12px 14px;border-radius:14px}.ft-faq-list summary{font-size:14.8px}.ft-faq-list p{font-size:13.4px}.public-footer{padding-top:16px}
  @media(max-width:1080px){.ft-hero-commercial{grid-template-columns:1fr}.ft-folder-commercial{grid-template-columns:1fr 1fr}.ft-folder-commercial .ft-folder-title{grid-column:1/-1}.ft-folder-commercial .ft-folder-group{border-left:0;border-top:1px solid var(--line)}.tax-preview-clean .tax-real-pdf-page{height:430px}}
  @media(max-width:700px){.public-header{top:6px;border-radius:18px}.ft-hero-commercial{padding-top:22px}.ft-hero-commercial .ft-hero-copy h1{font-size:38px}.ft-hero-actions .primary-action,.ft-hero-actions .secondary-action{width:100%}.ft-hero-commercial .ft-hero-visual{padding:10px;border-radius:20px}.tax-preview-clean .tax-preview-docs{gap:8px}.tax-preview-clean .tax-real-pdf-card{padding:8px;border-radius:14px}.tax-preview-clean .tax-real-pdf-title span{display:none}.tax-preview-clean .tax-real-pdf-page{height:285px}.ft-folder-commercial{grid-template-columns:1fr}.ft-folder-commercial .ft-folder-title{font-size:17px}.ft-section-tight{padding:30px 0}.ft-timeline-commercial .ft-step{padding:14px}.ft-final-cta-commercial{text-align:left;justify-items:start}.ft-final-cta-commercial .landing-actions{width:100%}.ft-final-cta-commercial .primary-action,.ft-final-cta-commercial .secondary-action{width:100%}}
  @media(max-width:390px){.tax-preview-clean .tax-real-pdf-page{height:245px}.tax-preview-clean .tax-real-pdf-title small{display:none}}

  
  
  .live-status-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:7px 0 12px}.elapsed-pill{display:inline-flex;align-items:center;gap:7px;min-height:30px;border-radius:999px;border:1px solid #bdd0ea;background:#eef5ff;color:var(--blue);font-weight:800;font-size:12.5px;padding:5px 10px}.elapsed-pill.done{border-color:#b9d9cc;background:#edf8f3;color:var(--brand-strong)}.live-step{font-size:15px;font-weight:720;color:var(--ink-soft);margin:0}.result-copy{max-width:780px}.result-actions{margin-top:14px}.is-hidden{display:none!important}.muted-note{color:var(--muted);font-size:13px;margin-top:8px}.final-metrics-locked-note{border:1px solid #bdd0ea;border-radius:14px;background:#f3f8ff;padding:13px 14px;margin:13px 0;color:var(--ink-soft)}.final-metrics-locked-note strong{display:block;color:var(--ink);font-size:14.5px;margin-bottom:4px}.final-metrics-locked-note p{margin:0;color:var(--muted);font-weight:680;line-height:1.45}.work-panel.done .loader,.work-panel.error .loader{display:none}.work-panel.done .live-step{color:var(--brand-strong)}.work-panel.error .live-step{color:var(--danger)}.correction-panel{border-color:#b9d9cc}.correction-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.correction-card{display:grid;gap:13px;background:var(--surface-soft);border:1px solid var(--line);border-radius:15px;padding:15px}.correction-card h3{font-size:18px}.correction-card small{display:block;color:var(--muted);font-weight:700}.correction-downloads{margin-top:12px}@media(max-width:820px){.correction-grid{grid-template-columns:1fr}}

  /* Step 667 — movements source selector progressive rendering */
  .movement-source-selector{display:grid;gap:10px;margin:14px 0 16px;border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px}.movement-source-selector-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.movement-source-selector-head b{display:block;color:var(--ink);font-size:15px}.movement-source-selector-head p{margin:4px 0 0;color:var(--muted);font-size:12.5px;font-weight:700;line-height:1.42}.movement-source-selector-head span{white-space:nowrap;border:1px solid var(--line);background:var(--surface-soft);border-radius:999px;padding:5px 9px;color:var(--ink-soft);font-size:11px;font-weight:900}.movement-source-toggle{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:10px;align-items:center;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:11px;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.movement-source-toggle:hover{border-color:var(--line-strong);transform:translateY(-1px)}.movement-source-toggle.gated{cursor:not-allowed;background:#fbfaf7;border-style:dashed;opacity:.88}.movement-source-toggle.gated:hover{transform:none;border-color:var(--line)}.movement-source-toggle.gated .movement-source-check{background:#f2f0eb;border-color:#c9c0af}.movement-source-state.gated{color:#9b6a12;font-weight:900}.movement-source-toggle input{position:absolute;opacity:0;pointer-events:none}.movement-source-icon{width:32px;height:32px;border-radius:10px;background:#fff;padding:4px;box-shadow:0 0 0 1px var(--line);object-fit:contain}.movement-source-wallet-icon{display:grid;place-items:center;box-sizing:border-box;background:#f7fbff;border:1px solid rgba(27,94,137,.20);box-shadow:0 0 0 1px var(--line)}.movement-source-wallet-icon svg{width:22px;height:22px;fill:none;stroke:#1b5e89;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.movement-source-check{width:22px;height:22px;border-radius:7px;border:2px solid #111;background:#fff;display:grid;place-items:center}.movement-source-check:after{content:'';width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translateY(-1px);opacity:0}.movement-source-toggle input[type="checkbox"]:checked~.movement-source-check{background:#111;border-color:#111}.movement-source-toggle input[type="checkbox"]:checked~.movement-source-check:after{opacity:1}.movement-source-copy{display:grid;gap:2px;min-width:0}.movement-source-copy strong{font-size:14px;color:var(--ink)}.movement-source-copy small{font-size:11.5px;color:var(--muted);font-weight:750}.movement-source-empty{border:1px dashed var(--line);border-radius:14px;padding:12px;color:var(--muted);font-weight:760;background:var(--surface-soft)}.movement-source-deferred{display:grid;gap:8px;border:1px dashed var(--line);border-radius:14px;background:linear-gradient(180deg,#fff,#f8fbfa);padding:10px}.movement-source-show-more{justify-self:start}.movement-source-deferred-note{display:block;color:var(--muted);font-size:11.5px;font-weight:750;line-height:1.35}.movement-source-toggle[data-source-deferred="1"]{animation:ft-deferred-source-in .18s ease-out both}@keyframes ft-deferred-source-in{from{opacity:.72;transform:translateY(4px)}to{opacity:1;transform:none}}.movement-year-import-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin:0 0 14px;border:1px solid #e3c983;background:#fff8e6;border-radius:18px;padding:13px 14px}.movement-year-import-panel b{display:block;color:#2f2100;font-size:15px}.movement-year-import-panel p{margin:4px 0 0;color:#6d540e;font-size:12.5px;font-weight:760;line-height:1.4}.fiscal-year-source-import-modal .fiscal-year-source-import-card{width:min(100%,680px)!important}.fiscal-year-source-import-list{display:grid;gap:8px;max-height:min(48vh,420px);overflow:auto;padding:2px}.fiscal-year-source-import-toggle{background:#fff;grid-template-columns:auto auto minmax(0,1fr)}.movement-year-import-note{border:1px dashed #d8b85b;border-radius:14px;background:#fffaf0;padding:10px;color:#6d540e!important;font-size:12.5px}.prior-fiscal-losses-card{background:linear-gradient(180deg,#fff,#f7fbff);border-color:#cddded}.prior-fiscal-loss-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.prior-fiscal-loss-grid label{display:grid;gap:6px;min-width:0}.prior-fiscal-loss-grid b{margin:0;color:var(--ink-soft);font-size:12.5px;font-weight:900}.prior-fiscal-loss-grid input{min-width:0}.source-exclusion-modal{border:0;background:transparent;padding:0;width:min(92vw,560px)}.source-exclusion-modal::backdrop{background:rgba(0,0,0,.52);backdrop-filter:blur(5px)}.source-exclusion-card{display:grid;gap:10px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 24px 70px rgba(0,0,0,.28)}.source-exclusion-card h3{margin:2px 0 0;color:var(--ink);font-size:22px}.source-exclusion-card p{margin:0;color:var(--ink-soft);font-weight:720;line-height:1.48}.danger-action{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:#111;color:#fff;font-weight:900;min-height:42px;padding:0 16px;cursor:pointer;text-decoration:none}.danger-action:hover{filter:brightness(.92)}
  @media(max-width:720px){.movement-source-selector-head{display:grid}.movement-source-selector-head span{width:max-content}.movement-year-import-panel{grid-template-columns:1fr}.movement-year-import-panel .secondary-action{width:100%;justify-content:center}.prior-fiscal-loss-grid{grid-template-columns:1fr}.source-exclusion-card .button-row{display:grid}.source-exclusion-card .button-row button{width:100%}}
  .source-progress-panel{display:grid;gap:9px;margin:12px 0 4px;max-width:780px}.source-progress-row{border:1px solid var(--line);background:#fff;border-radius:14px;padding:11px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.source-progress-row.running,.source-progress-row.queued,.source-progress-row.pending,.source-progress-row.waiting{border-color:#b9d9cc;background:linear-gradient(180deg,#fff,#f6fbf8);box-shadow:0 8px 22px rgba(0,111,92,.07)}.source-progress-row.completed,.source-progress-row.completed_with_gaps{border-color:#c8d1cf;background:#fff}.source-progress-row.failed{border-color:#d7b6bd;background:#fff}.source-progress-row.skipped{opacity:.72}.source-progress-row.waiting{background:#fff;border-color:var(--line)}.source-progress-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.source-progress-top strong{font-size:13.5px;color:var(--ink-soft)}.source-progress-spinner{display:none;width:19px;height:19px;border-radius:999px;border:2.4px solid rgba(0,111,92,.20);border-top-color:var(--brand);border-right-color:var(--brand);animation:ft-spin .72s linear infinite;box-shadow:0 0 0 5px rgba(0,111,92,.055);flex:0 0 auto}.source-progress-row.running .source-progress-spinner,.source-progress-row.queued .source-progress-spinner,.source-progress-row.pending .source-progress-spinner,.source-progress-row.waiting .source-progress-spinner{display:inline-block}.source-progress-row.completed .source-progress-spinner,.source-progress-row.completed_with_gaps .source-progress-spinner,.source-progress-row.failed .source-progress-spinner,.source-progress-row.skipped .source-progress-spinner{display:none}.source-progress-track{position:relative;height:18px;border-radius:999px;background:#ecefed;overflow:hidden;border:1px solid rgba(17,17,17,.10)}.source-progress-fill{height:100%;border-radius:999px;background:#050505;transition:width .35s ease}.source-progress-row.running .source-progress-fill,.source-progress-row.queued .source-progress-fill,.source-progress-row.pending .source-progress-fill,.source-progress-row.waiting .source-progress-fill{background:linear-gradient(90deg,#006f5c,#111)}.source-progress-row.failed .source-progress-fill{background:#050505}.source-progress-row.waiting .source-progress-fill{background:#050505}.source-progress-percent{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;color:#fff;mix-blend-mode:difference;font-size:11px;font-weight:950;line-height:1;letter-spacing:.02em;pointer-events:none}.source-progress-row small{display:block;margin-top:6px;color:var(--muted);font-size:11.5px;font-weight:700}
  .consultant-queue-panel{display:grid;gap:10px}.compact-consultant-queue{padding:16px!important;border-radius:22px}.consultant-queue-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.consultant-queue-head h2{margin:4px 0 0;font-size:clamp(22px,3vw,30px);letter-spacing:-.045em}.consultant-queue-total{display:grid;place-items:center;min-width:44px;height:36px;border-radius:13px;background:var(--ink);color:#fff;font-size:18px;font-weight:950}.consultant-queue-columns{display:grid;grid-template-columns:1fr 1fr;gap:10px}.consultant-case-section{border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.70);padding:10px}.case-section-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}.case-section-head h3{margin:0;font-size:15px;letter-spacing:-.02em}.case-section-head .status-badge{min-height:24px;padding:0 8px;font-size:11px}.consultant-case-list{display:grid;gap:6px}.consultant-case-card{border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.consultant-case-card:hover{transform:translateY(-1px);border-color:var(--line-strong);box-shadow:0 10px 24px rgba(20,32,31,.06)}.consultant-case-card-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.consultant-case-main{min-width:0;text-decoration:none;color:inherit}.consultant-case-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 11px}.consultant-case-user{display:grid;gap:1px;min-width:0}.consultant-case-card strong{min-width:0;font-size:14.5px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.consultant-case-card small,.empty-mini{color:var(--muted);font-weight:760}.consultant-case-user small{font-size:10.5px;text-transform:uppercase;letter-spacing:.04em}.consultant-case-card.pending .consultant-case-user small{color:var(--warn)}.consultant-case-card.validated .consultant-case-user small{color:var(--brand-strong)}.consultant-case-meta{font-size:12px;font-weight:850;color:var(--ink-soft);white-space:nowrap;background:var(--surface-soft);border:1px solid var(--line);border-radius:999px;padding:4px 8px}.consultant-case-card em{font-style:normal;font-size:12px;font-weight:950;color:var(--brand-strong);white-space:nowrap}.consultant-case-delete-history,.consultant-case-platform-cleanup{padding:0 10px 0 0;display:flex;justify-content:flex-start}.consultant-ticket-button{min-height:34px;white-space:nowrap}.empty-mini{border:1px dashed var(--line);border-radius:13px;padding:10px;background:#fff}.consultant-user-modal{overflow:auto;align-items:start;place-items:start center}.consultant-modal-card{width:min(96vw,1040px);margin:22px 0}.consultant-modal-card .panel{box-shadow:none;margin:10px 0}.final-docs-panel .tree-group li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.report-stats.single{grid-template-columns:1fr}
  @media(max-width:820px){.compact-consultant-queue{padding:13px!important}.consultant-queue-columns{grid-template-columns:1fr}.consultant-case-card-inner{grid-template-columns:1fr}.consultant-case-row{grid-template-columns:minmax(0,1fr) auto}.consultant-case-meta{grid-column:1}.consultant-case-card em{grid-row:1 / span 2;grid-column:2}.consultant-case-delete-history,.consultant-case-platform-cleanup{padding:0 11px 11px}.consultant-case-delete-history .compact,.consultant-case-platform-cleanup .compact{width:100%}.consultant-ticket-button{width:100%}.consultant-modal-card{width:min(98vw,100%);margin:8px 0}.final-docs-panel .tree-group li{grid-template-columns:1fr}.final-docs-panel .secondary-action.compact{width:100%}}
  
  
  /* Step 84 — modal hardening: one responsive system for every overlay/dialog. */
  body.modal-open,
  html.ft-modal-open,
  body.ft-modal-open{overflow:hidden;touch-action:none;overscroll-behavior:contain}
  html.ft-modal-open{scroll-behavior:auto!important}

  .modal-backdrop,
  .payment-modal-backdrop{
    position:fixed;
    inset:0;
    z-index:1000;
    display:grid;
    place-items:center;
    width:100vw;
    min-height:100dvh;
    max-height:100dvh;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    padding:
      max(16px,env(safe-area-inset-top))
      max(16px,env(safe-area-inset-right))
      max(16px,env(safe-area-inset-bottom))
      max(16px,env(safe-area-inset-left));
    background:rgba(10,20,19,.50);
    backdrop-filter:blur(14px);
  }
  .payment-modal-backdrop[hidden]{display:none!important}

  dialog.source-modal{
    position:fixed;
    inset:0;
    z-index:1001;
    display:none;
    place-items:center;
    width:100vw;
    max-width:none;
    height:100dvh;
    max-height:none;
    margin:0;
    border:0;
    padding:
      max(16px,env(safe-area-inset-top))
      max(16px,env(safe-area-inset-right))
      max(16px,env(safe-area-inset-bottom))
      max(16px,env(safe-area-inset-left));
    background:transparent;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  dialog.source-modal[open]{display:grid}
  dialog.source-modal::backdrop{background:rgba(10,20,19,.50);backdrop-filter:blur(14px)}

  .modal-card,
  .payment-modal-card,
  .source-modal-card,
  .consultant-modal-card{
    position:relative;
    width:min(100%,560px);
    max-width:calc(100vw - max(32px,env(safe-area-inset-left) + env(safe-area-inset-right)));
    max-height:calc(100dvh - max(32px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    border-radius:22px;
    padding:22px;
    background:rgba(255,255,255,.97);
    border:1px solid rgba(219,227,223,.96);
    box-shadow:0 34px 100px rgba(20,32,31,.26);
    backdrop-filter:blur(20px);
    scrollbar-gutter:stable both-edges;
  }
  .payment-modal-card{display:grid;gap:10px;width:min(100%,560px);padding-top:58px}
  .source-modal-card{width:min(100%,620px);max-width:620px;margin:0 auto}
  .consultant-modal-card{width:min(100%,1040px);max-width:min(1040px,calc(100vw - max(32px,env(safe-area-inset-left) + env(safe-area-inset-right))));margin:0 auto;padding-top:58px}

  .modal-head{
    display:grid;
    grid-template-columns:minmax(0,1fr) 38px;
    gap:14px;
    align-items:start;
    min-width:0;
  }
  .modal-head>div{min-width:0}
  .modal-head h2,.payment-modal-card h2,.consultant-modal-card h2{padding-right:4px;overflow-wrap:anywhere}
  .modal-head p,.payment-modal-card p,.consultant-modal-card p{overflow-wrap:anywhere}

  .modal-close,
  .payment-modal-card .modal-close,
  .consultant-modal-card .modal-close{
    inline-size:38px;
    block-size:38px;
    min-inline-size:38px;
    min-block-size:38px;
    display:inline-grid;
    place-items:center;
    flex:0 0 38px;
    border:1px solid var(--line);
    border-radius:999px;
    background:rgba(255,255,255,.96);
    color:var(--ink);
    text-decoration:none;
    font-size:23px;
    line-height:1;
    font-weight:650;
    cursor:pointer;
    box-shadow:0 8px 22px rgba(20,32,31,.10);
    transform:none;
    touch-action:manipulation;
  }
  .payment-modal-card>.modal-close,
  .consultant-modal-card>.modal-close{
    position:absolute;
    top:12px;
    right:12px;
    z-index:5;
  }
  .modal-head .modal-close{position:static;justify-self:end;align-self:start;margin:0}
  .modal-close:hover{border-color:var(--line-strong);color:var(--brand-strong);background:#fff}

  .payment-modal-card .button-row,
  .source-modal-card .button-row,
  .consultant-modal-card .button-row{align-items:stretch}
  .payment-modal-card .primary-action,
  .payment-modal-card .secondary-action,
  .source-modal-card .primary-action,
  .source-modal-card .secondary-action{white-space:normal}

  @media(max-width:760px){
    .modal-backdrop,
    .payment-modal-backdrop,
    dialog.source-modal{
      place-items:center;
      padding:
        max(10px,env(safe-area-inset-top))
        max(10px,env(safe-area-inset-right))
        max(10px,env(safe-area-inset-bottom))
        max(10px,env(safe-area-inset-left));
    }
    .modal-card,
    .payment-modal-card,
    .source-modal-card,
    .consultant-modal-card{
      width:100%;
      max-width:calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right)));
      max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));
      border-radius:18px;
      padding:16px;
    }
    .payment-modal-card,.consultant-modal-card{padding-top:54px}
    .source-modal-card{max-width:calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right)))}
    .modal-head{grid-template-columns:minmax(0,1fr) 36px;gap:10px}
    .modal-close,
    .payment-modal-card .modal-close,
    .consultant-modal-card .modal-close{inline-size:36px;block-size:36px;min-inline-size:36px;min-block-size:36px;font-size:22px}
    .payment-modal-card>.modal-close,.consultant-modal-card>.modal-close{top:9px;right:9px}
    .modal-card h2,.payment-modal-card h2,.source-modal-card h2,.consultant-modal-card h2{font-size:20px;line-height:1.16}
    .modal-card p,.payment-modal-card p,.source-modal-card p,.consultant-modal-card p{font-size:13.5px;line-height:1.48}
  }

  @media(max-width:430px){
    .modal-card,
    .payment-modal-card,
    .source-modal-card,
    .consultant-modal-card{border-radius:16px;padding:14px}
    .payment-modal-card,.consultant-modal-card{padding-top:52px}
    .modal-head{grid-template-columns:minmax(0,1fr) 34px}
    .modal-close,
    .payment-modal-card .modal-close,
    .consultant-modal-card .modal-close{inline-size:34px;block-size:34px;min-inline-size:34px;min-block-size:34px;font-size:21px}
    .payment-modal-card>.modal-close,.consultant-modal-card>.modal-close{top:8px;right:8px}
  }

  @media(orientation:landscape) and (max-height:640px){
    .modal-backdrop,
    .payment-modal-backdrop,
    dialog.source-modal{place-items:start center;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(10px,env(safe-area-inset-bottom))}
    .modal-card,
    .payment-modal-card,
    .source-modal-card,
    .consultant-modal-card{max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom)));border-radius:16px;padding:14px}
    .payment-modal-card,.consultant-modal-card{padding-top:50px}
    .modal-card h2,.payment-modal-card h2,.source-modal-card h2,.consultant-modal-card h2{font-size:19px}
    .modal-card p,.payment-modal-card p,.source-modal-card p,.consultant-modal-card p{font-size:13px}
    .modal-close,
    .payment-modal-card .modal-close,
    .consultant-modal-card .modal-close{inline-size:34px;block-size:34px;min-inline-size:34px;min-block-size:34px}
  }

  @supports not (height:100dvh){
    .modal-backdrop,.payment-modal-backdrop,dialog.source-modal{min-height:100vh;height:100vh;max-height:100vh}
    .modal-card,.payment-modal-card,.source-modal-card,.consultant-modal-card{max-height:calc(100vh - 32px)}
  }

  /* Step 677 — tutti i modali devono restare ancorati al viewport corrente dell'utente.
     La webapp preserva lo scroll via ftModalViewport; questo seal impedisce a override
     pagina/mobile di riportare dialog/backdrop nel flusso documento o sotto la navbar. */
  .modal-backdrop,
  .payment-modal-backdrop,
  .pwa-install-modal-backdrop,
  dialog.source-modal,
  dialog.source-exclusion-modal{
    position:fixed!important;
    inset:0!important;
    z-index:1001!important;
    width:100vw!important;
    max-width:none!important;
    min-height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    overscroll-behavior:contain!important;
  }
  .modal-backdrop,
  .payment-modal-backdrop,
  .pwa-install-modal-backdrop,
  dialog.source-modal[open],
  dialog.source-exclusion-modal[open]{display:grid!important;place-items:center!important}
  .modal-backdrop[hidden],.payment-modal-backdrop[hidden],.pwa-install-modal-backdrop[hidden]{display:none!important}
  dialog.source-exclusion-modal .source-exclusion-card{width:min(100%,560px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}

  /* Step 407 — global action loading, profile compact polish, and documents folder visual. */
  button.is-loading,a.is-loading,input.is-loading{pointer-events:none!important;opacity:.72!important;cursor:wait!important;filter:saturate(.85)}
  button.is-loading,a.is-loading{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
  .action-spinner{width:15px;height:15px;border-radius:999px;border:2px solid currentColor;border-right-color:transparent;display:inline-block;animation:ft-action-spin .68s linear infinite;flex:0 0 auto}
  @keyframes ft-action-spin{to{transform:rotate(360deg)}}
  .action-status-message{margin:0 0 10px;padding:9px 11px;border:1px solid #dfe9e4;border-radius:13px;background:#f8fbfa;color:#52645f;font-size:12px;font-weight:800;line-height:1.25}.action-status-message.error{border-color:#f1c7c7;background:#fff7f7;color:#9f1d35}

  .consultant-review-with-folder{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;padding:14px!important;overflow:hidden!important;background:linear-gradient(135deg,#fff,#f7fcfa)!important}
  .review-folder-visual{position:relative;min-height:130px;display:grid;place-items:center;isolation:isolate}.review-folder-orbit{position:absolute;width:148px;height:86px;border:1px dashed rgba(0,111,92,.22);border-radius:50%;transform:rotate(-8deg);animation:ft-folder-orbit 3.2s ease-in-out infinite}.review-folder-shape{position:relative;width:142px;height:94px;border-radius:20px;background:linear-gradient(180deg,#ffd978,#dfa345);box-shadow:0 22px 42px rgba(112,83,24,.18),inset 0 -12px 24px rgba(111,71,14,.10);display:grid;place-items:center;color:#3a2600;font-weight:950;line-height:1;letter-spacing:-.02em}.review-folder-shape:before{content:"";position:absolute;left:0;top:-18px;width:78px;height:32px;border-radius:16px 16px 0 0;background:linear-gradient(180deg,#ffe28e,#e9b954)}.review-folder-shape span{position:relative;z-index:1;font-size:28px;background:#fff;border-radius:999px;padding:5px 18px;box-shadow:0 8px 18px rgba(95,62,14,.12)}.review-folder-shape b{position:relative;z-index:1;font-size:11px;letter-spacing:.08em}.review-folder-visual i{position:absolute;bottom:11px;width:16px;height:16px;border-radius:999px;background:#00806b;box-shadow:0 0 0 9px rgba(0,128,107,.12);animation:ft-folder-dot 1.6s ease-in-out infinite}
  @keyframes ft-folder-orbit{0%,100%{transform:rotate(-8deg) scale(1)}50%{transform:rotate(-2deg) scale(1.035)}}@keyframes ft-folder-dot{0%,100%{transform:translateY(0);opacity:.85}50%{transform:translateY(-6px);opacity:1}}

  .profile-page-compact{display:grid;gap:12px;max-width:980px;margin:0 auto}.profile-summary-card{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(260px,auto);gap:14px!important;align-items:center!important;padding:14px!important;border-radius:20px!important}.profile-avatar.compact{width:58px!important;height:58px!important;border-radius:18px!important;font-size:20px!important;box-shadow:none!important}.profile-summary-main h2{margin:4px 0 0!important;font-size:clamp(24px,3vw,34px)!important;letter-spacing:-.055em!important}.profile-summary-main p{margin:1px 0 0!important;color:#60716c!important;font-weight:800!important;font-size:13px!important}.profile-summary-meta{display:grid;gap:5px}.profile-summary-meta span{display:flex;justify-content:space-between;gap:12px;border:1px solid #dfe9e4;border-radius:999px;background:#f8fbfa;padding:6px 10px;font-size:11.5px;font-weight:900;color:#60716c}.profile-summary-meta b{color:#14201f;white-space:nowrap}.profile-action-grid.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-action-card.compact{padding:13px!important;border-radius:18px!important}.profile-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.profile-card-title h2{margin:0!important;font-size:20px!important;letter-spacing:-.04em!important}.profile-action-card.compact>p,.profile-2fa-card.compact .profile-2fa-head p{display:none!important}.profile-form{gap:8px!important}.profile-form label{gap:5px!important}.profile-form input{min-height:40px!important;border-radius:12px!important}.profile-form .primary-action,.profile-form .secondary-action,.profile-2fa-card.compact .primary-action,.profile-2fa-card.compact .secondary-action{min-height:40px!important;border-radius:13px!important;font-size:13.5px!important}.profile-2fa-card.compact{padding:13px!important;border-radius:18px!important}.profile-2fa-head.compact{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:8px!important}.profile-2fa-head.compact h2{margin:4px 0 0!important;font-size:20px!important}.profile-2fa-enabled .mini-card{padding:9px 10px!important;border-radius:12px!important;font-size:12.5px!important;line-height:1.3!important}
  @media(max-width:820px){.consultant-review-with-folder{grid-template-columns:1fr!important}.review-folder-visual{min-height:108px}.review-folder-shape{width:122px;height:78px;border-radius:17px}.review-folder-shape span{font-size:22px;padding:4px 15px}.profile-summary-card{grid-template-columns:auto minmax(0,1fr)!important}.profile-summary-meta{grid-column:1/-1}.profile-action-grid.compact{grid-template-columns:1fr}}
  @media(max-width:520px){.profile-summary-card{grid-template-columns:1fr!important;text-align:left}.profile-avatar.compact{width:48px!important;height:48px!important}.profile-summary-meta span{display:grid;gap:1px}.consultant-review-with-folder{padding:12px!important}.review-folder-visual{min-height:96px}.review-folder-orbit{width:128px;height:74px}.review-folder-shape{width:112px;height:72px}}


  /* Step 442 — visible action progress for consultant, documents and downloads. */
  .action-progress-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:rgba(20,32,31,.28);backdrop-filter:blur(8px);opacity:0;pointer-events:none;transition:opacity .16s ease}.action-progress-overlay.is-visible{opacity:1;pointer-events:auto}.action-progress-card{width:min(440px,calc(100vw - 36px));border:1px solid #dfe9e4;border-radius:24px;background:#fff;box-shadow:0 28px 70px rgba(20,32,31,.22);padding:22px;display:grid;justify-items:center;text-align:center;gap:10px;color:#14201f}.action-progress-card.inline{width:auto;max-width:none;grid-template-columns:auto minmax(0,1fr);justify-items:start;text-align:left;align-items:center;box-shadow:none;padding:16px;border-radius:20px}.action-progress-card strong{font-size:clamp(22px,3vw,30px);line-height:1.04;letter-spacing:-.045em}.action-progress-card p{margin:0;color:#61716d;font-weight:760;font-size:13.5px;line-height:1.38}.action-progress-spinner{width:46px;height:46px;border-radius:999px;border:4px solid rgba(0,111,92,.18);border-right-color:#006f5c;animation:ft-action-spin .72s linear infinite}.action-progress-card.inline .action-progress-spinner{width:38px;height:38px;border-width:3px}.action-progress-banner{border:1px solid #b9d9cc;border-radius:22px;background:linear-gradient(135deg,#fff,#f4fbf8);padding:12px;box-shadow:0 14px 34px rgba(0,111,92,.08)}.consultant-live-progress{margin-bottom:10px}.consultant-live-progress h2{margin:4px 0 2px;font-size:clamp(22px,3vw,30px);line-height:1.05;letter-spacing:-.05em}.consultant-live-progress .status-badge{font-size:11px!important}.generate-documents-panel button[disabled],.consultant-work-card button[disabled]{cursor:not-allowed!important}.status-badge.with-loader{display:inline-flex!important;align-items:center!important;gap:8px}.tiny-loader{width:12px;height:12px;border-radius:999px;border:2px solid currentColor;border-right-color:transparent;animation:ft-action-spin .72s linear infinite;display:inline-block}
  @media(max-width:560px){.action-progress-overlay{padding:16px}.action-progress-card{border-radius:20px;padding:18px}.action-progress-card.inline{grid-template-columns:1fr;text-align:left}.action-progress-spinner{width:40px;height:40px}.action-progress-banner{border-radius:18px}}

  /* Step 617 — final mobile Movimenti source selector readability fix. */
  @media(max-width:760px){
    .movement-start-panel .section-title{padding-right:0!important}
    .movement-start-panel .mobile-calc-orb{display:none!important}
    .calc-form{gap:11px!important;min-width:0!important}
    .movement-source-selector{
      display:grid!important;
      grid-template-columns:1fr!important;
      gap:8px!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      overflow:visible!important;
      border-radius:22px!important;
      padding:10px!important;
    }
    .movement-source-selector:before{display:none!important;content:none!important}
    .movement-source-selector-head{
      display:grid!important;
      grid-template-columns:1fr!important;
      align-items:start!important;
      gap:7px!important;
      margin:0 0 6px!important;
    }
    .movement-source-selector-head span{
      width:100%!important;
      max-width:100%!important;
      justify-content:center!important;
      text-align:center!important;
      white-space:normal!important;
      min-height:32px!important;
      border-radius:14px!important;
      padding:6px 9px!important;
      line-height:1.15!important;
    }
    .movement-source-toggle,
    .movement-source-toggle.compact,
    .affiliate-rebate-option-card .movement-source-toggle{
      display:grid!important;
      grid-template-columns:30px minmax(0,1fr)!important;
      grid-template-rows:auto!important;
      align-items:center!important;
      column-gap:10px!important;
      row-gap:4px!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      min-height:54px!important;
      padding:10px 11px!important;
      border-radius:17px!important;
      overflow:hidden!important;
    }
    .movement-source-toggle:after{right:8px!important;top:8px!important;width:6px!important;height:6px!important;box-shadow:0 0 0 5px rgba(0,111,92,.09)!important}
    .movement-source-toggle input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
    .movement-source-check{
      grid-column:1!important;
      grid-row:1!important;
      width:26px!important;
      height:26px!important;
      min-width:26px!important;
      min-height:26px!important;
      margin:0!important;
      align-self:center!important;
      justify-self:center!important;
    }
    .movement-source-icon,
    .movement-source-wallet-icon,
    .movement-source-csv-icon{
      display:none!important;
    }
    .movement-source-copy{
      grid-column:2!important;
      grid-row:1!important;
      display:grid!important;
      gap:3px!important;
      min-width:0!important;
      width:100%!important;
      max-width:100%!important;
      overflow:hidden!important;
    }
    .movement-source-copy strong{
      display:block!important;
      width:100%!important;
      max-width:100%!important;
      min-width:0!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      white-space:nowrap!important;
      overflow-wrap:normal!important;
      word-break:normal!important;
      font-size:14.5px!important;
      line-height:1.08!important;
      letter-spacing:-.035em!important;
    }
    .movement-source-copy small{
      display:block!important;
      width:100%!important;
      max-width:100%!important;
      min-width:0!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      white-space:nowrap!important;
      overflow-wrap:normal!important;
      word-break:normal!important;
      font-size:10.8px!important;
      line-height:1.18!important;
      color:#63736e!important;
      -webkit-line-clamp:unset!important;
      -webkit-box-orient:initial!important;
    }
    .movement-source-state.included,
    .movement-source-state.gated,
    .movement-source-state.excluded{
      display:inline!important;
      padding:0!important;
      border-radius:0!important;
      background:transparent!important;
      font-size:inherit!important;
      line-height:inherit!important;
      white-space:nowrap!important;
    }
    .affiliate-rebate-option-card{padding:10px!important;border-radius:20px!important;overflow:visible!important}
    .affiliate-rebate-option-card .movement-source-selector-head span{width:max-content!important;max-width:100%!important;justify-self:start!important;border-radius:999px!important;min-height:28px!important}
    .affiliate-rebate-option-card .movement-source-copy strong{white-space:normal!important;line-height:1.12!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
    .affiliate-rebate-option-card .movement-source-copy small{white-space:nowrap!important}
  }
  @media(max-width:430px){
    .movement-source-selector{padding:9px!important;border-radius:20px!important}
    .movement-source-toggle,.movement-source-toggle.compact,.affiliate-rebate-option-card .movement-source-toggle{grid-template-columns:28px minmax(0,1fr)!important;gap:9px!important;min-height:52px!important;padding:9px 10px!important;border-radius:16px!important}
    .movement-source-check{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;border-radius:9px!important}
    .movement-source-copy strong{font-size:14px!important}.movement-source-copy small{font-size:10.4px!important}
  }

  /* Step 665 — consultant task board progressive row hydration. */
  .consultant-category-section[data-consultant-lazy-category]{content-visibility:auto;contain-intrinsic-size:1px 680px}
  .consultant-category-body{content-visibility:auto;contain-intrinsic-size:1px 620px}
  .consultant-work-card[data-consultant-row-hydrated="1"]{contain:layout style paint;content-visibility:auto;contain-intrinsic-size:1px 290px}
  .consultant-lazy-row-loader{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:12px 8px 2px}
  .consultant-lazy-row-loader[hidden]{display:none!important}
  .consultant-lazy-row-loader small{font-size:11.5px;color:var(--muted);font-weight:780}
  .consultant-lazy-row-loader .secondary-action{min-height:38px;border-radius:999px}
  @media(max-width:640px){.consultant-lazy-row-loader{justify-content:stretch}.consultant-lazy-row-loader .secondary-action{width:100%}.consultant-lazy-row-loader small{text-align:center;width:100%}}




  /* Step 649 — final Step 610 navbar CSS seal.
     This block is intentionally placed at the very end of pageStyles() so later page/mobile
     polish cannot override the Step 610/605 app navbar with compact/grid mobile rules. */
  @media(max-width:760px){
    .app-topbar{
      width:min(100%,var(--page-max))!important;
      margin:0 auto 10px!important;
      display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
      min-height:46px!important;padding:0!important;border:0!important;border-radius:0!important;
      background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important;
    }
    .brand-lockup{gap:10px!important;min-width:0!important;overflow:visible!important}.brand-lockup img{max-width:138px!important;height:38px!important;object-fit:contain!important;object-position:left center!important}.brand-lockup img.brand-image-icon{width:38px!important;height:38px!important}
    .user-box{display:flex!important;align-items:center!important;gap:6px!important;max-width:min(100%,520px)!important;padding:5px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(18px)!important;flex:0 1 auto!important;overflow:visible!important}
    .profile-topbar-link{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:#fff!important;color:var(--ink-soft)!important;display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}.profile-topbar-link svg{width:19px!important;height:19px!important}
    .notification-toggle,.admin-mail-toggle{display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;min-width:104px!important;width:auto!important;min-height:34px!important;height:34px!important;padding:0 6px 0 9px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;font-size:12px!important;flex:0 0 auto!important;overflow:visible!important;white-space:nowrap!important}
    .notification-toggle .notification-switch,.admin-mail-toggle .notification-switch{display:block!important;width:38px!important;height:21px!important}.notification-switch i{width:15px!important;height:15px!important}.notification-toggle.is-on .notification-switch i,.admin-mail-toggle.is-on .notification-switch i{transform:translateX(17px)!important}
    .notification-toggle .notification-label,.admin-mail-toggle .notification-label{display:inline!important;font-size:9.5px!important;min-width:26px!important;letter-spacing:.075em!important}.admin-mail-toggle .admin-mail-word{display:inline!important;font-size:11px!important}.admin-mail-toggle:before,.admin-mail-toggle:after{content:none!important;display:none!important}
    .notification-bell{display:inline-grid!important;place-items:center!important;width:18px!important;height:18px!important;background:transparent!important;border:0!important}.notification-bell svg{width:18px!important;height:18px!important}
    .logout-button{width:auto!important;min-width:auto!important;height:34px!important;min-height:34px!important;padding:0 10px!important;border-radius:999px!important;font-size:12px!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;flex:0 0 auto!important;overflow:visible!important;white-space:nowrap!important}.logout-button:before,.logout-button:after{content:none!important;display:none!important}

    .app-nav-shell{
      position:fixed!important;left:50%!important;right:auto!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;
      z-index:120!important;width:calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right)))!important;max-width:var(--page-max)!important;
      margin:0!important;transform:translate3d(-50%,0,0)!important;will-change:transform!important;contain:layout paint!important;overflow:visible!important;border-radius:0!important;
    }
    .app-nav-shell:before,.app-nav-shell:after{display:block!important;content:""!important;position:absolute!important;top:3px!important;bottom:3px!important;z-index:3!important;width:34px!important;pointer-events:none!important;opacity:0;transition:opacity .18s ease!important;border-radius:22px!important}
    .app-nav-shell:before{left:1px!important;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))!important}.app-nav-shell:after{right:1px!important;background:linear-gradient(270deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))!important}.app-nav-shell.has-left-fade:before,.app-nav-shell.has-right-fade:after{opacity:1!important}
    .app-nav{
      position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;height:62px!important;margin:0 auto!important;padding:6px!important;
      border:1px solid var(--line)!important;border-radius:22px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(18px)!important;
      display:flex!important;grid-template-columns:none!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;white-space:nowrap!important;scroll-behavior:smooth!important;overscroll-behavior-x:contain!important;max-width:100%!important;scroll-padding-inline:12px!important;
    }
    .app-nav::-webkit-scrollbar{display:none!important}.nav-item{height:50px!important;min-width:78px!important;width:auto!important;flex:0 0 auto!important;border-radius:999px!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:3px!important;padding:0 9px!important;color:#5f6f6b!important;font-weight:760!important;font-size:10.5px!important;letter-spacing:-.01em!important;overflow:visible!important}.nav-item:hover{background:var(--surface-muted)!important;color:var(--ink)!important;transform:translateY(-1px)!important}.nav-item.active{background:var(--ink)!important;color:#fff!important;box-shadow:0 10px 24px rgba(20,32,31,.16)!important;transform:none!important}.nav-icon{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}.nav-icon svg{width:21px!important;height:21px!important;display:block!important}.nav-label{line-height:1!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;font-size:inherit!important;letter-spacing:inherit!important}.nav-badge{right:auto!important;top:auto!important}
  }
  @media(max-width:560px){.notification-switch{display:none!important}.notification-toggle .notification-switch,.admin-mail-toggle .notification-switch{display:none!important}.profile-topbar-link{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}.logout-button{padding:0 9px!important}.notification-toggle{padding:0 8px!important}}
  @media(max-width:430px){
    .app-topbar{align-items:flex-start!important}.brand-lockup img{max-width:120px!important;height:35px!important}.notification-toggle,.admin-mail-toggle{min-width:92px!important}.notification-bell{width:18px!important}.notification-label{display:none!important}.nav-item{min-width:72px!important}.user-box{gap:5px!important;border-radius:22px!important}
  }
  @media(max-width:390px){
    .brand-lockup img{max-width:110px!important}.user-box{padding:4px!important}.profile-topbar-link,.logout-button{height:32px!important;min-height:32px!important}.logout-button{font-size:11.5px!important;padding-inline:8px!important}
  }
  @media(orientation:landscape) and (max-height:560px){
    .app-nav-shell{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:min(100%,var(--page-max))!important;max-width:var(--page-max)!important;transform:none!important;contain:none!important}.app-nav{position:static!important;height:52px!important;border-radius:999px!important}.app-nav-shell:before,.app-nav-shell:after{width:32px!important}.nav-item{height:42px!important;min-width:max-content!important;flex-direction:row!important;font-size:12px!important;padding:0 12px!important}.nav-icon svg{width:18px!important;height:18px!important}.app-topbar{margin-bottom:8px!important}
  }


  /* Step 682 — live navbar badge placement.
     Badge counts are small status markers: keep them on the outer corner of the
     nav item/topbar button and never centered over the icon glyph. */
  .nav-icon{position:relative!important;overflow:visible!important}
  .nav-badge,.nav-badge[hidden]{position:absolute!important;right:-16px!important;top:-13px!important;left:auto!important;bottom:auto!important;transform:none!important;z-index:4!important;min-width:18px!important;height:18px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 4px!important;border:2px solid #fff!important;background:var(--accent)!important;color:#fff!important;font-size:10px!important;font-weight:900!important;line-height:1!important;letter-spacing:0!important;box-shadow:0 8px 16px rgba(143,18,63,.18)!important;pointer-events:none!important}
  .nav-badge[hidden]{display:none!important}.nav-badge.ticket-alert{background:#c1121f!important}
  @media(max-width:760px){.nav-badge,.nav-badge[hidden]{right:-13px!important;top:-12px!important;min-width:17px!important;height:17px!important;font-size:9px!important;border-width:2px!important}}
  @media(max-width:430px){.nav-badge,.nav-badge[hidden]{right:-11px!important;top:-11px!important;min-width:16px!important;height:16px!important;font-size:8.5px!important}}


  
  
  /* Step 85 — content layout hardening inside modals. Long filenames, lists and form rows must never push a modal outside the viewport. */
  .modal-card *,
  .payment-modal-card *,
  .source-modal-card *,
  .consultant-modal-card *{min-width:0;max-width:100%}

  .payment-modal-card .panel,
  .source-modal-card .panel,
  .consultant-modal-card .panel{max-width:100%;overflow:clip}

  .consultant-modal-card .section-title,
  .consultant-modal-card .tree-group,
  .consultant-modal-card .modal-file-list,
  .consultant-modal-card .modal-file-row,
  .payment-modal-card .report-stats,
  .source-modal-card label{min-width:0;max-width:100%}

  .tree-group summary{min-width:0;align-items:center}
  .tree-group summary .modal-file-group-title{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .modal-file-count{flex:0 0 auto;color:var(--muted);font-weight:850}

  .modal-document-archive{display:grid;gap:12px}
  .modal-file-list{display:grid;gap:0;margin:8px 0 0!important;padding:0!important;list-style:none!important}
  .final-docs-panel .tree-group li,
  .modal-file-row{
    width:100%;
    min-width:0;
    max-width:100%;
    white-space:normal;
    list-style:none;
    display:grid;
    grid-template-columns:10px minmax(0,1fr) minmax(88px,118px);
    gap:10px;
    align-items:center;
    padding:9px 0;
    border-bottom:1px solid #edf1ef;
    color:var(--ink-soft);
  }
  .final-docs-panel .tree-group li:last-child,
  .modal-file-row:last-child{border-bottom:0}
  .modal-file-row .file-dot{display:block;width:7px;height:7px;margin:0;justify-self:center;align-self:center;grid-column:1;background:var(--brand);border-radius:999px}
  .modal-file-name{display:block;grid-column:2;min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word;hyphens:auto;font-size:13.5px;font-weight:720;line-height:1.34;color:var(--ink-soft)}
  .final-docs-panel .secondary-action.compact{grid-column:3;justify-self:end;width:auto;max-width:118px;min-width:88px;min-height:34px;padding:0 12px;white-space:nowrap}

  .consultant-modal-card .final-docs-panel{padding:18px;border-radius:18px}
  .consultant-modal-card .final-docs-panel .section-title{margin-bottom:4px}
  .consultant-modal-card .final-docs-panel .section-title p{overflow-wrap:anywhere}

  .source-modal-card input,
  .source-modal-card textarea,
  .source-modal-card select,
  .payment-modal-card input,
  .payment-modal-card textarea,
  .payment-modal-card select{min-width:0;max-width:100%}

  @media(max-width:820px){
    .consultant-modal-card .final-docs-panel{padding:14px;border-radius:16px}
    .final-docs-panel .tree-group li,
    .modal-file-row{grid-template-columns:10px minmax(0,1fr);gap:8px 10px;padding:10px 0}
    .final-docs-panel .secondary-action.compact{grid-column:2;justify-self:stretch;width:100%;max-width:none;min-width:0;margin-top:2px}
  }

  @media(max-width:430px){
    .consultant-modal-card .final-docs-panel{padding:12px}
    .modal-file-name{font-size:12.8px;line-height:1.32}
    .modal-file-list{margin-top:6px!important}
    .tree-group summary .modal-file-group-title{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25}
  }

  @media(orientation:landscape) and (max-height:640px){
    .consultant-modal-card .final-docs-panel{padding:12px}
    .final-docs-panel .tree-group li,
    .modal-file-row{padding:7px 0;grid-template-columns:8px minmax(0,1fr) minmax(78px,104px);gap:8px}
    .modal-file-name{font-size:12.5px;line-height:1.25}
    .final-docs-panel .secondary-action.compact{grid-column:3;width:auto;max-width:104px;min-width:78px;min-height:32px;padding:0 10px}
  }

  /* Step 407 — global action loading, profile compact polish, and documents folder visual. */
  button.is-loading,a.is-loading,input.is-loading{pointer-events:none!important;opacity:.72!important;cursor:wait!important;filter:saturate(.85)}
  button.is-loading,a.is-loading{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
  .action-spinner{width:15px;height:15px;border-radius:999px;border:2px solid currentColor;border-right-color:transparent;display:inline-block;animation:ft-action-spin .68s linear infinite;flex:0 0 auto}
  @keyframes ft-action-spin{to{transform:rotate(360deg)}}
  .action-status-message{margin:0 0 10px;padding:9px 11px;border:1px solid #dfe9e4;border-radius:13px;background:#f8fbfa;color:#52645f;font-size:12px;font-weight:800;line-height:1.25}.action-status-message.error{border-color:#f1c7c7;background:#fff7f7;color:#9f1d35}

  .consultant-review-with-folder{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;padding:14px!important;overflow:hidden!important;background:linear-gradient(135deg,#fff,#f7fcfa)!important}
  .review-folder-visual{position:relative;min-height:130px;display:grid;place-items:center;isolation:isolate}.review-folder-orbit{position:absolute;width:148px;height:86px;border:1px dashed rgba(0,111,92,.22);border-radius:50%;transform:rotate(-8deg);animation:ft-folder-orbit 3.2s ease-in-out infinite}.review-folder-shape{position:relative;width:142px;height:94px;border-radius:20px;background:linear-gradient(180deg,#ffd978,#dfa345);box-shadow:0 22px 42px rgba(112,83,24,.18),inset 0 -12px 24px rgba(111,71,14,.10);display:grid;place-items:center;color:#3a2600;font-weight:950;line-height:1;letter-spacing:-.02em}.review-folder-shape:before{content:"";position:absolute;left:0;top:-18px;width:78px;height:32px;border-radius:16px 16px 0 0;background:linear-gradient(180deg,#ffe28e,#e9b954)}.review-folder-shape span{position:relative;z-index:1;font-size:28px;background:#fff;border-radius:999px;padding:5px 18px;box-shadow:0 8px 18px rgba(95,62,14,.12)}.review-folder-shape b{position:relative;z-index:1;font-size:11px;letter-spacing:.08em}.review-folder-visual i{position:absolute;bottom:11px;width:16px;height:16px;border-radius:999px;background:#00806b;box-shadow:0 0 0 9px rgba(0,128,107,.12);animation:ft-folder-dot 1.6s ease-in-out infinite}
  @keyframes ft-folder-orbit{0%,100%{transform:rotate(-8deg) scale(1)}50%{transform:rotate(-2deg) scale(1.035)}}@keyframes ft-folder-dot{0%,100%{transform:translateY(0);opacity:.85}50%{transform:translateY(-6px);opacity:1}}

  .profile-page-compact{display:grid;gap:12px;max-width:980px;margin:0 auto}.profile-summary-card{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(260px,auto);gap:14px!important;align-items:center!important;padding:14px!important;border-radius:20px!important}.profile-avatar.compact{width:58px!important;height:58px!important;border-radius:18px!important;font-size:20px!important;box-shadow:none!important}.profile-summary-main h2{margin:4px 0 0!important;font-size:clamp(24px,3vw,34px)!important;letter-spacing:-.055em!important}.profile-summary-main p{margin:1px 0 0!important;color:#60716c!important;font-weight:800!important;font-size:13px!important}.profile-summary-meta{display:grid;gap:5px}.profile-summary-meta span{display:flex;justify-content:space-between;gap:12px;border:1px solid #dfe9e4;border-radius:999px;background:#f8fbfa;padding:6px 10px;font-size:11.5px;font-weight:900;color:#60716c}.profile-summary-meta b{color:#14201f;white-space:nowrap}.profile-action-grid.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-action-card.compact{padding:13px!important;border-radius:18px!important}.profile-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.profile-card-title h2{margin:0!important;font-size:20px!important;letter-spacing:-.04em!important}.profile-action-card.compact>p,.profile-2fa-card.compact .profile-2fa-head p{display:none!important}.profile-form{gap:8px!important}.profile-form label{gap:5px!important}.profile-form input{min-height:40px!important;border-radius:12px!important}.profile-form .primary-action,.profile-form .secondary-action,.profile-2fa-card.compact .primary-action,.profile-2fa-card.compact .secondary-action{min-height:40px!important;border-radius:13px!important;font-size:13.5px!important}.profile-2fa-card.compact{padding:13px!important;border-radius:18px!important}.profile-2fa-head.compact{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:8px!important}.profile-2fa-head.compact h2{margin:4px 0 0!important;font-size:20px!important}.profile-2fa-enabled .mini-card{padding:9px 10px!important;border-radius:12px!important;font-size:12.5px!important;line-height:1.3!important}
  @media(max-width:820px){.consultant-review-with-folder{grid-template-columns:1fr!important}.review-folder-visual{min-height:108px}.review-folder-shape{width:122px;height:78px;border-radius:17px}.review-folder-shape span{font-size:22px;padding:4px 15px}.profile-summary-card{grid-template-columns:auto minmax(0,1fr)!important}.profile-summary-meta{grid-column:1/-1}.profile-action-grid.compact{grid-template-columns:1fr}}
  @media(max-width:520px){.profile-summary-card{grid-template-columns:1fr!important;text-align:left}.profile-avatar.compact{width:48px!important;height:48px!important}.profile-summary-meta span{display:grid;gap:1px}.consultant-review-with-folder{padding:12px!important}.review-folder-visual{min-height:96px}.review-folder-orbit{width:128px;height:74px}.review-folder-shape{width:112px;height:72px}}


  /* Step 442 — visible action progress for consultant, documents and downloads. */
  .action-progress-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:rgba(20,32,31,.28);backdrop-filter:blur(8px);opacity:0;pointer-events:none;transition:opacity .16s ease}.action-progress-overlay.is-visible{opacity:1;pointer-events:auto}.action-progress-card{width:min(440px,calc(100vw - 36px));border:1px solid #dfe9e4;border-radius:24px;background:#fff;box-shadow:0 28px 70px rgba(20,32,31,.22);padding:22px;display:grid;justify-items:center;text-align:center;gap:10px;color:#14201f}.action-progress-card.inline{width:auto;max-width:none;grid-template-columns:auto minmax(0,1fr);justify-items:start;text-align:left;align-items:center;box-shadow:none;padding:16px;border-radius:20px}.action-progress-card strong{font-size:clamp(22px,3vw,30px);line-height:1.04;letter-spacing:-.045em}.action-progress-card p{margin:0;color:#61716d;font-weight:760;font-size:13.5px;line-height:1.38}.action-progress-spinner{width:46px;height:46px;border-radius:999px;border:4px solid rgba(0,111,92,.18);border-right-color:#006f5c;animation:ft-action-spin .72s linear infinite}.action-progress-card.inline .action-progress-spinner{width:38px;height:38px;border-width:3px}.action-progress-banner{border:1px solid #b9d9cc;border-radius:22px;background:linear-gradient(135deg,#fff,#f4fbf8);padding:12px;box-shadow:0 14px 34px rgba(0,111,92,.08)}.consultant-live-progress{margin-bottom:10px}.consultant-live-progress h2{margin:4px 0 2px;font-size:clamp(22px,3vw,30px);line-height:1.05;letter-spacing:-.05em}.consultant-live-progress .status-badge{font-size:11px!important}.generate-documents-panel button[disabled],.consultant-work-card button[disabled]{cursor:not-allowed!important}.status-badge.with-loader{display:inline-flex!important;align-items:center!important;gap:8px}.tiny-loader{width:12px;height:12px;border-radius:999px;border:2px solid currentColor;border-right-color:transparent;animation:ft-action-spin .72s linear infinite;display:inline-block}
  @media(max-width:560px){.action-progress-overlay{padding:16px}.action-progress-card{border-radius:20px;padding:18px}.action-progress-card.inline{grid-template-columns:1fr;text-align:left}.action-progress-spinner{width:40px;height:40px}.action-progress-banner{border-radius:18px}}

  /* Step 617 — final mobile Movimenti source selector readability fix. */
  @media(max-width:760px){
    .movement-start-panel .section-title{padding-right:0!important}
    .movement-start-panel .mobile-calc-orb{display:none!important}
    .calc-form{gap:11px!important;min-width:0!important}
    .movement-source-selector{
      display:grid!important;
      grid-template-columns:1fr!important;
      gap:8px!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      overflow:visible!important;
      border-radius:22px!important;
      padding:10px!important;
    }
    .movement-source-selector:before{display:none!important;content:none!important}
    .movement-source-selector-head{
      display:grid!important;
      grid-template-columns:1fr!important;
      align-items:start!important;
      gap:7px!important;
      margin:0 0 6px!important;
    }
    .movement-source-selector-head span{
      width:100%!important;
      max-width:100%!important;
      justify-content:center!important;
      text-align:center!important;
      white-space:normal!important;
      min-height:32px!important;
      border-radius:14px!important;
      padding:6px 9px!important;
      line-height:1.15!important;
    }
    .movement-source-toggle,
    .movement-source-toggle.compact,
    .affiliate-rebate-option-card .movement-source-toggle{
      display:grid!important;
      grid-template-columns:30px minmax(0,1fr)!important;
      grid-template-rows:auto!important;
      align-items:center!important;
      column-gap:10px!important;
      row-gap:4px!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      min-height:54px!important;
      padding:10px 11px!important;
      border-radius:17px!important;
      overflow:hidden!important;
    }
    .movement-source-toggle:after{right:8px!important;top:8px!important;width:6px!important;height:6px!important;box-shadow:0 0 0 5px rgba(0,111,92,.09)!important}
    .movement-source-toggle input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
    .movement-source-check{
      grid-column:1!important;
      grid-row:1!important;
      width:26px!important;
      height:26px!important;
      min-width:26px!important;
      min-height:26px!important;
      margin:0!important;
      align-self:center!important;
      justify-self:center!important;
    }
    .movement-source-icon,
    .movement-source-wallet-icon,
    .movement-source-csv-icon{
      display:none!important;
    }
    .movement-source-copy{
      grid-column:2!important;
      grid-row:1!important;
      display:grid!important;
      gap:3px!important;
      min-width:0!important;
      width:100%!important;
      max-width:100%!important;
      overflow:hidden!important;
    }
    .movement-source-copy strong{
      display:block!important;
      width:100%!important;
      max-width:100%!important;
      min-width:0!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      white-space:nowrap!important;
      overflow-wrap:normal!important;
      word-break:normal!important;
      font-size:14.5px!important;
      line-height:1.08!important;
      letter-spacing:-.035em!important;
    }
    .movement-source-copy small{
      display:block!important;
      width:100%!important;
      max-width:100%!important;
      min-width:0!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      white-space:nowrap!important;
      overflow-wrap:normal!important;
      word-break:normal!important;
      font-size:10.8px!important;
      line-height:1.18!important;
      color:#63736e!important;
      -webkit-line-clamp:unset!important;
      -webkit-box-orient:initial!important;
    }
    .movement-source-state.included,
    .movement-source-state.gated,
    .movement-source-state.excluded{
      display:inline!important;
      padding:0!important;
      border-radius:0!important;
      background:transparent!important;
      font-size:inherit!important;
      line-height:inherit!important;
      white-space:nowrap!important;
    }
    .affiliate-rebate-option-card{padding:10px!important;border-radius:20px!important;overflow:visible!important}
    .affiliate-rebate-option-card .movement-source-selector-head span{width:max-content!important;max-width:100%!important;justify-self:start!important;border-radius:999px!important;min-height:28px!important}
    .affiliate-rebate-option-card .movement-source-copy strong{white-space:normal!important;line-height:1.12!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
    .affiliate-rebate-option-card .movement-source-copy small{white-space:nowrap!important}
  }
  @media(max-width:430px){
    .movement-source-selector{padding:9px!important;border-radius:20px!important}
    .movement-source-toggle,.movement-source-toggle.compact,.affiliate-rebate-option-card .movement-source-toggle{grid-template-columns:28px minmax(0,1fr)!important;gap:9px!important;min-height:52px!important;padding:9px 10px!important;border-radius:16px!important}
    .movement-source-check{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;border-radius:9px!important}
    .movement-source-copy strong{font-size:14px!important}.movement-source-copy small{font-size:10.4px!important}
  }

  /* Step 665 — consultant task board progressive row hydration. */
  .consultant-category-section[data-consultant-lazy-category]{content-visibility:auto;contain-intrinsic-size:1px 680px}
  .consultant-category-body{content-visibility:auto;contain-intrinsic-size:1px 620px}
  .consultant-work-card[data-consultant-row-hydrated="1"]{contain:layout style paint;content-visibility:auto;contain-intrinsic-size:1px 290px}
  .consultant-lazy-row-loader{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:12px 8px 2px}
  .consultant-lazy-row-loader[hidden]{display:none!important}
  .consultant-lazy-row-loader small{font-size:11.5px;color:var(--muted);font-weight:780}
  .consultant-lazy-row-loader .secondary-action{min-height:38px;border-radius:999px}
  @media(max-width:640px){.consultant-lazy-row-loader{justify-content:stretch}.consultant-lazy-row-loader .secondary-action{width:100%}.consultant-lazy-row-loader small{text-align:center;width:100%}}




  /* Step 649 — final Step 610 navbar CSS seal.
     This block is intentionally placed at the very end of pageStyles() so later page/mobile
     polish cannot override the Step 610/605 app navbar with compact/grid mobile rules. */
  @media(max-width:760px){
    .app-topbar{
      width:min(100%,var(--page-max))!important;
      margin:0 auto 10px!important;
      display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
      min-height:46px!important;padding:0!important;border:0!important;border-radius:0!important;
      background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important;
    }
    .brand-lockup{gap:10px!important;min-width:0!important;overflow:visible!important}.brand-lockup img{max-width:138px!important;height:38px!important;object-fit:contain!important;object-position:left center!important}.brand-lockup img.brand-image-icon{width:38px!important;height:38px!important}
    .user-box{display:flex!important;align-items:center!important;gap:6px!important;max-width:min(100%,520px)!important;padding:5px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(18px)!important;flex:0 1 auto!important;overflow:visible!important}
    .profile-topbar-link{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:#fff!important;color:var(--ink-soft)!important;display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}.profile-topbar-link svg{width:19px!important;height:19px!important}
    .notification-toggle,.admin-mail-toggle{display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;min-width:104px!important;width:auto!important;min-height:34px!important;height:34px!important;padding:0 6px 0 9px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;font-size:12px!important;flex:0 0 auto!important;overflow:visible!important;white-space:nowrap!important}
    .notification-toggle .notification-switch,.admin-mail-toggle .notification-switch{display:block!important;width:38px!important;height:21px!important}.notification-switch i{width:15px!important;height:15px!important}.notification-toggle.is-on .notification-switch i,.admin-mail-toggle.is-on .notification-switch i{transform:translateX(17px)!important}
    .notification-toggle .notification-label,.admin-mail-toggle .notification-label{display:inline!important;font-size:9.5px!important;min-width:26px!important;letter-spacing:.075em!important}.admin-mail-toggle .admin-mail-word{display:inline!important;font-size:11px!important}.admin-mail-toggle:before,.admin-mail-toggle:after{content:none!important;display:none!important}
    .notification-bell{display:inline-grid!important;place-items:center!important;width:18px!important;height:18px!important;background:transparent!important;border:0!important}.notification-bell svg{width:18px!important;height:18px!important}
    .logout-button{width:auto!important;min-width:auto!important;height:34px!important;min-height:34px!important;padding:0 10px!important;border-radius:999px!important;font-size:12px!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;flex:0 0 auto!important;overflow:visible!important;white-space:nowrap!important}.logout-button:before,.logout-button:after{content:none!important;display:none!important}

    .app-nav-shell{
      position:fixed!important;left:50%!important;right:auto!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;
      z-index:120!important;width:calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right)))!important;max-width:var(--page-max)!important;
      margin:0!important;transform:translate3d(-50%,0,0)!important;will-change:transform!important;contain:layout paint!important;overflow:visible!important;border-radius:0!important;
    }
    .app-nav-shell:before,.app-nav-shell:after{display:block!important;content:""!important;position:absolute!important;top:3px!important;bottom:3px!important;z-index:3!important;width:34px!important;pointer-events:none!important;opacity:0;transition:opacity .18s ease!important;border-radius:22px!important}
    .app-nav-shell:before{left:1px!important;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))!important}.app-nav-shell:after{right:1px!important;background:linear-gradient(270deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))!important}.app-nav-shell.has-left-fade:before,.app-nav-shell.has-right-fade:after{opacity:1!important}
    .app-nav{
      position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;height:62px!important;margin:0 auto!important;padding:6px!important;
      border:1px solid var(--line)!important;border-radius:22px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(18px)!important;
      display:flex!important;grid-template-columns:none!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;white-space:nowrap!important;scroll-behavior:smooth!important;overscroll-behavior-x:contain!important;max-width:100%!important;scroll-padding-inline:12px!important;
    }
    .app-nav::-webkit-scrollbar{display:none!important}.nav-item{height:50px!important;min-width:78px!important;width:auto!important;flex:0 0 auto!important;border-radius:999px!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:3px!important;padding:0 9px!important;color:#5f6f6b!important;font-weight:760!important;font-size:10.5px!important;letter-spacing:-.01em!important;overflow:visible!important}.nav-item:hover{background:var(--surface-muted)!important;color:var(--ink)!important;transform:translateY(-1px)!important}.nav-item.active{background:var(--ink)!important;color:#fff!important;box-shadow:0 10px 24px rgba(20,32,31,.16)!important;transform:none!important}.nav-icon{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}.nav-icon svg{width:21px!important;height:21px!important;display:block!important}.nav-label{line-height:1!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;font-size:inherit!important;letter-spacing:inherit!important}.nav-badge{right:auto!important;top:auto!important}
  }
  @media(max-width:560px){.notification-switch{display:none!important}.notification-toggle .notification-switch,.admin-mail-toggle .notification-switch{display:none!important}.profile-topbar-link{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}.logout-button{padding:0 9px!important}.notification-toggle{padding:0 8px!important}}
  @media(max-width:430px){
    .app-topbar{align-items:flex-start!important}.brand-lockup img{max-width:120px!important;height:35px!important}.notification-toggle,.admin-mail-toggle{min-width:92px!important}.notification-bell{width:18px!important}.notification-label{display:none!important}.nav-item{min-width:72px!important}.user-box{gap:5px!important;border-radius:22px!important}
  }
  @media(max-width:390px){
    .brand-lockup img{max-width:110px!important}.user-box{padding:4px!important}.profile-topbar-link,.logout-button{height:32px!important;min-height:32px!important}.logout-button{font-size:11.5px!important;padding-inline:8px!important}
  }
  @media(orientation:landscape) and (max-height:560px){
    .app-nav-shell{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:min(100%,var(--page-max))!important;max-width:var(--page-max)!important;transform:none!important;contain:none!important}.app-nav{position:static!important;height:52px!important;border-radius:999px!important}.app-nav-shell:before,.app-nav-shell:after{width:32px!important}.nav-item{height:42px!important;min-width:max-content!important;flex-direction:row!important;font-size:12px!important;padding:0 12px!important}.nav-icon svg{width:18px!important;height:18px!important}.app-topbar{margin-bottom:8px!important}
  }


  /* Step 682 — live navbar badge placement.
     Badge counts are small status markers: keep them on the outer corner of the
     nav item/topbar button and never centered over the icon glyph. */
  .nav-icon{position:relative!important;overflow:visible!important}
  .nav-badge,.nav-badge[hidden]{position:absolute!important;right:-16px!important;top:-13px!important;left:auto!important;bottom:auto!important;transform:none!important;z-index:4!important;min-width:18px!important;height:18px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 4px!important;border:2px solid #fff!important;background:var(--accent)!important;color:#fff!important;font-size:10px!important;font-weight:900!important;line-height:1!important;letter-spacing:0!important;box-shadow:0 8px 16px rgba(143,18,63,.18)!important;pointer-events:none!important}
  .nav-badge[hidden]{display:none!important}.nav-badge.ticket-alert{background:#c1121f!important}
  @media(max-width:760px){.nav-badge,.nav-badge[hidden]{right:-13px!important;top:-12px!important;min-width:17px!important;height:17px!important;font-size:9px!important;border-width:2px!important}}
  @media(max-width:430px){.nav-badge,.nav-badge[hidden]{right:-11px!important;top:-11px!important;min-width:16px!important;height:16px!important;font-size:8.5px!important}}


  
  
  /* Step 88 — payment/consultant modal viewport isolation.
     Modals must live above the bottom navigation/sticky page actions and scroll by themselves on iPhone portrait/landscape. */
  .modal-backdrop,
  .payment-modal-backdrop,
  dialog.source-modal{
    z-index:5000!important;
    isolation:isolate;
    contain:layout style paint;
  }

  .payment-modal-backdrop,
  .consultant-user-modal{
    position:fixed!important;
    inset:0!important;
    width:100vw!important;
    min-height:100dvh!important;
    height:100dvh!important;
    max-height:100dvh!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
  }

  .payment-modal-backdrop{place-items:center!important}
  .consultant-user-modal{place-items:start center!important;align-items:start!important}

  .payment-modal-card,
  .consultant-modal-card{
    transform:none!important;
    align-self:center;
    justify-self:center;
    min-height:0;
    height:auto;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    scrollbar-gutter:auto;
  }

  .payment-modal-card{
    width:min(560px,calc(100vw - max(28px,env(safe-area-inset-left) + env(safe-area-inset-right))))!important;
    max-height:calc(100dvh - max(32px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;
    margin:auto!important;
    padding:56px 22px 22px!important;
  }

  .consultant-modal-card{
    width:min(1040px,calc(100vw - max(28px,env(safe-area-inset-left) + env(safe-area-inset-right))))!important;
    max-height:calc(100dvh - max(28px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;
    margin:max(14px,env(safe-area-inset-top)) auto max(14px,env(safe-area-inset-bottom))!important;
    padding:56px 22px 22px!important;
  }

  .payment-modal-card .button-row,
  .consultant-modal-card .button-row{
    position:relative!important;
    z-index:1;
    margin-top:12px;
    padding:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }

  .payment-modal-card .primary-action,
  .payment-modal-card .secondary-action,
  .consultant-modal-card .primary-action,
  .consultant-modal-card .secondary-action{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  .consultant-modal-card .consultant-table-scroll,
  .consultant-modal-card .simple-consultant-scroll{
    max-height:min(54dvh,560px)!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .consultant-modal-card .consultant-grid-table,
  .consultant-modal-card .simple-consultant-table{max-width:none}

  @media(max-width:760px){
    .payment-modal-backdrop,
    .consultant-user-modal{
      padding:
        max(10px,env(safe-area-inset-top))
        max(10px,env(safe-area-inset-right))
        max(10px,env(safe-area-inset-bottom))
        max(10px,env(safe-area-inset-left))!important;
    }
    .payment-modal-card,
    .consultant-modal-card{
      width:min(100%,calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right))))!important;
      border-radius:18px!important;
    }
    .payment-modal-card{max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;padding:52px 16px 16px!important}
    .consultant-modal-card{max-height:calc(100dvh - max(20px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;padding:52px 16px 16px!important;margin:auto!important;align-self:center}
    .payment-modal-card h2,.consultant-modal-card h2{font-size:20px!important;line-height:1.14!important}
    .payment-modal-card p,.consultant-modal-card p{font-size:13.5px!important;line-height:1.44!important}
    .payment-modal-card .report-stats.single{grid-template-columns:1fr!important;margin:8px 0!important}
    .payment-modal-card .mini-stat{padding:12px!important}
    .payment-modal-card .mini-stat strong{font-size:28px!important}
    .payment-modal-card .button-row{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
    .payment-modal-card .primary-action,.payment-modal-card .secondary-action{width:100%!important;min-height:44px!important;padding-inline:12px!important}
    .consultant-modal-card .consultant-table-scroll,
    .consultant-modal-card .simple-consultant-scroll{max-height:52dvh!important}
  }

  @media(max-width:430px){
    .payment-modal-card,.consultant-modal-card{border-radius:16px!important}
    .payment-modal-card{padding:50px 14px 14px!important}
    .consultant-modal-card{padding:50px 14px 14px!important}
    .payment-modal-card .modal-close,.consultant-modal-card .modal-close{top:8px!important;right:8px!important}
  }

  @media(orientation:landscape) and (max-height:640px){
    .payment-modal-backdrop,
    .consultant-user-modal{
      place-items:center!important;
      align-items:center!important;
      padding:
        max(8px,env(safe-area-inset-top))
        max(10px,env(safe-area-inset-right))
        max(8px,env(safe-area-inset-bottom))
        max(10px,env(safe-area-inset-left))!important;
    }
    .payment-modal-card{
      width:min(760px,calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right))))!important;
      max-height:calc(100dvh - max(16px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;
      padding:46px 16px 14px!important;
      gap:7px!important;
      align-self:center!important;
    }
    .payment-modal-card .modal-close,
    .consultant-modal-card .modal-close{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;top:8px!important;right:8px!important}
    .payment-modal-card .status-badge{min-height:22px!important;padding:3px 8px!important;font-size:9.6px!important;margin-bottom:2px!important}
    .payment-modal-card h2{font-size:19px!important;line-height:1.12!important;margin-bottom:2px!important}
    .payment-modal-card p{font-size:12.5px!important;line-height:1.34!important;margin-bottom:4px!important}
    .payment-modal-card .report-stats.single{grid-template-columns:1fr!important;margin:4px 0!important}
    .payment-modal-card .mini-stat{padding:9px 12px!important;border-radius:13px!important}
    .payment-modal-card .mini-stat span{font-size:11px!important}
    .payment-modal-card .mini-stat strong{font-size:24px!important}
    .payment-modal-card .button-row{grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:6px!important}
    .payment-modal-card .primary-action,.payment-modal-card .secondary-action{min-height:40px!important;font-size:13px!important;padding-inline:10px!important}

    .consultant-modal-card{
      width:min(1120px,calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right))))!important;
      max-height:calc(100dvh - max(16px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important;
      margin:auto!important;
      padding:46px 14px 14px!important;
      align-self:center!important;
    }
    .consultant-modal-card h2{font-size:19px!important;line-height:1.12!important}
    .consultant-modal-card p{font-size:12.5px!important;line-height:1.34!important}
    .consultant-modal-card .panel{padding:12px!important;margin:8px 0!important;border-radius:14px!important}
    .consultant-modal-card .section-title{margin-bottom:8px!important}
    .consultant-modal-card .report-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:8px 0!important}
    .consultant-modal-card .mini-stat{padding:8px!important;border-radius:12px!important}
    .consultant-modal-card .mini-stat span{font-size:10.5px!important}
    .consultant-modal-card .mini-stat strong{font-size:18px!important}
    .consultant-modal-card .consultant-table-scroll,
    .consultant-modal-card .simple-consultant-scroll{max-height:42dvh!important}
  }

  /* Step 138 — dedicated consultant anomaly workspace, no modal. */
  .consultant-case-card{display:grid;gap:8px}.consultant-case-delete-history{margin:0;display:flex;justify-content:flex-start}.consultant-case-delete-history .danger-action{width:max-content}
  .consultant-workspace-page{display:grid;gap:12px}.consultant-workspace-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;border-color:#b9d9cc;background:linear-gradient(180deg,#fff,#f4fbf8)}.consultant-workspace-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.consultant-workspace-title h2{font-size:clamp(26px,3vw,38px);letter-spacing:-.05em;margin-bottom:6px}.consultant-workspace-title p{max-width:920px}.consultant-case-main em{display:inline-flex;margin-top:6px;color:var(--brand-strong);font-size:12px;font-style:normal;font-weight:850}.consultant-category-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.consultant-category-overview-card{display:grid;gap:4px;text-decoration:none;border:1px solid var(--line);border-radius:16px;background:#fff;padding:14px;box-shadow:var(--shadow-soft)}.consultant-category-overview-card span{font-size:12px;font-weight:850;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.consultant-category-overview-card strong{font-size:clamp(24px,3vw,34px);line-height:1;letter-spacing:-.05em}.consultant-category-overview-card small{font-size:12.5px;font-weight:760}.consultant-category-overview-card.ignored{background:#fff8e7;border-color:#ead29f}.consultant-filter-bar{position:sticky;top:8px;z-index:5;display:flex;gap:8px;overflow:auto;padding:8px;margin:4px -4px 14px;scrollbar-width:none}.consultant-filter-bar::-webkit-scrollbar{display:none}.consultant-filter-chip{min-height:40px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink-soft);font-weight:850;padding:0 13px;white-space:nowrap;box-shadow:var(--shadow-soft);cursor:pointer}.consultant-filter-chip b{display:inline-flex;margin-left:4px;color:var(--brand-strong)}.consultant-filter-chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}.consultant-filter-chip.active b{color:#fff}.consultant-category-stack{display:grid;gap:14px}.consultant-category-section{border:1px solid var(--line);border-radius:18px;background:var(--surface-soft);padding:14px}.consultant-category-section[hidden]{display:none!important}.consultant-category-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start;margin-bottom:12px}.consultant-category-head h3{font-size:clamp(20px,2.2vw,28px);letter-spacing:-.04em}.consultant-category-head p{max-width:760px}.consultant-category-count{display:grid;justify-items:center;min-width:82px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:10px}.consultant-category-count strong{font-size:28px;line-height:1;letter-spacing:-.05em}.consultant-category-count span{font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.consultant-category-body{display:grid;gap:10px}.consultant-anomaly-card{display:grid;gap:12px;border:1px solid var(--line);border-radius:18px;background:#fff;padding:14px;box-shadow:0 12px 28px rgba(20,32,31,.07)}.consultant-anomaly-card.saved{background:#f2faf6;border-color:#b9d9cc}.consultant-anomaly-card.is-ignored-draft{background:#fff8e7;border-color:#ead29f}.anomaly-card-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.anomaly-card-title h4{font-size:18px;line-height:1.16;letter-spacing:-.028em;margin:0 0 5px;color:var(--ink)}.anomaly-card-title p{font-size:13.5px;margin:0}.anomaly-ignore-line{align-self:start;background:var(--surface-soft);border:1px solid var(--line);border-radius:999px;padding:7px 10px;margin:0!important;white-space:nowrap}.anomaly-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.anomaly-fact{border:1px solid var(--line);border-radius:13px;background:var(--surface-soft);padding:9px;min-width:0}.anomaly-fact span{display:block;font-size:10.5px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.anomaly-fact strong{display:block;margin-top:2px;color:var(--ink);font-size:13px;line-height:1.25;overflow-wrap:anywhere}.anomaly-answer-area{display:grid;grid-template-columns:minmax(260px,1fr) minmax(220px,.8fr) minmax(150px,auto);gap:10px;align-items:end;padding-top:10px;border-top:1px solid var(--line)}.anomaly-answer-area label{display:grid;gap:5px;font-size:10.5px;font-weight:850;color:var(--muted);text-transform:uppercase;letter-spacing:.045em}.anomaly-answer-area input,.anomaly-answer-area select,.anomaly-answer-area textarea{width:100%;min-height:38px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);padding:8px 10px;text-transform:none;letter-spacing:0}.anomaly-answer-area textarea{min-height:74px;resize:vertical}.anomaly-answer-area small{font-size:10.5px;line-height:1.35;text-transform:none;letter-spacing:0}.anomaly-save-button{width:100%;min-height:42px}.consultant-operation-board-empty{border-color:#b9d9cc;background:#f4fbf8}.consultant-task-fieldset{border:0;margin:0;padding:0;display:grid;gap:10px}.consultant-task-fieldset[disabled]{opacity:.72}.consultant-work-card.is-locked{background:#f8fbfa!important;border-style:dashed!important}.consultant-task-lock-notice{margin:0!important;color:#4f625c!important}
  @media(max-width:1040px){.consultant-category-overview{grid-template-columns:1fr 1fr}.anomaly-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.anomaly-answer-area{grid-template-columns:1fr}}
  @media(max-width:760px){.consultant-workspace-nav{display:grid;grid-template-columns:1fr}.consultant-workspace-nav .secondary-action{width:100%}.consultant-category-overview{grid-template-columns:1fr}.consultant-filter-bar{top:0;margin-inline:-8px;padding-inline:8px;background:linear-gradient(180deg,rgba(245,247,246,.97),rgba(245,247,246,.88))}.consultant-category-section{padding:11px;border-radius:16px}.consultant-category-head{grid-template-columns:1fr}.consultant-category-count{justify-items:start;grid-template-columns:auto auto;gap:8px;width:max-content;max-width:100%}.consultant-anomaly-card{border-radius:16px;padding:12px}.anomaly-card-top{grid-template-columns:1fr}.anomaly-ignore-line{width:max-content;max-width:100%}.anomaly-facts{grid-template-columns:1fr 1fr}.anomaly-answer-area{grid-template-columns:1fr;gap:9px}.anomaly-save-button{width:100%}.consultant-table-panel{overflow:visible}}
  @media(max-width:430px){.anomaly-facts{grid-template-columns:1fr}.consultant-filter-chip{min-height:38px;font-size:12.5px}.anomaly-card-title h4{font-size:16.5px}.consultant-category-head h3{font-size:20px}}


  /* Step 139 — cleaner consultant cockpit and guided initial-lot decisions. */
  .consultant-workspace-page{gap:16px!important}
  .consultant-workspace-hero{background:#fff!important;border-color:var(--line)!important;box-shadow:none!important}
  .consultant-workspace-title h2{font-size:clamp(24px,2.6vw,34px)!important;letter-spacing:-.035em!important}
  .consultant-intro,.consultant-operation-board{background:#fff!important;border-color:var(--line)!important;box-shadow:none!important}
  .consultant-category-overview-card{box-shadow:none!important;border-radius:14px!important;background:#fff!important}
  .consultant-category-overview-card strong{font-size:clamp(22px,2.4vw,30px)!important}
  .consultant-filter-bar{background:#fff!important;border:1px solid var(--line);border-radius:16px;padding:8px!important;margin:2px 0 14px!important;box-shadow:none!important}
  .consultant-filter-chip{box-shadow:none!important;border-radius:12px!important;font-weight:800!important}
  .consultant-filter-chip.active{background:#14201f!important;border-color:#14201f!important}
  .consultant-category-section{background:#fafbf9!important;border-radius:16px!important;box-shadow:none!important}
  .consultant-category-head h3{font-size:clamp(18px,2vw,24px)!important;letter-spacing:-.025em!important}
  .consultant-category-count{border-radius:13px!important;box-shadow:none!important}
  .consultant-work-card{padding:0!important;border-radius:16px!important;box-shadow:none!important;overflow:hidden!important;border-color:#dde4e0!important;background:#fff!important}
  .consultant-work-card.saved{background:#fbfffd!important;border-color:#b9d9cc!important}
  .consultant-work-card.is-ignored-draft{background:#fffdf6!important;border-color:#ead29f!important}
  .work-card-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 14px 10px;border-bottom:1px solid #edf1ef;background:#fff}
  .work-card-title{display:grid;gap:5px;min-width:0}.work-card-title h4{font-size:18px;line-height:1.18;letter-spacing:-.025em;margin:0;color:#14201f}.work-card-title p{font-size:13.5px;line-height:1.42;margin:0;color:#65736f}.work-card-title .status-badge{width:max-content;max-width:100%;font-size:10px;letter-spacing:.07em}
  .work-card-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-bottom:1px solid #edf1ef;background:#fbfcfb}
  .work-card-facts .anomaly-fact{border:0!important;border-right:1px solid #edf1ef!important;border-radius:0!important;background:transparent!important;padding:11px 14px!important}.work-card-facts .anomaly-fact:last-child{border-right:0!important}.work-card-facts .anomaly-fact span{font-size:10px!important;letter-spacing:.07em;color:#71807b!important}.work-card-facts .anomaly-fact strong{font-size:14px!important;line-height:1.25!important;color:#14201f!important}
  .work-card-action{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:14px;background:#fff}.work-card-note-save{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:10px;align-items:end;padding-top:12px;border-top:1px solid #edf1ef}.work-card-note-save textarea{width:100%;min-height:68px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff;color:var(--ink);resize:vertical}.work-card-note-save .anomaly-save-button{min-height:44px;width:100%;border-radius:12px}.work-step-label{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#667570;margin-bottom:8px}.initial-lot-decision-panel{display:grid;gap:12px}.initial-lot-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.initial-lot-choice{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;border:1px solid #dce4e0;border-radius:14px;background:#fff;padding:12px;cursor:pointer;min-height:92px;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.initial-lot-choice:hover{border-color:#a9b8b3;background:#fbfcfb}.initial-lot-choice:has(input:checked){border-color:#14201f;background:#f6f8f7;box-shadow:inset 0 0 0 1px #14201f}.initial-lot-choice input{margin-top:3px;accent-color:#14201f}.initial-lot-choice strong{display:block;font-size:14px;line-height:1.24;color:#14201f}.initial-lot-choice small{display:block;margin-top:4px;font-size:12.2px;line-height:1.35;color:#667570}.initial-lot-cost-fields{border:1px solid #e1e8e4;border-radius:14px;background:#fbfcfb;padding:12px}.initial-lot-cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.initial-lot-cost-grid label,.anomaly-answer-input>label{display:grid;gap:6px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#667570}.initial-lot-cost-grid input,.anomaly-answer-input input,.anomaly-answer-input select{width:100%;min-height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#14201f;padding:9px 11px;font-size:14px;text-transform:none;letter-spacing:0}.field-help-plain{font-size:12.5px;line-height:1.35;color:#667570;margin:8px 0 0}.needs-user-info-draft{border-color:#d7c37b!important;background:#fffdf7!important}
  @media(max-width:900px){.initial-lot-choice-grid{grid-template-columns:1fr}.initial-lot-cost-grid{grid-template-columns:1fr}.work-card-facts{grid-template-columns:1fr 1fr}.work-card-note-save{grid-template-columns:1fr}}
  @media(max-width:520px){.work-card-head{grid-template-columns:1fr;padding:12px}.work-card-title h4{font-size:17px}.anomaly-ignore-line{width:max-content}.work-card-facts{grid-template-columns:1fr 1fr}.work-card-facts .anomaly-fact{padding:10px 12px!important}.work-card-facts .anomaly-fact:nth-child(2n){border-right:0!important}.work-card-action{padding:12px}.initial-lot-choice{min-height:auto}.consultant-filter-bar{border-radius:14px;margin-inline:0!important}.consultant-category-section{padding:10px!important}}

  /* Step 140 — guided cards for movements and exchange gains too. */
  .classification-decision-panel{display:grid;gap:10px}
  .classification-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .guided-choice{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;border:1px solid #dce4e0;border-radius:14px;background:#fff;padding:12px;cursor:pointer;min-height:92px;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}
  .guided-choice:hover{border-color:#a9b8b3;background:#fbfcfb}.guided-choice:has(input:checked),.guided-choice.selected{border-color:#14201f;background:#f6f8f7;box-shadow:inset 0 0 0 1px #14201f}.guided-choice input{margin-top:3px;accent-color:#14201f}.guided-choice strong{display:block;font-size:14px;line-height:1.24;color:#14201f}.guided-choice small{display:block;margin-top:4px;font-size:12.2px;line-height:1.35;color:#667570}
  .movement-guided-card .work-card-action,.reward-guided-card .work-card-action{background:#fff}.movement-guided-card .classification-decision-panel,.reward-guided-card .classification-decision-panel{border:1px solid #e1e8e4;border-radius:14px;background:#fbfcfb;padding:12px}.movement-guided-card .field-help-plain,.reward-guided-card .field-help-plain{margin:0;color:#667570}.needs-user-info-draft .classification-decision-panel{border-color:#d7c37b;background:#fffdf7}
  @media(max-width:900px){.classification-choice-grid{grid-template-columns:1fr 1fr}}
  @media(max-width:520px){.classification-choice-grid{grid-template-columns:1fr}.guided-choice{min-height:auto}}

  /* Step 348 — consultant category TXT export. */
  .consultant-category-actions{display:grid;gap:8px;justify-items:end;align-content:start}
  .consultant-category-actions .secondary-action{min-height:38px;white-space:nowrap}
  @media(max-width:760px){.consultant-category-actions{justify-items:start}.consultant-category-actions .secondary-action{width:max-content;max-width:100%}}

  /* Step 395 — consultant dashboard compact task cockpit. */
  .consultant-intro-compact{padding:12px!important;display:grid!important;gap:10px!important}
  .consultant-compact-summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important}
  .consultant-compact-summary .mini-stat{min-width:150px!important;padding:10px 12px!important;border-radius:12px!important}
  .consultant-compact-summary .mini-stat strong{font-size:24px!important;line-height:1!important}
  .consultant-compact-summary .status-badge{margin-left:auto!important}
  .consultant-intro-compact .generate-documents-panel{margin:0!important;padding:10px!important;border-radius:14px!important}
  .consultant-intro-compact .generate-documents-panel h3{font-size:16px!important;margin:0!important}
  .consultant-intro-compact .generate-documents-panel p{font-size:12px!important;margin:2px 0 0!important;line-height:1.3!important}
  .consultant-table-head{align-items:center!important}.consultant-table-head .section-title p,.consultant-table-head p{display:none!important}
  .consultant-category-head{margin-bottom:8px!important}.consultant-category-head h3{margin:0!important}.consultant-category-head p{display:none!important}
  .consultant-category-section{padding:10px!important}.consultant-category-body{gap:8px!important}
  .work-card-head{padding:10px 12px 8px!important}.work-card-title{gap:2px!important}.work-card-title h4{font-size:16.5px!important}.work-card-title p{font-size:12px!important;line-height:1.25!important}
  .work-card-facts{grid-template-columns:repeat(5,minmax(0,1fr))!important}.work-card-facts .anomaly-fact{padding:8px 10px!important}.work-card-facts .anomaly-fact span{font-size:9.5px!important}.work-card-facts .anomaly-fact strong{font-size:13px!important}
  .work-card-action{padding:10px 12px!important;gap:8px!important}.work-step-label{font-size:10px!important;margin-bottom:6px!important}.work-card-note-save{grid-template-columns:minmax(0,1fr) 160px!important;padding-top:8px!important;gap:8px!important}.work-card-note-save textarea{min-height:44px!important}.work-card-note-save .anomaly-save-button{min-height:40px!important}
  .classification-choice-grid,.initial-lot-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.guided-choice,.initial-lot-choice{min-height:48px!important;padding:9px 10px!important;border-radius:12px!important;align-items:center!important}.guided-choice strong,.initial-lot-choice strong{font-size:13px!important}.guided-choice small,.initial-lot-choice small{display:none!important}
  .missing-price-input-grid.compact-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:620px!important}.missing-price-input-grid.compact-price-grid label{gap:5px!important}.missing-price-input-grid.compact-price-grid small{display:none!important}
  @media(max-width:900px){.classification-choice-grid,.initial-lot-choice-grid{grid-template-columns:1fr 1fr!important}.work-card-facts{grid-template-columns:1fr 1fr!important}.work-card-note-save{grid-template-columns:1fr!important}.missing-price-input-grid.compact-price-grid{grid-template-columns:1fr!important;max-width:none!important}}
  @media(max-width:520px){.consultant-compact-summary{display:grid!important;grid-template-columns:1fr!important}.consultant-compact-summary .status-badge{margin-left:0!important;width:max-content!important}.classification-choice-grid,.initial-lot-choice-grid{grid-template-columns:1fr!important}.work-card-facts{grid-template-columns:1fr 1fr!important}.work-card-head{grid-template-columns:1fr!important}.guided-choice,.initial-lot-choice{min-height:auto!important}}


  /* Step 396 — professional consultant dashboard redesign. */
  .consultant-workspace-page{max-width:1180px;margin:0 auto;gap:14px!important}
  .consultant-workspace-hero{position:relative;overflow:hidden;border:1px solid #dbe8e2!important;border-radius:24px!important;background:linear-gradient(135deg,#ffffff 0%,#f4fbf8 62%,#eaf6f1 100%)!important;padding:18px!important;box-shadow:0 18px 45px rgba(20,32,31,.08)!important}
  .consultant-workspace-hero:before{content:"";position:absolute;inset:-80px -140px auto auto;width:300px;height:300px;border-radius:999px;background:rgba(25,118,96,.09);pointer-events:none}
  .consultant-workspace-nav{position:relative;z-index:1}.consultant-dashboard-title{position:relative;z-index:1;display:grid;gap:6px}.consultant-dashboard-title h2{font-size:clamp(26px,3.3vw,42px)!important;letter-spacing:-.055em!important;margin:0!important}.consultant-dashboard-title p{font-size:14px!important;line-height:1.35!important;color:#5c6c67!important;margin:0!important;max-width:680px!important}
  .consultant-dashboard-shell{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.consultant-dashboard-strip{display:grid;grid-template-columns:180px auto minmax(360px,1fr);gap:12px;align-items:stretch}.consultant-dashboard-main-kpi{display:grid;align-content:center;gap:4px;border:1px solid #dbe8e2;border-radius:20px;background:#14201f;color:#fff;padding:16px;box-shadow:0 14px 30px rgba(20,32,31,.14)}.consultant-dashboard-main-kpi span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.7)}.consultant-dashboard-main-kpi strong{font-size:44px;line-height:.92;letter-spacing:-.07em}.consultant-dashboard-status{display:flex;align-items:center;justify-content:center;border:1px solid #dbe8e2;border-radius:20px;background:#fff;padding:12px}.consultant-dashboard-status .status-badge{font-size:11px!important}
  .consultant-dashboard-shell .generate-documents-panel{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;margin:0!important;padding:14px!important;border:1px solid #dbe8e2!important;border-radius:20px!important;background:#fff!important;box-shadow:none!important}.consultant-dashboard-shell .generate-documents-panel h3{font-size:17px!important;margin:0!important;letter-spacing:-.02em!important}.consultant-dashboard-shell .generate-documents-panel p{font-size:12.5px!important;line-height:1.32!important;color:#62726d!important;margin:2px 0 0!important}.consultant-dashboard-shell .ignore-line{margin-top:8px!important;font-size:12px!important;color:#4f625c!important}.consultant-dashboard-shell .generate-documents-panel .primary-action{min-height:44px!important;border-radius:14px!important;white-space:nowrap!important}
  .consultant-operation-board{border:1px solid #dbe8e2!important;border-radius:24px!important;padding:16px!important;background:#fff!important;box-shadow:0 18px 45px rgba(20,32,31,.06)!important}.consultant-table-head{padding-bottom:10px!important;border-bottom:1px solid #eef3f0!important;margin-bottom:10px!important}.consultant-table-head h2{font-size:clamp(22px,2.4vw,30px)!important;letter-spacing:-.045em!important}.table-count{min-height:36px;display:inline-flex;align-items:center;border:1px solid #dbe8e2;border-radius:999px;background:#f6faf8;padding:0 12px;font-size:13px;font-weight:900;color:#14201f}
  .consultant-filter-bar{position:sticky;top:8px;z-index:6;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(10px);border:1px solid #dbe8e2!important;border-radius:18px!important;padding:8px!important;margin:0 0 12px!important}.consultant-filter-chip{min-height:36px!important;border-radius:999px!important;font-size:12.5px!important;background:#fff!important}.consultant-filter-chip.active{background:#14201f!important;color:#fff!important}
  .consultant-category-section{border:1px solid #e1ebe6!important;border-radius:22px!important;background:#f8fbfa!important;padding:12px!important}.consultant-category-head{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;margin-bottom:10px!important}.consultant-category-head h3{font-size:20px!important;letter-spacing:-.035em!important}.consultant-category-actions{display:flex!important;align-items:center!important;gap:8px!important}.consultant-category-count{min-width:auto!important;display:flex!important;align-items:center!important;gap:5px!important;border-radius:999px!important;padding:8px 10px!important}.consultant-category-count strong{font-size:18px!important}.consultant-category-count span{font-size:10px!important}
  .consultant-work-card{border:1px solid #e0e8e4!important;border-radius:20px!important;box-shadow:0 10px 26px rgba(20,32,31,.055)!important;background:#fff!important;overflow:hidden!important}.work-card-head{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;background:#fff!important;border-bottom:1px solid #eef3f0!important;padding:12px 14px!important}.work-card-title h4{font-size:17px!important;letter-spacing:-.03em!important}.work-card-title p{display:none!important}.anomaly-ignore-line{border-radius:999px!important;background:#f8fbfa!important;padding:6px 9px!important;font-size:12px!important}.work-card-facts{grid-template-columns:repeat(4,minmax(0,1fr))!important;background:#fbfdfc!important}.work-card-facts .anomaly-fact{padding:10px 12px!important}.work-card-facts .anomaly-fact span{font-size:9px!important}.work-card-facts .anomaly-fact strong{font-size:13.5px!important}.work-card-action{padding:12px 14px 14px!important;gap:10px!important}.work-step-label{font-size:10px!important;margin-bottom:6px!important;color:#63736e!important}.classification-choice-grid,.initial-lot-choice-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:8px!important}.rw-choice-grid{grid-template-columns:repeat(2,minmax(150px,220px))!important}.guided-choice,.initial-lot-choice{min-height:42px!important;padding:9px 10px!important;border-radius:999px!important;align-items:center!important;background:#fff!important}.guided-choice input,.initial-lot-choice input{margin:0!important}.guided-choice strong,.initial-lot-choice strong{font-size:13px!important;line-height:1.15!important}.guided-choice small,.initial-lot-choice small{display:none!important}.guided-choice:has(input:checked),.guided-choice.selected,.initial-lot-choice:has(input:checked),.initial-lot-choice.selected{background:#14201f!important;color:#fff!important;border-color:#14201f!important;box-shadow:none!important}.guided-choice:has(input:checked) strong,.guided-choice.selected strong,.initial-lot-choice:has(input:checked) strong,.initial-lot-choice.selected strong{color:#fff!important}.guided-choice:has(input:checked) input,.guided-choice.selected input,.initial-lot-choice:has(input:checked) input,.initial-lot-choice.selected input{accent-color:#fff!important}
  .initial-lot-cost-fields{padding:10px!important;border-radius:16px!important;background:#fbfdfc!important}.two-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.one-field-grid{grid-template-columns:minmax(0,320px)!important}.missing-price-input-grid label,.initial-lot-cost-grid label,.anomaly-answer-input>label{font-size:10px!important;letter-spacing:.07em!important}.missing-price-input-grid input,.initial-lot-cost-grid input,.anomaly-answer-input input{min-height:40px!important;border-radius:12px!important}.work-card-note-save{grid-template-columns:minmax(0,1fr) 150px!important;padding-top:8px!important}.work-card-note-save textarea{min-height:40px!important;border-radius:12px!important}.work-card-note-save .anomaly-save-button{min-height:40px!important;border-radius:12px!important}
  @media(max-width:980px){.consultant-dashboard-strip{grid-template-columns:1fr}.consultant-dashboard-status{justify-content:flex-start}.consultant-dashboard-shell .generate-documents-panel{grid-template-columns:1fr!important}.consultant-dashboard-shell .generate-documents-panel .primary-action{width:100%!important}.work-card-facts{grid-template-columns:1fr 1fr!important}.work-card-note-save{grid-template-columns:1fr!important}.two-field-grid,.one-field-grid{grid-template-columns:1fr!important}.rw-choice-grid{grid-template-columns:1fr 1fr!important}}
  @media(max-width:560px){.consultant-workspace-hero,.consultant-operation-board{border-radius:18px!important;padding:12px!important}.consultant-dashboard-main-kpi strong{font-size:36px}.consultant-category-head{grid-template-columns:1fr!important}.consultant-category-actions{justify-content:space-between!important}.work-card-head{grid-template-columns:1fr!important}.work-card-facts{grid-template-columns:1fr 1fr!important}.classification-choice-grid,.initial-lot-choice-grid,.rw-choice-grid{grid-template-columns:1fr!important}.guided-choice,.initial-lot-choice{border-radius:14px!important}.consultant-filter-bar{top:0!important}}


  /* Step 397 — ultra compact professional consultant cockpit. */
  .consultant-workspace-page{max-width:1120px!important;gap:10px!important}
  .consultant-workspace-hero{border-radius:18px!important;padding:13px 14px!important;box-shadow:0 12px 32px rgba(20,32,31,.055)!important;background:linear-gradient(135deg,#fff 0%,#f7fbf9 100%)!important}
  .consultant-workspace-title{gap:3px!important}.consultant-dashboard-title h2{font-size:clamp(24px,2.7vw,34px)!important}.consultant-dashboard-title p{font-size:12.5px!important;max-width:560px!important}
  .consultant-dashboard-strip{grid-template-columns:140px minmax(110px,140px) minmax(320px,1fr)!important;gap:8px!important}
  .consultant-dashboard-main-kpi{border-radius:16px!important;padding:12px 14px!important;box-shadow:0 10px 24px rgba(20,32,31,.12)!important}.consultant-dashboard-main-kpi strong{font-size:36px!important}.consultant-dashboard-main-kpi span{font-size:9.5px!important}
  .consultant-dashboard-status{border-radius:16px!important;padding:8px 10px!important}.consultant-dashboard-shell .generate-documents-panel{border-radius:16px!important;padding:10px 12px!important;gap:8px!important}.consultant-dashboard-shell .generate-documents-panel h3{font-size:15.5px!important}.consultant-dashboard-shell .generate-documents-panel p{font-size:11.5px!important;line-height:1.22!important}.consultant-dashboard-shell .generate-documents-panel .primary-action{min-height:40px!important;border-radius:12px!important;padding-inline:14px!important}.consultant-dashboard-shell .ignore-line{margin-top:5px!important;font-size:11.5px!important}
  .consultant-operation-board{border-radius:18px!important;padding:12px!important;box-shadow:0 12px 34px rgba(20,32,31,.05)!important}.consultant-table-head{padding-bottom:8px!important;margin-bottom:8px!important}.consultant-table-head h2{font-size:22px!important}.table-count{min-height:32px!important;font-size:12px!important;padding:0 10px!important}
  .consultant-filter-bar{top:6px!important;border-radius:14px!important;padding:6px!important;margin-bottom:8px!important;gap:6px!important}.consultant-filter-chip{min-height:32px!important;border-radius:10px!important;font-size:12px!important;padding:0 11px!important}.consultant-filter-chip b{font-size:12px!important}.consultant-filter-chip:focus-visible{outline:2px solid #14201f!important;outline-offset:2px!important}
  .consultant-category-stack{gap:10px!important}.consultant-category-section{border-radius:16px!important;padding:10px!important;background:#fbfdfc!important}.consultant-category-section[hidden]{display:none!important}.consultant-category-head{margin-bottom:8px!important}.consultant-category-head h3{font-size:18px!important}.consultant-category-actions .secondary-action{min-height:32px!important;border-radius:10px!important;font-size:12px!important}.consultant-category-count{padding:6px 9px!important}.consultant-category-count strong{font-size:15px!important}
  .consultant-work-card{border-radius:14px!important;box-shadow:none!important}.work-card-head{padding:9px 11px!important}.work-card-title h4{font-size:15.5px!important}.anomaly-ignore-line{font-size:11.5px!important;padding:5px 8px!important;background:#fff!important;border:1px solid #e5ece8!important}.work-card-facts{grid-template-columns:repeat(4,minmax(0,1fr))!important}.work-card-facts .anomaly-fact{padding:7px 9px!important}.work-card-facts .anomaly-fact span{font-size:8.5px!important}.work-card-facts .anomaly-fact strong{font-size:12.5px!important;word-break:break-word!important}.work-card-action{padding:10px 11px 11px!important;gap:7px!important}.work-step-label{font-size:9.5px!important;margin-bottom:5px!important}.classification-choice-grid,.initial-lot-choice-grid{grid-template-columns:repeat(auto-fit,minmax(132px,1fr))!important;gap:6px!important}.rw-choice-grid{grid-template-columns:repeat(2,minmax(130px,190px))!important;gap:6px!important}.guided-choice,.initial-lot-choice{min-height:36px!important;border-radius:10px!important;padding:7px 9px!important;gap:7px!important}.guided-choice strong,.initial-lot-choice strong{font-size:12.5px!important}.initial-lot-cost-fields{padding:8px!important;border-radius:12px!important}.initial-lot-cost-grid{gap:8px!important}.missing-price-input-grid input,.initial-lot-cost-grid input,.anomaly-answer-input input{min-height:36px!important;border-radius:10px!important;font-size:13px!important}.work-card-note-save.no-note-save{display:flex!important;justify-content:flex-end!important;border-top:1px solid #eef3f0!important;padding-top:8px!important}.work-card-note-save.no-note-save .anomaly-save-button{width:auto!important;min-width:132px!important;min-height:36px!important;border-radius:10px!important}.anomaly-note-input,.work-card-note-save textarea{display:none!important}
  @media(max-width:980px){.consultant-dashboard-strip{grid-template-columns:1fr!important}.consultant-dashboard-status{justify-content:flex-start!important}.work-card-facts{grid-template-columns:1fr 1fr!important}.work-card-note-save.no-note-save{justify-content:stretch!important}.work-card-note-save.no-note-save .anomaly-save-button{width:100%!important}}
  @media(max-width:560px){.consultant-workspace-page{gap:8px!important}.consultant-workspace-hero,.consultant-operation-board{border-radius:15px!important;padding:10px!important}.consultant-dashboard-main-kpi strong{font-size:32px!important}.consultant-filter-bar{top:0!important}.consultant-category-section{padding:8px!important}.work-card-head{grid-template-columns:1fr auto!important}.work-card-facts{grid-template-columns:1fr 1fr!important}.classification-choice-grid,.initial-lot-choice-grid,.rw-choice-grid{grid-template-columns:1fr!important}.guided-choice,.initial-lot-choice{border-radius:10px!important}.initial-lot-cost-grid,.two-field-grid,.one-field-grid{grid-template-columns:1fr!important}}
  /* Step 402 — compact redesign for Home, Fonti, Movimenti, Report. */
  .home-core-shell{display:grid;gap:10px;max-width:980px;margin:0 auto}.home-core-hero{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px;align-items:stretch;border:1px solid rgba(20,32,31,.12);border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f5fbf8 100%);padding:16px;box-shadow:0 16px 40px rgba(20,32,31,.06)}.home-core-hero h2{margin:8px 0 6px;font-size:clamp(28px,4vw,44px);letter-spacing:-.06em;line-height:.95}.home-core-hero p{margin:0;color:#64736f;font-size:15px;line-height:1.35;max-width:640px}.home-core-year{border-radius:18px;background:#10211f;color:#fff;padding:14px 16px;display:grid;align-content:center;box-shadow:0 14px 34px rgba(16,33,31,.18)}.home-core-year span,.home-core-year small{color:rgba(255,255,255,.72);font-weight:800}.home-core-year strong{font-size:42px;line-height:.95}.home-core-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(20,32,31,.10);border-radius:18px;background:#fff;padding:12px 14px}.home-core-cta b,.home-core-cta span{display:block}.home-core-cta span{color:#687874;font-size:13px}.home-core-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.home-core-step{border:1px solid rgba(20,32,31,.10);border-radius:18px;background:#fff;padding:13px;display:grid;gap:4px}.home-core-step span{width:max-content;border-radius:999px;background:#10211f;color:#fff;padding:4px 9px;font-size:11px;font-weight:900}.home-core-step b{font-size:18px;letter-spacing:-.03em}.home-core-step small{color:#65736f;line-height:1.25}.home-core-note,.home-core-danger{border:1px solid rgba(20,32,31,.10);border-radius:18px;background:#f8fbf9;padding:13px 14px}.home-core-note strong{display:block;margin-top:6px;font-size:18px}.home-core-note p{margin:3px 0 0;color:#667571}.home-core-danger{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff8f8;border-color:rgba(190,18,60,.18)}.home-core-danger b,.home-core-danger span{display:block}.home-core-danger span{color:#7c6b6b;font-size:13px}
  .compact-core-card{padding:14px!important;border-radius:20px!important}.core-page-head{align-items:center!important}.core-page-head h2{margin:4px 0 0!important;font-size:clamp(24px,3vw,34px)!important}.core-page-head p{display:none!important}.connected-source-section-title{margin-top:12px!important}.connected-source-list{gap:7px!important;margin-top:9px!important}.connected-source-row{min-height:52px!important;padding:8px 54px 8px 10px!important;border-radius:14px!important;box-shadow:none!important}.source-favicon{width:38px!important;height:38px!important;border-radius:12px!important}.source-favicon img{width:24px!important;height:24px!important}.connected-source-main{gap:9px!important}.connected-source-main strong{font-size:14px!important}.connected-source-main p{display:none!important}.connected-source-main small{font-size:11px!important}.trash-action{width:32px!important;height:32px!important}.trash-icon{transform:scale(.78)}.add-source-quick-panel{margin-top:10px!important}.add-source-choice-card{min-height:72px!important;padding:10px!important;border-radius:14px!important}.add-source-choice-card small{display:none!important}.diagnostic-center-card{padding:12px!important;border-radius:18px!important}.diagnostic-center-head{align-items:center!important}.diagnostic-center-head h2{font-size:20px!important;margin:4px 0 0!important}.diagnostic-center-head p{display:none!important}.diagnostic-exchange-select-label{margin:8px 0!important}.diagnostic-card{margin-top:8px!important;padding:10px!important;border-radius:16px!important}.diagnostic-card .source-head{align-items:center!important}.diagnostic-card .source-head h2{font-size:18px!important}.diagnostic-card .source-head p,.source-diagnostic-box p.source-reset-note{display:none!important}.source-diagnostic-box{border-radius:14px!important;padding:10px!important}.source-diagnostic-box p{font-size:12px!important;line-height:1.25!important}.source-diagnostic-box .button-row{margin-top:8px!important}
  .calc-form{gap:10px!important}.movement-source-selector{border-radius:18px!important;padding:10px!important}.movement-source-selector-head{margin-bottom:8px!important}.movement-source-selector-head p{display:none!important}.movement-source-toggle{min-height:50px!important;border-radius:14px!important;padding:8px 10px!important}.movement-source-icon{width:34px!important;height:34px!important}.movement-source-copy strong{font-size:14px!important}.movement-source-copy small{font-size:11px!important;line-height:1.15!important}.fiscal-year-label{border-radius:14px!important;padding:9px 10px!important}.work-panel{border-radius:20px!important;padding:16px!important}.work-head{gap:10px!important}.work-head h2{font-size:clamp(24px,3vw,34px)!important}.result-copy{font-size:14px!important;line-height:1.3!important}.live-status-meta{margin-top:8px!important}.source-progress-panel{gap:8px!important;margin-top:10px!important}.source-progress-row{border-radius:14px!important;padding:8px 10px!important}.source-progress-top{margin-bottom:5px!important}.source-progress-track{height:22px!important}.metric-grid{gap:8px!important;margin-top:10px!important}.metric{border-radius:14px!important;padding:10px 12px!important}.metric span{font-size:10px!important}.metric strong{font-size:24px!important}.final-metrics-locked-note{border-radius:14px!important;padding:10px 12px!important}.final-metrics-locked-note p{margin:2px 0 0!important}.result-actions{margin-top:10px!important}.result-actions .primary-action{min-height:42px!important;border-radius:12px!important}
  .report-core-compact{border-radius:20px!important;padding:16px!important}.report-core-title h2{font-size:clamp(24px,3vw,34px)!important;margin:6px 0 4px!important}.report-core-title p{font-size:14px!important;line-height:1.3!important}.report-stats-compact{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important}.report-stats-compact .mini-stat{border-radius:14px!important;padding:10px 12px!important}.report-stats-compact .mini-stat span{font-size:10px!important}.report-stats-compact .mini-stat strong{font-size:18px!important}.report-review-card{border-radius:14px!important;padding:12px!important}.report-review-card p{margin:3px 0 0!important;font-size:13px!important}.tree-box{border-radius:14px!important;padding:10px!important}.tree-root{font-size:13px!important}.tree-group summary{min-height:34px!important}.report-actions{margin-top:10px!important}
  @media(max-width:760px){.home-core-hero{grid-template-columns:1fr}.home-core-steps{grid-template-columns:1fr}.home-core-cta,.home-core-danger{align-items:stretch;flex-direction:column}.home-core-cta .primary-action,.home-core-danger button{width:100%}.report-stats-compact{grid-template-columns:1fr!important}.movement-source-selector-head{grid-template-columns:1fr!important}.connected-source-row{padding-right:48px!important}.diagnostic-card .source-head{grid-template-columns:1fr auto!important}}



  /* Step 403 — compact professional Documents page. */
  .documents-page-compact{max-width:1020px;margin:0 auto;gap:10px!important}
  .doc-ready-hero{grid-template-columns:minmax(0,1fr) minmax(220px,360px)!important;gap:12px!important;border-radius:18px!important;padding:14px!important;background:linear-gradient(135deg,#fff 0%,#f6fbf8 100%)!important;box-shadow:0 12px 32px rgba(20,32,31,.055)!important}.doc-ready-hero h2{font-size:clamp(24px,3vw,34px)!important;letter-spacing:-.055em!important;margin:5px 0 2px!important}.doc-ready-hero p{font-size:13.5px!important;line-height:1.28!important;margin:0!important;color:#63736e!important}.doc-ready-actions{display:grid;grid-template-columns:1fr;gap:7px!important}.doc-ready-actions .primary-action,.doc-ready-actions .secondary-action{min-height:38px!important;border-radius:12px!important;font-size:13px!important;padding-inline:12px!important;width:100%!important}
  .doc-primary-panel{border:1px solid #dfe9e4;border-radius:18px;background:#fff;padding:12px;box-shadow:0 12px 28px rgba(20,32,31,.045);display:grid;gap:10px}.doc-primary-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.doc-primary-head strong{font-size:18px;letter-spacing:-.035em}.doc-primary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.doc-primary-tile{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center;text-decoration:none;border:1px solid #e3ebe7;border-radius:14px;background:#f9fcfb;padding:10px;min-height:64px;color:#14201f;transition:transform .16s ease,border-color .16s ease,background .16s ease}.doc-primary-tile:hover{transform:translateY(-1px);border-color:#b9d9cc;background:#fff}.doc-primary-tile span{grid-column:1/-1;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#006f5c}.doc-primary-tile strong{font-size:15px;letter-spacing:-.025em}.doc-primary-tile em{font-style:normal;font-size:12px;font-weight:900;color:#006f5c}
  .doc-tax-estimate-compact{border-radius:18px!important;padding:12px!important;gap:10px!important;margin:0!important;box-shadow:0 12px 28px rgba(20,32,31,.045)!important}.doc-tax-estimate-compact:before{height:4px!important}.doc-tax-estimate-compact .doc-tax-estimate-head{grid-template-columns:minmax(0,1fr) minmax(160px,230px)!important;gap:10px!important;align-items:center!important}.doc-tax-estimate-compact .doc-tax-estimate-head h2{font-size:clamp(21px,2.5vw,30px)!important;margin:4px 0 0!important}.doc-tax-estimate-compact .doc-tax-total-card{padding:10px 12px!important;border-radius:14px!important;box-shadow:none!important}.doc-tax-estimate-compact .doc-tax-total-card strong{font-size:clamp(23px,3vw,31px)!important}.doc-tax-estimate-compact .doc-tax-estimate-grid{gap:8px!important}.doc-tax-estimate-compact .doc-tax-estimate-card{border-radius:14px!important;padding:10px!important;gap:7px!important;box-shadow:none!important}.doc-tax-estimate-compact .doc-tax-estimate-card h3{font-size:16px!important}.doc-tax-estimate-compact .doc-tax-card-top span{min-height:22px!important;font-size:10.5px!important;padding:0 8px!important}.doc-tax-estimate-compact .doc-tax-card-top em{font-size:11px!important}.doc-tax-estimate-compact .doc-tax-main-number{padding:8px!important;border-radius:11px!important}.doc-tax-estimate-compact .doc-tax-main-number strong{font-size:clamp(20px,2.5vw,28px)!important}.doc-tax-estimate-compact .doc-tax-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.doc-tax-estimate-compact .doc-tax-mini-grid span{padding:7px!important;border-radius:10px!important}.doc-tax-estimate-compact .doc-tax-mini-grid small{font-size:9px!important}.doc-tax-estimate-compact .doc-tax-mini-grid b{font-size:12px!important}
  .doc-archive-tree-compact{padding:0!important;margin:0!important;border-radius:18px!important;background:transparent!important;border:0!important;box-shadow:none!important;gap:0!important}.doc-archive-tree-compact>.doc-root-folder{border:1px solid #dfe9e4!important;border-radius:18px!important;background:#fff!important}.doc-archive-tree-compact .doc-folder{box-shadow:none!important;border-radius:14px!important}.doc-archive-tree-compact .doc-folder+.doc-folder{margin-top:6px!important}.doc-archive-tree-compact .doc-folder summary{grid-template-columns:28px minmax(0,1fr) auto!important;padding:9px 10px!important;gap:8px!important}.doc-archive-tree-compact .doc-folder summary strong{font-size:13.5px!important}.doc-archive-tree-compact .doc-folder summary em{font-size:11px!important;white-space:nowrap!important}.doc-archive-tree-compact .folder-icon{width:24px!important;height:24px!important;border-radius:8px!important;font-size:14px!important}.doc-archive-tree-compact .doc-folder-children,.doc-archive-tree-compact .doc-file-list{padding:8px!important;gap:6px!important}.doc-archive-tree-compact .doc-year-folder,.doc-archive-tree-compact .doc-sub-folder{margin-left:0!important}.doc-archive-tree-compact .doc-file-row{grid-template-columns:40px minmax(0,1fr) 86px!important;border-radius:12px!important;padding:7px!important;gap:8px!important}.doc-archive-tree-compact .doc-file-icon{width:32px!important;height:32px!important;border-radius:10px!important;font-size:9px!important;letter-spacing:.06em!important}.doc-archive-tree-compact .doc-file-row strong{font-size:12.8px!important}.doc-archive-tree-compact .doc-file-row small{font-size:10.5px!important}.doc-archive-tree-compact .doc-file-row .download-link{min-height:30px!important;border-radius:10px!important;font-size:11px!important;padding:0 8px!important;width:auto!important}
  @media(max-width:760px){.doc-ready-hero{grid-template-columns:1fr!important}.doc-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.doc-tax-estimate-compact .doc-tax-estimate-head{grid-template-columns:1fr!important}.doc-archive-tree-compact .doc-folder summary{grid-template-columns:26px minmax(0,1fr)!important}.doc-archive-tree-compact .doc-folder summary em{grid-column:2;white-space:normal!important}.doc-archive-tree-compact .doc-file-row{grid-template-columns:34px minmax(0,1fr)!important}.doc-archive-tree-compact .doc-file-row .download-link{grid-column:1/-1;width:100%!important}}
  @media(max-width:430px){.doc-primary-grid{grid-template-columns:1fr}.doc-ready-hero,.doc-primary-panel,.doc-tax-estimate-compact{border-radius:14px!important;padding:10px!important}}



  /* Step 404 — compact source interactions, report after calculation, and review waiting. */
  .source-add-panel-compact{border-radius:16px!important;padding:10px!important;background:#fff!important;border:1px solid #dfe9e4!important;box-shadow:0 10px 24px rgba(20,32,31,.045)!important}.source-add-panel-compact .add-source-panel-head{align-items:center!important;margin-bottom:8px!important}.source-add-panel-compact .add-source-panel-head small{display:none!important}.source-add-panel-compact .secondary-action.small{min-height:32px!important;border-radius:11px!important;font-size:12px!important;padding:0 10px!important}.source-choice-grid-compact{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.source-choice-grid-compact .add-source-choice-card{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;gap:2px 8px!important;align-items:center!important;min-height:58px!important;padding:8px 9px!important;text-align:left!important}.source-choice-grid-compact .add-source-choice-card svg,.source-choice-grid-compact .add-source-choice-card .source-favicon{grid-row:1/3}.source-choice-grid-compact .add-source-choice-card span{font-size:10px!important;letter-spacing:.08em!important}.source-choice-grid-compact .add-source-choice-card b{font-size:13px!important;line-height:1.1!important}.source-choice-grid-compact .add-source-choice-card small{display:none!important}
  .source-modal .modal-card{padding:14px!important;border-radius:18px!important}.source-modal .modal-head{gap:8px!important}.source-modal .modal-head h2{font-size:22px!important;margin:3px 0 0!important}.source-modal .modal-head p{display:none!important}.source-modal .form-stack{gap:8px!important}.source-modal label{gap:5px!important}.source-modal input,.source-modal select,.source-modal textarea{min-height:40px!important;border-radius:12px!important}.source-modal-microcopy{margin:0!important;border:1px solid #dfe9e4;border-radius:12px;background:#f8fbfa;padding:8px 10px;color:#63736e!important;font-size:12px!important;font-weight:760!important;line-height:1.25!important}.manual-wallet-modal-card{max-width:560px!important}.exchange-selector-modal-card{max-width:520px!important}.exchange-selector-grid{gap:7px!important}.exchange-selector-item{min-height:48px!important;border-radius:12px!important;padding:7px 9px!important}.exchange-selector-item .source-favicon{width:34px!important;height:34px!important}.exchange-selector-item b{font-size:14px!important}.exchange-selector-item small{font-size:11px!important}.source-modal .button-row{margin-top:6px!important;gap:7px!important}.source-modal .button-row .primary-action,.source-modal .button-row .secondary-action{min-height:38px!important;border-radius:12px!important;font-size:13px!important}
  .diagnostic-center-card{padding:10px!important}.diagnostic-center-toggle{width:36px!important;height:32px!important;border-radius:11px!important}.diagnostic-exchange-select-label{display:flex!important;align-items:center!important;gap:8px!important}.diagnostic-exchange-select-label select{margin-top:0!important;max-width:240px!important;min-height:36px!important}.diagnostic-card{padding:9px!important}.diagnostic-card .source-head{gap:8px!important}.diagnostic-card .source-head .source-favicon{width:34px!important;height:34px!important}.diagnostic-card .source-head h2{font-size:16px!important}.source-diagnostic-box{padding:8px 9px!important}.source-diagnostic-box b{font-size:13px!important}.source-diagnostic-box p{font-size:11.2px!important}.coinbase-worker-actions .primary-action,.coinbase-worker-actions .secondary-action,.asterdex-worker-actions .primary-action,.asterdex-worker-actions .secondary-action,.okx-worker-actions .primary-action,.okx-worker-actions .secondary-action{min-height:36px!important;border-radius:11px!important;font-size:12px!important;padding:0 10px!important}
  .report-after-calc-compact{max-width:760px;margin-inline:auto!important}.report-ready-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.report-ready-row h2{font-size:clamp(24px,3vw,34px)!important;margin:5px 0 2px!important;letter-spacing:-.05em!important}.report-ready-row p{margin:0!important;color:#63736e!important;font-size:13.5px!important;line-height:1.28!important}.report-compact-pills{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.report-compact-pills span{display:inline-flex;align-items:center;min-height:30px;border:1px solid #dfe9e4;border-radius:999px;background:#f8fbfa;padding:0 10px;font-size:11.5px;font-weight:900;color:#14201f;white-space:nowrap}.compact-report-note{display:flex!important;align-items:center;justify-content:space-between;gap:10px;margin-top:10px!important}.compact-report-note span{font-size:12px;color:#63736e;font-weight:800}.report-file-tree{margin-top:10px}.report-file-tree>summary{cursor:pointer;font-weight:900;color:#14201f;list-style:none}.report-file-tree>summary::-webkit-details-marker{display:none}.report-actions.single-action .primary-action,.report-actions .primary-action{min-height:42px!important;border-radius:13px!important;font-size:14px!important}
  .consultant-review-compact{display:block!important;max-width:760px;margin:0 auto!important;padding:16px!important;border-radius:20px!important;background:#fff!important;box-shadow:0 14px 36px rgba(20,32,31,.065)!important}.consultant-review-compact:before{height:4px!important}.consultant-review-compact .review-waiting-content{gap:10px!important}.consultant-review-compact .review-compact-head h2{font-size:clamp(25px,3vw,36px)!important;margin:6px 0 4px!important;letter-spacing:-.055em!important}.consultant-review-compact .review-waiting-lead{font-size:14px!important;line-height:1.35!important;max-width:680px!important}.review-compact-strip{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #dfe9e4;border-radius:14px;background:#f8fbfa;padding:10px 12px}.review-compact-strip strong{font-size:13px;color:#006f5c}.review-compact-strip span{font-size:12px;color:#63736e;font-weight:800;text-align:right}.consultant-review-compact .review-waiting-visual,.consultant-review-compact .review-next-grid,.consultant-review-compact .review-sla-card,.consultant-review-compact .review-waiting-note{display:none!important}
  @media(max-width:760px){.source-choice-grid-compact{grid-template-columns:1fr!important}.source-choice-grid-compact .add-source-choice-card{grid-template-columns:30px minmax(0,1fr)!important}.report-ready-row{grid-template-columns:1fr!important}.report-compact-pills{justify-content:flex-start}.review-compact-strip{display:grid}.review-compact-strip span{text-align:left}.diagnostic-exchange-select-label{display:grid!important}.diagnostic-exchange-select-label select{max-width:100%!important}}


  /* Step 405 — final quality gate blockers visible as consultant tasks. */
  .consultant-gate-blocker-panel{border:1px solid rgba(190,18,60,.22)!important;background:#fff7f7!important;border-radius:18px!important;padding:12px!important;box-shadow:0 12px 30px rgba(190,18,60,.06)!important}.compact-section-title h2{font-size:20px!important;margin:5px 0 2px!important}.compact-section-title p{font-size:12.5px!important;line-height:1.3!important;margin:0!important;color:#6f4444!important}.gate-blocker-mini-grid{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.gate-blocker-mini-grid>div{min-width:150px;border:1px solid rgba(190,18,60,.16);border-radius:12px;background:#fff;padding:8px 10px}.gate-blocker-mini-grid span{display:block;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#8a4b4b}.gate-blocker-mini-grid strong{font-size:22px;line-height:1;color:#14201f}.consultant-operation-board-empty.error{border-color:rgba(190,18,60,.2)!important;background:#fffafa!important}

  /* Step 407 — global action loading, profile compact polish, and documents folder visual. */
  button.is-loading,a.is-loading,input.is-loading{pointer-events:none!important;opacity:.72!important;cursor:wait!important;filter:saturate(.85)}
  button.is-loading,a.is-loading{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
  .action-spinner{width:15px;height:15px;border-radius:999px;border:2px solid currentColor;border-right-color:transparent;display:inline-block;animation:ft-action-spin .68s linear infinite;flex:0 0 auto}
  @keyframes ft-action-spin{to{transform:rotate(360deg)}}
  .action-status-message{margin:0 0 10px;padding:9px 11px;border:1px solid #dfe9e4;border-radius:13px;background:#f8fbfa;color:#52645f;font-size:12px;font-weight:800;line-height:1.25}.action-status-message.error{border-color:#f1c7c7;background:#fff7f7;color:#9f1d35}

  .consultant-review-with-folder{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;padding:14px!important;overflow:hidden!important;background:linear-gradient(135deg,#fff,#f7fcfa)!important}
  .review-folder-visual{position:relative;min-height:130px;display:grid;place-items:center;isolation:isolate}.review-folder-orbit{position:absolute;width:148px;height:86px;border:1px dashed rgba(0,111,92,.22);border-radius:50%;transform:rotate(-8deg);animation:ft-folder-orbit 3.2s ease-in-out infinite}.review-folder-shape{position:relative;width:142px;height:94px;border-radius:20px;background:linear-gradient(180deg,#ffd978,#dfa345);box-shadow:0 22px 42px rgba(112,83,24,.18),inset 0 -12px 24px rgba(111,71,14,.10);display:grid;place-items:center;color:#3a2600;font-weight:950;line-height:1;letter-spacing:-.02em}.review-folder-shape:before{content:"";position:absolute;left:0;top:-18px;width:78px;height:32px;border-radius:16px 16px 0 0;background:linear-gradient(180deg,#ffe28e,#e9b954)}.review-folder-shape span{position:relative;z-index:1;font-size:28px;background:#fff;border-radius:999px;padding:5px 18px;box-shadow:0 8px 18px rgba(95,62,14,.12)}.review-folder-shape b{position:relative;z-index:1;font-size:11px;letter-spacing:.08em}.review-folder-visual i{position:absolute;bottom:11px;width:16px;height:16px;border-radius:999px;background:#00806b;box-shadow:0 0 0 9px rgba(0,128,107,.12);animation:ft-folder-dot 1.6s ease-in-out infinite}
  @keyframes ft-folder-orbit{0%,100%{transform:rotate(-8deg) scale(1)}50%{transform:rotate(-2deg) scale(1.035)}}@keyframes ft-folder-dot{0%,100%{transform:translateY(0);opacity:.85}50%{transform:translateY(-6px);opacity:1}}

  .profile-page-compact{display:grid;gap:12px;max-width:980px;margin:0 auto}.profile-summary-card{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(260px,auto);gap:14px!important;align-items:center!important;padding:14px!important;border-radius:20px!important}.profile-avatar.compact{width:58px!important;height:58px!important;border-radius:18px!important;font-size:20px!important;box-shadow:none!important}.profile-summary-main h2{margin:4px 0 0!important;font-size:clamp(24px,3vw,34px)!important;letter-spacing:-.055em!important}.profile-summary-main p{margin:1px 0 0!important;color:#60716c!important;font-weight:800!important;font-size:13px!important}.profile-summary-meta{display:grid;gap:5px}.profile-summary-meta span{display:flex;justify-content:space-between;gap:12px;border:1px solid #dfe9e4;border-radius:999px;background:#f8fbfa;padding:6px 10px;font-size:11.5px;font-weight:900;color:#60716c}.profile-summary-meta b{color:#14201f;white-space:nowrap}.profile-action-grid.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-action-card.compact{padding:13px!important;border-radius:18px!important}.profile-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.profile-card-title h2{margin:0!important;font-size:20px!important;letter-spacing:-.04em!important}.profile-action-card.compact>p,.profile-2fa-card.compact .profile-2fa-head p{display:none!important}.profile-form{gap:8px!important}.profile-form label{gap:5px!important}.profile-form input{min-height:40px!important;border-radius:12px!important}.profile-form .primary-action,.profile-form .secondary-action,.profile-2fa-card.compact .primary-action,.profile-2fa-card.compact .secondary-action{min-height:40px!important;border-radius:13px!important;font-size:13.5px!important}.profile-2fa-card.compact{padding:13px!important;border-radius:18px!important}.profile-2fa-head.compact{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:8px!important}.profile-2fa-head.compact h2{margin:4px 0 0!important;font-size:20px!important}.profile-2fa-enabled .mini-card{padding:9px 10px!important;border-radius:12px!important;font-size:12.5px!important;line-height:1.3!important}
  @media(max-width:820px){.consultant-review-with-folder{grid-template-columns:1fr!important}.review-folder-visual{min-height:108px}.review-folder-shape{width:122px;height:78px;border-radius:17px}.review-folder-shape span{font-size:22px;padding:4px 15px}.profile-summary-card{grid-template-columns:auto minmax(0,1fr)!important}.profile-summary-meta{grid-column:1/-1}.profile-action-grid.compact{grid-template-columns:1fr}}
  @media(max-width:520px){.profile-summary-card{grid-template-columns:1fr!important;text-align:left}.profile-avatar.compact{width:48px!important;height:48px!important}.profile-summary-meta span{display:grid;gap:1px}.consultant-review-with-folder{padding:12px!important}.review-folder-visual{min-height:96px}.review-folder-orbit{width:128px;height:74px}.review-folder-shape{width:112px;height:72px}}


  /* Step 442 — visible action progress for consultant, documents and downloads. */
  .action-progress-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:rgba(20,32,31,.28);backdrop-filter:blur(8px);opacity:0;pointer-events:none;transition:opacity .16s ease}.action-progress-overlay.is-visible{opacity:1;pointer-events:auto}.action-progress-card{width:min(440px,calc(100vw - 36px));border:1px solid #dfe9e4;border-radius:24px;background:#fff;box-shadow:0 28px 70px rgba(20,32,31,.22);padding:22px;display:grid;justify-items:center;text-align:center;gap:10px;color:#14201f}.action-progress-card.inline{width:auto;max-width:none;grid-template-columns:auto minmax(0,1fr);justify-items:start;text-align:left;align-items:center;box-shadow:none;padding:16px;border-radius:20px}.action-progress-card strong{font-size:clamp(22px,3vw,30px);line-height:1.04;letter-spacing:-.045em}.action-progress-card p{margin:0;color:#61716d;font-weight:760;font-size:13.5px;line-height:1.38}.action-progress-spinner{width:46px;height:46px;border-radius:999px;border:4px solid rgba(0,111,92,.18);border-right-color:#006f5c;animation:ft-action-spin .72s linear infinite}.action-progress-card.inline .action-progress-spinner{width:38px;height:38px;border-width:3px}.action-progress-banner{border:1px solid #b9d9cc;border-radius:22px;background:linear-gradient(135deg,#fff,#f4fbf8);padding:12px;box-shadow:0 14px 34px rgba(0,111,92,.08)}.consultant-live-progress{margin-bottom:10px}.consultant-live-progress h2{margin:4px 0 2px;font-size:clamp(22px,3vw,30px);line-height:1.05;letter-spacing:-.05em}.consultant-live-progress .status-badge{font-size:11px!important}.generate-documents-panel button[disabled],.consultant-work-card button[disabled]{cursor:not-allowed!important}.status-badge.with-loader{display:inline-flex!important;align-items:center!important;gap:8px}.tiny-loader{width:12px;height:12px;border-radius:999px;border:2px solid currentColor;border-right-color:transparent;animation:ft-action-spin .72s linear infinite;display:inline-block}
  @media(max-width:560px){.action-progress-overlay{padding:16px}.action-progress-card{border-radius:20px;padding:18px}.action-progress-card.inline{grid-template-columns:1fr;text-align:left}.action-progress-spinner{width:40px;height:40px}.action-progress-banner{border-radius:18px}}

  /* Step 617 — final mobile Movimenti source selector readability fix. */
  @media(max-width:760px){
    .movement-start-panel .section-title{padding-right:0!important}
    .movement-start-panel .mobile-calc-orb{display:none!important}
    .calc-form{gap:11px!important;min-width:0!important}
    .movement-source-selector{
      display:grid!important;
      grid-template-columns:1fr!important;
      gap:8px!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      overflow:visible!important;
      border-radius:22px!important;
      padding:10px!important;
    }
    .movement-source-selector:before{display:none!important;content:none!important}
    .movement-source-selector-head{
      display:grid!important;
      grid-template-columns:1fr!important;
      align-items:start!important;
      gap:7px!important;
      margin:0 0 6px!important;
    }
    .movement-source-selector-head span{
      width:100%!important;
      max-width:100%!important;
      justify-content:center!important;
      text-align:center!important;
      white-space:normal!important;
      min-height:32px!important;
      border-radius:14px!important;
      padding:6px 9px!important;
      line-height:1.15!important;
    }
    .movement-source-toggle,
    .movement-source-toggle.compact,
    .affiliate-rebate-option-card .movement-source-toggle{
      display:grid!important;
      grid-template-columns:30px minmax(0,1fr)!important;
      grid-template-rows:auto!important;
      align-items:center!important;
      column-gap:10px!important;
      row-gap:4px!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      min-height:54px!important;
      padding:10px 11px!important;
      border-radius:17px!important;
      overflow:hidden!important;
    }
    .movement-source-toggle:after{right:8px!important;top:8px!important;width:6px!important;height:6px!important;box-shadow:0 0 0 5px rgba(0,111,92,.09)!important}
    .movement-source-toggle input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
    .movement-source-check{
      grid-column:1!important;
      grid-row:1!important;
      width:26px!important;
      height:26px!important;
      min-width:26px!important;
      min-height:26px!important;
      margin:0!important;
      align-self:center!important;
      justify-self:center!important;
    }
    .movement-source-icon,
    .movement-source-wallet-icon,
    .movement-source-csv-icon{
      display:none!important;
    }
    .movement-source-copy{
      grid-column:2!important;
      grid-row:1!important;
      display:grid!important;
      gap:3px!important;
      min-width:0!important;
      width:100%!important;
      max-width:100%!important;
      overflow:hidden!important;
    }
    .movement-source-copy strong{
      display:block!important;
      width:100%!important;
      max-width:100%!important;
      min-width:0!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      white-space:nowrap!important;
      overflow-wrap:normal!important;
      word-break:normal!important;
      font-size:14.5px!important;
      line-height:1.08!important;
      letter-spacing:-.035em!important;
    }
    .movement-source-copy small{
      display:block!important;
      width:100%!important;
      max-width:100%!important;
      min-width:0!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      white-space:nowrap!important;
      overflow-wrap:normal!important;
      word-break:normal!important;
      font-size:10.8px!important;
      line-height:1.18!important;
      color:#63736e!important;
      -webkit-line-clamp:unset!important;
      -webkit-box-orient:initial!important;
    }
    .movement-source-state.included,
    .movement-source-state.gated,
    .movement-source-state.excluded{
      display:inline!important;
      padding:0!important;
      border-radius:0!important;
      background:transparent!important;
      font-size:inherit!important;
      line-height:inherit!important;
      white-space:nowrap!important;
    }
    .affiliate-rebate-option-card{padding:10px!important;border-radius:20px!important;overflow:visible!important}
    .affiliate-rebate-option-card .movement-source-selector-head span{width:max-content!important;max-width:100%!important;justify-self:start!important;border-radius:999px!important;min-height:28px!important}
    .affiliate-rebate-option-card .movement-source-copy strong{white-space:normal!important;line-height:1.12!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
    .affiliate-rebate-option-card .movement-source-copy small{white-space:nowrap!important}
  }
  @media(max-width:430px){
    .movement-source-selector{padding:9px!important;border-radius:20px!important}
    .movement-source-toggle,.movement-source-toggle.compact,.affiliate-rebate-option-card .movement-source-toggle{grid-template-columns:28px minmax(0,1fr)!important;gap:9px!important;min-height:52px!important;padding:9px 10px!important;border-radius:16px!important}
    .movement-source-check{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;border-radius:9px!important}
    .movement-source-copy strong{font-size:14px!important}.movement-source-copy small{font-size:10.4px!important}
  }


  /* Step 656 — browser-native lazy render containment.
     Keep UI and server routes unchanged, but let the browser defer layout/paint
     for below-the-fold dashboards, document trees, diagnostic panels and large
     card/table collections. This is source-agnostic and safe for future modules. */
  @supports (content-visibility:auto){
    .page-wrap > section.panel:not(:first-of-type),
    .page-wrap > details:not(:first-of-type),
    .connected-source-list,
    .source-browser,
    .source-preview-diagnostics,
    .diagnostic-exchange-center,
    .wallet-diagnostics-panel,
    .consultant-case-list,
    .consultant-workspace,
    .consultant-task-list,
    .consultant-task-group,
    .document-list,
    .doc-archive-tree,
    .tree-box,
    .metric-grid,
    .report-file-tree,
    .ticket-list-dense,
    .source-import-wizard-list,
    .admin-panel-grid,
    .admin-table-wrap{
      content-visibility:auto;
      contain-intrinsic-size:1px 620px;
    }
    .connected-source-row,
    .source-catalog-card,
    .consultant-case-section,
    .consultant-task-card,
    .doc-folder,
    .doc-file-row,
    .ticket-row,
    .metric-card,
    .source-coverage-card{
      content-visibility:auto;
      contain-intrinsic-size:1px 148px;
    }
    dialog.source-modal:not([open]),
    dialog.payment-modal:not([open]),
    dialog.source-exclusion-modal:not([open]){
      content-visibility:hidden;
      contain:layout style paint;
    }
  }
  .page-wrap,.panel,.source-card,.consultant-queue-panel,.doc-archive-hero,.report-preview{contain:layout style;}
  .page-wrap{content-visibility:visible;}

  /* Step 664 — source orchestration progress UI. */
  .source-orchestration-panel{margin-top:12px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fff,rgba(249,251,250,.9));padding:12px;box-shadow:var(--shadow-soft);content-visibility:auto;contain-intrinsic-size:1px 190px}
  .source-orchestration-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:var(--ink)}
  .source-orchestration-head strong{font-size:13px;letter-spacing:-.01em}.source-orchestration-head span{font-size:11px;color:var(--muted);font-weight:760;text-align:right}
  .source-orchestration-phases{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
  .source-orchestration-phase{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center;min-width:0;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);padding:9px 10px;overflow:hidden}
  .source-orchestration-phase:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--muted-2);opacity:.55}.source-orchestration-phase.completed:before{background:var(--brand)}.source-orchestration-phase.completed_with_gaps:before{background:var(--warn)}.source-orchestration-phase.running:before,.source-orchestration-phase.queued:before{background:var(--blue)}.source-orchestration-phase.failed:before,.source-orchestration-phase.blocked:before{background:var(--danger)}
  .source-orchestration-dot{width:9px;height:9px;border-radius:999px;background:var(--muted-2);box-shadow:0 0 0 3px rgba(135,146,143,.14)}.source-orchestration-phase.completed .source-orchestration-dot{background:var(--brand);box-shadow:0 0 0 3px rgba(0,111,92,.13)}.source-orchestration-phase.completed_with_gaps .source-orchestration-dot{background:var(--warn);box-shadow:0 0 0 3px rgba(169,108,5,.13)}.source-orchestration-phase.running .source-orchestration-dot,.source-orchestration-phase.queued .source-orchestration-dot{background:var(--blue);box-shadow:0 0 0 3px rgba(37,90,155,.13)}.source-orchestration-phase.failed .source-orchestration-dot,.source-orchestration-phase.blocked .source-orchestration-dot{background:var(--danger);box-shadow:0 0 0 3px rgba(180,35,56,.13)}
  .source-orchestration-copy{display:grid;gap:2px;min-width:0}.source-orchestration-copy b{font-size:12px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.source-orchestration-copy small{font-size:10.5px;color:var(--muted);line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.source-orchestration-percent{font-size:11px;font-weight:860;color:var(--ink-soft)}
  @media(max-width:920px){.source-orchestration-phases{grid-template-columns:1fr 1fr}.source-orchestration-phase:last-child:nth-child(odd){grid-column:1/-1}}
  @media(max-width:560px){.source-orchestration-panel{padding:10px;border-radius:16px}.source-orchestration-head{display:grid;grid-template-columns:1fr;gap:4px}.source-orchestration-head span{text-align:left}.source-orchestration-phases{grid-template-columns:1fr}.source-orchestration-phase{padding:8px 9px}.source-orchestration-copy small{-webkit-line-clamp:1}}



  /* Step 665 — consultant task board progressive row hydration. */
  .consultant-category-section[data-consultant-lazy-category]{content-visibility:auto;contain-intrinsic-size:1px 680px}
  .consultant-category-body{content-visibility:auto;contain-intrinsic-size:1px 620px}
  .consultant-work-card[data-consultant-row-hydrated="1"]{contain:layout style paint;content-visibility:auto;contain-intrinsic-size:1px 290px}
  .consultant-lazy-row-loader{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:12px 8px 2px}
  .consultant-lazy-row-loader[hidden]{display:none!important}
  .consultant-lazy-row-loader small{font-size:11.5px;color:var(--muted);font-weight:780}
  .consultant-lazy-row-loader .secondary-action{min-height:38px;border-radius:999px}
  @media(max-width:640px){.consultant-lazy-row-loader{justify-content:stretch}.consultant-lazy-row-loader .secondary-action{width:100%}.consultant-lazy-row-loader small{text-align:center;width:100%}}




  /* Step 649 — final Step 610 navbar CSS seal.
     This block is intentionally placed at the very end of pageStyles() so later page/mobile
     polish cannot override the Step 610/605 app navbar with compact/grid mobile rules. */
  @media(max-width:760px){
    .app-topbar{
      width:min(100%,var(--page-max))!important;
      margin:0 auto 10px!important;
      display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
      min-height:46px!important;padding:0!important;border:0!important;border-radius:0!important;
      background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important;
    }
    .brand-lockup{gap:10px!important;min-width:0!important;overflow:visible!important}.brand-lockup img{max-width:138px!important;height:38px!important;object-fit:contain!important;object-position:left center!important}.brand-lockup img.brand-image-icon{width:38px!important;height:38px!important}
    .user-box{display:flex!important;align-items:center!important;gap:6px!important;max-width:min(100%,520px)!important;padding:5px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(18px)!important;flex:0 1 auto!important;overflow:visible!important}
    .profile-topbar-link{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:#fff!important;color:var(--ink-soft)!important;display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}.profile-topbar-link svg{width:19px!important;height:19px!important}
    .notification-toggle,.admin-mail-toggle{display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;min-width:104px!important;width:auto!important;min-height:34px!important;height:34px!important;padding:0 6px 0 9px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;font-size:12px!important;flex:0 0 auto!important;overflow:visible!important;white-space:nowrap!important}
    .notification-toggle .notification-switch,.admin-mail-toggle .notification-switch{display:block!important;width:38px!important;height:21px!important}.notification-switch i{width:15px!important;height:15px!important}.notification-toggle.is-on .notification-switch i,.admin-mail-toggle.is-on .notification-switch i{transform:translateX(17px)!important}
    .notification-toggle .notification-label,.admin-mail-toggle .notification-label{display:inline!important;font-size:9.5px!important;min-width:26px!important;letter-spacing:.075em!important}.admin-mail-toggle .admin-mail-word{display:inline!important;font-size:11px!important}.admin-mail-toggle:before,.admin-mail-toggle:after{content:none!important;display:none!important}
    .notification-bell{display:inline-grid!important;place-items:center!important;width:18px!important;height:18px!important;background:transparent!important;border:0!important}.notification-bell svg{width:18px!important;height:18px!important}
    .logout-button{width:auto!important;min-width:auto!important;height:34px!important;min-height:34px!important;padding:0 10px!important;border-radius:999px!important;font-size:12px!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;flex:0 0 auto!important;overflow:visible!important;white-space:nowrap!important}.logout-button:before,.logout-button:after{content:none!important;display:none!important}

    .app-nav-shell{
      position:fixed!important;left:50%!important;right:auto!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;
      z-index:120!important;width:calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right)))!important;max-width:var(--page-max)!important;
      margin:0!important;transform:translate3d(-50%,0,0)!important;will-change:transform!important;contain:layout paint!important;overflow:visible!important;border-radius:0!important;
    }
    .app-nav-shell:before,.app-nav-shell:after{display:block!important;content:""!important;position:absolute!important;top:3px!important;bottom:3px!important;z-index:3!important;width:34px!important;pointer-events:none!important;opacity:0;transition:opacity .18s ease!important;border-radius:22px!important}
    .app-nav-shell:before{left:1px!important;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))!important}.app-nav-shell:after{right:1px!important;background:linear-gradient(270deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))!important}.app-nav-shell.has-left-fade:before,.app-nav-shell.has-right-fade:after{opacity:1!important}
    .app-nav{
      position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;height:62px!important;margin:0 auto!important;padding:6px!important;
      border:1px solid var(--line)!important;border-radius:22px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(18px)!important;
      display:flex!important;grid-template-columns:none!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;white-space:nowrap!important;scroll-behavior:smooth!important;overscroll-behavior-x:contain!important;max-width:100%!important;scroll-padding-inline:12px!important;
    }
    .app-nav::-webkit-scrollbar{display:none!important}.nav-item{height:50px!important;min-width:78px!important;width:auto!important;flex:0 0 auto!important;border-radius:999px!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:3px!important;padding:0 9px!important;color:#5f6f6b!important;font-weight:760!important;font-size:10.5px!important;letter-spacing:-.01em!important;overflow:visible!important}.nav-item:hover{background:var(--surface-muted)!important;color:var(--ink)!important;transform:translateY(-1px)!important}.nav-item.active{background:var(--ink)!important;color:#fff!important;box-shadow:0 10px 24px rgba(20,32,31,.16)!important;transform:none!important}.nav-icon{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}.nav-icon svg{width:21px!important;height:21px!important;display:block!important}.nav-label{line-height:1!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;font-size:inherit!important;letter-spacing:inherit!important}.nav-badge{right:auto!important;top:auto!important}
  }
  @media(max-width:560px){.notification-switch{display:none!important}.notification-toggle .notification-switch,.admin-mail-toggle .notification-switch{display:none!important}.profile-topbar-link{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}.logout-button{padding:0 9px!important}.notification-toggle{padding:0 8px!important}}
  @media(max-width:430px){
    .app-topbar{align-items:flex-start!important}.brand-lockup img{max-width:120px!important;height:35px!important}.notification-toggle,.admin-mail-toggle{min-width:92px!important}.notification-bell{width:18px!important}.notification-label{display:none!important}.nav-item{min-width:72px!important}.user-box{gap:5px!important;border-radius:22px!important}
  }
  @media(max-width:390px){
    .brand-lockup img{max-width:110px!important}.user-box{padding:4px!important}.profile-topbar-link,.logout-button{height:32px!important;min-height:32px!important}.logout-button{font-size:11.5px!important;padding-inline:8px!important}
  }
  @media(orientation:landscape) and (max-height:560px){
    .app-nav-shell{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:min(100%,var(--page-max))!important;max-width:var(--page-max)!important;transform:none!important;contain:none!important}.app-nav{position:static!important;height:52px!important;border-radius:999px!important}.app-nav-shell:before,.app-nav-shell:after{width:32px!important}.nav-item{height:42px!important;min-width:max-content!important;flex-direction:row!important;font-size:12px!important;padding:0 12px!important}.nav-icon svg{width:18px!important;height:18px!important}.app-topbar{margin-bottom:8px!important}
  }


  /* Step 682 — live navbar badge placement.
     Badge counts are small status markers: keep them on the outer corner of the
     nav item/topbar button and never centered over the icon glyph. */
  .nav-icon{position:relative!important;overflow:visible!important}
  .nav-badge,.nav-badge[hidden]{position:absolute!important;right:-16px!important;top:-13px!important;left:auto!important;bottom:auto!important;transform:none!important;z-index:4!important;min-width:18px!important;height:18px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 4px!important;border:2px solid #fff!important;background:var(--accent)!important;color:#fff!important;font-size:10px!important;font-weight:900!important;line-height:1!important;letter-spacing:0!important;box-shadow:0 8px 16px rgba(143,18,63,.18)!important;pointer-events:none!important}
  .nav-badge[hidden]{display:none!important}.nav-badge.ticket-alert{background:#c1121f!important}
  @media(max-width:760px){.nav-badge,.nav-badge[hidden]{right:-13px!important;top:-12px!important;min-width:17px!important;height:17px!important;font-size:9px!important;border-width:2px!important}}
  @media(max-width:430px){.nav-badge,.nav-badge[hidden]{right:-11px!important;top:-11px!important;min-width:16px!important;height:16px!important;font-size:8.5px!important}}


  
  
  /* Step 240 — responsive hardening across landing, home, fonti, movimenti, documenti, modali, pagamenti e profilo.
     Goal: every customer-facing screen must stay readable on desktop, tablet, iPhone/Android portrait and compact landscape. */
  html,body{max-width:100%;overflow-x:hidden}.shell,.page-wrap,.hero-shell,.app-topbar,.public-header,.app-nav-shell{min-width:0}.panel,.source-card,.welcome-panel,.empty-state,.zip-hero,.doc-group,.auth-card,.landing-card,.payment-modal-card,.source-modal-card,.consultant-modal-card{min-width:0}.section-title,.page-heading,.modal-head,.source-head,.work-head,.doc-file-row,.connected-source-row,.source-catalog-card,.profile-info-card,.profile-action-card{min-width:0}h1,h2,h3,p,strong,small,b,span,a,button,.primary-action,.secondary-action,.danger-action,.download-link{overflow-wrap:anywhere}.primary-action,.secondary-action,.danger-action,.download-link,.file-inline-action{white-space:normal;line-height:1.15}.large{width:100%}

  .app-topbar{min-height:46px}.notification-box{max-width:100%;overflow:hidden}.profile-topbar-link,.notification-toggle,.admin-mail-toggle,.logout-button{flex:0 0 auto}.user-box{max-width:min(100%,520px)}

  .source-browser{min-width:0}.source-browser-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.source-category-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0}.source-category-tab{min-width:0;white-space:normal;text-align:center;line-height:1.12;padding:10px 8px}.source-search-label{display:grid;gap:6px;min-width:0}.source-browser-grid{display:grid;grid-template-columns:1fr;gap:10px}.source-catalog-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.source-catalog-main{min-width:0}.source-catalog-actions{display:flex;justify-content:flex-end;min-width:0}.source-catalog-actions .primary-action{min-width:112px}.connected-source-list{display:grid;gap:10px}.connected-source-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border-radius:16px}.connected-source-main{min-width:0}.connected-source-delete{display:flex;justify-content:flex-end}.trash-action{width:42px;height:42px;min-width:42px;min-height:42px;border-radius:14px}.diagnostic-center-card{min-width:0}.diagnostic-center-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.diagnostic-center-toggle{min-width:42px}.diagnostic-exchange-panels,.diagnostic-exchange-panel,.source-diagnostic-box{min-width:0;overflow-wrap:anywhere}.source-progress-track{min-width:0}

  .movement-source-selector,.source-progress-panel,.source-progress-row{min-width:0;width:100%}.movement-source-toggle{min-width:0}.source-progress-top{min-width:0}.source-progress-top strong{min-width:0;overflow-wrap:anywhere}.source-progress-row small{overflow-wrap:anywhere}.source-exclusion-card{max-width:100%;min-width:0}

  .doc-tax-estimate-panel,.doc-archive-tree,.doc-archive-hero,.doc-folder,.doc-file-row{min-width:0}.doc-tax-estimate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.doc-tax-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.doc-tax-total-card{min-width:0}.doc-folder summary{min-width:0}.doc-folder summary strong,.doc-folder summary em{min-width:0;overflow-wrap:anywhere}.doc-file-icon{flex:0 0 auto}.doc-zip-actions{align-items:stretch}.doc-zip-actions .primary-action,.doc-zip-actions .secondary-action{width:100%}

  .payment-ready-card{max-width:calc(100vw - max(24px,env(safe-area-inset-left) + env(safe-area-inset-right)))!important}.payment-folder-preview{min-width:0}.payment-ready-actions{display:grid!important;grid-template-columns:1fr!important}.payment-ready-actions .primary-action,.payment-ready-actions .secondary-action{width:100%!important}.payment-price-box{min-width:0}.payment-folder-front{left:16px;right:16px}.payment-folder-back{left:24px;right:24px}.payment-folder-doc{min-width:0}.payment-folder-doc b,.payment-folder-doc span{overflow-wrap:anywhere}

  .consultant-review-waiting,.review-next-grid,.review-sla-card,.review-waiting-actions{min-width:0}.review-waiting-actions .primary-action,.review-waiting-actions .secondary-action{width:100%}.review-waiting-content{min-width:0}.review-waiting-content h2,.review-waiting-lead{overflow-wrap:anywhere}

  .profile-hero,.profile-info-grid,.profile-settings-grid,.profile-2fa-setup,.profile-2fa-head{min-width:0}.profile-qr-box{width:100%;max-width:320px}.profile-qr-svg{max-width:100%}.profile-form .button-row{grid-template-columns:1fr}.form-stack input,.form-stack textarea,.form-stack select{min-width:0}

  @media(max-width:900px){
    .app-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.user-box{justify-self:end}.source-browser-head{grid-template-columns:1fr}.source-category-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.doc-tax-estimate-grid{grid-template-columns:1fr}.payment-folder-preview{min-height:170px}.payment-folder-doc{height:96px;top:22px}.consultant-review-waiting{grid-template-columns:1fr}.profile-settings-grid{grid-template-columns:1fr}
  }

  @media(max-width:640px){
    .shell{padding-inline:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))}.app-topbar{gap:8px}.brand-lockup img{max-width:126px}.user-box{gap:5px;border-radius:22px}.profile-topbar-link{width:34px;height:34px}.logout-button{min-width:0}.source-category-tabs{grid-template-columns:1fr 1fr}.source-category-tab{min-height:44px}.source-catalog-card{grid-template-columns:1fr}.source-catalog-actions{justify-content:stretch}.source-catalog-actions .primary-action{width:100%}.connected-source-row{grid-template-columns:1fr}.connected-source-delete{justify-content:stretch}.connected-source-delete .trash-action{width:100%;border-radius:14px}.diagnostic-center-head{grid-template-columns:1fr auto}.movement-source-toggle{grid-template-columns:auto minmax(0,1fr);gap:8px}.movement-source-icon{grid-column:1}.movement-source-copy{grid-column:2}.movement-source-check{grid-column:1;grid-row:2}.source-progress-top{align-items:flex-start}.source-progress-spinner{margin-top:2px}.source-progress-track{height:20px}.doc-tax-mini-grid{grid-template-columns:1fr}.doc-archive-intro{grid-template-columns:1fr!important}.doc-file-row{grid-template-columns:1fr!important}.doc-file-icon{width:42px;height:42px}.payment-price-box{grid-template-columns:1fr}.payment-price-box strong{grid-column:1;grid-row:auto}.payment-folder-preview{min-height:152px;border-radius:18px;padding:14px}.payment-folder-back{left:18px;right:18px;bottom:28px;height:84px}.payment-folder-back:before{width:116px;height:31px;top:-19px}.payment-folder-front{left:12px;right:12px;bottom:14px;height:62px;border-radius:16px;font-size:13px}.payment-folder-doc{top:18px;height:84px;padding:10px 8px;border-radius:12px}.payment-folder-doc b{font-size:13px}.payment-folder-doc span{font-size:10px}.review-next-grid{grid-template-columns:1fr}.review-sla-card{grid-template-columns:1fr;width:100%}.profile-info-grid{grid-template-columns:1fr}.profile-qr-box{max-width:100%}
  }

  @media(max-width:390px){
    .brand-lockup img{max-width:110px}.user-box{padding:4px}.profile-topbar-link,.logout-button{height:32px;min-height:32px}.logout-button{font-size:11.5px;padding-inline:8px}.source-category-tabs{gap:6px}.source-category-tab{font-size:11.5px;padding:8px 6px}.source-modal-card,.payment-ready-card{border-radius:16px!important}.payment-folder-preview{min-height:136px}.payment-folder-doc{width:32%;height:74px;top:16px}.payment-folder-doc b{font-size:12px}.payment-folder-doc span{display:none}.payment-folder-front{font-size:12px}.review-waiting-visual{min-height:150px}.profile-main-info h2{font-size:28px}
  }



  /* Step 327 — iOS mobile hardening: Safari non deve zoomare sui campi e la bottom nav resta centrata/fissa in portrait. */
  @media(max-width:760px){
    input[type=text],input[type=email],input[type=password],input[type=number],input[type=search],input[type=tel],input[type=url],input[type=file],input:not([type]),select,textarea,
    .form-stack input,.form-stack textarea,.form-stack select,
    .source-search-label input,
    .consultant-grid-cell input,.consultant-grid-cell select,.consultant-grid-cell textarea,
    .simple-inputs input,.simple-inputs select,.simple-inputs textarea,
    .anomaly-answer-area input,.anomaly-answer-area select,.anomaly-answer-area textarea,
    .initial-lot-cost-grid input,.anomaly-answer-input input,.anomaly-answer-input select,
    .work-card-note-save textarea{font-size:16px!important;line-height:1.4!important;max-width:100%}
    input,select,textarea{scroll-margin-bottom:calc(var(--mobile-nav-safe) + 28px + env(safe-area-inset-bottom));touch-action:manipulation}
    .app-nav-shell{backface-visibility:hidden;-webkit-transform:translate3d(-50%,0,0)!important}
    .app-nav{max-width:100%;margin:0 auto;scroll-padding-inline:12px}
  }

  @media(orientation:landscape) and (max-height:620px){
    .shell{padding-top:8px;padding-bottom:12px}.hero-shell{margin-bottom:10px}.page-heading{margin-bottom:10px}.page-heading h1{font-size:24px}.page-heading p{font-size:12.8px}.panel,.source-card,.welcome-panel,.empty-state,.zip-hero,.doc-group,.auth-card,.landing-card{padding:12px 14px;margin:8px 0}.app-topbar{margin-bottom:8px}.user-box{box-shadow:none}.home-flow-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.home-flow-card{min-height:auto;padding:13px}.home-flow-card h3{font-size:17px}.home-flow-card p{font-size:12.6px}.source-browser{max-height:none}.source-category-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.source-catalog-card{padding-block:10px}.source-modal-card,.payment-ready-card{max-height:calc(100dvh - 18px)!important}.doc-archive-hero,.consultant-review-waiting{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:12px}.review-waiting-visual{min-height:150px}.review-orbit{width:132px;height:132px}.review-folder-mini{width:132px;height:88px}.review-folder-mini:before{top:-22px;width:84px;height:36px}.review-folder-mini:after{top:15px;height:34px}.review-folder-mini b{font-size:23px}.review-next-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-info-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.profile-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-2fa-setup{grid-template-columns:180px minmax(0,1fr)}.profile-qr-box{max-width:180px}
  }

  /* Step 407 — global action loading, profile compact polish, and documents folder visual. */
  button.is-loading,a.is-loading,input.is-loading{pointer-events:none!important;opacity:.72!important;cursor:wait!important;filter:saturate(.85)}
  button.is-loading,a.is-loading{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
  .action-spinner{width:15px;height:15px;border-radius:999px;border:2px solid currentColor;border-right-color:transparent;display:inline-block;animation:ft-action-spin .68s linear infinite;flex:0 0 auto}
  @keyframes ft-action-spin{to{transform:rotate(360deg)}}
  .action-status-message{margin:0 0 10px;padding:9px 11px;border:1px solid #dfe9e4;border-radius:13px;background:#f8fbfa;color:#52645f;font-size:12px;font-weight:800;line-height:1.25}.action-status-message.error{border-color:#f1c7c7;background:#fff7f7;color:#9f1d35}

  .consultant-review-with-folder{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;padding:14px!important;overflow:hidden!important;background:linear-gradient(135deg,#fff,#f7fcfa)!important}
  .review-folder-visual{position:relative;min-height:130px;display:grid;place-items:center;isolation:isolate}.review-folder-orbit{position:absolute;width:148px;height:86px;border:1px dashed rgba(0,111,92,.22);border-radius:50%;transform:rotate(-8deg);animation:ft-folder-orbit 3.2s ease-in-out infinite}.review-folder-shape{position:relative;width:142px;height:94px;border-radius:20px;background:linear-gradient(180deg,#ffd978,#dfa345);box-shadow:0 22px 42px rgba(112,83,24,.18),inset 0 -12px 24px rgba(111,71,14,.10);display:grid;place-items:center;color:#3a2600;font-weight:950;line-height:1;letter-spacing:-.02em}.review-folder-shape:before{content:"";position:absolute;left:0;top:-18px;width:78px;height:32px;border-radius:16px 16px 0 0;background:linear-gradient(180deg,#ffe28e,#e9b954)}.review-folder-shape span{position:relative;z-index:1;font-size:28px;background:#fff;border-radius:999px;padding:5px 18px;box-shadow:0 8px 18px rgba(95,62,14,.12)}.review-folder-shape b{position:relative;z-index:1;font-size:11px;letter-spacing:.08em}.review-folder-visual i{position:absolute;bottom:11px;width:16px;height:16px;border-radius:999px;background:#00806b;box-shadow:0 0 0 9px rgba(0,128,107,.12);animation:ft-folder-dot 1.6s ease-in-out infinite}
  @keyframes ft-folder-orbit{0%,100%{transform:rotate(-8deg) scale(1)}50%{transform:rotate(-2deg) scale(1.035)}}@keyframes ft-folder-dot{0%,100%{transform:translateY(0);opacity:.85}50%{transform:translateY(-6px);opacity:1}}

  .profile-page-compact{display:grid;gap:12px;max-width:980px;margin:0 auto}.profile-summary-card{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(260px,auto);gap:14px!important;align-items:center!important;padding:14px!important;border-radius:20px!important}.profile-avatar.compact{width:58px!important;height:58px!important;border-radius:18px!important;font-size:20px!important;box-shadow:none!important}.profile-summary-main h2{margin:4px 0 0!important;font-size:clamp(24px,3vw,34px)!important;letter-spacing:-.055em!important}.profile-summary-main p{margin:1px 0 0!important;color:#60716c!important;font-weight:800!important;font-size:13px!important}.profile-summary-meta{display:grid;gap:5px}.profile-summary-meta span{display:flex;justify-content:space-between;gap:12px;border:1px solid #dfe9e4;border-radius:999px;background:#f8fbfa;padding:6px 10px;font-size:11.5px;font-weight:900;color:#60716c}.profile-summary-meta b{color:#14201f;white-space:nowrap}.profile-action-grid.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-action-card.compact{padding:13px!important;border-radius:18px!important}.profile-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.profile-card-title h2{margin:0!important;font-size:20px!important;letter-spacing:-.04em!important}.profile-action-card.compact>p,.profile-2fa-card.compact .profile-2fa-head p{display:none!important}.profile-form{gap:8px!important}.profile-form label{gap:5px!important}.profile-form input{min-height:40px!important;border-radius:12px!important}.profile-form .primary-action,.profile-form .secondary-action,.profile-2fa-card.compact .primary-action,.profile-2fa-card.compact .secondary-action{min-height:40px!important;border-radius:13px!important;font-size:13.5px!important}.profile-2fa-card.compact{padding:13px!important;border-radius:18px!important}.profile-2fa-head.compact{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:8px!important}.profile-2fa-head.compact h2{margin:4px 0 0!important;font-size:20px!important}.profile-2fa-enabled .mini-card{padding:9px 10px!important;border-radius:12px!important;font-size:12.5px!important;line-height:1.3!important}
  @media(max-width:820px){.consultant-review-with-folder{grid-template-columns:1fr!important}.review-folder-visual{min-height:108px}.review-folder-shape{width:122px;height:78px;border-radius:17px}.review-folder-shape span{font-size:22px;padding:4px 15px}.profile-summary-card{grid-template-columns:auto minmax(0,1fr)!important}.profile-summary-meta{grid-column:1/-1}.profile-action-grid.compact{grid-template-columns:1fr}}
  @media(max-width:520px){.profile-summary-card{grid-template-columns:1fr!important;text-align:left}.profile-avatar.compact{width:48px!important;height:48px!important}.profile-summary-meta span{display:grid;gap:1px}.consultant-review-with-folder{padding:12px!important}.review-folder-visual{min-height:96px}.review-folder-orbit{width:128px;height:74px}.review-folder-shape{width:112px;height:72px}}


  /* Step 442 — visible action progress for consultant, documents and downloads. */
  .action-progress-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:rgba(20,32,31,.28);backdrop-filter:blur(8px);opacity:0;pointer-events:none;transition:opacity .16s ease}.action-progress-overlay.is-visible{opacity:1;pointer-events:auto}.action-progress-card{width:min(440px,calc(100vw - 36px));border:1px solid #dfe9e4;border-radius:24px;background:#fff;box-shadow:0 28px 70px rgba(20,32,31,.22);padding:22px;display:grid;justify-items:center;text-align:center;gap:10px;color:#14201f}.action-progress-card.inline{width:auto;max-width:none;grid-template-columns:auto minmax(0,1fr);justify-items:start;text-align:left;align-items:center;box-shadow:none;padding:16px;border-radius:20px}.action-progress-card strong{font-size:clamp(22px,3vw,30px);line-height:1.04;letter-spacing:-.045em}.action-progress-card p{margin:0;color:#61716d;font-weight:760;font-size:13.5px;line-height:1.38}.action-progress-spinner{width:46px;height:46px;border-radius:999px;border:4px solid rgba(0,111,92,.18);border-right-color:#006f5c;animation:ft-action-spin .72s linear infinite}.action-progress-card.inline .action-progress-spinner{width:38px;height:38px;border-width:3px}.action-progress-banner{border:1px solid #b9d9cc;border-radius:22px;background:linear-gradient(135deg,#fff,#f4fbf8);padding:12px;box-shadow:0 14px 34px rgba(0,111,92,.08)}.consultant-live-progress{margin-bottom:10px}.consultant-live-progress h2{margin:4px 0 2px;font-size:clamp(22px,3vw,30px);line-height:1.05;letter-spacing:-.05em}.consultant-live-progress .status-badge{font-size:11px!important}.generate-documents-panel button[disabled],.consultant-work-card button[disabled]{cursor:not-allowed!important}.status-badge.with-loader{display:inline-flex!important;align-items:center!important;gap:8px}.tiny-loader{width:12px;height:12px;border-radius:999px;border:2px solid currentColor;border-right-color:transparent;animation:ft-action-spin .72s linear infinite;display:inline-block}
  @media(max-width:560px){.action-progress-overlay{padding:16px}.action-progress-card{border-radius:20px;padding:18px}.action-progress-card.inline{grid-template-columns:1fr;text-align:left}.action-progress-spinner{width:40px;height:40px}.action-progress-banner{border-radius:18px}}

  /* Step 617 — final mobile Movimenti source selector readability fix. */
  @media(max-width:760px){
    .movement-start-panel .section-title{padding-right:0!important}
    .movement-start-panel .mobile-calc-orb{display:none!important}
    .calc-form{gap:11px!important;min-width:0!important}
    .movement-source-selector{
      display:grid!important;
      grid-template-columns:1fr!important;
      gap:8px!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      overflow:visible!important;
      border-radius:22px!important;
      padding:10px!important;
    }
    .movement-source-selector:before{display:none!important;content:none!important}
    .movement-source-selector-head{
      display:grid!important;
      grid-template-columns:1fr!important;
      align-items:start!important;
      gap:7px!important;
      margin:0 0 6px!important;
    }
    .movement-source-selector-head span{
      width:100%!important;
      max-width:100%!important;
      justify-content:center!important;
      text-align:center!important;
      white-space:normal!important;
      min-height:32px!important;
      border-radius:14px!important;
      padding:6px 9px!important;
      line-height:1.15!important;
    }
    .movement-source-toggle,
    .movement-source-toggle.compact,
    .affiliate-rebate-option-card .movement-source-toggle{
      display:grid!important;
      grid-template-columns:30px minmax(0,1fr)!important;
      grid-template-rows:auto!important;
      align-items:center!important;
      column-gap:10px!important;
      row-gap:4px!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      min-height:54px!important;
      padding:10px 11px!important;
      border-radius:17px!important;
      overflow:hidden!important;
    }
    .movement-source-toggle:after{right:8px!important;top:8px!important;width:6px!important;height:6px!important;box-shadow:0 0 0 5px rgba(0,111,92,.09)!important}
    .movement-source-toggle input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
    .movement-source-check{
      grid-column:1!important;
      grid-row:1!important;
      width:26px!important;
      height:26px!important;
      min-width:26px!important;
      min-height:26px!important;
      margin:0!important;
      align-self:center!important;
      justify-self:center!important;
    }
    .movement-source-icon,
    .movement-source-wallet-icon,
    .movement-source-csv-icon{
      display:none!important;
    }
    .movement-source-copy{
      grid-column:2!important;
      grid-row:1!important;
      display:grid!important;
      gap:3px!important;
      min-width:0!important;
      width:100%!important;
      max-width:100%!important;
      overflow:hidden!important;
    }
    .movement-source-copy strong{
      display:block!important;
      width:100%!important;
      max-width:100%!important;
      min-width:0!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      white-space:nowrap!important;
      overflow-wrap:normal!important;
      word-break:normal!important;
      font-size:14.5px!important;
      line-height:1.08!important;
      letter-spacing:-.035em!important;
    }
    .movement-source-copy small{
      display:block!important;
      width:100%!important;
      max-width:100%!important;
      min-width:0!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      white-space:nowrap!important;
      overflow-wrap:normal!important;
      word-break:normal!important;
      font-size:10.8px!important;
      line-height:1.18!important;
      color:#63736e!important;
      -webkit-line-clamp:unset!important;
      -webkit-box-orient:initial!important;
    }
    .movement-source-state.included,
    .movement-source-state.gated,
    .movement-source-state.excluded{
      display:inline!important;
      padding:0!important;
      border-radius:0!important;
      background:transparent!important;
      font-size:inherit!important;
      line-height:inherit!important;
      white-space:nowrap!important;
    }
    .affiliate-rebate-option-card{padding:10px!important;border-radius:20px!important;overflow:visible!important}
    .affiliate-rebate-option-card .movement-source-selector-head span{width:max-content!important;max-width:100%!important;justify-self:start!important;border-radius:999px!important;min-height:28px!important}
    .affiliate-rebate-option-card .movement-source-copy strong{white-space:normal!important;line-height:1.12!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
    .affiliate-rebate-option-card .movement-source-copy small{white-space:nowrap!important}
  }
  @media(max-width:430px){
    .movement-source-selector{padding:9px!important;border-radius:20px!important}
    .movement-source-toggle,.movement-source-toggle.compact,.affiliate-rebate-option-card .movement-source-toggle{grid-template-columns:28px minmax(0,1fr)!important;gap:9px!important;min-height:52px!important;padding:9px 10px!important;border-radius:16px!important}
    .movement-source-check{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;border-radius:9px!important}
    .movement-source-copy strong{font-size:14px!important}.movement-source-copy small{font-size:10.4px!important}
  }

  /* Step 665 — consultant task board progressive row hydration. */
  .consultant-category-section[data-consultant-lazy-category]{content-visibility:auto;contain-intrinsic-size:1px 680px}
  .consultant-category-body{content-visibility:auto;contain-intrinsic-size:1px 620px}
  .consultant-work-card[data-consultant-row-hydrated="1"]{contain:layout style paint;content-visibility:auto;contain-intrinsic-size:1px 290px}
  .consultant-lazy-row-loader{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:12px 8px 2px}
  .consultant-lazy-row-loader[hidden]{display:none!important}
  .consultant-lazy-row-loader small{font-size:11.5px;color:var(--muted);font-weight:780}
  .consultant-lazy-row-loader .secondary-action{min-height:38px;border-radius:999px}
  @media(max-width:640px){.consultant-lazy-row-loader{justify-content:stretch}.consultant-lazy-row-loader .secondary-action{width:100%}.consultant-lazy-row-loader small{text-align:center;width:100%}}




  /* Step 649 — final Step 610 navbar CSS seal.
     This block is intentionally placed at the very end of pageStyles() so later page/mobile
     polish cannot override the Step 610/605 app navbar with compact/grid mobile rules. */
  @media(max-width:760px){
    .app-topbar{
      width:min(100%,var(--page-max))!important;
      margin:0 auto 10px!important;
      display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
      min-height:46px!important;padding:0!important;border:0!important;border-radius:0!important;
      background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important;
    }
    .brand-lockup{gap:10px!important;min-width:0!important;overflow:visible!important}.brand-lockup img{max-width:138px!important;height:38px!important;object-fit:contain!important;object-position:left center!important}.brand-lockup img.brand-image-icon{width:38px!important;height:38px!important}
    .user-box{display:flex!important;align-items:center!important;gap:6px!important;max-width:min(100%,520px)!important;padding:5px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(18px)!important;flex:0 1 auto!important;overflow:visible!important}
    .profile-topbar-link{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:#fff!important;color:var(--ink-soft)!important;display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}.profile-topbar-link svg{width:19px!important;height:19px!important}
    .notification-toggle,.admin-mail-toggle{display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;min-width:104px!important;width:auto!important;min-height:34px!important;height:34px!important;padding:0 6px 0 9px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;font-size:12px!important;flex:0 0 auto!important;overflow:visible!important;white-space:nowrap!important}
    .notification-toggle .notification-switch,.admin-mail-toggle .notification-switch{display:block!important;width:38px!important;height:21px!important}.notification-switch i{width:15px!important;height:15px!important}.notification-toggle.is-on .notification-switch i,.admin-mail-toggle.is-on .notification-switch i{transform:translateX(17px)!important}
    .notification-toggle .notification-label,.admin-mail-toggle .notification-label{display:inline!important;font-size:9.5px!important;min-width:26px!important;letter-spacing:.075em!important}.admin-mail-toggle .admin-mail-word{display:inline!important;font-size:11px!important}.admin-mail-toggle:before,.admin-mail-toggle:after{content:none!important;display:none!important}
    .notification-bell{display:inline-grid!important;place-items:center!important;width:18px!important;height:18px!important;background:transparent!important;border:0!important}.notification-bell svg{width:18px!important;height:18px!important}
    .logout-button{width:auto!important;min-width:auto!important;height:34px!important;min-height:34px!important;padding:0 10px!important;border-radius:999px!important;font-size:12px!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;flex:0 0 auto!important;overflow:visible!important;white-space:nowrap!important}.logout-button:before,.logout-button:after{content:none!important;display:none!important}

    .app-nav-shell{
      position:fixed!important;left:50%!important;right:auto!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;
      z-index:120!important;width:calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right)))!important;max-width:var(--page-max)!important;
      margin:0!important;transform:translate3d(-50%,0,0)!important;will-change:transform!important;contain:layout paint!important;overflow:visible!important;border-radius:0!important;
    }
    .app-nav-shell:before,.app-nav-shell:after{display:block!important;content:""!important;position:absolute!important;top:3px!important;bottom:3px!important;z-index:3!important;width:34px!important;pointer-events:none!important;opacity:0;transition:opacity .18s ease!important;border-radius:22px!important}
    .app-nav-shell:before{left:1px!important;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))!important}.app-nav-shell:after{right:1px!important;background:linear-gradient(270deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))!important}.app-nav-shell.has-left-fade:before,.app-nav-shell.has-right-fade:after{opacity:1!important}
    .app-nav{
      position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;height:62px!important;margin:0 auto!important;padding:6px!important;
      border:1px solid var(--line)!important;border-radius:22px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(18px)!important;
      display:flex!important;grid-template-columns:none!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;white-space:nowrap!important;scroll-behavior:smooth!important;overscroll-behavior-x:contain!important;max-width:100%!important;scroll-padding-inline:12px!important;
    }
    .app-nav::-webkit-scrollbar{display:none!important}.nav-item{height:50px!important;min-width:78px!important;width:auto!important;flex:0 0 auto!important;border-radius:999px!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:3px!important;padding:0 9px!important;color:#5f6f6b!important;font-weight:760!important;font-size:10.5px!important;letter-spacing:-.01em!important;overflow:visible!important}.nav-item:hover{background:var(--surface-muted)!important;color:var(--ink)!important;transform:translateY(-1px)!important}.nav-item.active{background:var(--ink)!important;color:#fff!important;box-shadow:0 10px 24px rgba(20,32,31,.16)!important;transform:none!important}.nav-icon{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}.nav-icon svg{width:21px!important;height:21px!important;display:block!important}.nav-label{line-height:1!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;font-size:inherit!important;letter-spacing:inherit!important}.nav-badge{right:auto!important;top:auto!important}
  }
  @media(max-width:560px){.notification-switch{display:none!important}.notification-toggle .notification-switch,.admin-mail-toggle .notification-switch{display:none!important}.profile-topbar-link{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}.logout-button{padding:0 9px!important}.notification-toggle{padding:0 8px!important}}
  @media(max-width:430px){
    .app-topbar{align-items:flex-start!important}.brand-lockup img{max-width:120px!important;height:35px!important}.notification-toggle,.admin-mail-toggle{min-width:92px!important}.notification-bell{width:18px!important}.notification-label{display:none!important}.nav-item{min-width:72px!important}.user-box{gap:5px!important;border-radius:22px!important}
  }
  @media(max-width:390px){
    .brand-lockup img{max-width:110px!important}.user-box{padding:4px!important}.profile-topbar-link,.logout-button{height:32px!important;min-height:32px!important}.logout-button{font-size:11.5px!important;padding-inline:8px!important}
  }
  @media(orientation:landscape) and (max-height:560px){
    .app-nav-shell{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:min(100%,var(--page-max))!important;max-width:var(--page-max)!important;transform:none!important;contain:none!important}.app-nav{position:static!important;height:52px!important;border-radius:999px!important}.app-nav-shell:before,.app-nav-shell:after{width:32px!important}.nav-item{height:42px!important;min-width:max-content!important;flex-direction:row!important;font-size:12px!important;padding:0 12px!important}.nav-icon svg{width:18px!important;height:18px!important}.app-topbar{margin-bottom:8px!important}
  }


  /* Step 682 — live navbar badge placement.
     Badge counts are small status markers: keep them on the outer corner of the
     nav item/topbar button and never centered over the icon glyph. */
  .nav-icon{position:relative!important;overflow:visible!important}
  .nav-badge,.nav-badge[hidden]{position:absolute!important;right:-16px!important;top:-13px!important;left:auto!important;bottom:auto!important;transform:none!important;z-index:4!important;min-width:18px!important;height:18px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 4px!important;border:2px solid #fff!important;background:var(--accent)!important;color:#fff!important;font-size:10px!important;font-weight:900!important;line-height:1!important;letter-spacing:0!important;box-shadow:0 8px 16px rgba(143,18,63,.18)!important;pointer-events:none!important}
  .nav-badge[hidden]{display:none!important}.nav-badge.ticket-alert{background:#c1121f!important}
  @media(max-width:760px){.nav-badge,.nav-badge[hidden]{right:-13px!important;top:-12px!important;min-width:17px!important;height:17px!important;font-size:9px!important;border-width:2px!important}}
  @media(max-width:430px){.nav-badge,.nav-badge[hidden]{right:-11px!important;top:-11px!important;min-width:16px!important;height:16px!important;font-size:8.5px!important}}


  
  
  /* Step 608 — mobile visual identity refinement for Movimenti, Report and Documenti. */
  .mobile-calc-orb,.report-soul-visual,.doc-ready-visual{display:none}

  @media(max-width:760px){
    :root{--mobile-nav-safe:124px;--soul-dark:#102120;--soul-green:#006f5c;--soul-wine:#8f123f;--soul-gold:#e4aa42;--soul-paper:#fffdf7}
    body{background:
      radial-gradient(circle at 18% -8%,rgba(0,111,92,.20),transparent 30rem),
      radial-gradient(circle at 102% 20%,rgba(143,18,63,.12),transparent 23rem),
      linear-gradient(180deg,#f8faf9 0%,#eef4f1 44%,#f6f3ed 100%)!important}
    body:before{background-size:34px 34px;opacity:.56;mask-image:linear-gradient(180deg,rgba(0,0,0,.38),transparent 58%)}
    body:after{content:"";position:fixed;inset:auto -68px 74px auto;width:190px;height:190px;border-radius:999px;background:radial-gradient(circle,rgba(0,111,92,.16),transparent 67%);pointer-events:none;filter:blur(2px);animation:ft-mobile-aura 6s ease-in-out infinite;z-index:-1}
    @keyframes ft-mobile-aura{0%,100%{transform:translate3d(0,0,0) scale(1);opacity:.66}50%{transform:translate3d(-12px,-18px,0) scale(1.08);opacity:.95}}

    .shell{padding-inline:10px!important}
    .app-topbar{padding:6px 7px 6px 9px;border:1px solid rgba(255,255,255,.72);border-radius:24px;background:rgba(255,255,255,.74);box-shadow:0 18px 44px rgba(20,32,31,.08);backdrop-filter:blur(22px)}
    .user-box{box-shadow:none;border-color:rgba(20,32,31,.07);background:rgba(255,255,255,.82)}
    .notification-toggle{min-width:0!important;width:42px;padding:0!important;justify-content:center!important}
    .notification-toggle .notification-switch,.notification-toggle .notification-label{display:none!important}
    .notification-bell{width:30px;height:30px;border-radius:999px;background:#fff;border:1px solid rgba(20,32,31,.08)}
    .logout-button{min-width:42px!important;width:42px!important;padding:0!important;font-size:0!important;position:relative}.logout-button:after{content:"→";font-size:18px;line-height:1;font-weight:950;color:var(--ink-soft)}

    .page-heading{position:relative;margin:2px 0 12px!important;padding:16px 16px 15px!important;border:1px solid rgba(255,255,255,.78);border-radius:28px;background:linear-gradient(135deg,rgba(255,255,255,.90),rgba(246,251,249,.76));box-shadow:0 20px 50px rgba(20,32,31,.075);overflow:hidden;backdrop-filter:blur(20px)}
    .page-heading:before{content:"";position:absolute;right:-36px;top:-42px;width:126px;height:126px;border-radius:999px;background:radial-gradient(circle,rgba(0,111,92,.18),transparent 67%)}
    .page-heading:after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:4px;border-radius:999px;background:linear-gradient(90deg,var(--soul-green),var(--soul-dark),var(--soul-wine));opacity:.92}
    .page-heading h1{position:relative;font-size:34px!important;line-height:.96!important;letter-spacing:-.065em!important;z-index:1}.page-heading p{position:relative;font-size:13px!important;line-height:1.35!important;font-weight:740!important;color:#53645f!important;z-index:1;max-width:95%}

    .panel,.zip-hero,.doc-primary-panel,.doc-archive-tree-compact>.doc-root-folder,.empty-state{border-color:rgba(255,255,255,.76)!important;background:rgba(255,255,255,.86)!important;box-shadow:0 18px 46px rgba(20,32,31,.085)!important;backdrop-filter:blur(20px)!important}
    .mobile-soul-card,.report-after-calc-compact,.consultant-review-with-folder,.documents-page-compact>.doc-primary-panel{position:relative;overflow:hidden;isolation:isolate}
    .mobile-soul-card:before,.report-after-calc-compact:before,.consultant-review-with-folder:before,.documents-page-compact>.doc-primary-panel:before{content:"";position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,var(--soul-green),var(--soul-dark),var(--soul-wine));opacity:.96;z-index:0}.mobile-soul-card>*{position:relative;z-index:1}

    .movement-start-panel{padding:18px 15px 15px!important;border-radius:28px!important;background:linear-gradient(160deg,rgba(255,255,255,.92),rgba(244,251,248,.88))!important}
    .movement-start-panel .section-title{padding-right:78px;margin-bottom:12px!important}.movement-start-panel h2{font-size:29px!important;line-height:.98!important;letter-spacing:-.06em!important;margin-top:2px!important}.movement-start-panel .section-title p{font-size:13px!important;line-height:1.35!important;font-weight:740!important;color:#52645f!important}.movement-source-pending-note{border:1px dashed rgba(169,108,5,.28);border-radius:14px;background:rgba(255,248,231,.78);padding:9px 10px;margin-top:8px!important;font-size:12px!important;color:#8a5c07!important}
    .mobile-calc-orb{display:block;position:absolute;right:13px;top:14px;width:70px;height:70px;border-radius:24px;background:linear-gradient(145deg,#102120,#006f5c);box-shadow:0 18px 34px rgba(0,111,92,.21),inset 0 1px 0 rgba(255,255,255,.18);z-index:1;overflow:hidden}.mobile-calc-orb:before{content:"";position:absolute;inset:10px;border:1px dashed rgba(255,255,255,.36);border-radius:999px;animation:ft-orbit-spin 6s linear infinite}.mobile-calc-orb span{position:absolute;left:15px;top:17px;width:18px;height:18px;border-radius:7px;background:#fff;box-shadow:26px 18px 0 rgba(255,255,255,.88),10px 34px 0 rgba(255,255,255,.72)}.mobile-calc-orb i{position:absolute;right:15px;top:12px;width:10px;height:10px;border-radius:999px;background:#e4aa42;box-shadow:0 0 0 7px rgba(228,170,66,.15);animation:ft-mobile-pulse 1.9s ease-in-out infinite}.mobile-calc-orb b{position:absolute;left:17px;right:17px;bottom:14px;height:4px;border-radius:999px;background:rgba(255,255,255,.65)}
    @keyframes ft-orbit-spin{to{transform:rotate(360deg)}}@keyframes ft-mobile-pulse{0%,100%{transform:scale(.9);opacity:.75}50%{transform:scale(1.22);opacity:1}}

    .movement-source-selector{border-radius:24px!important;padding:11px!important;background:linear-gradient(180deg,#fff,rgba(248,252,250,.86))!important;border-color:rgba(0,111,92,.12)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 12px 28px rgba(20,32,31,.055)!important;gap:8px!important}.movement-source-selector-head{display:flex!important;align-items:center!important}.movement-source-selector-head b{font-size:13.5px!important}.movement-source-selector-head span{background:#102120!important;color:#fff!important;border:0!important;box-shadow:0 8px 18px rgba(20,32,31,.14)}
    .movement-source-toggle{grid-template-columns:auto 42px minmax(0,1fr)!important;gap:11px!important;border-radius:20px!important;padding:12px!important;background:linear-gradient(135deg,#fff,#f8fbfa)!important;border-color:#e2ebe7!important;box-shadow:0 8px 18px rgba(20,32,31,.045)!important;transform:none!important}.movement-source-toggle:has(input[type="checkbox"]:checked){border-color:rgba(0,111,92,.32)!important;background:linear-gradient(135deg,#fff,#eff9f5)!important;box-shadow:0 14px 30px rgba(0,111,92,.09)!important}.movement-source-toggle.gated{background:#fffaf2!important;box-shadow:none!important}.movement-source-icon{width:42px!important;height:42px!important;border-radius:15px!important;padding:6px!important;box-shadow:0 0 0 1px rgba(20,32,31,.08),0 9px 16px rgba(20,32,31,.06)!important}.movement-source-check{width:24px!important;height:24px!important;border-radius:9px!important;border-color:#102120!important}.movement-source-copy strong{font-size:15px!important;letter-spacing:-.025em!important}.movement-source-copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11.2px!important;line-height:1.28!important;color:#667571!important}.movement-source-state.included{display:inline-flex;padding:2px 6px;border-radius:999px;background:#e7f6ef;color:#006f5c;font-weight:950}.movement-source-state.gated{display:inline-flex;padding:2px 6px;border-radius:999px;background:#fff3d6;color:#8a5c07;font-weight:950}.fiscal-year-label{border-radius:22px;background:#fff;border:1px solid rgba(20,32,31,.08);padding:11px;box-shadow:0 8px 20px rgba(20,32,31,.045)}.fiscal-year-label span{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;color:#53645f;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.fiscal-year-label strong{color:#102120;font-size:16px;letter-spacing:-.03em}.movement-start-panel .primary-action.large{min-height:52px!important;border-radius:18px!important;background:linear-gradient(135deg,#102120,#006f5c)!important;box-shadow:0 18px 34px rgba(0,111,92,.22)!important;font-size:15px!important;width:100%!important}

    .movement-work-panel,.work-panel.running,.work-panel.done,.work-panel.error{border-radius:28px!important;padding:17px 15px!important}.work-head{display:grid!important;grid-template-columns:1fr!important}.work-panel h2{font-size:30px!important;line-height:.98!important;letter-spacing:-.06em!important}.work-panel .result-copy,.work-panel p:not(.live-step):not(.error-text){font-size:13px!important;line-height:1.38!important;font-weight:720;color:#53645f!important}.live-status-meta{margin:9px 0 12px!important}.elapsed-pill{min-height:34px!important;border-radius:999px!important;background:#102120!important;color:#fff!important;border:0!important;box-shadow:0 10px 22px rgba(20,32,31,.15)!important}.source-progress-panel{gap:8px!important;margin-top:12px!important;max-width:none!important}.source-progress-row{position:relative;border-radius:19px!important;padding:12px 12px 11px!important;background:rgba(255,255,255,.90)!important;box-shadow:0 9px 20px rgba(20,32,31,.052)!important;overflow:hidden}.source-progress-row:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#cfd8d4}.source-progress-row.running:before,.source-progress-row.queued:before,.source-progress-row.pending:before,.source-progress-row.waiting:before{background:linear-gradient(180deg,#006f5c,#102120)}.source-progress-row.completed:before{background:#006f5c}.source-progress-row.completed_with_gaps:before{background:#e4aa42}.source-progress-row.failed:before{background:#8f123f}.source-progress-top strong{font-size:13.5px!important;color:#102120!important}.source-progress-track{height:20px!important;background:#eef2f0!important;border:0!important;box-shadow:inset 0 1px 2px rgba(20,32,31,.08)}.source-progress-fill{background:linear-gradient(90deg,#006f5c,#102120)!important}.source-progress-row small{font-size:11.2px!important;line-height:1.28!important;margin-left:1px!important}.metric-grid{display:flex!important;gap:9px!important;overflow-x:auto!important;margin:13px -15px 6px!important;padding:0 15px 4px!important;scroll-snap-type:x mandatory}.metric-grid::-webkit-scrollbar{display:none}.metric{min-width:72vw!important;scroll-snap-align:start;border-radius:22px!important;background:#fff!important;padding:15px!important;box-shadow:0 10px 24px rgba(20,32,31,.06)!important}.metric.highlight{background:linear-gradient(135deg,#fff,#eef8f4)!important;border-color:#b9d9cc!important}.metric strong{font-size:28px!important}.final-metrics-locked-note{border-radius:20px!important;background:linear-gradient(135deg,#fff,#eef5ff)!important;padding:14px!important}.result-actions{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));z-index:18;margin:15px 0 0!important;padding:8px;border:1px solid rgba(255,255,255,.78);border-radius:22px;background:rgba(255,255,255,.78);backdrop-filter:blur(18px);box-shadow:0 18px 40px rgba(20,32,31,.16)}.result-actions .primary-action,.result-actions .secondary-action{width:100%;min-height:48px!important;border-radius:16px!important}

    .report-after-calc-compact{border-radius:28px!important;padding:18px 15px 15px!important;background:linear-gradient(160deg,rgba(255,255,255,.94),rgba(246,251,249,.86))!important}.report-ready-row{display:grid!important;grid-template-columns:1fr!important;gap:11px!important}.report-ready-row h2{font-size:34px!important;line-height:.94!important;letter-spacing:-.07em!important;margin:4px 0!important}.report-ready-row p{font-size:13px!important;line-height:1.36!important;font-weight:740!important;color:#53645f!important}.report-soul-visual{display:block;position:relative;height:138px;border-radius:26px;background:linear-gradient(145deg,#102120 0%,#006f5c 74%);box-shadow:0 20px 42px rgba(0,111,92,.22);overflow:hidden;order:2}.report-soul-visual:before{content:"";position:absolute;inset:16px;border:1px solid rgba(255,255,255,.18);border-radius:22px}.report-soul-visual:after{content:"";position:absolute;right:-32px;top:-42px;width:130px;height:130px;border-radius:999px;background:rgba(255,255,255,.13)}.report-soul-visual span{position:absolute;left:19px;bottom:18px;width:96px;height:68px;border-radius:15px;background:#fff;box-shadow:18px -18px 0 rgba(255,255,255,.80),36px -36px 0 rgba(255,255,255,.52);transform:rotate(-4deg)}.report-soul-visual span:before{content:"RW";position:absolute;left:12px;top:10px;color:#102120;font-weight:950;letter-spacing:-.04em}.report-soul-visual i{position:absolute;right:22px;bottom:24px;width:54px;height:54px;border-radius:18px;background:#e4aa42;box-shadow:0 0 0 10px rgba(228,170,66,.17);animation:ft-mobile-pulse 2s ease-in-out infinite}.report-soul-visual b{position:absolute;right:39px;bottom:41px;width:20px;height:12px;border-left:4px solid #472d00;border-bottom:4px solid #472d00;transform:rotate(-45deg)}.report-compact-pills{order:3;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.report-compact-pills span{justify-content:center!important;min-height:43px!important;border-radius:16px!important;background:#fff!important;border-color:#dfe9e4!important;font-size:12px!important;box-shadow:0 8px 18px rgba(20,32,31,.045)!important}.compact-report-note{display:grid!important;border-radius:20px!important;border:1px solid rgba(0,111,92,.14)!important;background:#fff!important;padding:12px!important;box-shadow:0 10px 22px rgba(20,32,31,.052)!important}.compact-report-note span{text-align:left!important;line-height:1.35!important}.report-actions{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));z-index:18;margin-top:13px!important;padding:8px;border:1px solid rgba(255,255,255,.78);border-radius:22px;background:rgba(255,255,255,.78);backdrop-filter:blur(18px);box-shadow:0 18px 40px rgba(20,32,31,.16)}.report-actions .primary-action,.report-actions button.primary-action{width:100%;min-height:50px!important;border-radius:16px!important;background:linear-gradient(135deg,#102120,#006f5c)!important;box-shadow:0 16px 32px rgba(0,111,92,.23)!important}.report-file-tree{border-radius:22px!important;background:#fff!important;padding:12px!important}.report-file-tree>summary{display:flex;align-items:center;justify-content:space-between;min-height:40px}.report-file-tree>summary:after{content:"Apri";border-radius:999px;background:#eef8f4;color:#006f5c;padding:5px 9px;font-size:11px;font-weight:950}.report-file-tree[open]>summary:after{content:"Chiudi"}

    .documents-page-compact{display:grid!important;gap:12px!important}.doc-ready-hero{position:relative;display:grid!important;grid-template-columns:1fr!important;border-radius:28px!important;padding:18px 15px 15px!important;background:linear-gradient(160deg,#fff,#f7fcfa 58%,#fff9ed)!important}.doc-ready-hero h2{font-size:34px!important;line-height:.94!important;letter-spacing:-.07em!important}.doc-ready-hero p{font-size:13px!important;line-height:1.34!important;font-weight:740!important;color:#53645f!important}.doc-ready-visual{display:block;position:relative;height:150px;margin:4px 0 2px;border-radius:27px;background:linear-gradient(145deg,#102120,#006f5c);box-shadow:0 20px 42px rgba(0,111,92,.22);overflow:hidden}.doc-ready-visual:before{content:"";position:absolute;left:18px;right:18px;bottom:20px;height:76px;border-radius:20px 20px 24px 24px;background:linear-gradient(180deg,#ffd86f,#e4aa42);box-shadow:0 18px 30px rgba(77,51,0,.18)}.doc-ready-visual:after{content:"";position:absolute;left:28px;top:39px;width:126px;height:40px;border-radius:18px 18px 0 0;background:linear-gradient(180deg,#ffe38d,#efbd56)}.doc-visual-sheet{position:absolute;top:22px;width:78px;height:94px;border-radius:16px;background:#fff;box-shadow:0 18px 28px rgba(20,32,31,.18);z-index:2;display:grid;place-items:start;padding:13px;color:#102120;font-weight:950}.doc-visual-sheet:first-child{left:44px;transform:rotate(-7deg);border-top:5px solid #006f5c}.doc-visual-sheet:nth-child(2){right:44px;transform:rotate(7deg);border-top:5px solid #8f123f}.doc-visual-sheet:after{content:"";position:absolute;left:13px;right:13px;top:45px;height:6px;border-radius:999px;background:#eef2f0;box-shadow:0 16px 0 #eef2f0,0 32px 0 #eef2f0}.doc-visual-folder{position:absolute;left:50%;bottom:38px;transform:translateX(-50%);z-index:3;border-radius:999px;background:#fff;color:#442c00;padding:6px 16px;font-size:12px;font-weight:950;box-shadow:0 10px 20px rgba(77,51,0,.18)}.doc-ready-actions{gap:8px!important}.doc-ready-actions .primary-action,.doc-ready-actions .secondary-action{min-height:48px!important;border-radius:16px!important}.doc-ready-actions .primary-action{background:linear-gradient(135deg,#102120,#006f5c)!important;box-shadow:0 16px 32px rgba(0,111,92,.23)!important}.doc-primary-panel{border-radius:28px!important;padding:14px!important;background:rgba(255,255,255,.90)!important}.doc-primary-head{align-items:flex-start!important}.doc-primary-head strong{font-size:23px!important;line-height:1.02!important;letter-spacing:-.055em!important}.doc-primary-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.doc-primary-tile{position:relative;min-height:78px!important;border-radius:22px!important;padding:13px 13px 13px 62px!important;background:linear-gradient(135deg,#fff,#f9fcfb)!important;box-shadow:0 10px 24px rgba(20,32,31,.055)!important;overflow:hidden}.doc-primary-tile:before{content:"";position:absolute;left:13px;top:50%;transform:translateY(-50%);width:36px;height:44px;border-radius:11px;background:#102120;box-shadow:0 9px 18px rgba(20,32,31,.18)}.doc-primary-tile:after{content:"";position:absolute;left:22px;top:26px;width:18px;height:4px;border-radius:999px;background:#fff;box-shadow:0 10px 0 rgba(255,255,255,.78),0 20px 0 rgba(255,255,255,.58)}.doc-primary-tile span{font-size:10px!important;color:#006f5c!important}.doc-primary-tile strong{font-size:18px!important;letter-spacing:-.04em!important}.doc-primary-tile em{align-self:center;border-radius:999px;background:#eef8f4;padding:6px 10px;color:#006f5c!important}.doc-archive-tree-compact>.doc-root-folder{border-radius:26px!important;overflow:hidden}.doc-archive-tree-compact .doc-folder summary{min-height:48px!important}.doc-archive-tree-compact .folder-icon{background:#102120!important;color:#fff!important}.doc-archive-tree-compact .doc-file-row{border-radius:18px!important;background:#fff!important;box-shadow:0 8px 18px rgba(20,32,31,.045)!important}.doc-archive-tree-compact .doc-file-icon{background:#102120!important;color:#fff!important}.doc-archive-tree-compact .download-link{border-radius:14px!important;background:#f7fbf9!important}

    .consultant-review-with-folder{border-radius:28px!important;background:linear-gradient(160deg,#fff,#f7fcfa)!important;box-shadow:0 20px 48px rgba(20,32,31,.085)!important}.review-folder-visual{min-height:132px!important}.review-folder-orbit{width:155px!important;height:92px!important}.review-folder-shape{width:138px!important;height:88px!important}.review-compact-head h2{font-size:31px!important;line-height:.96!important;letter-spacing:-.065em!important}.review-waiting-lead{font-size:13px!important;line-height:1.36!important;font-weight:740!important}.review-compact-strip{border-radius:18px!important;background:#fff!important;box-shadow:0 10px 22px rgba(20,32,31,.055)!important;padding:12px!important}
  }

  @media(max-width:430px){
    .page-heading h1,.report-ready-row h2,.doc-ready-hero h2{font-size:31px!important}.movement-start-panel h2,.work-panel h2,.review-compact-head h2{font-size:28px!important}.metric{min-width:82vw!important}.report-soul-visual{height:128px}.doc-ready-visual{height:142px}.doc-visual-sheet:first-child{left:34px}.doc-visual-sheet:nth-child(2){right:34px}.payment-folder-preview{min-height:154px!important}.payment-folder-doc{height:88px!important}
  }



  /* Step 607 — richer mobile product identity, depth and motion. */
  @media(max-width:760px){
    :root{
      --soul-shadow-deep:0 26px 70px rgba(16,33,32,.13);
      --soul-shadow-card:0 16px 38px rgba(16,33,32,.085);
      --soul-hairline:rgba(255,255,255,.82);
      --soul-mist:rgba(238,247,242,.74);
      --soul-ease:cubic-bezier(.2,.8,.2,1);
    }

    body{
      background:
        radial-gradient(circle at 16% -12%,rgba(0,111,92,.26),transparent 21rem),
        radial-gradient(circle at 110% 12%,rgba(143,18,63,.16),transparent 21rem),
        radial-gradient(circle at 55% 102%,rgba(228,170,66,.18),transparent 20rem),
        linear-gradient(180deg,#fbfdfb 0%,#edf6f1 38%,#f7f1e8 100%)!important;
      color:#14201f;
    }
    body:before{
      opacity:.46!important;
      background-image:
        linear-gradient(rgba(0,111,92,.055) 1px,transparent 1px),
        linear-gradient(90deg,rgba(0,111,92,.045) 1px,transparent 1px),
        radial-gradient(circle at 20% 20%,rgba(0,111,92,.08) 0 1px,transparent 1.5px)!important;
      background-size:30px 30px,30px 30px,18px 18px!important;
    }
    body:after{
      width:250px!important;height:250px!important;inset:auto -98px 62px auto!important;
      background:radial-gradient(circle,rgba(0,111,92,.18),rgba(228,170,66,.08) 46%,transparent 70%)!important;
      filter:blur(1px)!important;
      mix-blend-mode:multiply;
    }

    .shell{padding-inline:11px!important;gap:10px!important}
    .page-wrap{padding-bottom:calc(var(--mobile-nav-safe) + env(safe-area-inset-bottom))!important}
    .app-topbar{
      position:sticky;top:8px;z-index:80;
      border-radius:26px!important;
      background:linear-gradient(135deg,rgba(255,255,255,.84),rgba(246,251,249,.68))!important;
      box-shadow:0 18px 42px rgba(16,33,32,.10),inset 0 1px 0 rgba(255,255,255,.88)!important;
      overflow:hidden;
    }
    .app-topbar:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,rgba(0,111,92,.28),transparent);pointer-events:none}
    .app-nav-shell{position:fixed!important;left:10px!important;right:10px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;width:auto!important;z-index:90!important;margin:0!important}
    .app-nav{
      height:64px!important;padding:6px!important;border-radius:26px!important;border:1px solid rgba(255,255,255,.78)!important;
      background:rgba(255,255,255,.80)!important;box-shadow:0 20px 54px rgba(16,33,32,.18),inset 0 1px 0 rgba(255,255,255,.86)!important;
      backdrop-filter:blur(24px)!important;gap:5px!important;
    }
    .nav-item{height:52px!important;border-radius:21px!important;padding:0 12px!important;gap:6px!important;transition:transform .22s var(--soul-ease),background .22s var(--soul-ease),box-shadow .22s var(--soul-ease)!important}
    .nav-item.active{background:linear-gradient(145deg,#102120,#006f5c)!important;box-shadow:0 13px 28px rgba(0,111,92,.22)!important;transform:translateY(-1px)}
    .nav-item.active .nav-icon{filter:drop-shadow(0 4px 8px rgba(0,0,0,.18))}.nav-label{font-size:12px!important;font-weight:900!important}

    .page-heading{
      border-radius:31px!important;padding:18px 17px 17px!important;margin:4px 0 13px!important;
      background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(244,251,248,.76) 62%,rgba(255,249,237,.68))!important;
      box-shadow:var(--soul-shadow-deep)!important;border-color:var(--soul-hairline)!important;
    }
    .page-heading:before{right:-46px!important;top:-54px!important;width:156px!important;height:156px!important;background:radial-gradient(circle,rgba(0,111,92,.20),rgba(0,111,92,.06) 43%,transparent 70%)!important}
    .page-heading:after{left:17px!important;right:17px!important;height:5px!important;background:linear-gradient(90deg,#006f5c 0%,#102120 45%,#8f123f 75%,#e4aa42 100%)!important;box-shadow:0 0 22px rgba(0,111,92,.20)}
    .page-heading h1{font-size:36px!important;letter-spacing:-.078em!important;text-wrap:balance}.page-heading p{max-width:92%!important;color:#4c615b!important;font-weight:780!important}

    .panel,.empty-state,.zip-hero,.doc-primary-panel{
      border:1px solid var(--soul-hairline)!important;
      box-shadow:var(--soul-shadow-card)!important;
      backdrop-filter:blur(24px)!important;
    }
    .mobile-soul-card,.report-after-calc-compact,.doc-ready-hero,.consultant-review-with-folder{transform:translateZ(0)}
    .mobile-soul-card:after,.report-after-calc-compact:after,.doc-ready-hero:after,.consultant-review-with-folder:after{
      content:"";position:absolute;inset:1px;border-radius:inherit;pointer-events:none;
      background:linear-gradient(135deg,rgba(255,255,255,.65),transparent 30%,rgba(255,255,255,.28) 72%,transparent);
      z-index:0;opacity:.9;
    }
    .mobile-soul-card>*:not(:before):not(:after),.report-after-calc-compact>*:not(:before):not(:after),.doc-ready-hero>*:not(:before):not(:after),.consultant-review-with-folder>*:not(:before):not(:after){position:relative;z-index:1}

    .status-badge{border-radius:999px!important;font-size:10.5px!important;letter-spacing:.095em!important;padding:6px 9px!important;box-shadow:0 8px 18px rgba(16,33,32,.06)!important}
    .status-badge.ready{background:#e8f7f0!important;color:#006f5c!important;border-color:#bddfce!important}.status-badge.warn{background:#fff5df!important;color:#875707!important;border-color:#f1d598!important}.status-badge.working{background:#edf6ff!important;color:#1d5a92!important;border-color:#c8dff6!important}

    .movement-start-panel{
      padding:20px 15px 15px!important;border-radius:32px!important;
      background:
        radial-gradient(circle at 100% 0,rgba(0,111,92,.13),transparent 160px),
        linear-gradient(155deg,rgba(255,255,255,.94),rgba(245,252,248,.82) 58%,rgba(255,249,237,.70))!important;
    }
    .movement-start-panel .section-title{padding-right:91px!important}.movement-start-panel h2{font-size:32px!important;letter-spacing:-.078em!important}.movement-start-panel .section-title p{color:#4c615b!important;font-size:13.3px!important}
    .mobile-calc-orb{right:12px!important;top:13px!important;width:82px!important;height:82px!important;border-radius:28px!important;background:linear-gradient(145deg,#102120 0%,#005b4d 58%,#0a8a72 100%)!important;box-shadow:0 22px 44px rgba(0,111,92,.28),inset 0 1px 0 rgba(255,255,255,.22)!important}
    .mobile-calc-orb:after{content:"";position:absolute;inset:-45%;background:conic-gradient(from 180deg,transparent,rgba(255,255,255,.24),transparent 33%);animation:ft-soul-sheen 4.2s ease-in-out infinite}.mobile-calc-orb span{z-index:1;left:17px!important;top:19px!important}.mobile-calc-orb i,.mobile-calc-orb b{z-index:1}
    @keyframes ft-soul-sheen{0%,55%,100%{transform:rotate(0deg);opacity:0}70%{opacity:1}88%{transform:rotate(145deg);opacity:0}}

    .calc-form{gap:12px!important}.movement-source-selector{
      position:relative;border-radius:27px!important;padding:12px!important;overflow:hidden;
      background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(247,252,249,.88))!important;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 18px 38px rgba(16,33,32,.075)!important;
    }
    .movement-source-selector:before{content:"";position:absolute;left:17px;top:58px;bottom:18px;width:2px;border-radius:999px;background:linear-gradient(180deg,rgba(0,111,92,.28),rgba(228,170,66,.22));pointer-events:none}
    .movement-source-selector-head{position:relative;z-index:1;margin-bottom:10px!important}.movement-source-selector-head b{font-size:14px!important;letter-spacing:-.02em!important}.movement-source-selector-head span{border-radius:999px!important;min-height:29px!important;padding:0 10px!important;background:linear-gradient(135deg,#102120,#006f5c)!important}
    .movement-source-toggle{
      position:relative;z-index:1;min-height:66px!important;border-radius:23px!important;padding:12px 12px 12px 13px!important;
      background:linear-gradient(135deg,#fff 0%,#fbfdfc 100%)!important;border-color:#e2ebe7!important;
      box-shadow:0 12px 26px rgba(16,33,32,.06)!important;transition:transform .18s var(--soul-ease),box-shadow .18s var(--soul-ease),border-color .18s var(--soul-ease)!important;
    }
    .movement-source-toggle:active{transform:scale(.985)!important}.movement-source-toggle:has(input[type="checkbox"]:checked){border-color:rgba(0,111,92,.42)!important;background:linear-gradient(135deg,#fff,#eef9f4 78%)!important;box-shadow:0 18px 36px rgba(0,111,92,.13)!important}
    .movement-source-toggle:has(input[type="checkbox"]:checked):after{content:"";position:absolute;right:11px;top:11px;width:7px;height:7px;border-radius:999px;background:#006f5c;box-shadow:0 0 0 6px rgba(0,111,92,.10)}
    .movement-source-toggle.gated:has(input[type="checkbox"]:disabled){border-color:#f0dfba!important;background:linear-gradient(135deg,#fff,#fff8ec)!important}
    .movement-source-icon{width:44px!important;height:44px!important;border-radius:17px!important;background:#fff!important;box-shadow:0 0 0 1px rgba(16,33,32,.07),0 11px 22px rgba(16,33,32,.08)!important}.movement-source-wallet-icon,.movement-source-csv-icon{background:linear-gradient(145deg,#102120,#006f5c)!important;color:#fff!important}
    .movement-source-check{width:27px!important;height:27px!important;border-radius:11px!important;background:#fff!important;box-shadow:inset 0 0 0 1px rgba(16,33,32,.06)!important}.movement-source-toggle:has(input[type="checkbox"]:checked) .movement-source-check{background:linear-gradient(145deg,#102120,#006f5c)!important;border-color:transparent!important;box-shadow:0 9px 20px rgba(0,111,92,.20)!important}.movement-source-toggle:has(input[type="checkbox"]:checked) .movement-source-check:after{border-color:#fff!important}
    .movement-source-copy strong{font-size:15.5px!important;letter-spacing:-.035em!important}.movement-source-copy small{font-size:11.4px!important;color:#63736e!important;line-height:1.32!important;-webkit-line-clamp:2!important}.movement-source-state{vertical-align:baseline!important;margin-left:2px!important}.movement-source-empty{border-radius:20px!important;background:#fff!important;border:1px dashed #cbd9d4!important;padding:16px!important;color:#667571!important;font-weight:850!important;text-align:center!important}
    .affiliate-rebate-option-card{background:linear-gradient(135deg,#fff,#fff9ed)!important;border-color:#efd8a4!important}.affiliate-rebate-option-card:before{background:linear-gradient(180deg,rgba(228,170,66,.38),rgba(0,111,92,.12))!important}
    .fiscal-year-label{border-radius:25px!important;padding:12px!important;border-color:rgba(0,111,92,.12)!important;background:linear-gradient(135deg,#fff,#f8fcfa)!important;box-shadow:0 14px 30px rgba(16,33,32,.06)!important}.fiscal-year-label select{min-height:46px!important;border-radius:16px!important;background:#fff!important;font-weight:850!important}.movement-start-panel .primary-action.large{min-height:56px!important;border-radius:20px!important;letter-spacing:-.02em!important;box-shadow:0 20px 38px rgba(0,111,92,.28)!important}
    .movement-start-panel .primary-action.large:active,.report-actions .primary-action:active,.doc-ready-actions .primary-action:active,.result-actions .primary-action:active{transform:scale(.985)!important}

    .work-panel.running,.work-panel.done,.work-panel.error,.movement-work-panel{border-radius:32px!important;background:linear-gradient(155deg,rgba(255,255,255,.94),rgba(246,251,249,.80))!important}.work-panel h2{font-size:32px!important;letter-spacing:-.076em!important}.elapsed-pill{background:linear-gradient(135deg,#102120,#006f5c)!important}.source-progress-row{border-radius:22px!important;padding:13px 13px 12px 15px!important;background:rgba(255,255,255,.93)!important;box-shadow:0 13px 27px rgba(16,33,32,.065)!important}.source-progress-row:after{content:"";position:absolute;left:5px;right:5px;bottom:5px;height:2px;border-radius:999px;background:linear-gradient(90deg,rgba(0,111,92,.18),transparent);opacity:.7}.source-progress-top strong{letter-spacing:-.03em!important}.source-progress-track{height:24px!important;border-radius:999px!important;background:#edf3f0!important;box-shadow:inset 0 1px 3px rgba(16,33,32,.08)!important}.source-progress-bar{border-radius:999px!important;background:linear-gradient(90deg,#102120,#006f5c,#30a487)!important;box-shadow:0 5px 14px rgba(0,111,92,.18)!important}.source-progress-row.running .source-progress-bar{background-size:180% 100%!important;animation:ft-progress-flow 1.6s linear infinite}@keyframes ft-progress-flow{to{background-position:180% 0}}
    .metric-grid{padding:3px 2px 8px!important;margin-inline:-2px!important;gap:10px!important}.metric{min-width:76vw!important;border-radius:25px!important;padding:16px!important;background:linear-gradient(145deg,#fff,#f8fcfa)!important;box-shadow:0 15px 32px rgba(16,33,32,.075)!important;border-color:rgba(255,255,255,.82)!important}.metric span{font-size:10.5px!important;letter-spacing:.10em!important}.metric strong{font-size:31px!important;letter-spacing:-.065em!important}.metric.highlight{background:linear-gradient(145deg,#102120,#006f5c)!important;color:#fff!important}.metric.highlight span,.metric.highlight p{color:rgba(255,255,255,.76)!important}.metric.highlight strong{color:#fff!important}

    .report-after-calc-compact{
      border-radius:32px!important;padding:19px 15px 15px!important;
      background:
        radial-gradient(circle at 100% 0,rgba(143,18,63,.10),transparent 160px),
        linear-gradient(155deg,rgba(255,255,255,.95),rgba(246,251,249,.82) 60%,rgba(255,249,237,.66))!important;
    }
    .report-ready-row{gap:12px!important}.report-ready-row h2{font-size:36px!important;letter-spacing:-.083em!important}.report-ready-row p{font-size:13.5px!important;color:#4c615b!important;text-wrap:balance}
    .report-soul-visual{height:158px!important;border-radius:30px!important;background:linear-gradient(145deg,#102120 0%,#005548 58%,#007b66 100%)!important;box-shadow:0 24px 48px rgba(0,111,92,.28)!important}.report-soul-visual:before{inset:13px!important;border-radius:25px!important;border-color:rgba(255,255,255,.20)!important;background:linear-gradient(135deg,rgba(255,255,255,.12),transparent 42%)}.report-soul-visual:after{right:-42px!important;top:-54px!important;width:164px!important;height:164px!important;background:radial-gradient(circle,rgba(255,255,255,.16),transparent 68%)!important}.report-soul-visual span{left:22px!important;bottom:22px!important;width:102px!important;height:75px!important;border-radius:18px!important;box-shadow:20px -18px 0 rgba(255,255,255,.82),42px -36px 0 rgba(255,255,255,.48),0 20px 32px rgba(16,33,32,.18)!important}.report-soul-visual span:after{content:"";position:absolute;left:13px;right:15px;top:37px;height:5px;border-radius:999px;background:#eef2f0;box-shadow:0 13px 0 #eef2f0,0 26px 0 #eef2f0}.report-soul-visual i{right:24px!important;bottom:25px!important;width:61px!important;height:61px!important;border-radius:22px!important;background:linear-gradient(145deg,#ffd66d,#e4aa42)!important}.report-soul-visual b{right:43px!important;bottom:46px!important;width:22px!important;height:13px!important}.report-compact-pills{gap:9px!important}.report-compact-pills span{position:relative;min-height:50px!important;border-radius:19px!important;background:linear-gradient(145deg,#fff,#f9fcfb)!important;box-shadow:0 12px 26px rgba(16,33,32,.06)!important;font-size:12.4px!important}.report-compact-pills span:before{content:"";width:8px;height:8px;border-radius:999px;background:#006f5c;margin-right:6px;box-shadow:0 0 0 5px rgba(0,111,92,.09)}.compact-report-note{border-radius:23px!important;padding:14px!important;background:linear-gradient(145deg,#fff,#f8fcfa)!important}.compact-report-note strong{letter-spacing:-.03em!important}.report-actions{border-radius:25px!important;background:rgba(255,255,255,.82)!important;box-shadow:0 22px 52px rgba(16,33,32,.19)!important}.report-actions .primary-action,.report-actions button.primary-action{min-height:55px!important;border-radius:19px!important;box-shadow:0 20px 38px rgba(0,111,92,.27)!important}.report-file-tree{border-radius:25px!important;border:1px solid rgba(0,111,92,.12)!important;box-shadow:0 13px 28px rgba(16,33,32,.06)!important}

    .payment-modal-card.payment-ready-card{width:min(96vw,560px)!important;border-radius:30px!important;padding:22px 16px 16px!important;background:linear-gradient(155deg,#fff,#f7fcfa 62%,#fff5df)!important;box-shadow:0 32px 90px rgba(16,33,32,.28)!important}.payment-ready-card h2{font-size:32px!important;line-height:.96!important;letter-spacing:-.075em!important}.payment-ready-lead{font-size:13.5px!important;line-height:1.42!important;color:#4f625c!important}.payment-folder-preview{border-radius:29px!important;box-shadow:0 20px 42px rgba(0,111,92,.18)!important}.payment-price-box{border-radius:23px!important;background:#fff!important;box-shadow:0 13px 28px rgba(16,33,32,.06)!important}.payment-ready-actions .primary-action{min-height:54px!important;border-radius:19px!important}

    .documents-page-compact{gap:13px!important}.doc-ready-hero{
      border-radius:32px!important;padding:19px 15px 15px!important;
      background:
        radial-gradient(circle at 100% 0,rgba(228,170,66,.18),transparent 170px),
        linear-gradient(155deg,#fff 0%,#f7fcfa 58%,#fff6e4 100%)!important;
    }
    .doc-ready-hero h2{font-size:36px!important;letter-spacing:-.083em!important}.doc-ready-hero p{font-size:13.5px!important;color:#4c615b!important}.doc-ready-visual{height:170px!important;border-radius:31px!important;background:linear-gradient(145deg,#102120 0%,#005548 62%,#007b66 100%)!important;box-shadow:0 24px 50px rgba(0,111,92,.30)!important}.doc-ready-visual:before{left:16px!important;right:16px!important;bottom:17px!important;height:82px!important;border-radius:23px 23px 28px 28px!important}.doc-ready-visual:after{left:27px!important;top:43px!important;width:136px!important;height:45px!important}.doc-ready-visual .doc-visual-sheet{top:24px!important;width:82px!important;height:101px!important;border-radius:18px!important;box-shadow:0 20px 32px rgba(16,33,32,.20)!important}.doc-visual-sheet:first-child{left:38px!important}.doc-visual-sheet:nth-child(2){right:38px!important}.doc-visual-folder{bottom:39px!important;border-radius:999px!important;padding:7px 17px!important;box-shadow:0 12px 24px rgba(77,51,0,.20)!important}
    .doc-ready-actions{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));z-index:18;margin-top:2px!important;padding:8px!important;border:1px solid rgba(255,255,255,.80);border-radius:25px;background:rgba(255,255,255,.82);backdrop-filter:blur(20px);box-shadow:0 22px 52px rgba(16,33,32,.19)}.doc-ready-actions .primary-action,.doc-ready-actions .secondary-action{min-height:52px!important;border-radius:18px!important}.doc-ready-actions .primary-action{box-shadow:0 20px 38px rgba(0,111,92,.27)!important}
    .doc-primary-panel{border-radius:30px!important;padding:15px!important}.doc-primary-head strong{font-size:25px!important;letter-spacing:-.065em!important}.doc-primary-grid{gap:10px!important}.doc-primary-tile{min-height:88px!important;border-radius:24px!important;padding:14px 13px 14px 66px!important;background:linear-gradient(145deg,#fff,#f9fcfb)!important;box-shadow:0 14px 30px rgba(16,33,32,.065)!important}.doc-primary-tile:before{left:14px!important;width:38px!important;height:49px!important;border-radius:13px!important;background:linear-gradient(145deg,#102120,#006f5c)!important}.doc-primary-tile strong{font-size:19px!important}.doc-primary-tile em{background:#e8f7f0!important;border:1px solid #c7e4d7!important}
    .doc-archive-tree-compact>.doc-root-folder{border-radius:29px!important}.doc-archive-tree-compact .doc-folder summary{border-radius:20px!important}.doc-archive-tree-compact .doc-file-row{border-radius:20px!important;padding:10px!important}.doc-archive-tree-compact .download-link{min-height:38px!important;border-radius:15px!important}

    .consultant-review-with-folder{border-radius:32px!important;padding:18px 15px!important}.review-folder-visual{min-height:148px!important}.review-folder-shape{border-radius:24px!important;box-shadow:0 24px 46px rgba(112,83,24,.20)!important}.review-compact-head h2{font-size:33px!important;letter-spacing:-.08em!important}.review-compact-strip{border-radius:22px!important}
  }

  @media(max-width:430px){
    .page-heading h1{font-size:33px!important}.movement-start-panel h2,.work-panel h2{font-size:30px!important}.report-ready-row h2,.doc-ready-hero h2{font-size:33px!important}.mobile-calc-orb{width:76px!important;height:76px!important}.movement-start-panel .section-title{padding-right:86px!important}.report-soul-visual{height:148px!important}.doc-ready-visual{height:158px!important}.doc-visual-sheet:first-child{left:30px!important}.doc-visual-sheet:nth-child(2){right:30px!important}.metric{min-width:84vw!important}
  }



  /* Step 608 — refinement layer: more app-like mobile chrome, cleaner fiscal cards and no CTA/nav clipping. */
  @media(max-width:760px){
    :root{
      --mobile-nav-safe:112px;
      --soul-max-mobile:560px;
      --soul-shadow-float:0 18px 42px rgba(16,33,32,.13);
      --soul-shadow-soft:0 12px 26px rgba(16,33,32,.075);
      --soul-cta-bottom:calc(82px + env(safe-area-inset-bottom));
    }
    html{background:#f5f8f6!important;overflow-x:hidden!important}
    body{
      min-height:100dvh!important;overflow-x:hidden!important;
      background:
        radial-gradient(circle at 5% -10%,rgba(0,111,92,.16),transparent 18rem),
        radial-gradient(circle at 105% 8%,rgba(228,170,66,.12),transparent 15rem),
        linear-gradient(180deg,#f8fbf9 0%,#eef5f1 42%,#f7f3eb 100%)!important;
    }
    body:before{opacity:.42!important;background-size:38px 38px!important;mask-image:linear-gradient(180deg,rgba(0,0,0,.28),transparent 62%)!important}
    body:after{right:-96px!important;bottom:120px!important;width:240px!important;height:240px!important;opacity:.42!important;filter:blur(12px)!important;z-index:0!important}

    .shell{
      width:100%!important;max-width:var(--soul-max-mobile)!important;margin:0 auto!important;
      padding:10px 12px calc(var(--mobile-nav-safe) + 46px + env(safe-area-inset-bottom))!important;
    }
    .hero-shell,.page-wrap{width:100%!important;max-width:var(--soul-max-mobile)!important}
    .page-wrap{padding-bottom:calc(var(--mobile-nav-safe) + 54px + env(safe-area-inset-bottom))!important}

    .app-topbar{
      min-height:58px!important;padding:5px 6px 5px 7px!important;border-radius:22px!important;
      border:1px solid rgba(255,255,255,.82)!important;background:rgba(255,255,255,.78)!important;
      box-shadow:0 14px 32px rgba(16,33,32,.10),inset 0 1px 0 rgba(255,255,255,.86)!important;
      backdrop-filter:blur(24px)!important;
    }
    .brand-lockup{gap:7px!important}.brand-lockup img{max-width:130px!important;height:36px!important}.brand-lockup img.brand-image-icon{width:36px!important;height:36px!important}
    .user-box{gap:5px!important;padding:4px!important;border-radius:20px!important;background:rgba(255,255,255,.72)!important;box-shadow:none!important;flex:0 0 auto!important}
    .profile-topbar-link,.notification-toggle,.admin-mail-toggle,.logout-button{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;border-radius:15px!important;padding:0!important}
    .profile-topbar-link svg,.notification-bell svg{width:18px!important;height:18px!important}.notification-bell{width:100%!important;height:100%!important;background:transparent!important;border:0!important}
    .notification-toggle .notification-switch,.notification-toggle .notification-label,.admin-mail-toggle .notification-switch,.admin-mail-toggle .notification-label,.admin-mail-toggle .admin-mail-word{display:none!important}
    .admin-mail-toggle{font-size:0!important;position:relative!important;background:#fff!important}.admin-mail-toggle:after{content:"✉";font-size:14px;font-weight:900;color:#334440;line-height:1}
    .logout-button:after{font-size:19px!important;color:#20302f!important}

    .page-heading{
      margin:8px 0 12px!important;padding:17px 18px 18px!important;border-radius:28px!important;
      background:linear-gradient(144deg,rgba(255,255,255,.91),rgba(245,250,247,.78) 64%,rgba(255,248,232,.62))!important;
      box-shadow:0 16px 34px rgba(16,33,32,.08)!important;min-height:104px!important;
    }
    .page-heading:before{right:-54px!important;top:-48px!important;width:136px!important;height:136px!important;background:radial-gradient(circle,rgba(0,111,92,.28),rgba(0,111,92,.14) 47%,transparent 70%)!important}
    .page-heading h1{font-size:34px!important;line-height:.98!important;letter-spacing:-.072em!important}.page-heading p{font-size:13.2px!important;line-height:1.32!important;max-width:82%!important}

    .app-nav-shell{
      left:50%!important;right:auto!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;
      width:min(456px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;
      transform:translate3d(-50%,0,0)!important;z-index:180!important;margin:0!important;contain:none!important;
    }
    .app-nav-shell:before,.app-nav-shell:after{display:none!important}
    .app-nav{
      height:68px!important;padding:7px!important;border-radius:26px!important;overflow:visible!important;
      display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;gap:5px!important;
      background:rgba(255,255,255,.84)!important;border:1px solid rgba(255,255,255,.88)!important;
      box-shadow:0 18px 48px rgba(16,33,32,.22),inset 0 1px 0 rgba(255,255,255,.95)!important;
      backdrop-filter:blur(26px)!important;white-space:normal!important;
    }
    .nav-item{min-width:0!important;width:100%!important;height:54px!important;padding:0 3px!important;border-radius:20px!important;display:flex!important;flex-direction:column!important;gap:3px!important;overflow:hidden!important}
    .nav-icon svg{width:20px!important;height:20px!important}.nav-label{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:10.2px!important;letter-spacing:-.02em!important;line-height:1.05!important}.nav-item.active{transform:none!important}.nav-badge{right:2px!important;top:2px!important;border-width:1.5px!important;min-width:16px!important;height:16px!important;font-size:9px!important}
    .pwa-utility-badge{bottom:calc(88px + env(safe-area-inset-bottom))!important;min-height:36px!important;padding:0 11px!important;border-radius:999px!important;font-size:11px!important;box-shadow:0 13px 34px rgba(16,33,32,.22)!important}

    .movement-work-panel,.work-panel.running,.work-panel.done,.work-panel.error{
      border-radius:30px!important;padding:18px 14px 17px!important;box-shadow:0 18px 40px rgba(16,33,32,.105)!important;
      background:linear-gradient(155deg,rgba(255,255,255,.95),rgba(247,252,249,.86))!important;
    }
    .work-panel h2{font-size:29px!important;line-height:.98!important;letter-spacing:-.071em!important;text-wrap:balance}.work-panel .result-copy{font-size:13.2px!important;color:#4f625d!important}
    .live-status-meta{margin:10px 0 12px!important}.elapsed-pill{min-height:34px!important;padding:0 12px!important;font-size:13px!important;box-shadow:0 12px 24px rgba(0,111,92,.16)!important}
    .source-progress-panel{gap:9px!important;margin:14px 0 12px!important}.source-progress-row{border-radius:20px!important;padding:12px 12px 10px 16px!important;border-color:#dfe9e5!important;background:#fff!important;box-shadow:0 10px 22px rgba(16,33,32,.055)!important}.source-progress-row:before{width:4px!important}.source-progress-row:after{display:none!important}.source-progress-top{margin-bottom:8px!important}.source-progress-top strong{font-size:14px!important}.source-progress-track{height:13px!important;background:#edf3f0!important;border:0!important}.source-progress-fill{background:linear-gradient(90deg,#006f5c,#102120)!important;box-shadow:0 3px 9px rgba(0,111,92,.18)!important}.source-progress-percent{font-size:10px!important;mix-blend-mode:normal!important;color:#fff!important;text-shadow:0 1px 2px rgba(16,33,32,.28)}.source-progress-row small{font-size:11.5px!important;line-height:1.28!important;color:#65736f!important}
    .metric-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;overflow:visible!important;margin:12px 0 0!important;padding:0!important;scroll-snap-type:none!important}.metric-grid::-webkit-scrollbar{display:none}.metric{min-width:0!important;width:100%!important;min-height:104px!important;border-radius:22px!important;padding:14px!important;scroll-snap-align:unset!important;background:linear-gradient(145deg,#fff,#f9fcfa)!important;border-color:rgba(255,255,255,.92)!important;box-shadow:0 12px 28px rgba(16,33,32,.065)!important}.metric-grid .metric:only-child{grid-column:1/-1!important}.metric span{font-size:10px!important;letter-spacing:.10em!important}.metric strong{font-size:29px!important;line-height:.92!important}.metric p,.metric small{font-size:11px!important;line-height:1.22!important}.metric.highlight{background:linear-gradient(145deg,#102120,#006f5c)!important;border-color:transparent!important}
    .final-metrics-locked-note{margin-top:12px!important;border-radius:20px!important;background:#fff!important;border:1px solid rgba(0,111,92,.14)!important;box-shadow:var(--soul-shadow-soft)!important}.result-actions{position:static!important;margin:14px 0 0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}.result-actions .primary-action,.result-actions .secondary-action{min-height:52px!important;border-radius:18px!important;box-shadow:0 16px 34px rgba(0,111,92,.22)!important}

    .report-after-calc-compact{border-radius:30px!important;padding:18px 14px 15px!important;box-shadow:0 18px 42px rgba(16,33,32,.10)!important}.report-ready-row h2{font-size:32px!important;line-height:.96!important;letter-spacing:-.074em!important}.report-ready-row p{font-size:13.3px!important;line-height:1.36!important}.report-soul-visual{height:132px!important;border-radius:26px!important;box-shadow:0 18px 38px rgba(0,111,92,.22)!important}.report-compact-pills span{min-height:44px!important;border-radius:17px!important}.report-actions{position:static!important;margin:13px 0 0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}.report-actions .primary-action,.report-actions button.primary-action{min-height:52px!important;border-radius:18px!important}

    .documents-page-compact{gap:12px!important}.doc-ready-hero{border-radius:30px!important;padding:18px 14px 14px!important;box-shadow:0 18px 42px rgba(16,33,32,.10)!important}.doc-ready-hero h2{font-size:31px!important;line-height:.97!important;letter-spacing:-.073em!important}.doc-ready-hero p{font-size:13.1px!important;line-height:1.34!important}.doc-ready-visual{height:134px!important;margin:7px 0 8px!important;border-radius:26px!important;box-shadow:0 18px 38px rgba(0,111,92,.24)!important}.doc-ready-visual:before{height:64px!important;bottom:18px!important}.doc-ready-visual:after{top:39px!important;height:36px!important;width:112px!important}.doc-ready-visual .doc-visual-sheet{top:23px!important;width:70px!important;height:86px!important}.doc-visual-sheet:first-child{left:35px!important}.doc-visual-sheet:nth-child(2){right:35px!important}.doc-visual-folder{bottom:35px!important;padding:6px 15px!important}.doc-ready-actions{position:static!important;display:grid!important;gap:8px!important;margin-top:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}.doc-ready-actions .primary-action,.doc-ready-actions .secondary-action{min-height:49px!important;border-radius:17px!important}
    .doc-primary-panel{border-radius:30px!important;padding:14px!important;background:rgba(255,255,255,.90)!important;box-shadow:0 18px 40px rgba(16,33,32,.09)!important}.doc-primary-head{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;margin-bottom:12px!important}.doc-primary-head .status-badge{margin:0!important}.doc-primary-head strong{font-size:25px!important;line-height:1!important;letter-spacing:-.066em!important}.doc-primary-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.doc-primary-tile{min-height:76px!important;border-radius:22px!important;padding:13px 14px 13px 64px!important;background:linear-gradient(145deg,#fff,#f9fcfb)!important;border:1px solid rgba(0,111,92,.10)!important;box-shadow:0 11px 24px rgba(16,33,32,.055)!important}.doc-primary-tile:before{left:14px!important;width:36px!important;height:44px!important;border-radius:14px!important;background:linear-gradient(145deg,#102120,#006f5c)!important}.doc-primary-tile:after{left:23px!important;top:27px!important;width:18px!important;height:4px!important}.doc-primary-tile span{font-size:10px!important;letter-spacing:.12em!important}.doc-primary-tile strong{font-size:18px!important;line-height:1.08!important}.doc-primary-tile em{min-width:75px!important;text-align:center!important;border-radius:999px!important;background:#eaf8f2!important;border:1px solid #c7e4d7!important;color:#006f5c!important;padding:7px 10px!important;font-size:12px!important}.doc-archive-tree-compact>.doc-root-folder{border-radius:24px!important}.doc-archive-tree-compact .doc-folder summary{min-height:50px!important}.doc-archive-tree-compact .doc-file-row{border-radius:18px!important}
  }

  @media(max-width:430px){
    .shell{padding-inline:10px!important}.page-heading{min-height:96px!important;padding:15px 16px 16px!important}.page-heading h1{font-size:31px!important}.page-heading p{max-width:86%!important;font-size:12.8px!important}.work-panel h2,.report-ready-row h2,.doc-ready-hero h2{font-size:29px!important}.metric{min-height:96px!important}.metric strong{font-size:26px!important}.doc-ready-visual{height:126px!important}.doc-visual-sheet:first-child{left:27px!important}.doc-visual-sheet:nth-child(2){right:27px!important}.nav-label{font-size:9.6px!important}.nav-item{padding-inline:2px!important}
  }



  /* Step 610 — restore the mobile navigation chrome from Step 605.
     Keep the newer page identity, but do not override the original Step 605 top navbar/bottom navbar. */
  @media(max-width:760px){
    .app-topbar{
      width:min(100%,var(--page-max))!important;
      margin:0 auto 10px!important;
      display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
      min-height:46px!important;padding:0!important;border:0!important;border-radius:0!important;
      background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;
    }
    .brand-lockup{gap:10px!important}.brand-lockup img{max-width:138px!important;height:38px!important}.brand-lockup img.brand-image-icon{width:38px!important;height:38px!important}
    .user-box{display:flex!important;align-items:center!important;gap:6px!important;max-width:min(100%,520px)!important;padding:5px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(18px)!important;flex:0 1 auto!important}
    .profile-topbar-link{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:#fff!important;color:var(--ink-soft)!important;display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}.profile-topbar-link svg{width:19px!important;height:19px!important}
    .notification-toggle,.admin-mail-toggle{display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;min-width:104px!important;width:auto!important;min-height:34px!important;height:34px!important;padding:0 6px 0 9px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;font-size:12px!important;flex:0 0 auto!important}
    .notification-toggle .notification-switch,.admin-mail-toggle .notification-switch{display:block!important;width:38px!important;height:21px!important}.notification-switch i{width:15px!important;height:15px!important}.notification-toggle.is-on .notification-switch i,.admin-mail-toggle.is-on .notification-switch i{transform:translateX(17px)!important}
    .notification-toggle .notification-label,.admin-mail-toggle .notification-label{display:inline!important;font-size:9.5px!important}.admin-mail-toggle .admin-mail-word{display:inline!important;font-size:11px!important}.admin-mail-toggle:after{content:none!important}
    .notification-bell{display:inline-grid!important;place-items:center!important;width:18px!important;height:18px!important;background:transparent!important;border:0!important}.notification-bell svg{width:18px!important;height:18px!important}
    .logout-button{width:auto!important;min-width:auto!important;height:34px!important;min-height:34px!important;padding:0 10px!important;border-radius:999px!important;font-size:12px!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;flex:0 0 auto!important}.logout-button:after{content:none!important}

    .app-nav-shell{
      position:fixed!important;left:50%!important;right:auto!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;
      z-index:120!important;width:calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right)))!important;max-width:var(--page-max)!important;
      margin:0!important;transform:translate3d(-50%,0,0)!important;will-change:transform!important;contain:layout paint!important;
    }
    .app-nav-shell:before,.app-nav-shell:after{display:block!important;content:""!important;position:absolute!important;top:3px!important;bottom:3px!important;z-index:3!important;width:34px!important;pointer-events:none!important;opacity:0;transition:opacity .18s ease!important;border-radius:22px!important}
    .app-nav-shell:before{left:1px!important;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))!important}.app-nav-shell:after{right:1px!important;background:linear-gradient(270deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))!important}.app-nav-shell.has-left-fade:before,.app-nav-shell.has-right-fade:after{opacity:1!important}
    .app-nav{
      position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;height:62px!important;margin:0 auto!important;padding:6px!important;
      border:1px solid var(--line)!important;border-radius:22px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(18px)!important;
      display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;white-space:nowrap!important;scroll-behavior:smooth!important;overscroll-behavior-x:contain!important;max-width:100%!important;scroll-padding-inline:12px!important;
    }
    .app-nav::-webkit-scrollbar{display:none!important}.nav-item{height:50px!important;min-width:78px!important;width:auto!important;flex:0 0 auto!important;border-radius:999px!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:3px!important;padding:0 9px!important;color:#5f6f6b!important;font-weight:760!important;font-size:10.5px!important;letter-spacing:-.01em!important;overflow:visible!important}.nav-item:hover{background:var(--surface-muted)!important;color:var(--ink)!important;transform:translateY(-1px)!important}.nav-item.active{background:var(--ink)!important;color:#fff!important;box-shadow:0 10px 24px rgba(20,32,31,.16)!important;transform:none!important}.nav-icon{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}.nav-icon svg{width:21px!important;height:21px!important;display:block!important}.nav-label{line-height:1!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;font-size:inherit!important;letter-spacing:inherit!important}.nav-badge{right:auto!important;top:auto!important}
    .pwa-utility-badge{bottom:calc(86px + env(safe-area-inset-bottom))!important;width:max-content!important;min-width:0!important;max-width:calc(100vw - 32px)!important;min-height:40px!important;padding:0 12px!important;font-size:11.5px!important;gap:6px!important;box-shadow:0 18px 44px rgba(20,32,31,.26),inset 0 1px 0 rgba(255,255,255,.10)!important}.pwa-utility-badge-icon,.pwa-utility-badge-icon svg{width:17px!important;height:17px!important}
  }
  @media(max-width:560px){.notification-switch{display:none!important}.notification-toggle .notification-switch,.admin-mail-toggle .notification-switch{display:none!important}.profile-topbar-link{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}.logout-button{padding:0 9px!important}.notification-toggle{padding:0 8px!important}}
  @media(max-width:430px){
    .app-topbar{align-items:flex-start!important}.brand-lockup img{max-width:120px!important;height:35px!important}.notification-toggle,.admin-mail-toggle{min-width:92px!important}.notification-bell{width:18px!important}.notification-label{display:none!important}.nav-item{min-width:72px!important}.user-box{gap:5px!important;border-radius:22px!important}
  }
  @media(max-width:390px){
    .brand-lockup img{max-width:110px!important}.user-box{padding:4px!important}.profile-topbar-link,.logout-button{height:32px!important;min-height:32px!important}.logout-button{font-size:11.5px!important;padding-inline:8px!important}
  }
  @media(orientation:landscape) and (max-height:560px){
    .app-nav-shell{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:min(100%,var(--page-max))!important;max-width:var(--page-max)!important;transform:none!important;contain:none!important}.app-nav{position:static!important;height:52px!important;border-radius:999px!important}.app-nav-shell:before,.app-nav-shell:after{width:32px!important}.nav-item{height:42px!important;min-width:max-content!important;flex-direction:row!important;font-size:12px!important;padding:0 12px!important}.nav-icon svg{width:18px!important;height:18px!important}.app-topbar{margin-bottom:8px!important}.pwa-utility-badge{bottom:calc(16px + env(safe-area-inset-bottom))!important;right:calc(14px + env(safe-area-inset-right))!important;left:auto!important;transform:none!important;min-width:0!important}.pwa-utility-badge:hover{transform:translateY(-1px)!important}
  }


  /* Step 611 — landing, home and sources visual upgrade. */
  @media(max-width:760px){
    .public-shell{background:
      radial-gradient(circle at 8% -4%,rgba(0,111,92,.16),transparent 21rem),
      radial-gradient(circle at 108% 16%,rgba(143,18,63,.10),transparent 18rem),
      linear-gradient(180deg,#f8fbfa 0%,#eff5f2 46%,#f8f4ed 100%)!important}
    .public-header{position:sticky!important;top:6px!important;padding:8px 10px!important;border:1px solid rgba(255,255,255,.82)!important;border-radius:24px!important;background:rgba(255,255,255,.78)!important;box-shadow:0 18px 44px rgba(20,32,31,.08)!important;backdrop-filter:blur(22px)!important;align-items:center!important;gap:8px!important}
    .landing-nav{display:none!important}
    .public-links{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}
    .public-links a{min-height:36px!important;padding:0 12px!important;border-radius:999px!important;background:#fff!important;border:1px solid rgba(20,32,31,.08)!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-weight:850!important;text-decoration:none!important;box-shadow:0 8px 18px rgba(20,32,31,.05)!important}
    .public-links .public-start{background:linear-gradient(135deg,#102120,#006f5c)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 16px 34px rgba(0,111,92,.22)!important}
    .public-wrap{padding-bottom:22px!important}
    .public-footer{padding:20px 4px calc(104px + env(safe-area-inset-bottom))!important;display:grid!important;gap:8px!important;justify-items:center!important;text-align:center!important}.public-footer nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:10px!important}

    .ft-hero-commercial{padding:12px 0 18px!important;gap:14px!important;min-height:auto!important}
    .ft-hero-commercial .ft-hero-copy{position:relative;padding:18px 16px 16px!important;border:1px solid rgba(255,255,255,.82)!important;border-radius:30px!important;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(246,251,249,.82))!important;box-shadow:0 20px 52px rgba(20,32,31,.08)!important;overflow:hidden!important;backdrop-filter:blur(20px)!important}
    .ft-hero-commercial .ft-hero-copy:before{content:"";position:absolute;right:-26px;top:-32px;width:132px;height:132px;border-radius:32px;background:radial-gradient(circle,rgba(0,111,92,.18),transparent 68%)}
    .ft-hero-commercial .ft-hero-copy:after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:4px;border-radius:999px;background:linear-gradient(90deg,#006f5c,#102120,#8f123f)}
    .ft-hero-commercial .ft-hero-copy > *{position:relative;z-index:1}
    .ft-hero-commercial .ft-hero-copy .status-badge{margin-bottom:12px!important;box-shadow:0 8px 18px rgba(0,111,92,.08)}
    .ft-hero-commercial .ft-hero-copy h1{font-size:37px!important;line-height:.95!important;letter-spacing:-.07em!important;margin-bottom:12px!important}
    .ft-hero-commercial .ft-hero-lead{font-size:15.3px!important;line-height:1.48!important;color:#30413d!important}
    .ft-hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:18px!important}.ft-hero-actions .primary-action,.ft-hero-actions .secondary-action{width:100%!important;min-height:48px!important;border-radius:18px!important}
    .ft-hero-actions .primary-action{background:linear-gradient(135deg,#102120,#006f5c)!important;box-shadow:0 18px 36px rgba(0,111,92,.20)!important}
    .ft-hero-actions .secondary-action{background:rgba(255,255,255,.9)!important;border-color:rgba(20,32,31,.10)!important}
    .ft-hero-proof,.ft-hero-pills{gap:7px!important;margin-top:15px!important}.ft-hero-proof span,.ft-hero-pills span{min-height:30px!important;padding:0 10px!important;border-radius:999px!important;background:rgba(255,255,255,.92)!important;border:1px solid rgba(0,111,92,.14)!important;box-shadow:0 10px 18px rgba(20,32,31,.04)!important;color:#23403b!important}
    .ft-hero-commercial .ft-hero-visual{padding:10px!important;border:1px solid rgba(255,255,255,.78)!important;border-radius:26px!important;background:linear-gradient(155deg,rgba(255,255,255,.95),rgba(244,249,247,.86))!important;box-shadow:0 22px 56px rgba(20,32,31,.09)!important}
    .tax-preview-clean .tax-preview-docs{grid-template-columns:1fr!important;gap:8px!important}
    .tax-preview-clean .tax-real-pdf-card{position:relative;border-radius:18px!important;padding:9px!important;overflow:hidden!important}.tax-preview-clean .tax-real-pdf-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;border-radius:999px;background:linear-gradient(90deg,#006f5c,#102120,#8f123f)}
    .tax-preview-clean .tax-real-pdf-title{padding-top:2px!important}.tax-preview-clean .tax-real-pdf-title strong{font-size:13px!important}.tax-preview-clean .tax-real-pdf-page{height:258px!important;border-radius:12px!important}
    .ft-section-tight,.ft-section{padding:30px 0!important}
    .ft-section-head{margin-bottom:14px!important}.ft-section-head h2,.ft-split h2,.ft-consultant h2,.ft-pricing h2,.ft-final-cta h2{font-size:30px!important;line-height:1!important;letter-spacing:-.06em!important}.ft-section-head p,.ft-split p,.ft-consultant p,.ft-pricing p,.ft-final-cta p{font-size:14px!important;line-height:1.46!important;color:#52645f!important}
    .ft-timeline-commercial,.ft-compare-grid,.ft-price-grid,.ft-faq-list{gap:10px!important}
    .ft-timeline-commercial .ft-step,.ft-compare,.ft-folder-preview,.ft-consultant-card,.ft-price-tier,.ft-final-cta,.ft-faq-list details{border:1px solid rgba(255,255,255,.78)!important;border-radius:22px!important;background:rgba(255,255,255,.88)!important;box-shadow:0 16px 40px rgba(20,32,31,.07)!important;backdrop-filter:blur(18px)!important}
    .ft-timeline-commercial .ft-step{position:relative;overflow:hidden!important;padding:16px!important}.ft-timeline-commercial .ft-step:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#006f5c,#102120,#8f123f)}.ft-timeline-commercial .ft-step h3{font-size:18px!important}
    .ft-compare{padding:14px!important}.ft-compare li,.ft-folder-commercial .ft-folder-group li,.ft-checklist span,.ft-price-card li,.ft-faq-list p{font-size:12.8px!important}
    .ft-folder-commercial{grid-template-columns:1fr!important}.ft-folder-commercial .ft-folder-title{padding:15px!important;font-size:18px!important;background:linear-gradient(135deg,#102120,#006f5c)!important}.ft-folder-commercial .ft-folder-group{padding:12px!important}
    .ft-consultant-card,.ft-price-tier,.ft-final-cta{padding:16px!important}.ft-checklist div{border-radius:16px!important;padding:10px 11px!important}.ft-checklist b{box-shadow:0 10px 18px rgba(20,32,31,.12)}
    .ft-price-tier strong{font-size:31px!important}.ft-final-cta-commercial{background:linear-gradient(135deg,#102120,#0e4641)!important;box-shadow:0 24px 60px rgba(20,32,31,.18)!important}

    .home-core-shell{gap:12px!important}
    .home-core-hero{position:relative;grid-template-columns:1fr!important;gap:12px!important;padding:18px 16px 16px!important;border:1px solid rgba(255,255,255,.8)!important;border-radius:30px!important;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(244,250,247,.86))!important;box-shadow:0 20px 50px rgba(20,32,31,.08)!important;overflow:hidden!important;backdrop-filter:blur(18px)!important}
    .home-core-hero:before{content:"";position:absolute;right:-24px;top:-30px;width:126px;height:126px;border-radius:32px;background:radial-gradient(circle,rgba(0,111,92,.18),transparent 68%)}
    .home-core-hero:after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:4px;border-radius:999px;background:linear-gradient(90deg,#006f5c,#102120,#8f123f)}
    .home-core-hero > *{position:relative;z-index:1}
    .home-core-hero h2{font-size:34px!important;line-height:.94!important;letter-spacing:-.07em!important;margin:8px 0 8px!important;max-width:94%}.home-core-hero p{font-size:13.6px!important;line-height:1.42!important;color:#53645f!important}
    .home-core-year{grid-template-columns:auto 1fr!important;align-items:center!important;gap:10px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:24px!important;padding:14px 14px 14px 15px!important;background:linear-gradient(135deg,#102120,#006f5c)!important;box-shadow:0 18px 36px rgba(0,111,92,.18)!important}
    .home-core-year:before{content:"📅";display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.12);font-size:18px}.home-core-year strong{font-size:34px!important}.home-core-year span,.home-core-year small{display:block!important}
    .home-core-cta{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:14px!important;border:1px solid rgba(255,255,255,.78)!important;border-radius:24px!important;background:rgba(255,255,255,.88)!important;box-shadow:0 16px 40px rgba(20,32,31,.07)!important}.home-core-cta .primary-action{width:100%!important;min-height:50px!important;border-radius:18px!important;background:linear-gradient(135deg,#102120,#006f5c)!important;box-shadow:0 18px 34px rgba(0,111,92,.2)!important}
    .home-core-steps{grid-template-columns:1fr!important;gap:10px!important}
    .home-core-step{position:relative;overflow:hidden!important;border:1px solid rgba(255,255,255,.78)!important;border-radius:22px!important;background:rgba(255,255,255,.88)!important;box-shadow:0 16px 38px rgba(20,32,31,.065)!important;padding:14px!important}.home-core-step:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#006f5c,#102120)}.home-core-step span{padding:5px 9px!important;box-shadow:0 8px 18px rgba(20,32,31,.12)!important}.home-core-step b{font-size:20px!important;letter-spacing:-.04em!important}.home-core-step small{font-size:12.8px!important;line-height:1.34!important;color:#596b66!important}
    .home-core-note,.home-core-danger{display:grid!important;gap:6px!important;padding:14px!important;border:1px solid rgba(255,255,255,.78)!important;border-radius:24px!important;box-shadow:0 16px 40px rgba(20,32,31,.07)!important}
    .home-core-note{background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(242,249,246,.86))!important}.home-core-note strong{font-size:20px!important;letter-spacing:-.04em!important}.home-core-note p{font-size:13px!important;line-height:1.4!important}
    .home-core-danger{background:linear-gradient(145deg,#fff9f9,#fff)!important;border-color:rgba(190,18,60,.12)!important}.home-core-danger .danger-action{width:100%!important;min-height:46px!important;border-radius:16px!important}

    .source-wallet-header.compact-core-card{position:relative;padding:16px!important;border:1px solid rgba(255,255,255,.8)!important;border-radius:30px!important;background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(245,251,248,.88))!important;box-shadow:0 20px 52px rgba(20,32,31,.08)!important;overflow:hidden!important}
    .source-wallet-header.compact-core-card:before{content:"";position:absolute;right:-28px;top:-34px;width:138px;height:138px;border-radius:32px;background:radial-gradient(circle,rgba(0,111,92,.18),transparent 68%)}
    .source-wallet-header.compact-core-card:after{content:"";position:absolute;left:16px;right:16px;top:0;height:5px;border-radius:999px;background:linear-gradient(90deg,#006f5c,#102120,#8f123f)}
    .source-wallet-header.compact-core-card > *{position:relative;z-index:1}
    .source-head.core-page-head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:start!important}.source-head.core-page-head h2{font-size:31px!important;line-height:.98!important;letter-spacing:-.06em!important}.source-head.core-page-head .primary-action.large{width:100%!important;min-height:50px!important;border-radius:18px!important;background:linear-gradient(135deg,#102120,#006f5c)!important;box-shadow:0 18px 34px rgba(0,111,92,.2)!important}
    .connected-source-section-title{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-top:14px!important;padding:0 2px!important}.connected-source-section-title b{font-size:14px!important}.connected-source-section-title small{display:inline-grid!important;place-items:center!important;min-width:28px!important;height:28px!important;border-radius:999px!important;background:#102120!important;color:#fff!important;font-weight:900!important}
    .connected-source-list{gap:10px!important}.connected-source-row,.connected-wallet-row,.connected-csv-row{grid-template-columns:1fr auto!important;gap:10px!important;align-items:flex-start!important;padding:12px!important;border:1px solid rgba(0,111,92,.12)!important;border-radius:22px!important;background:rgba(255,255,255,.9)!important;box-shadow:0 12px 28px rgba(20,32,31,.05)!important}.connected-source-main{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:10px!important;align-items:flex-start!important}.connected-source-main .source-favicon{width:42px!important;height:42px!important;border-radius:15px!important;padding:6px!important;box-shadow:0 0 0 1px rgba(20,32,31,.08),0 9px 16px rgba(20,32,31,.06)!important;background:#fff!important}.connected-source-main strong{display:block!important;font-size:15px!important;letter-spacing:-.03em!important}.connected-source-main small{display:block!important;margin-top:4px!important;font-size:11.5px!important;line-height:1.33!important;color:#5f706b!important}.source-connected-status{display:inline-flex!important;align-items:center!important;gap:4px!important;margin-top:4px!important;padding:2px 8px!important;border-radius:999px!important;background:#e8f6ef!important;color:#006f5c!important;font-size:10px!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.06em!important}.connected-source-delete{display:flex!important;justify-content:flex-end!important}.trash-action{width:42px!important;height:42px!important;min-width:42px!important;border-radius:14px!important;background:#fff!important;box-shadow:0 8px 18px rgba(20,32,31,.05)!important}
    .empty-connected-sources{padding:18px 14px!important;border:1px dashed rgba(0,111,92,.18)!important;border-radius:22px!important;background:rgba(255,255,255,.74)!important}.empty-connected-sources b{font-size:16px!important}
    .source-wizard-pending-panel{display:grid!important;gap:10px!important;margin:12px 0 4px!important;padding:13px!important;border:1px solid rgba(228,170,66,.24)!important;border-radius:24px!important;background:linear-gradient(145deg,rgba(255,249,235,.94),rgba(255,255,255,.88))!important;box-shadow:0 12px 28px rgba(20,32,31,.05)!important}.source-wizard-pending-head{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;align-items:start!important}.source-wizard-pending-head b{font-size:15px!important;letter-spacing:-.03em!important}.source-wizard-pending-head small{font-size:11.5px!important;line-height:1.34!important;color:#7a673b!important}.source-wizard-pending-list{display:grid!important;gap:8px!important}.source-wizard-pending-row{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:10px!important;align-items:start!important;padding:11px!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 22px rgba(20,32,31,.04)!important}.source-wizard-pending-row .source-favicon{width:40px!important;height:40px!important;border-radius:14px!important;padding:6px!important;background:#fff!important}.source-wizard-pending-row strong{display:block!important;font-size:14px!important}.source-wizard-pending-row small{display:block!important;margin-top:4px!important;font-size:11.4px!important;color:#6b6d57!important}.source-wizard-pending-row .source-import-resume-button{grid-column:1/-1!important;width:100%!important;border-radius:14px!important;min-height:38px!important}
    .add-source-panel,.source-browser,.source-add-page-shell,.source-add-panel-compact,.source-add-form-card,.source-catalog-card,.source-selector-card,.source-add-card,.add-source-choice-card,.wallet-connect-card,.wallet-phone-card,.wallet-tax-card,.diagnostic-center-card,.diagnostic-card{border:1px solid rgba(255,255,255,.78)!important;border-radius:24px!important;background:rgba(255,255,255,.88)!important;box-shadow:0 16px 40px rgba(20,32,31,.065)!important;backdrop-filter:blur(18px)!important}
    .add-source-panel,.source-browser,.source-add-page-shell,.source-add-panel-compact,.source-add-form-card,.wallet-connect-card,.wallet-phone-card,.wallet-tax-card{padding:14px!important}
    .source-browser-head,.source-add-panel-head,.wallet-add-head,.source-add-form-head{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}.source-browser-head h3,.source-add-panel-head h3,.wallet-add-head h3,.source-add-form-head h3{font-size:24px!important;line-height:1!important;letter-spacing:-.05em!important}
    .source-category-tabs,.source-add-tabs,.exchange-selector-grid,.add-source-choice-grid,.source-choice-grid-compact{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}.source-category-tab,.source-add-tab,.exchange-selector-item,.source-add-csv-button,.add-source-choice-card,.source-add-card{min-height:52px!important;border-radius:18px!important;padding:12px!important;border:1px solid rgba(20,32,31,.08)!important;background:linear-gradient(145deg,#fff,#f8fbfa)!important;box-shadow:0 10px 22px rgba(20,32,31,.04)!important}.source-category-tab.active,.source-add-tab.active,.exchange-selector-item.active,.source-add-card.active{background:linear-gradient(145deg,#102120,#006f5c)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 18px 34px rgba(0,111,92,.18)!important}
    .source-browser-grid,.source-add-grid,.source-choice-grid-compact{gap:10px!important}
    .source-catalog-card{grid-template-columns:1fr!important;gap:10px!important;padding:14px!important;position:relative;overflow:hidden!important}.source-catalog-card:before{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:linear-gradient(90deg,#006f5c,#102120,#8f123f)}.source-catalog-main,.source-catalog-actions{position:relative;z-index:1}.source-catalog-main strong,.source-add-card-top strong,.wallet-connection-line strong{font-size:16px!important;letter-spacing:-.035em!important}.source-catalog-main p,.source-add-card p{font-size:12.4px!important;line-height:1.36!important;color:#5a6b67!important}.source-catalog-actions{justify-content:stretch!important}.source-catalog-actions .primary-action,.source-catalog-actions .secondary-action{width:100%!important;min-height:42px!important;border-radius:15px!important}
    .source-permission-badges{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:8px!important}.source-permission-badges span{min-height:24px!important;padding:0 8px!important;border-radius:999px!important;background:#f4f8f7!important;border:1px solid rgba(20,32,31,.06)!important;font-size:9.6px!important;font-weight:900!important;color:#5d6c69!important}
    .source-modal{padding:0!important;background:rgba(11,21,20,.34)!important}.modal-card,.source-modal-card,.source-api-modal-card,.source-onboarding-modal-card,.manual-wallet-modal-card,.exchange-selector-modal-card{width:min(100vw - 18px,640px)!important;max-width:640px!important;margin:auto!important;border:1px solid rgba(255,255,255,.82)!important;border-radius:28px!important;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(246,251,249,.9))!important;box-shadow:0 28px 70px rgba(20,32,31,.18)!important;padding:16px!important;overflow:hidden!important}
    .modal-head{display:grid!important;grid-template-columns:1fr auto!important;gap:10px!important;align-items:start!important;margin-bottom:10px!important}.modal-head h2{font-size:28px!important;line-height:.98!important;letter-spacing:-.06em!important;margin-top:4px!important}.modal-head p{font-size:12.8px!important;line-height:1.38!important;color:#556762!important}.modal-close{width:42px!important;height:42px!important;border-radius:15px!important;background:#fff!important;border:1px solid rgba(20,32,31,.08)!important;box-shadow:0 10px 18px rgba(20,32,31,.05)!important}
    .source-onboarding-wizard,.csv-onboarding-wizard{display:grid!important;gap:12px!important;padding:12px!important;border:1px solid rgba(0,111,92,.12)!important;border-radius:22px!important;background:rgba(255,255,255,.82)!important}.source-onboarding-steps{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:0!important;margin:0!important;list-style:none!important}.source-onboarding-steps li{display:grid!important;gap:4px!important;padding:10px!important;border-radius:16px!important;background:#f6faf8!important;border:1px solid rgba(20,32,31,.06)!important}.source-onboarding-steps li span{display:grid!important;place-items:center!important;width:26px!important;height:26px!important;border-radius:999px!important;background:#102120!important;color:#fff!important;font-size:11px!important;font-weight:900!important}.source-onboarding-steps li b{font-size:13px!important;letter-spacing:-.03em!important}.source-onboarding-steps li small{font-size:10.6px!important;line-height:1.22!important;color:#60706b!important}.source-onboarding-steps li.active,.source-onboarding-steps li.done{background:#eef8f3!important;border-color:rgba(0,111,92,.12)!important}
    .source-onboarding-body{display:grid!important;gap:12px!important}.source-onboarding-progress,.source-onboarding-integration,.source-onboarding-ready{padding:12px!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 20px rgba(20,32,31,.04)!important}.source-onboarding-progress-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-bottom:8px!important}.source-onboarding-progress-head b{font-size:14px!important;letter-spacing:-.03em!important}.source-onboarding-progress-head span{display:inline-grid!important;place-items:center!important;min-width:46px!important;height:28px!important;border-radius:999px!important;background:#102120!important;color:#fff!important;font-size:11px!important;font-weight:900!important}.source-onboarding-track{height:10px!important;border-radius:999px!important;background:#edf2f0!important;overflow:hidden!important}.source-onboarding-track i{display:block!important;height:100%!important;border-radius:999px!important;background:linear-gradient(90deg,#006f5c,#102120)!important}
    .source-onboarding-integration b,.source-onboarding-ready b{display:block!important;font-size:15px!important;letter-spacing:-.03em!important;margin-bottom:6px!important}.source-onboarding-integration p,.source-onboarding-ready p{font-size:12.5px!important;line-height:1.36!important;color:#566662!important}.source-import-supplemental-form,.source-import-ack-form,.manual-csv-form,.source-api-form,.wallet-connect-form,.wallet-standalone-form,.manual-wallet-address-form{display:grid!important;gap:10px!important}.source-import-supplemental-form label,.source-import-ack-form label,.manual-csv-form label,.source-api-form label,.wallet-connect-form label,.wallet-standalone-form label,.manual-wallet-address-form label,.binance-fiscal-preview-form label,.okx-future-diagnostic-form label,.okx-live-diagnostic-form label,.bybit-exchange-diagnostic-form label,.coinbase-diagnostic-form label,.asterdex-diagnostic-form label{display:grid!important;gap:6px!important;font-size:12px!important;font-weight:800!important;color:#4f615d!important}.source-import-supplemental-form input,.source-import-ack-form input,.manual-csv-form input,.source-api-form input,.wallet-connect-form input,.wallet-standalone-form input,.manual-wallet-address-form input,.source-api-form textarea,.source-api-form select,.source-browser input,.source-search-label input{min-height:46px!important;border-radius:15px!important;border:1px solid rgba(20,32,31,.10)!important;background:#fff!important;padding:12px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)!important}.source-api-form textarea{min-height:130px!important;resize:vertical!important}
    .button-row,.source-catalog-actions,.source-import-resume-footer,.wallet-diagnostic-top,.bybit-main-actions,.okx-direct-runner-actions,.coinbase-worker-actions,.asterdex-worker-actions,.okx-worker-actions,.bybit-worker-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.button-row .primary-action,.button-row .secondary-action,.button-row .danger-action,.source-import-resume-footer .secondary-action{width:100%!important;min-height:42px!important;border-radius:15px!important}
  }
  @media(max-width:430px){
    .public-links a{padding-inline:10px!important;font-size:11.5px!important}.ft-hero-commercial .ft-hero-copy h1{font-size:33px!important}.tax-preview-clean .tax-real-pdf-page{height:228px!important}.source-onboarding-steps{grid-template-columns:1fr!important}.source-category-tabs,.source-add-tabs,.exchange-selector-grid,.add-source-choice-grid,.source-choice-grid-compact{grid-template-columns:1fr!important}
  }


  /* Step 612 — premium fintech brand pass focused on Landing and Home. */
  @media(max-width:760px){
    .public-shell{
      position:relative!important;
      background:
        radial-gradient(circle at 16% -6%,rgba(0,111,92,.22),transparent 22rem),
        radial-gradient(circle at 92% 10%,rgba(143,18,63,.13),transparent 19rem),
        radial-gradient(circle at 50% 92%,rgba(228,170,66,.10),transparent 20rem),
        linear-gradient(180deg,#f9fbfa 0%,#edf4f1 42%,#f8f4ec 100%)!important;
      overflow:hidden!important;
    }
    .public-shell:before{
      content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
      background:
        linear-gradient(rgba(20,32,31,.032) 1px,transparent 1px),
        linear-gradient(90deg,rgba(20,32,31,.024) 1px,transparent 1px);
      background-size:32px 32px;
      mask-image:linear-gradient(180deg,rgba(0,0,0,.32),transparent 64%);
    }
    .public-shell:after{
      content:"";position:fixed;right:-86px;top:148px;width:214px;height:214px;border-radius:999px;
      background:radial-gradient(circle,rgba(0,111,92,.18),transparent 68%);
      filter:blur(2px);pointer-events:none;z-index:0;animation:ft-premium-float 7s ease-in-out infinite;
    }
    @keyframes ft-premium-float{0%,100%{transform:translate3d(0,0,0) scale(1);opacity:.68}50%{transform:translate3d(-18px,18px,0) scale(1.08);opacity:1}}
    .public-header,.public-wrap,.public-footer{position:relative!important;z-index:1!important}

    .ft-hero-commercial{
      position:relative!important;
      padding:14px 0 22px!important;
      gap:12px!important;
    }
    .ft-hero-commercial:before{
      content:"";position:absolute;left:10px;right:10px;top:4px;height:150px;border-radius:34px;
      background:linear-gradient(135deg,rgba(16,33,31,.06),rgba(0,111,92,.08),rgba(143,18,63,.05));
      filter:blur(.1px);z-index:0;
    }
    .ft-hero-commercial > *{position:relative!important;z-index:1!important}
    .ft-hero-commercial .ft-hero-copy{
      border-radius:34px!important;
      padding:20px 17px 17px!important;
      background:
        radial-gradient(circle at 90% 8%,rgba(0,111,92,.20),transparent 26%),
        radial-gradient(circle at 0% 88%,rgba(228,170,66,.14),transparent 24%),
        linear-gradient(145deg,rgba(255,255,255,.96),rgba(245,251,248,.84))!important;
      box-shadow:
        0 24px 70px rgba(20,32,31,.10),
        inset 0 1px 0 rgba(255,255,255,.78)!important;
    }
    .ft-hero-commercial .ft-hero-copy:before{
      right:-32px!important;top:-42px!important;width:156px!important;height:156px!important;border-radius:42px!important;
      background:
        radial-gradient(circle at 30% 30%,rgba(255,255,255,.7),transparent 20%),
        linear-gradient(145deg,rgba(0,111,92,.22),rgba(16,33,31,.08))!important;
      transform:rotate(10deg)!important;
    }
    .ft-hero-commercial .ft-hero-copy:after{
      left:17px!important;right:17px!important;height:5px!important;
      background:linear-gradient(90deg,#006f5c 0%,#102120 48%,#8f123f 100%)!important;
      box-shadow:0 -10px 24px rgba(0,111,92,.12)!important;
    }
    .ft-hero-commercial .ft-hero-copy .status-badge{
      min-height:29px!important;padding:5px 11px!important;border-color:rgba(0,111,92,.18)!important;
      background:rgba(237,248,243,.92)!important;color:#00594c!important;letter-spacing:.105em!important;
    }
    .ft-hero-commercial .ft-hero-copy h1{
      max-width:96%!important;
      margin:4px 0 12px!important;
      font-size:36px!important;
      line-height:.91!important;
      letter-spacing:-.078em!important;
      color:#102120!important;
      text-wrap:balance;
    }
    .ft-hero-commercial .ft-hero-lead{
      max-width:96%!important;
      font-size:15.2px!important;
      line-height:1.45!important;
      font-weight:720!important;
      color:#30423e!important;
    }
    .ft-hero-actions{
      grid-template-columns:1fr!important;
      gap:10px!important;
      margin-top:18px!important;
    }
    .ft-hero-actions .primary-action,.ft-hero-actions .secondary-action{
      min-height:50px!important;border-radius:19px!important;font-size:14px!important;font-weight:900!important;
      letter-spacing:-.015em!important;
    }
    .ft-hero-actions .primary-action{
      background:
        radial-gradient(circle at 80% 0%,rgba(255,255,255,.16),transparent 30%),
        linear-gradient(135deg,#102120,#006f5c)!important;
      box-shadow:0 20px 42px rgba(0,111,92,.24),inset 0 1px 0 rgba(255,255,255,.15)!important;
    }
    .ft-hero-actions .secondary-action{
      background:rgba(255,255,255,.76)!important;
      border-color:rgba(16,33,31,.10)!important;
      box-shadow:0 12px 24px rgba(20,32,31,.05)!important;
    }
    .ft-hero-proof{
      display:grid!important;
      grid-template-columns:1fr 1fr!important;
      gap:8px!important;
      margin-top:16px!important;
    }
    .ft-hero-proof span{
      justify-content:center!important;
      min-height:36px!important;
      padding:0 9px!important;
      border:1px solid rgba(0,111,92,.13)!important;
      background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(246,251,249,.86))!important;
      box-shadow:0 12px 24px rgba(20,32,31,.055)!important;
      font-size:11px!important;
      color:#40524e!important;
      white-space:normal!important;
      text-align:center!important;
    }
    .ft-hero-proof span b{color:#102120!important;font-weight:950!important}

    .ft-hero-commercial .ft-hero-visual{
      position:relative!important;
      border-radius:30px!important;
      padding:11px!important;
      background:
        radial-gradient(circle at 90% 0%,rgba(143,18,63,.09),transparent 30%),
        linear-gradient(150deg,rgba(255,255,255,.94),rgba(239,248,244,.84))!important;
      box-shadow:0 24px 68px rgba(20,32,31,.105)!important;
      overflow:hidden!important;
    }
    .ft-hero-commercial .ft-hero-visual:before{
      content:"";position:absolute;left:13px;right:13px;top:13px;height:48px;border-radius:18px;
      background:linear-gradient(135deg,#102120,#0b4e46);
      opacity:.96;box-shadow:0 16px 34px rgba(20,32,31,.18);
    }
    .ft-hero-commercial .ft-hero-visual:after{
      content:"REPORT";position:absolute;left:28px;top:29px;z-index:2;
      color:rgba(255,255,255,.86);font-size:10px;font-weight:950;letter-spacing:.18em;
    }
    .tax-preview-clean{
      position:relative!important;
      z-index:1!important;
      padding-top:58px!important;
    }
    .tax-preview-clean .tax-preview-docs{
      display:grid!important;
      grid-template-columns:1fr!important;
      gap:9px!important;
    }
    .tax-preview-clean .tax-real-pdf-card{
      border-radius:20px!important;
      padding:10px!important;
      border-color:rgba(255,255,255,.82)!important;
      box-shadow:0 18px 46px rgba(20,32,31,.09)!important;
      transform:translateZ(0);
    }
    .tax-preview-clean .tax-real-pdf-card:nth-child(2){
      margin-top:-16px!important;
      margin-left:18px!important;
      width:calc(100% - 18px)!important;
      transform:rotate(.65deg)!important;
    }
    .tax-preview-clean .tax-real-pdf-title{
      min-height:38px!important;
      padding:0 2px 4px!important;
    }
    .tax-preview-clean .tax-real-pdf-title strong{
      font-size:13.4px!important;
      letter-spacing:-.03em!important;
    }
    .tax-preview-clean .tax-real-pdf-title small{
      font-size:10px!important;
      font-weight:760!important;
    }
    .tax-preview-clean .tax-real-pdf-page{
      height:220px!important;
      border-radius:14px!important;
      box-shadow:inset 0 0 0 1px rgba(20,32,31,.035)!important;
    }

    .ft-section-tight,.ft-section{
      position:relative!important;
      border-top:0!important;
      padding:28px 0!important;
    }
    .ft-section-tight:before,.ft-section:before{
      content:"";display:block;width:54px;height:4px;border-radius:999px;
      background:linear-gradient(90deg,#006f5c,#102120,#8f123f);
      margin:0 0 18px;
      opacity:.9;
    }
    .ft-section-head h2,.ft-split h2,.ft-consultant h2,.ft-pricing h2,.ft-final-cta h2{
      font-size:31px!important;
      line-height:.97!important;
      letter-spacing:-.068em!important;
      text-wrap:balance;
    }
    .ft-section-head p,.ft-split p,.ft-consultant p,.ft-pricing p,.ft-final-cta p{
      max-width:96%!important;
      font-size:14.1px!important;
      line-height:1.48!important;
      font-weight:680!important;
      color:#53645f!important;
    }
    .ft-timeline-commercial .ft-step{
      min-height:0!important;
      padding:16px 16px 15px!important;
      border-radius:24px!important;
      background:
        radial-gradient(circle at 100% 0%,rgba(0,111,92,.08),transparent 36%),
        rgba(255,255,255,.90)!important;
      box-shadow:0 18px 46px rgba(20,32,31,.075)!important;
    }
    .ft-timeline-commercial .ft-step span{
      width:34px!important;height:34px!important;
      background:linear-gradient(135deg,#102120,#006f5c)!important;
      box-shadow:0 12px 22px rgba(0,111,92,.15)!important;
    }
    .ft-timeline-commercial .ft-step h3{font-size:19px!important;letter-spacing:-.045em!important}
    .ft-timeline-commercial .ft-step p{font-size:13px!important;color:#53645f!important}
    .ft-compare,.ft-folder-preview,.ft-consultant-card,.ft-price-tier,.ft-faq-list details{
      border-radius:24px!important;
      box-shadow:0 18px 46px rgba(20,32,31,.07)!important;
    }
    .ft-compare.active{
      background:
        radial-gradient(circle at 100% 0%,rgba(0,111,92,.10),transparent 34%),
        linear-gradient(145deg,#fff,#eff9f5)!important;
      border-color:rgba(0,111,92,.18)!important;
    }
    .ft-folder-commercial .ft-folder-title{
      border-radius:23px 23px 0 0!important;
      background:
        radial-gradient(circle at 92% 0%,rgba(255,255,255,.14),transparent 28%),
        linear-gradient(135deg,#102120,#006f5c)!important;
      min-height:76px!important;
      align-items:flex-end!important;
    }
    .ft-folder-commercial .ft-folder-group{
      background:rgba(255,255,255,.92)!important;
    }
    .ft-final-cta-commercial{
      border-radius:28px!important;
      padding:19px 16px!important;
      background:
        radial-gradient(circle at 100% 0%,rgba(255,255,255,.12),transparent 34%),
        linear-gradient(135deg,#102120,#0e4641)!important;
      box-shadow:0 28px 76px rgba(20,32,31,.24)!important;
      overflow:hidden!important;
    }
    .ft-final-cta-commercial:after{
      content:"";position:absolute;right:-46px;bottom:-54px;width:142px;height:142px;border-radius:999px;
      background:rgba(228,170,66,.16);filter:blur(1px);
    }

    .home-core-shell{
      position:relative!important;
      gap:12px!important;
    }
    .home-core-shell:before{
      content:"";position:absolute;left:8px;right:8px;top:8px;height:170px;border-radius:36px;
      background:linear-gradient(135deg,rgba(0,111,92,.08),rgba(16,33,31,.05),rgba(143,18,63,.045));
      z-index:0;
    }
    .home-core-shell > *{position:relative!important;z-index:1!important}
    .home-core-hero{
      border-radius:34px!important;
      padding:20px 17px 17px!important;
      background:
        radial-gradient(circle at 92% 8%,rgba(0,111,92,.20),transparent 26%),
        radial-gradient(circle at 0% 88%,rgba(228,170,66,.12),transparent 25%),
        linear-gradient(145deg,rgba(255,255,255,.96),rgba(244,251,247,.86))!important;
      box-shadow:0 24px 70px rgba(20,32,31,.10),inset 0 1px 0 rgba(255,255,255,.78)!important;
    }
    .home-core-hero:before{
      right:-36px!important;top:-46px!important;width:164px!important;height:164px!important;border-radius:44px!important;
      background:
        radial-gradient(circle at 30% 30%,rgba(255,255,255,.66),transparent 20%),
        linear-gradient(145deg,rgba(0,111,92,.22),rgba(16,33,31,.08))!important;
      transform:rotate(10deg)!important;
    }
    .home-core-hero h2{
      max-width:92%!important;
      font-size:35px!important;
      line-height:.91!important;
      letter-spacing:-.078em!important;
      text-wrap:balance;
    }
    .home-core-hero p{
      max-width:96%!important;
      font-size:13.6px!important;
      line-height:1.45!important;
      font-weight:700!important;
      color:#53645f!important;
    }
    .home-core-year{
      position:relative!important;
      overflow:hidden!important;
      border-radius:26px!important;
      background:
        radial-gradient(circle at 90% 0%,rgba(255,255,255,.18),transparent 30%),
        linear-gradient(135deg,#102120,#006f5c)!important;
      box-shadow:0 22px 46px rgba(0,111,92,.22)!important;
    }
    .home-core-year:after{
      content:"";position:absolute;right:-28px;bottom:-34px;width:92px;height:92px;border-radius:999px;
      background:rgba(228,170,66,.16);
    }
    .home-core-year > *{position:relative!important;z-index:1!important}
    .home-core-cta{
      border-radius:26px!important;
      padding:15px!important;
      background:
        radial-gradient(circle at 100% 0%,rgba(0,111,92,.08),transparent 34%),
        rgba(255,255,255,.92)!important;
      box-shadow:0 20px 52px rgba(20,32,31,.08)!important;
    }
    .home-core-cta b{
      font-size:17px!important;
      letter-spacing:-.035em!important;
      color:#102120!important;
    }
    .home-core-cta span{
      font-size:12.7px!important;
      line-height:1.35!important;
    }
    .home-core-cta .primary-action{
      min-height:52px!important;
      border-radius:19px!important;
      font-size:14px!important;
      font-weight:920!important;
    }
    .home-core-steps{
      counter-reset:homePremiumStep;
    }
    .home-core-step{
      grid-template-columns:auto minmax(0,1fr)!important;
      gap:6px 12px!important;
      align-items:start!important;
      padding:15px!important;
      border-radius:25px!important;
      background:
        radial-gradient(circle at 100% 0%,rgba(0,111,92,.075),transparent 34%),
        rgba(255,255,255,.92)!important;
      box-shadow:0 18px 46px rgba(20,32,31,.07)!important;
    }
    .home-core-step:before{
      width:6px!important;
      border-radius:999px!important;
      background:linear-gradient(180deg,#006f5c,#102120,#8f123f)!important;
    }
    .home-core-step span{
      grid-row:1 / span 2!important;
      width:40px!important;height:40px!important;
      display:grid!important;place-items:center!important;
      padding:0!important;
      background:linear-gradient(135deg,#102120,#006f5c)!important;
      box-shadow:0 14px 24px rgba(0,111,92,.18)!important;
    }
    .home-core-step b{
      font-size:21px!important;
      line-height:1.02!important;
      letter-spacing:-.055em!important;
    }
    .home-core-step small{
      font-size:12.7px!important;
      line-height:1.36!important;
      font-weight:680!important;
    }
    .home-core-note{
      border-radius:26px!important;
      padding:16px!important;
      background:
        radial-gradient(circle at 100% 0%,rgba(0,111,92,.10),transparent 35%),
        linear-gradient(145deg,rgba(255,255,255,.94),rgba(239,249,244,.86))!important;
      box-shadow:0 20px 52px rgba(20,32,31,.08)!important;
    }
    .home-core-note strong{
      max-width:94%!important;
      font-size:22px!important;
      line-height:1.02!important;
      letter-spacing:-.058em!important;
    }
  }

  @media(max-width:430px){
    .ft-hero-commercial .ft-hero-copy h1{font-size:32px!important}
    .ft-hero-proof{grid-template-columns:1fr!important}
    .tax-preview-clean .tax-real-pdf-page{height:198px!important}
    .home-core-hero h2{font-size:32px!important}
    .home-core-step{grid-template-columns:1fr!important}
    .home-core-step span{grid-row:auto!important}
  }

  @media(orientation:landscape) and (max-height:560px){
    .ft-hero-commercial .ft-hero-copy,.home-core-hero{border-radius:24px!important;padding:15px!important}
    .ft-hero-commercial .ft-hero-copy h1,.home-core-hero h2{font-size:30px!important;line-height:.95!important}
    .ft-hero-proof{grid-template-columns:repeat(4,minmax(0,1fr))!important}
    .tax-preview-clean .tax-preview-docs{grid-template-columns:1fr 1fr!important}
    .tax-preview-clean .tax-real-pdf-card:nth-child(2){margin:0!important;width:100%!important;transform:none!important}
    .tax-preview-clean .tax-real-pdf-page{height:170px!important}
  }


  /* Step 613 — polish from mobile PDF review: topbar fit, modal fit, report readability. */
  @media(max-width:760px){
    .app-topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;overflow:visible!important}
    .app-topbar .brand-lockup{min-width:0!important;max-width:100%!important;position:relative!important;z-index:1!important}
    .app-topbar .brand-lockup img{max-width:128px!important;height:36px!important;object-fit:contain!important}
    .app-topbar .user-box{justify-self:end!important;position:relative!important;z-index:2!important;max-width:min(100%,268px)!important;overflow:visible!important;background:rgba(255,255,255,.88)!important}
    .app-topbar .profile-topbar-link{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
    .app-topbar .notification-toggle,.app-topbar .admin-mail-toggle{height:36px!important;min-height:36px!important;min-width:74px!important;padding:0 8px!important;gap:6px!important;white-space:nowrap!important;overflow:hidden!important}
    .app-topbar .notification-label{font-size:9px!important;min-width:auto!important;letter-spacing:.06em!important}.app-topbar .admin-mail-word{font-size:10px!important}.app-topbar .logout-button{height:36px!important;min-height:36px!important;white-space:nowrap!important}

    .report-after-calc-compact{color:#102120!important;background:linear-gradient(158deg,rgba(255,255,255,.96),rgba(241,249,246,.91))!important;isolation:isolate!important}
    .report-after-calc-compact:after{opacity:.28!important;z-index:0!important}.report-after-calc-compact:before{z-index:0!important}
    .report-after-calc-compact > *{position:relative!important;z-index:2!important;opacity:1!important;filter:none!important}
    .report-ready-row h2{color:#102120!important;text-shadow:none!important;opacity:1!important}.report-ready-row p{color:#4f625d!important;opacity:1!important}.report-ready-row .status-badge{opacity:1!important;color:#006f5c!important;background:#e8f7f0!important;border-color:#bddfce!important}
    .report-soul-visual{background:linear-gradient(145deg,#102120 0%,#005548 62%,#007b66 100%)!important;opacity:1!important}.report-soul-visual *{opacity:1!important}
    .report-compact-pills span{color:#102120!important;background:#fff!important;border-color:#dfe9e4!important;opacity:1!important}.report-compact-pills span:before{background:#006f5c!important;opacity:1!important}
    .report-file-tree{color:#102120!important;background:rgba(255,255,255,.96)!important;opacity:1!important;filter:none!important}.report-file-tree *{color:inherit!important;opacity:1!important;filter:none!important}.report-file-tree .tree-root{color:#52645f!important;word-break:break-word!important;white-space:normal!important}.report-file-tree .tree-group li{white-space:normal!important;overflow-wrap:anywhere!important;color:#60706b!important}.report-file-tree .file-dot{background:#006f5c!important;color:#006f5c!important}.report-actions{opacity:1!important;filter:none!important}.report-actions .primary-action{opacity:1!important;color:#fff!important;background:linear-gradient(135deg,#102120,#006f5c)!important}

    .source-modal{border:0!important;background:transparent!important;box-shadow:none!important;padding:8px!important;width:min(100vw - 10px,680px)!important;max-width:min(100vw - 10px,680px)!important;max-height:calc(100dvh - 10px)!important;height:auto!important;overflow:visible!important;color:#102120!important}
    .source-modal::backdrop{background:rgba(6,16,15,.46)!important;backdrop-filter:blur(10px)!important}
    .source-modal[open]{display:grid!important;align-items:start!important;justify-items:center!important}
    .source-modal-card,.source-api-modal-card,.source-onboarding-modal-card,.manual-wallet-modal-card,.manual-csv-modal-card,.exchange-selector-modal-card{width:100%!important;max-width:640px!important;min-height:0!important;height:auto!important;max-height:calc(100dvh - 18px)!important;overflow-y:auto!important;margin:0 auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;color:#102120!important;background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(246,251,249,.93))!important}
    .modal-head{grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:8px!important}.modal-head > div{min-width:0!important}.modal-head h2{overflow-wrap:anywhere!important;color:#102120!important}.modal-head p{color:#596b66!important}.modal-head .status-badge{max-width:100%!important;white-space:normal!important}
    .modal-close{width:auto!important;min-width:42px!important;max-width:96px!important;height:42px!important;min-height:42px!important;padding:0 12px!important;white-space:nowrap!important;word-break:normal!important;overflow:hidden!important;text-overflow:clip!important;font-size:18px!important;line-height:1!important;color:#102120!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important}.modal-close[aria-label="Chiudi"]{font-weight:950!important}
    .source-onboarding-wizard,.csv-onboarding-wizard{max-height:none!important}.source-onboarding-steps{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}.source-onboarding-steps li{padding:9px 7px!important;min-width:0!important}.source-onboarding-steps li b,.source-onboarding-steps li small{overflow-wrap:normal!important;word-break:normal!important}.source-onboarding-steps li b{font-size:11.5px!important}.source-onboarding-steps li small{font-size:9.5px!important}.source-onboarding-steps li span{width:24px!important;height:24px!important}
    .source-api-form input,.source-api-form textarea,.source-api-form select,.manual-csv-form input,.manual-wallet-address-form input{font-size:14px!important}.source-api-form input::placeholder,.manual-csv-form input::placeholder,.manual-wallet-address-form input::placeholder{font-size:13px!important;color:#8a9692!important}.source-permission-badges span{word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important}
  }

  @media(max-width:430px){
    .app-topbar{grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important}.app-topbar .brand-lockup img{max-width:112px!important;height:34px!important}.app-topbar .user-box{max-width:210px!important;gap:4px!important;padding:4px!important;border-radius:22px!important}.app-topbar .profile-topbar-link,.app-topbar .notification-toggle,.app-topbar .admin-mail-toggle,.app-topbar .logout-button{width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}.app-topbar .notification-toggle .notification-label,.app-topbar .notification-toggle .notification-switch,.app-topbar .admin-mail-toggle .notification-label,.app-topbar .admin-mail-toggle .notification-switch,.app-topbar .admin-mail-toggle .admin-mail-word{display:none!important}.app-topbar .notification-bell{width:18px!important;height:18px!important}.app-topbar .admin-mail-toggle:before{content:"✉";font-size:15px;font-weight:900;line-height:1;color:#102120}.app-topbar .logout-button{font-size:0!important}.app-topbar .logout-button:after{content:"→"!important;font-size:17px!important;font-weight:950!important;color:#102120!important}
    .source-modal{padding:5px!important;width:calc(100vw - 8px)!important;max-width:calc(100vw - 8px)!important}.source-modal-card,.source-api-modal-card,.source-onboarding-modal-card{border-radius:22px!important;padding:13px!important;max-height:calc(100dvh - 10px)!important}.modal-head h2{font-size:24px!important;letter-spacing:-.055em!important}.modal-close{min-width:38px!important;height:38px!important;min-height:38px!important;padding:0 10px!important}.source-onboarding-steps{grid-template-columns:1fr 1fr!important}.source-onboarding-steps li b{font-size:12px!important}.source-onboarding-steps li small{font-size:10px!important}
  }


  /* Step 613b — final safeguards for uploaded mobile PDFs. */
  @media(max-width:760px){
    .app-nav-shell:before,.app-nav-shell:after{display:none!important;content:none!important}
    .app-nav{padding-inline:7px!important}
    .nav-item{min-width:70px!important}
    .source-modal-error.hidden{display:none!important}
    .source-modal[open]{position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;padding:8px!important;display:grid!important;place-items:start center!important;overflow:auto!important;background:transparent!important}
    .source-modal-card,.source-api-modal-card,.source-onboarding-modal-card,.manual-wallet-modal-card,.manual-csv-modal-card,.exchange-selector-modal-card{height:auto!important;min-height:0!important;max-height:calc(100dvh - 16px)!important;overflow-y:auto!important}
    .source-modal .modal-card{height:auto!important;min-height:0!important}
    .report-after-calc-compact:after{display:none!important;content:none!important}
    .report-after-calc-compact{overflow:hidden!important;background:linear-gradient(158deg,rgba(255,255,255,.97),rgba(241,249,246,.92))!important}
    .report-file-tree{max-height:52dvh!important;overflow:auto!important;color:#102120!important;background:#fff!important}
    .report-file-tree>summary{position:sticky!important;top:0!important;z-index:3!important;background:#fff!important;border-radius:16px!important;padding:2px 0!important}
    .report-file-tree .tree-root{font-size:12.5px!important;line-height:1.32!important;color:#5b6d68!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
    .report-file-tree .tree-group{padding:8px 0!important}.report-file-tree .tree-group summary{font-size:13.5px!important;line-height:1.2!important;color:#102120!important}.report-file-tree .tree-group li{font-size:11.5px!important;line-height:1.35!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;color:#61736e!important;white-space:normal!important}
  }
  @media(max-width:430px){
    .nav-item{min-width:66px!important;padding-inline:4px!important}.nav-label{font-size:9.8px!important}
    .source-onboarding-steps{grid-template-columns:1fr 1fr!important}
  }


  /* Step 614 — final mobile chrome and source-list polish from latest PDF review. */
  @media(max-width:760px){
    .app-topbar{
      display:flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;
      padding:6px 7px 6px 8px!important;min-width:0!important;overflow:visible!important;
    }
    .app-topbar .brand-lockup{flex:1 1 auto!important;min-width:0!important;max-width:145px!important;overflow:hidden!important;z-index:3!important}
    .app-topbar .brand-lockup img{max-width:132px!important;height:35px!important;object-fit:contain!important;object-position:left center!important}
    .app-topbar .user-box{flex:0 0 auto!important;max-width:202px!important;gap:4px!important;padding:4px!important;border-radius:999px!important;box-shadow:0 12px 32px rgba(20,32,31,.12)!important;z-index:4!important}
    .app-topbar .profile-topbar-link,.app-topbar .notification-toggle,.app-topbar .admin-mail-toggle,.app-topbar .logout-button{width:35px!important;min-width:35px!important;height:35px!important;min-height:35px!important;padding:0!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;white-space:nowrap!important;background:#fff!important;border:1px solid rgba(20,32,31,.08)!important}
    .app-topbar .notification-toggle .notification-label,.app-topbar .notification-toggle .notification-switch,.app-topbar .admin-mail-toggle .notification-label,.app-topbar .admin-mail-toggle .notification-switch,.app-topbar .admin-mail-toggle .admin-mail-word{display:none!important}
    .app-topbar .notification-bell{width:18px!important;height:18px!important;background:transparent!important;border:0!important}.app-topbar .notification-bell svg{width:18px!important;height:18px!important}
    .app-topbar .admin-mail-toggle:before{content:"✉";font-size:15px;font-weight:950;line-height:1;color:#102120}.app-topbar .logout-button{font-size:0!important}.app-topbar .logout-button:after{content:"→"!important;font-size:17px!important;font-weight:950!important;color:#102120!important;line-height:1!important}

    .app-nav-shell{width:calc(100vw - 12px)!important;left:50%!important;right:auto!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;overflow:hidden!important;border-radius:22px!important}
    .app-nav-shell:before,.app-nav-shell:after,.app-nav-shell.has-left-fade:before,.app-nav-shell.has-right-fade:after{display:none!important;content:none!important;opacity:0!important;width:0!important;background:none!important}
    .app-nav{height:60px!important;padding:5px 9px!important;gap:3px!important;border-radius:22px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;box-shadow:0 18px 42px rgba(20,32,31,.16)!important;background:rgba(255,255,255,.90)!important}
    .app-nav::-webkit-scrollbar{display:none!important}.nav-item{min-width:67px!important;height:50px!important;padding:0 5px!important;font-size:9.7px!important}.nav-icon svg{width:20px!important;height:20px!important}.nav-label{font-size:9.7px!important;max-width:58px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.nav-item.active{box-shadow:0 10px 22px rgba(20,32,31,.18)!important}
    .pwa-utility-badge{bottom:calc(78px + env(safe-area-inset-bottom))!important;min-height:36px!important;font-size:10.6px!important;padding-inline:11px!important}

    .source-wallet-header.compact-core-card{padding:14px!important;border-radius:28px!important}.source-head.core-page-head{gap:8px!important}.source-head.core-page-head h2{font-size:28px!important}.source-head.core-page-head .primary-action.large{min-height:48px!important}
    .connected-source-list{gap:8px!important;margin-top:10px!important}.connected-source-row,.connected-wallet-row,.connected-csv-row{min-height:0!important;padding:10px 9px!important;border-radius:19px!important;grid-template-columns:minmax(0,1fr) 34px!important;align-items:start!important;background:rgba(255,255,255,.92)!important;box-shadow:0 10px 24px rgba(20,32,31,.045)!important}.connected-source-main{grid-template-columns:38px minmax(0,1fr)!important;gap:9px!important}.connected-source-main .source-favicon{width:38px!important;height:38px!important;border-radius:14px!important;padding:5px!important}.connected-source-main strong{font-size:14.3px!important;line-height:1.08!important}.connected-source-main small{font-size:10.8px!important;line-height:1.25!important;margin-top:3px!important}.source-connected-status{margin-top:3px!important;min-height:20px!important;padding:2px 7px!important;font-size:9.2px!important;letter-spacing:.055em!important}.source-import-resume-button{width:max-content!important;min-height:31px!important;padding:0 10px!important;border-radius:999px!important;font-size:10.5px!important;margin-top:6px!important}.connected-source-delete{position:static!important;align-self:start!important;justify-self:end!important}.connected-source-delete .trash-action{width:33px!important;min-width:33px!important;height:33px!important;min-height:33px!important;border-radius:12px!important;background:rgba(255,255,255,.84)!important;color:#8c9a96!important;border:1px solid rgba(20,32,31,.06)!important;box-shadow:0 8px 18px rgba(20,32,31,.045)!important}.connected-source-delete .trash-action:hover{color:#b42338!important;background:#fff7f8!important;border-color:rgba(180,35,56,.16)!important}.trash-action .trash-icon{display:block!important;width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;transform:none!important;border:0!important}.trash-action .trash-icon path{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}.trash-action .trash-icon:before,.trash-action .trash-icon:after{display:none!important;content:none!important}
    .connected-source-section-title{margin-top:13px!important}.connected-source-section-title b{font-size:12.5px!important;letter-spacing:.08em!important}.connected-source-section-title small{min-width:26px!important;height:26px!important;font-size:11px!important}.diagnostic-center-card{border-radius:24px!important}.diagnostic-center-head{grid-template-columns:minmax(0,1fr) auto!important}.diagnostic-center-toggle{width:36px!important;height:36px!important;border-radius:12px!important;font-size:20px!important}

    .ft-hero-commercial .ft-hero-copy{padding:18px 15px 16px!important;border-radius:30px!important}.ft-hero-commercial .ft-hero-copy h1{font-size:34px!important;line-height:.93!important;letter-spacing:-.074em!important}.ft-hero-commercial .ft-hero-lead{font-size:14.4px!important;line-height:1.42!important}.ft-hero-proof span{min-height:32px!important;font-size:10.6px!important}.tax-preview-clean .tax-real-pdf-page{height:205px!important}.ft-section-head h2,.ft-split h2,.ft-consultant h2,.ft-pricing h2,.ft-final-cta h2{font-size:29px!important}.ft-timeline-commercial .ft-step,.ft-compare,.ft-folder-preview,.ft-consultant-card,.ft-price-tier,.ft-faq-list details{box-shadow:0 14px 34px rgba(20,32,31,.065)!important}
  }
  @media(max-width:430px){
    .app-topbar .brand-lockup{max-width:118px!important}.app-topbar .brand-lockup img{max-width:112px!important;height:33px!important}.app-topbar .user-box{max-width:178px!important;gap:3px!important}.app-topbar .profile-topbar-link,.app-topbar .notification-toggle,.app-topbar .admin-mail-toggle,.app-topbar .logout-button{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}.app-topbar .notification-bell,.app-topbar .notification-bell svg{width:17px!important;height:17px!important}.app-topbar .admin-mail-toggle:before{font-size:14px!important}.app-topbar .logout-button:after{font-size:16px!important}
    .app-nav{height:58px!important;padding-inline:7px!important}.nav-item{min-width:64px!important;font-size:9.3px!important}.nav-label{font-size:9.3px!important;max-width:54px!important}.source-head.core-page-head h2{font-size:26px!important}.connected-source-row,.connected-wallet-row,.connected-csv-row{grid-template-columns:minmax(0,1fr) 31px!important}.connected-source-main{grid-template-columns:36px minmax(0,1fr)!important}.connected-source-main .source-favicon{width:36px!important;height:36px!important}.connected-source-delete .trash-action{width:31px!important;min-width:31px!important;height:31px!important;min-height:31px!important}.source-import-resume-button{font-size:10px!important;padding-inline:9px!important}
    .ft-hero-commercial .ft-hero-copy h1{font-size:31px!important}.ft-hero-commercial .ft-hero-lead{font-size:13.8px!important}.tax-preview-clean .tax-real-pdf-page{height:184px!important}.home-core-hero h2{font-size:30px!important}.home-core-year strong{font-size:30px!important}.home-core-year small{font-size:11px!important}
  }


  /* Step 615 — landing first-fold order and mobile polish. */
  .landing-flow{display:flex;flex-direction:column;gap:0;min-width:0}
  .landing-flow .ft-hero-commercial{order:0!important}
  .landing-flow #come-funziona{order:10!important}
  .landing-flow #perche{order:20!important}
  .landing-flow #documenti{order:30!important}
  .landing-flow #consulente{order:40!important}
  .landing-flow #prezzi{order:50!important}
  .landing-flow #inizia{order:60!important}
  .landing-flow #faq{order:70!important}

  @media(max-width:760px){
    .landing-flow{display:flex!important;flex-direction:column!important;gap:0!important}
    .landing-flow .ft-hero-commercial{order:0!important;display:grid!important;grid-template-columns:1fr!important;margin-top:4px!important;margin-bottom:4px!important}
    .landing-flow #come-funziona{order:10!important}.landing-flow #perche{order:20!important}.landing-flow #documenti{order:30!important}.landing-flow #consulente{order:40!important}.landing-flow #prezzi{order:50!important}.landing-flow #inizia{order:60!important}.landing-flow #faq{order:70!important}
    .landing-flow .ft-hero-commercial .ft-hero-copy{margin:0!important;min-height:0!important;transform:none!important}
    .landing-flow .ft-hero-commercial .ft-hero-visual{margin:0!important;min-height:0!important;transform:none!important}
    .landing-flow .ft-hero-commercial .ft-hero-copy h1{font-size:33px!important;line-height:.92!important;letter-spacing:-.076em!important;max-width:100%!important}
    .landing-flow .ft-hero-commercial .ft-hero-lead{font-size:14.1px!important;line-height:1.42!important;max-width:100%!important}
    .landing-flow .ft-hero-actions{grid-template-columns:1fr 1fr!important;gap:8px!important;margin-top:14px!important}
    .landing-flow .ft-hero-actions .primary-action,.landing-flow .ft-hero-actions .secondary-action{min-height:45px!important;border-radius:16px!important;font-size:13.2px!important;padding-inline:10px!important}
    .landing-flow .ft-hero-proof{grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:13px!important}
    .landing-flow .ft-hero-proof span{min-height:31px!important;font-size:10.4px!important;line-height:1.15!important;padding:5px 7px!important}
    .landing-flow .tax-preview-clean{padding-top:50px!important}
    .landing-flow .tax-preview-clean .tax-preview-docs{grid-template-columns:1fr 1fr!important;gap:7px!important;align-items:stretch!important}
    .landing-flow .tax-preview-clean .tax-real-pdf-card{padding:7px!important;border-radius:16px!important;margin:0!important;width:100%!important;transform:none!important}
    .landing-flow .tax-preview-clean .tax-real-pdf-title{min-height:34px!important;padding-bottom:3px!important}
    .landing-flow .tax-preview-clean .tax-real-pdf-title strong{font-size:11.2px!important;line-height:1.05!important}
    .landing-flow .tax-preview-clean .tax-real-pdf-title small{font-size:8.8px!important;line-height:1.1!important}
    .landing-flow .tax-preview-clean .tax-real-pdf-page{height:154px!important;border-radius:11px!important}
    .landing-flow .ft-section-tight:before,.landing-flow .ft-section:before{margin-bottom:14px!important}
  }
  @media(max-width:430px){
    .landing-flow .ft-hero-actions{grid-template-columns:1fr!important}
    .landing-flow .ft-hero-proof{grid-template-columns:1fr!important}
    .landing-flow .tax-preview-clean .tax-real-pdf-page{height:132px!important}
    .landing-flow .ft-hero-commercial .ft-hero-copy h1{font-size:30px!important}
  }


  /* Step 616 — professional icons and sources cleanup. */
  @media(max-width:760px){
    .home-core-year:before{
      content:""!important;
      display:grid!important;
      place-items:center!important;
      width:42px!important;
      height:42px!important;
      border-radius:14px!important;
      background-color:rgba(255,255,255,.12)!important;
      background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.75v3M17 3.75v3M4.75 8.25h14.5M6.5 5.25h11A2.75 2.75 0 0 1 20.25 8v10A2.75 2.75 0 0 1 17.5 20.75h-11A2.75 2.75 0 0 1 3.75 18V8A2.75 2.75 0 0 1 6.5 5.25Z'/%3E%3Cpath d='M8 12.5h2.25M13.75 12.5H16M8 16h2.25M13.75 16H16'/%3E%3C/svg%3E")!important;
      background-repeat:no-repeat!important;
      background-position:center!important;
      background-size:23px 23px!important;
      font-size:0!important;
      line-height:0!important;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 10px 20px rgba(0,0,0,.08)!important;
    }

    .connected-source-row .source-import-resume-button,
    .connected-wallet-row .source-import-resume-button,
    .connected-csv-row .source-import-resume-button{display:none!important}

    .connected-source-delete{position:absolute!important;top:12px!important;right:12px!important;margin:0!important;align-self:auto!important;justify-self:auto!important;display:block!important}
    .connected-source-row,.connected-wallet-row,.connected-csv-row{position:relative!important;padding-right:58px!important;grid-template-columns:1fr!important}
    .connected-source-delete .trash-action,
    .connected-source-delete .trash-action:hover,
    .connected-source-delete .trash-action:focus-visible{
      display:grid!important;
      place-items:center!important;
      width:40px!important;
      height:40px!important;
      min-width:40px!important;
      min-height:40px!important;
      border-radius:999px!important;
      border:1px solid rgba(255,255,255,.18)!important;
      background:#050505!important;
      color:#fff!important;
      cursor:pointer!important;
      box-shadow:0 12px 24px rgba(0,0,0,.18)!important;
      padding:0!important;
      transform:none!important;
    }
    .connected-source-delete .trash-action:hover{background:#111!important;box-shadow:0 14px 28px rgba(0,0,0,.20)!important}
    .connected-source-delete .trash-action .trash-icon{
      display:block!important;
      width:19px!important;
      height:19px!important;
      fill:none!important;
      stroke:currentColor!important;
      stroke-width:1.9!important;
      stroke-linecap:round!important;
      stroke-linejoin:round!important;
      transform:scale(.82)!important;
      border:0!important;
    }
    .connected-source-delete .trash-action .trash-icon path{
      fill:none!important;
      stroke:currentColor!important;
      stroke-width:1.9!important;
      stroke-linecap:round!important;
      stroke-linejoin:round!important;
    }
    .connected-source-delete .trash-action .trash-icon:before,
    .connected-source-delete .trash-action .trash-icon:after{display:none!important;content:none!important}
  }

  @media(max-width:430px){
    .connected-source-row,.connected-wallet-row,.connected-csv-row{padding-right:54px!important}
    .connected-source-delete{top:10px!important;right:10px!important}
    .connected-source-delete .trash-action,
    .connected-source-delete .trash-action:hover,
    .connected-source-delete .trash-action:focus-visible{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
  }


  /* Step 618 — Report mobile overlap fix and six-item navbar fit. */
  @media(max-width:760px){
    .app-topbar .brand-lockup{max-width:156px!important;flex:1 1 156px!important}
    .app-topbar .brand-lockup img{max-width:148px!important;height:34px!important}
    .app-topbar .user-box{max-width:174px!important;gap:3px!important;padding:4px!important}
    .app-topbar .profile-topbar-link,.app-topbar .notification-toggle,.app-topbar .admin-mail-toggle,.app-topbar .logout-button{width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}

    .app-nav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:3px!important;overflow:hidden!important;padding:5px 6px!important}
    .nav-item{min-width:0!important;width:100%!important;padding:0 2px!important;overflow:hidden!important}.nav-label{max-width:100%!important;font-size:9.1px!important;line-height:1.05!important}.nav-icon svg{width:19px!important;height:19px!important}

    .report-after-calc-compact{position:relative!important;border-radius:30px!important;padding:18px 14px 16px!important;background:linear-gradient(158deg,rgba(255,255,255,.98),rgba(241,249,246,.93))!important;box-shadow:0 20px 52px rgba(16,33,32,.11)!important;overflow:hidden!important}
    .report-after-calc-compact:before{height:5px!important;z-index:0!important}.report-after-calc-compact > *{position:relative!important;z-index:2!important}
    .report-ready-row{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-items:stretch!important;margin:0!important}
    .report-ready-row h2{font-size:30px!important;line-height:.98!important;letter-spacing:-.073em!important;margin:6px 0 6px!important;text-wrap:balance!important;color:#102120!important}
    .report-ready-row p{font-size:13.1px!important;line-height:1.35!important;color:#4f625d!important;font-weight:760!important;margin:0!important;text-wrap:balance!important}
    .report-ready-row .status-badge{min-height:34px!important;padding:6px 12px!important;border-radius:999px!important;background:#e8f7f0!important;color:#006f5c!important;border-color:#bddfce!important;box-shadow:none!important}

    .report-soul-visual{display:block!important;position:relative!important;order:2!important;height:112px!important;min-height:112px!important;margin:2px 0 0!important;border-radius:24px!important;background:linear-gradient(145deg,#102120 0%,#005548 62%,#007b66 100%)!important;box-shadow:0 18px 36px rgba(0,111,92,.22)!important;overflow:hidden!important;z-index:1!important;transform:none!important}
    .report-soul-visual:before{inset:11px!important;border-radius:20px!important;background:linear-gradient(135deg,rgba(255,255,255,.10),transparent 46%)!important;border-color:rgba(255,255,255,.18)!important}
    .report-soul-visual:after{right:-42px!important;top:-54px!important;width:145px!important;height:145px!important;background:radial-gradient(circle,rgba(255,255,255,.16),transparent 68%)!important}
    .report-soul-visual span{left:18px!important;bottom:17px!important;width:78px!important;height:58px!important;border-radius:16px!important;box-shadow:17px -15px 0 rgba(255,255,255,.78),34px -30px 0 rgba(255,255,255,.43),0 16px 26px rgba(16,33,32,.18)!important;transform:rotate(-4deg)!important}
    .report-soul-visual span:before{left:10px!important;top:9px!important;font-size:18px!important}.report-soul-visual span:after{left:10px!important;right:13px!important;top:31px!important;height:4px!important;box-shadow:0 10px 0 #eef2f0,0 20px 0 #eef2f0!important}
    .report-soul-visual i{right:20px!important;bottom:19px!important;width:48px!important;height:48px!important;border-radius:18px!important;box-shadow:0 0 0 9px rgba(228,170,66,.15)!important}.report-soul-visual b{right:35px!important;bottom:36px!important;width:18px!important;height:11px!important;border-left-width:4px!important;border-bottom-width:4px!important}

    .report-compact-pills{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin:12px 0 0!important;position:relative!important;z-index:3!important;clear:both!important;justify-content:stretch!important;align-items:stretch!important}
    .report-compact-pills span{display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;border-radius:18px!important;background:#fff!important;border:1px solid rgba(0,111,92,.10)!important;box-shadow:0 10px 22px rgba(16,33,32,.055)!important;color:#102120!important;font-size:12.5px!important;font-weight:950!important;white-space:normal!important;text-align:center!important;line-height:1.1!important;padding:8px 9px!important;overflow:hidden!important}
    .report-compact-pills span:before{flex:0 0 auto!important;width:8px!important;height:8px!important;margin-right:6px!important;border-radius:999px!important;background:#006f5c!important;box-shadow:0 0 0 5px rgba(0,111,92,.08)!important}

    .report-actions{position:static!important;display:grid!important;grid-template-columns:1fr!important;z-index:3!important;margin:12px 0 0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;clear:both!important;transform:none!important}
    .report-actions.single-action{max-width:none!important;width:100%!important}.report-actions .primary-action,.report-actions button.primary-action{width:100%!important;min-height:52px!important;border-radius:18px!important;background:linear-gradient(135deg,#102120,#006f5c)!important;box-shadow:0 18px 34px rgba(0,111,92,.24)!important;color:#fff!important;font-size:15px!important;font-weight:950!important}
    .report-file-tree{margin-top:13px!important;max-height:48dvh!important;border-radius:22px!important;border:1px solid rgba(0,111,92,.12)!important;background:#fff!important;box-shadow:0 12px 28px rgba(16,33,32,.06)!important}
  }

  @media(max-width:430px){
    .app-topbar .brand-lockup{max-width:145px!important;flex-basis:145px!important}.app-topbar .brand-lockup img{max-width:138px!important;height:32px!important}.app-topbar .user-box{max-width:160px!important}.app-topbar .profile-topbar-link,.app-topbar .notification-toggle,.app-topbar .admin-mail-toggle,.app-topbar .logout-button{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important}
    .app-nav{height:58px!important}.nav-label{font-size:8.7px!important}.nav-icon svg{width:18px!important;height:18px!important}
    .report-ready-row h2{font-size:28px!important}.report-soul-visual{height:104px!important;min-height:104px!important}.report-compact-pills span{min-height:44px!important;font-size:11.8px!important}.report-actions .primary-action,.report-actions button.primary-action{min-height:50px!important}
  }

  @media(prefers-reduced-motion:reduce){
    body:after,.mobile-calc-orb:before,.mobile-calc-orb i,.report-soul-visual i,.review-folder-orbit,.review-folder-visual i{animation:none!important}
  }
  

  /* Step 235 — end-user payment modal and visible source loading perception. */
  .payment-ready-card{width:min(640px,calc(100vw - max(28px,env(safe-area-inset-left) + env(safe-area-inset-right))))!important;padding:54px 24px 22px!important;gap:12px!important;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(244,251,248,.98))!important;border-color:#b9d9cc!important;overflow:hidden!important}.payment-ready-card h2{font-size:clamp(25px,4.4vw,38px)!important;line-height:1.02!important;letter-spacing:-.055em!important;margin:0!important;color:#102120!important}.payment-ready-lead{font-size:15.5px!important;line-height:1.46!important;color:#283736!important;margin:0!important}.payment-simple-note{font-size:13.5px!important;line-height:1.45!important;color:#667571!important;margin:0!important}.payment-unavailable-note{display:grid;gap:4px;border:1px solid #efbac2;border-radius:16px;background:#fff6f7;color:#6d1824;padding:12px 13px;box-shadow:0 10px 22px rgba(143,18,63,.06)}.payment-unavailable-note strong{font-size:14px;line-height:1.2;color:#6d1824}.payment-unavailable-note span{font-size:12.5px;line-height:1.35;font-weight:760;color:#7b3440}.payment-price-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;align-items:center;border:1px solid #b9d9cc;border-radius:18px;background:#fff;padding:13px 15px;box-shadow:0 10px 26px rgba(0,111,92,.08)}.payment-price-box span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.09em;color:#667571}.payment-price-box strong{grid-row:1/3;grid-column:2;font-size:clamp(24px,4vw,34px);letter-spacing:-.05em;color:#102120}.payment-price-box small{font-size:12.5px;font-weight:760;color:#006f5c}.payment-ready-actions{margin-top:2px!important}.payment-ready-actions .primary-action{font-size:15px!important}.payment-folder-preview{position:relative;isolation:isolate;min-height:190px;border:1px solid #dbe8e2;border-radius:24px;background:radial-gradient(circle at 20% 0%,rgba(255,255,255,.96),rgba(240,249,245,.92));overflow:hidden;padding:20px 18px 18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}.payment-folder-back{position:absolute;left:28px;right:28px;bottom:32px;height:104px;border-radius:18px 18px 20px 20px;background:linear-gradient(180deg,#f0c96a,#dfa53f);box-shadow:0 20px 36px rgba(112,83,24,.18);transform:skewX(-2deg)}.payment-folder-back:before{content:"";position:absolute;left:0;top:-24px;width:150px;height:38px;border-radius:15px 20px 0 0;background:linear-gradient(180deg,#f6d983,#e7b54d)}.payment-folder-front{position:absolute;left:20px;right:20px;bottom:18px;height:76px;border-radius:20px;background:linear-gradient(180deg,#ffd86f,#e4aa42);box-shadow:0 -8px 18px rgba(255,255,255,.22) inset,0 18px 36px rgba(112,83,24,.14);display:flex;align-items:end;justify-content:center;padding:0 12px 14px;color:#442c00;font-weight:950;letter-spacing:-.02em}.payment-folder-doc{position:absolute;z-index:1;top:24px;width:31%;height:110px;border:1px solid rgba(20,32,31,.10);border-radius:14px;background:#fff;padding:13px 11px;box-shadow:0 16px 30px rgba(20,32,31,.13);display:grid;align-content:start;gap:5px;transform-origin:bottom center}.payment-folder-doc b{display:block;color:#14201f;font-size:16px;letter-spacing:-.03em}.payment-folder-doc span{display:block;color:#667571;font-size:11.5px;font-weight:780;line-height:1.24}.payment-folder-doc:after{content:"";display:block;width:100%;height:7px;border-radius:999px;background:#eef2f0;margin-top:9px;box-shadow:0 15px 0 #eef2f0,0 30px 0 #eef2f0}.payment-folder-doc.doc-rv{left:11%;border-top:5px solid #006f5c;transform:rotate(-7deg)}.payment-folder-doc.doc-rt{left:34.5%;border-top:5px solid #8f123f;transform:translateY(-8px)}.payment-folder-doc.doc-csv{right:11%;border-top:5px solid #14201f;transform:rotate(7deg)}.payment-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}.payment-ready-card>*:not(.payment-confetti){position:relative;z-index:1}.payment-confetti i{position:absolute;top:-16px;left:calc((var(--i) * 41px) % 100%);width:8px;height:14px;border-radius:3px;background:#006f5c;opacity:0;transform:translateY(-20px) rotate(0deg)}.payment-confetti i:nth-child(3n){background:#8f123f}.payment-confetti i:nth-child(4n){background:#e4aa42}.payment-confetti i:nth-child(5n){background:#14201f}.payment-modal-backdrop.confetti-fired .payment-confetti i{animation:ft-confetti-fall 1.35s cubic-bezier(.18,.74,.22,1) forwards;animation-delay:calc((var(--i) % 8) * 55ms)}@keyframes ft-confetti-fall{0%{opacity:0;transform:translate3d(0,-24px,0) rotate(0deg)}12%{opacity:1}100%{opacity:0;transform:translate3d(calc(((var(--i) % 5) - 2) * 18px),230px,0) rotate(520deg)}}
  @media(max-width:760px){.payment-ready-card{padding:50px 15px 15px!important;gap:10px!important}.payment-folder-preview{min-height:168px;border-radius:20px;padding:16px 12px}.payment-folder-doc{top:22px;height:96px;padding:10px 9px}.payment-folder-doc b{font-size:14px}.payment-folder-doc span{font-size:10.5px}.payment-folder-back{left:20px;right:20px;bottom:29px;height:90px}.payment-folder-front{left:13px;right:13px;bottom:14px;height:64px}.payment-price-box{grid-template-columns:1fr}.payment-price-box strong{grid-row:auto;grid-column:auto}.payment-simple-note{font-size:12.8px!important}}
  /* Step 236 — document page: simple estimated tax outcome cards for end users. */
  .doc-tax-estimate-panel{display:grid;gap:16px;border:1px solid #b9d9cc;border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(244,251,248,.93));padding:20px;box-shadow:var(--shadow-soft);margin:0 0 14px;overflow:hidden;position:relative}.doc-tax-estimate-panel:before{content:"";position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,#006f5c,#8f123f);opacity:.95}.doc-tax-estimate-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,280px);gap:16px;align-items:stretch}.doc-tax-estimate-head h2{font-size:clamp(24px,3vw,38px);letter-spacing:-.05em;line-height:1.04;margin:7px 0 6px}.doc-tax-estimate-head p{max-width:780px;color:var(--ink-soft);font-weight:650;margin:0}.doc-tax-total-card{border:1px solid #cfe4db;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(0,111,92,.08);padding:16px;display:grid;align-content:center;gap:3px}.doc-tax-total-card span,.doc-tax-total-card small{color:var(--muted);font-weight:850;text-transform:uppercase;letter-spacing:.08em;font-size:11px}.doc-tax-total-card strong{font-size:clamp(30px,4vw,42px);line-height:1;letter-spacing:-.055em;color:#102120}.doc-tax-total-card small{color:#006f5c;text-transform:none;letter-spacing:0;font-size:12px}.doc-tax-estimate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.doc-tax-estimate-card{border:1px solid var(--line);border-radius:22px;background:#fff;padding:16px;display:grid;gap:10px;box-shadow:0 12px 28px rgba(20,32,31,.07);min-width:0}.doc-tax-estimate-card.plus{border-color:#b9d9cc}.doc-tax-estimate-card.minus{border-color:#f0d1d6}.doc-tax-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.doc-tax-card-top span{display:inline-flex;align-items:center;min-height:27px;border-radius:999px;background:#f4fbf8;color:#006f5c;border:1px solid #cfe4db;padding:0 10px;font-weight:900;font-size:12px}.doc-tax-card-top em{font-style:normal;color:var(--muted);font-size:12px;font-weight:850}.doc-tax-estimate-card h3{font-size:23px;letter-spacing:-.035em;margin:0}.doc-tax-estimate-card p{margin:0;color:var(--muted);font-size:13.5px;font-weight:680}.doc-tax-main-number{border-radius:18px;padding:13px;background:#f7faf8;border:1px solid #e0e9e5;display:grid;gap:2px}.doc-tax-main-number.plus{background:#f2faf6;border-color:#b9d9cc}.doc-tax-main-number.minus{background:#fff7f8;border-color:#f0d1d6}.doc-tax-main-number small{color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.doc-tax-main-number strong{font-size:clamp(27px,3.7vw,40px);line-height:1;letter-spacing:-.055em;color:#102120}.doc-tax-main-number.plus strong{color:#006f5c}.doc-tax-main-number.minus strong{color:#8f123f}.doc-tax-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.doc-tax-mini-grid span{border:1px solid var(--line);border-radius:14px;background:#fbfcfb;padding:10px;display:grid;gap:2px;min-width:0}.doc-tax-mini-grid small{font-size:10.5px;color:var(--muted);font-weight:900;text-transform:uppercase;letter-spacing:.075em}.doc-tax-mini-grid b{font-size:15px;letter-spacing:-.02em;color:var(--ink);overflow-wrap:anywhere}.doc-tax-estimate-disclaimer{border:1px dashed #cfe4db;border-radius:16px;background:rgba(255,255,255,.72);padding:11px 12px;margin:0;color:var(--muted);font-size:12.8px;font-weight:720;line-height:1.42}
  @media(max-width:760px){.doc-tax-estimate-panel{border-radius:18px;padding:16px;gap:12px}.doc-tax-estimate-head{grid-template-columns:1fr}.doc-tax-total-card{padding:14px}.doc-tax-estimate-grid{grid-template-columns:1fr}.doc-tax-mini-grid{grid-template-columns:1fr 1fr}.doc-tax-estimate-card{border-radius:18px;padding:14px}.doc-tax-card-top{align-items:flex-start}.doc-tax-card-top span{font-size:11px}.doc-tax-estimate-head h2{font-size:25px}.doc-tax-main-number strong{font-size:31px}}


  /* Step 237 — documents archive: private/year folder tree for end users and multi-year history. */
  .doc-archive-hero{align-items:center;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(244,248,247,.94));border-color:#cfe4db}.doc-archive-hero h2{font-size:clamp(25px,3vw,39px);letter-spacing:-.05em;margin:4px 0 6px}.doc-archive-hero p{max-width:760px;color:var(--ink-soft);font-weight:680}.doc-archive-tree{background:rgba(255,255,255,.9);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow-soft);padding:18px;display:grid;gap:14px;margin:14px 0}.doc-archive-intro{display:flex;justify-content:space-between;gap:14px;align-items:end;border-bottom:1px solid var(--line);padding-bottom:14px}.doc-archive-intro h2{font-size:clamp(23px,2.5vw,34px);margin:4px 0 3px}.doc-archive-intro p{max-width:760px;margin:0;color:var(--muted);font-weight:650}.doc-archive-intro small{font-weight:820;color:var(--brand-strong);background:#edf8f3;border:1px solid #cfe4db;border-radius:999px;padding:7px 10px;white-space:nowrap}.doc-folder{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 20px rgba(20,32,31,.045);overflow:hidden}.doc-folder+.doc-folder{margin-top:10px}.doc-folder summary{list-style:none;display:grid;grid-template-columns:auto minmax(130px,max-content) minmax(0,1fr);gap:10px;align-items:center;cursor:pointer;padding:13px 14px;user-select:none}.doc-folder summary::-webkit-details-marker{display:none}.doc-folder summary strong{font-size:16px;letter-spacing:-.025em;color:var(--ink)}.doc-folder summary em{font-style:normal;color:var(--muted);font-weight:720;font-size:12.8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:#f4fbf8;color:var(--brand-strong);font-weight:950;border:1px solid #cfe4db;transition:transform .18s ease}.doc-folder:not([open])>.doc-folder-children,.doc-folder:not([open])>.doc-file-list{display:none}.doc-folder:not([open])>summary .folder-icon{transform:rotate(-90deg)}.doc-root-folder{border-color:#b9d9cc;background:linear-gradient(180deg,#ffffff,#f7fbf9)}.doc-year-folder{margin-left:18px;border-color:#d8e5df}.doc-sub-folder{margin-left:18px;background:#fbfcfb}.doc-folder-children{padding:0 12px 12px 18px;border-top:1px solid #eef2f0}.doc-file-list{display:grid;gap:8px;padding:0 12px 12px 18px;border-top:1px solid #eef2f0}.doc-file-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:15px;padding:10px;min-width:0}.doc-file-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:13px;background:#f4f7f5;border:1px solid #e0e8e4;font-size:18px}.doc-file-row strong{display:block;color:var(--ink);font-size:14px;letter-spacing:-.015em}.doc-file-row small{display:block;color:var(--muted);font-size:11.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.doc-file-row .download-link{min-height:34px;padding:0 11px;font-size:12.5px}.doc-root-folder>summary strong:before{content:"🔒 ";font-weight:400}.doc-year-folder>summary strong:before{content:"📁 ";font-weight:400}.doc-sub-folder>summary strong:before{content:"📂 ";font-weight:400}
  @media(max-width:760px){.doc-archive-hero{grid-template-columns:1fr;border-radius:18px}.doc-archive-tree{border-radius:18px;padding:14px}.doc-archive-intro{display:grid;align-items:start}.doc-archive-intro small{white-space:normal;width:max-content;max-width:100%}.doc-folder summary{grid-template-columns:auto minmax(0,1fr);gap:9px;padding:12px}.doc-folder summary em{grid-column:2;white-space:normal;line-height:1.3}.doc-year-folder,.doc-sub-folder{margin-left:7px}.doc-folder-children,.doc-file-list{padding-left:9px;padding-right:8px}.doc-file-row{grid-template-columns:auto minmax(0,1fr);align-items:start}.doc-file-row .download-link{grid-column:1 / -1;width:100%}.doc-file-row small{white-space:normal;overflow-wrap:anywhere}}
  .consultant-review-waiting{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(220px,330px) minmax(0,1fr);gap:clamp(18px,3vw,34px);align-items:center;border:1px solid #b9d9cc;border-radius:28px;background:radial-gradient(circle at 12% 10%,rgba(255,255,255,.98),rgba(244,251,248,.94) 38%,rgba(255,255,255,.92));box-shadow:var(--shadow-soft);padding:clamp(22px,3.5vw,34px);margin:12px 0}.consultant-review-waiting:before{content:"";position:absolute;inset:0 0 auto;height:7px;background:linear-gradient(90deg,#006f5c,#8f123f,#e4aa42);opacity:.94}.review-waiting-visual{position:relative;min-height:260px;display:grid;place-items:center;isolation:isolate}.review-orbit{position:absolute;width:220px;height:220px;border-radius:50%;border:1px dashed rgba(0,111,92,.32);animation:ft-spin 9s linear infinite}.review-orbit:before,.review-orbit:after{content:"";position:absolute;border-radius:999px;background:#fff;border:1px solid #cfe4db;box-shadow:0 12px 28px rgba(20,32,31,.10)}.review-orbit:before{width:42px;height:42px;left:16px;top:22px}.review-orbit:after{width:28px;height:28px;right:22px;bottom:34px}.review-orbit span{position:absolute;left:50%;top:-9px;width:18px;height:18px;border-radius:999px;background:#006f5c;box-shadow:0 0 0 8px rgba(0,111,92,.10)}.review-orbit i{position:absolute;right:18px;top:46px;width:14px;height:14px;border-radius:999px;background:#8f123f;box-shadow:0 0 0 7px rgba(143,18,63,.09)}.review-orbit.busy{animation-duration:2.7s}.review-folder-mini{position:relative;z-index:1;width:190px;height:132px;border-radius:22px;background:linear-gradient(180deg,#ffd86f,#e5ad43);box-shadow:0 26px 46px rgba(112,83,24,.18),inset 0 -10px 18px rgba(143,84,12,.13);display:grid;align-content:end;justify-items:center;padding:0 18px 22px;color:#3f2a00}.review-folder-mini:before{content:"";position:absolute;left:0;top:-34px;width:118px;height:54px;border-radius:20px 24px 0 0;background:linear-gradient(180deg,#f8dd88,#e7b64d);box-shadow:inset 0 6px 10px rgba(255,255,255,.24)}.review-folder-mini:after{content:"";position:absolute;left:20px;right:20px;top:23px;height:58px;border:1px solid rgba(20,32,31,.08);border-radius:16px;background:#fff;transform:rotate(-3deg);box-shadow:0 14px 28px rgba(20,32,31,.11)}.review-folder-mini b{position:relative;z-index:2;font-size:32px;line-height:1;letter-spacing:-.055em}.review-folder-mini em{position:relative;z-index:2;font-style:normal;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.review-waiting-content{display:grid;gap:12px;min-width:0}.review-waiting-content h2{font-size:clamp(28px,4vw,48px);line-height:1.01;letter-spacing:-.06em;margin:0;max-width:820px}.review-waiting-lead{font-size:16px;line-height:1.55;color:#283736;font-weight:680;max-width:820px;margin:0}.review-sla-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;width:max-content;max-width:100%;border:1px solid #cfe4db;border-radius:18px;background:#fff;padding:12px 14px;box-shadow:0 12px 28px rgba(0,111,92,.08)}.review-sla-card strong{color:#006f5c;font-size:14px;white-space:nowrap}.review-sla-card span{color:#53615e;font-weight:720;font-size:13.2px;line-height:1.35}.review-next-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:2px}.review-next-card{border:1px solid var(--line);border-radius:18px;background:#fff;padding:13px;display:grid;gap:6px;min-width:0;box-shadow:0 10px 24px rgba(20,32,31,.055)}.review-next-card span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#f4fbf8;color:#006f5c;border:1px solid #cfe4db;font-weight:950;font-size:12px}.review-next-card strong{font-size:15px;color:#14201f;letter-spacing:-.02em}.review-next-card small{font-size:12.5px;line-height:1.38;color:#667571;font-weight:700}.review-waiting-note{border:1px dashed #cfe4db;border-radius:16px;background:rgba(255,255,255,.7);padding:11px 12px;color:#667571;font-size:13px;font-weight:730;line-height:1.42;margin:0}.review-waiting-actions{max-width:520px}
  @media(max-width:900px){.consultant-review-waiting{grid-template-columns:1fr}.review-waiting-visual{min-height:210px}.review-orbit{width:188px;height:188px}.review-folder-mini{width:166px;height:118px}.review-next-grid{grid-template-columns:1fr}.review-sla-card{grid-template-columns:1fr;width:100%}}
  @media(max-width:520px){.consultant-review-waiting{border-radius:20px;padding:18px}.review-waiting-visual{min-height:170px}.review-orbit{width:150px;height:150px}.review-folder-mini{width:142px;height:98px;border-radius:18px;padding-bottom:16px}.review-folder-mini:before{top:-26px;width:92px;height:42px}.review-folder-mini:after{top:18px;height:42px}.review-folder-mini b{font-size:26px}.review-waiting-content h2{font-size:27px}.review-waiting-lead{font-size:14.5px}.review-next-card{border-radius:15px;padding:12px}.review-waiting-actions{max-width:none}}



  .profile-topbar-link{width:36px;height:36px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink-soft);display:inline-grid;place-items:center;text-decoration:none;transition:transform .18s ease,border-color .18s ease,color .18s ease,background .18s ease}.profile-topbar-link:hover{transform:translateY(-1px);border-color:var(--line-strong);color:var(--brand-strong);background:var(--surface-soft)}.profile-topbar-link svg{width:19px;height:19px;display:block}
  .profile-hero{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center}.profile-avatar{width:72px;height:72px;border-radius:24px;background:linear-gradient(135deg,var(--ink),var(--brand));color:#fff;display:grid;place-items:center;font-size:24px;font-weight:950;letter-spacing:-.05em;box-shadow:0 18px 38px rgba(20,32,31,.18)}.profile-main-info h2{font-size:clamp(28px,4vw,46px);margin:0 0 6px;letter-spacing:-.055em}.profile-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.profile-info-card{border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.9);padding:15px;box-shadow:var(--shadow-soft);display:grid;gap:5px;min-width:0}.profile-info-card span{color:var(--muted);font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.profile-info-card strong{font-size:15px;color:var(--ink);overflow-wrap:anywhere}.profile-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-action-card{display:grid;align-content:start}.profile-form{margin-top:12px}.profile-2fa-card{overflow:hidden;position:relative;border-radius:26px}.profile-2fa-card.is-enabled{border-color:#b9d9cc;background:linear-gradient(145deg,#fff,#f3fbf7)}.profile-2fa-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start}.profile-2fa-state{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:999px;background:var(--ink);color:#fff;font-size:13px;white-space:nowrap}.profile-2fa-card.is-enabled .profile-2fa-state{background:var(--brand)}.profile-2fa-setup{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start;margin-top:16px}.profile-qr-box{border:1px solid var(--line);border-radius:22px;background:#fff;padding:14px;text-align:center;box-shadow:0 12px 28px rgba(20,32,31,.06)}.profile-qr-svg{width:100%;height:auto;max-width:230px;border-radius:14px}.profile-qr-box small{display:block;margin-top:8px;font-weight:750;color:var(--muted)}.profile-2fa-enabled{margin-top:14px}.large{width:100%;min-height:46px}.form-stack label{display:grid;gap:7px;color:var(--ink-soft);font-size:13.5px}.form-stack input{width:100%;border:1px solid var(--line);border-radius:14px;padding:11px 12px;background:#fff;color:var(--ink);outline:none}.form-stack input:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(0,111,92,.10)}
  @media(max-width:900px){.profile-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-settings-grid{grid-template-columns:1fr}.profile-2fa-setup{grid-template-columns:1fr}.profile-qr-box{max-width:320px}.notification-toggle{min-width:auto}.notification-label{display:none}.admin-mail-toggle{min-width:auto}.admin-mail-word{display:none}}
  @media(max-width:560px){.profile-hero{grid-template-columns:1fr;text-align:left}.profile-avatar{width:62px;height:62px;border-radius:20px}.profile-info-grid{grid-template-columns:1fr}.profile-2fa-head{grid-template-columns:1fr}.user-box{gap:5px;padding:5px}.profile-topbar-link{width:34px;height:34px}.logout-button{padding:0 9px}.notification-toggle{padding:0 8px}.notification-switch{display:none}}


  .security-card{max-width:720px}
  .mini-card{border:1px solid var(--line);border-radius:16px;padding:12px 14px;background:#fff;margin:8px 0;color:var(--ink-soft);font-size:13.5px;line-height:1.5}
  .muted-card{background:var(--surface-muted)}
  .security-setup-grid{display:grid;grid-template-columns:190px 1fr;gap:16px;align-items:start;margin:14px 0}
  .qr-placeholder{min-height:190px;border:1px dashed var(--line-strong);border-radius:22px;background:linear-gradient(145deg,#fff,#f4f7f5);display:grid;place-items:center;text-align:center;padding:18px;color:var(--ink-soft)}
  .qr-placeholder span{font-weight:900;font-size:20px;color:var(--ink);display:block}
  .qr-placeholder small{display:block;margin-top:6px;color:var(--muted);line-height:1.4}.qr-placeholder.qr-real{display:grid;gap:8px}.qr-placeholder.qr-real svg{width:100%;max-width:170px;height:auto;border-radius:12px}
  textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:10px 12px;font:inherit;background:#fff;color:var(--ink);resize:vertical}
  .small-muted{font-size:12.5px!important;color:var(--muted)!important;margin:0}
  .ghost-action{border:0;background:transparent;color:var(--muted);font-weight:800;cursor:pointer}
  .ghost-action:hover{color:var(--brand-strong)}
  @media(max-width:760px){.security-setup-grid{grid-template-columns:1fr}.qr-placeholder{min-height:120px}.security-card{max-width:520px}}

  /* Step 244 — customer-facing copy polish, RW labels, compact documents and mobile payment fix. */
  .ft-hero-pills{gap:10px}.ft-hero-pills span{position:relative;min-height:42px;padding:7px 13px 7px 9px;border-radius:16px;background:linear-gradient(180deg,#fff,#f2faf6);box-shadow:0 8px 22px rgba(0,111,92,.07);border-color:#c7e1d6;color:#14201f}.ft-hero-pills span b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:9px;background:#006f5c;color:#fff;font-size:10px;margin-right:8px;letter-spacing:.04em}.ft-hero-note{margin-top:16px}.tax-pdf-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}.tax-pdf-sheet{position:relative;min-height:356px;border:1px solid #d5dfda;border-radius:16px;background:#fff;box-shadow:0 20px 36px rgba(20,32,31,.10);overflow:hidden;padding:14px;display:grid;grid-template-rows:auto 1fr auto}.tax-pdf-sheet.rw{border-top:6px solid #006f5c}.tax-pdf-sheet.rt{border-top:6px solid #8f123f}.tax-pdf-band{position:absolute;left:0;right:0;top:0;height:34px;background:linear-gradient(90deg,rgba(0,111,92,.09),rgba(143,18,63,.06));border-bottom:1px solid #edf1ef}.tax-pdf-head{position:relative;z-index:1;padding-top:28px}.tax-pdf-head span{display:block;color:#667571;font-size:9.5px;font-weight:950;text-transform:uppercase;letter-spacing:.09em}.tax-pdf-head h3{font-size:clamp(27px,3vw,38px);line-height:.95;letter-spacing:-.06em;margin:5px 0 5px;color:#102120}.tax-pdf-head p{font-size:11.5px;line-height:1.25;color:#53615e;font-weight:760;margin:0}.tax-pdf-grid{display:grid;align-content:start;gap:8px;margin-top:14px}.tax-pdf-cell{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;border:1px solid #e3ebe7;border-radius:10px;background:#fbfcfb;padding:8px}.tax-pdf-cell small{font-size:9px;font-weight:950;letter-spacing:.06em;text-transform:uppercase;color:#6c7774}.tax-pdf-cell strong{font-size:12.5px;color:#14201f}.tax-pdf-footer{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:12px}.tax-pdf-footer span{height:8px;border-radius:999px;background:#eef2f0}.ft-price-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.ft-price-tier{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-soft);padding:16px;display:grid;gap:7px}.ft-price-tier span{display:inline-flex;width:max-content;border:1px solid #cfe4db;border-radius:999px;background:#edf8f3;color:#006f5c;padding:4px 8px;font-size:10.5px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.ft-price-tier strong{font-size:clamp(28px,3vw,38px);line-height:1;letter-spacing:-.055em;color:#102120}.ft-price-tier p{margin:0;color:#53615e;font-size:13px;font-weight:760}.home-focus-card{justify-content:space-between;text-align:left}.home-focus-card .primary-action{margin-left:auto}.home-flow-card{min-height:196px}.fiscal-year-label{display:grid;gap:7px}.fiscal-year-label>span{color:var(--ink-soft);font-size:13px;font-weight:760}.fiscal-year-label>span strong{font-size:16px;color:#102120}.movement-source-state{font-weight:900}.movement-source-state.included{color:#006f5c}.movement-source-state.excluded{color:#b42338}.movement-source-toggle:has([data-source-checkbox]:not(:checked)){border-color:#efbac2;background:#fff6f7}.movement-source-toggle:has([data-source-checkbox]:not(:checked)) .movement-source-check{border-color:#efbac2;background:#fff}.movement-source-toggle:has([data-source-checkbox]:not(:checked)) .movement-source-copy strong{color:#6d1824}.final-metrics-locked-note strong{font-size:18px}.report-stats-payment{grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px}.report-actions.single-action{grid-template-columns:1fr;max-width:420px}.report-actions:empty{display:none}.report-review-card{border:1px solid #cfe4db;border-radius:18px;background:#f4fbf8;padding:15px;margin:12px 0}.report-review-card strong{display:block;font-size:17px;color:#006f5c}.report-review-card p{margin:3px 0 0;color:#53615e;font-weight:700}.payment-ready-card{overflow-y:auto!important;overflow-x:hidden!important;max-height:calc(100dvh - max(22px,env(safe-area-inset-top) + env(safe-area-inset-bottom)))!important}.payment-ready-actions.single-action{grid-template-columns:1fr!important}.payment-ready-actions.single-action .primary-action{width:100%!important;min-height:46px!important}.payment-price-box strong{font-size:clamp(24px,4vw,34px)!important}.doc-tax-estimate-panel{gap:10px!important;padding:14px!important;border-radius:18px!important}.doc-tax-estimate-head{grid-template-columns:minmax(0,1fr) minmax(170px,220px)!important;gap:10px!important}.doc-tax-estimate-head h2{font-size:clamp(20px,2.2vw,28px)!important;margin:4px 0!important}.doc-tax-estimate-head p{font-size:13px!important;line-height:1.35!important}.doc-tax-total-card{padding:12px!important;border-radius:16px!important}.doc-tax-total-card strong{font-size:clamp(24px,3vw,32px)!important}.doc-tax-estimate-grid{gap:9px!important}.doc-tax-estimate-card{padding:12px!important;border-radius:16px!important;gap:7px!important}.doc-tax-estimate-card h3{font-size:18px!important}.doc-tax-estimate-card p{font-size:12.2px!important;line-height:1.32!important}.doc-tax-main-number{padding:9px!important;border-radius:13px!important}.doc-tax-main-number strong{font-size:clamp(22px,2.6vw,30px)!important}.doc-tax-mini-grid{gap:6px!important}.doc-tax-mini-grid span{padding:7px!important}.doc-tax-mini-grid b{font-size:12.8px!important}.doc-tax-estimate-disclaimer{padding:8px 10px!important;font-size:11.8px!important;border-radius:12px!important}.doc-archive-hero.user-zip-only{grid-template-columns:minmax(0,1fr) minmax(220px,320px)}.doc-archive-tree{border-radius:20px;background:linear-gradient(180deg,#fff,#fbfcfb)}.doc-archive-intro small{border-radius:12px}.doc-folder{box-shadow:none;border-radius:16px}.doc-folder summary{grid-template-columns:34px minmax(170px,max-content) minmax(0,1fr);padding:11px 12px}.folder-icon{width:30px;height:30px;border-radius:12px;font-size:18px;line-height:1;background:#f2faf6}.doc-root-folder>summary strong:before,.doc-year-folder>summary strong:before,.doc-sub-folder>summary strong:before{content:""!important}.doc-file-icon{font-size:10px;font-weight:950;letter-spacing:.08em;color:#006f5c;background:#edf8f3;border-color:#cfe4db}.doc-file-row{box-shadow:0 6px 16px rgba(20,32,31,.04)}
  @media(max-width:1040px){.ft-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-stats-payment{max-width:none}}
  @media(max-width:760px){.ft-hero-pills{display:grid;grid-template-columns:1fr 1fr}.ft-hero-pills span{min-height:38px;font-size:10.8px}.tax-pdf-row{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.tax-pdf-sheet{min-height:270px;border-radius:13px;padding:9px}.tax-pdf-head{padding-top:24px}.tax-pdf-head h3{font-size:21px}.tax-pdf-head p{font-size:9.6px}.tax-pdf-grid{gap:6px;margin-top:9px}.tax-pdf-cell{padding:6px}.tax-pdf-cell small{font-size:7.5px}.tax-pdf-cell strong{font-size:10.5px}.tax-pdf-footer{gap:5px}.ft-price-grid{grid-template-columns:1fr}.home-focus-card{display:grid;text-align:left}.home-focus-card .primary-action{margin-left:0;width:100%}.report-stats-payment{grid-template-columns:1fr}.payment-ready-card{padding:46px 14px 14px!important;gap:8px!important}.payment-ready-card h2{font-size:25px!important}.payment-ready-lead{font-size:13.8px!important}.payment-folder-preview{min-height:144px!important}.payment-folder-doc{height:78px!important;top:17px!important}.payment-folder-doc b{font-size:12.5px!important}.payment-folder-doc span{font-size:9.5px!important}.payment-folder-doc:after{margin-top:6px;height:6px;box-shadow:0 12px 0 #eef2f0}.payment-price-box{padding:11px 12px!important;border-radius:15px!important}.doc-tax-estimate-head{grid-template-columns:1fr!important}.doc-tax-estimate-panel{padding:12px!important}.doc-tax-estimate-grid{grid-template-columns:1fr!important}.doc-archive-hero.user-zip-only{grid-template-columns:1fr}.doc-folder summary{grid-template-columns:30px minmax(0,1fr)}.doc-folder summary em{grid-column:2}.review-next-grid{grid-template-columns:1fr!important}.consultant-review-waiting{overflow:visible}.review-waiting-visual{min-height:145px!important}.review-folder-mini{width:126px!important;height:88px!important}.review-folder-mini b{font-size:23px!important}.review-folder-mini em{font-size:10px!important}}
  @media(max-width:390px){.ft-hero-pills{grid-template-columns:1fr}.tax-pdf-sheet{min-height:238px;padding:8px}.tax-pdf-head h3{font-size:18px}.tax-pdf-head p{display:block;font-size:8.8px}.tax-pdf-cell small{font-size:7px}.tax-pdf-cell strong{font-size:9.8px}.payment-folder-preview{min-height:126px!important}.payment-folder-doc{height:66px!important}.payment-folder-front{height:55px!important}.payment-folder-back{height:76px!important}.payment-price-box strong{font-size:24px!important}}
  @media(orientation:landscape) and (max-height:640px){.payment-modal-backdrop{place-items:start center!important;align-items:start!important}.payment-ready-card{width:min(760px,calc(100vw - 20px))!important;max-height:calc(100dvh - 16px)!important;margin:8px auto!important;padding:40px 14px 12px!important;gap:6px!important}.payment-ready-card h2{font-size:20px!important}.payment-ready-lead{font-size:12.6px!important}.payment-folder-preview{min-height:116px!important;border-radius:16px!important}.payment-folder-doc{height:64px!important;top:14px!important}.payment-folder-front{height:48px!important;bottom:10px!important}.payment-folder-back{height:66px!important;bottom:22px!important}.payment-price-box{padding:9px 11px!important}.payment-ready-actions.single-action .primary-action{min-height:38px!important}.consultant-review-waiting{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)!important;align-items:start}.review-waiting-content h2{font-size:28px!important}.review-waiting-lead{font-size:13.5px!important}.review-next-card{padding:10px!important}.review-next-card small{font-size:11.5px!important}}

  /* Step 395 — consultant dashboard compact task cockpit. */
  .consultant-intro-compact{padding:12px!important;display:grid!important;gap:10px!important}
  .consultant-compact-summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important}
  .consultant-compact-summary .mini-stat{min-width:150px!important;padding:10px 12px!important;border-radius:12px!important}
  .consultant-compact-summary .mini-stat strong{font-size:24px!important;line-height:1!important}
  .consultant-compact-summary .status-badge{margin-left:auto!important}
  .consultant-intro-compact .generate-documents-panel{margin:0!important;padding:10px!important;border-radius:14px!important}
  .consultant-intro-compact .generate-documents-panel h3{font-size:16px!important;margin:0!important}
  .consultant-intro-compact .generate-documents-panel p{font-size:12px!important;margin:2px 0 0!important;line-height:1.3!important}
  .consultant-table-head{align-items:center!important}.consultant-table-head .section-title p,.consultant-table-head p{display:none!important}
  .consultant-category-head{margin-bottom:8px!important}.consultant-category-head h3{margin:0!important}.consultant-category-head p{display:none!important}
  .consultant-category-section{padding:10px!important}.consultant-category-body{gap:8px!important}
  .work-card-head{padding:10px 12px 8px!important}.work-card-title{gap:2px!important}.work-card-title h4{font-size:16.5px!important}.work-card-title p{font-size:12px!important;line-height:1.25!important}
  .work-card-facts{grid-template-columns:repeat(5,minmax(0,1fr))!important}.work-card-facts .anomaly-fact{padding:8px 10px!important}.work-card-facts .anomaly-fact span{font-size:9.5px!important}.work-card-facts .anomaly-fact strong{font-size:13px!important}
  .work-card-action{padding:10px 12px!important;gap:8px!important}.work-step-label{font-size:10px!important;margin-bottom:6px!important}.work-card-note-save{grid-template-columns:minmax(0,1fr) 160px!important;padding-top:8px!important;gap:8px!important}.work-card-note-save textarea{min-height:44px!important}.work-card-note-save .anomaly-save-button{min-height:40px!important}
  .classification-choice-grid,.initial-lot-choice-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.guided-choice,.initial-lot-choice{min-height:48px!important;padding:9px 10px!important;border-radius:12px!important;align-items:center!important}.guided-choice strong,.initial-lot-choice strong{font-size:13px!important}.guided-choice small,.initial-lot-choice small{display:none!important}
  .missing-price-input-grid.compact-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:620px!important}.missing-price-input-grid.compact-price-grid label{gap:5px!important}.missing-price-input-grid.compact-price-grid small{display:none!important}
  @media(max-width:900px){.classification-choice-grid,.initial-lot-choice-grid{grid-template-columns:1fr 1fr!important}.work-card-facts{grid-template-columns:1fr 1fr!important}.work-card-note-save{grid-template-columns:1fr!important}.missing-price-input-grid.compact-price-grid{grid-template-columns:1fr!important;max-width:none!important}}
  @media(max-width:520px){.consultant-compact-summary{display:grid!important;grid-template-columns:1fr!important}.consultant-compact-summary .status-badge{margin-left:0!important;width:max-content!important}.classification-choice-grid,.initial-lot-choice-grid{grid-template-columns:1fr!important}.work-card-facts{grid-template-columns:1fr 1fr!important}.work-card-head{grid-template-columns:1fr!important}.guided-choice,.initial-lot-choice{min-height:auto!important}}


  /* Step 396 — professional consultant dashboard redesign. */
  .consultant-workspace-page{max-width:1180px;margin:0 auto;gap:14px!important}
  .consultant-workspace-hero{position:relative;overflow:hidden;border:1px solid #dbe8e2!important;border-radius:24px!important;background:linear-gradient(135deg,#ffffff 0%,#f4fbf8 62%,#eaf6f1 100%)!important;padding:18px!important;box-shadow:0 18px 45px rgba(20,32,31,.08)!important}
  .consultant-workspace-hero:before{content:"";position:absolute;inset:-80px -140px auto auto;width:300px;height:300px;border-radius:999px;background:rgba(25,118,96,.09);pointer-events:none}
  .consultant-workspace-nav{position:relative;z-index:1}.consultant-dashboard-title{position:relative;z-index:1;display:grid;gap:6px}.consultant-dashboard-title h2{font-size:clamp(26px,3.3vw,42px)!important;letter-spacing:-.055em!important;margin:0!important}.consultant-dashboard-title p{font-size:14px!important;line-height:1.35!important;color:#5c6c67!important;margin:0!important;max-width:680px!important}
  .consultant-dashboard-shell{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.consultant-dashboard-strip{display:grid;grid-template-columns:180px auto minmax(360px,1fr);gap:12px;align-items:stretch}.consultant-dashboard-main-kpi{display:grid;align-content:center;gap:4px;border:1px solid #dbe8e2;border-radius:20px;background:#14201f;color:#fff;padding:16px;box-shadow:0 14px 30px rgba(20,32,31,.14)}.consultant-dashboard-main-kpi span{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.7)}.consultant-dashboard-main-kpi strong{font-size:44px;line-height:.92;letter-spacing:-.07em}.consultant-dashboard-status{display:flex;align-items:center;justify-content:center;border:1px solid #dbe8e2;border-radius:20px;background:#fff;padding:12px}.consultant-dashboard-status .status-badge{font-size:11px!important}
  .consultant-dashboard-shell .generate-documents-panel{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;margin:0!important;padding:14px!important;border:1px solid #dbe8e2!important;border-radius:20px!important;background:#fff!important;box-shadow:none!important}.consultant-dashboard-shell .generate-documents-panel h3{font-size:17px!important;margin:0!important;letter-spacing:-.02em!important}.consultant-dashboard-shell .generate-documents-panel p{font-size:12.5px!important;line-height:1.32!important;color:#62726d!important;margin:2px 0 0!important}.consultant-dashboard-shell .ignore-line{margin-top:8px!important;font-size:12px!important;color:#4f625c!important}.consultant-dashboard-shell .generate-documents-panel .primary-action{min-height:44px!important;border-radius:14px!important;white-space:nowrap!important}
  .consultant-operation-board{border:1px solid #dbe8e2!important;border-radius:24px!important;padding:16px!important;background:#fff!important;box-shadow:0 18px 45px rgba(20,32,31,.06)!important}.consultant-table-head{padding-bottom:10px!important;border-bottom:1px solid #eef3f0!important;margin-bottom:10px!important}.consultant-table-head h2{font-size:clamp(22px,2.4vw,30px)!important;letter-spacing:-.045em!important}.table-count{min-height:36px;display:inline-flex;align-items:center;border:1px solid #dbe8e2;border-radius:999px;background:#f6faf8;padding:0 12px;font-size:13px;font-weight:900;color:#14201f}
  .consultant-filter-bar{position:sticky;top:8px;z-index:6;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(10px);border:1px solid #dbe8e2!important;border-radius:18px!important;padding:8px!important;margin:0 0 12px!important}.consultant-filter-chip{min-height:36px!important;border-radius:999px!important;font-size:12.5px!important;background:#fff!important}.consultant-filter-chip.active{background:#14201f!important;color:#fff!important}
  .consultant-category-section{border:1px solid #e1ebe6!important;border-radius:22px!important;background:#f8fbfa!important;padding:12px!important}.consultant-category-head{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;margin-bottom:10px!important}.consultant-category-head h3{font-size:20px!important;letter-spacing:-.035em!important}.consultant-category-actions{display:flex!important;align-items:center!important;gap:8px!important}.consultant-category-count{min-width:auto!important;display:flex!important;align-items:center!important;gap:5px!important;border-radius:999px!important;padding:8px 10px!important}.consultant-category-count strong{font-size:18px!important}.consultant-category-count span{font-size:10px!important}
  .consultant-work-card{border:1px solid #e0e8e4!important;border-radius:20px!important;box-shadow:0 10px 26px rgba(20,32,31,.055)!important;background:#fff!important;overflow:hidden!important}.work-card-head{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;background:#fff!important;border-bottom:1px solid #eef3f0!important;padding:12px 14px!important}.work-card-title h4{font-size:17px!important;letter-spacing:-.03em!important}.work-card-title p{display:none!important}.anomaly-ignore-line{border-radius:999px!important;background:#f8fbfa!important;padding:6px 9px!important;font-size:12px!important}.work-card-facts{grid-template-columns:repeat(4,minmax(0,1fr))!important;background:#fbfdfc!important}.work-card-facts .anomaly-fact{padding:10px 12px!important}.work-card-facts .anomaly-fact span{font-size:9px!important}.work-card-facts .anomaly-fact strong{font-size:13.5px!important}.work-card-action{padding:12px 14px 14px!important;gap:10px!important}.work-step-label{font-size:10px!important;margin-bottom:6px!important;color:#63736e!important}.classification-choice-grid,.initial-lot-choice-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:8px!important}.rw-choice-grid{grid-template-columns:repeat(2,minmax(150px,220px))!important}.guided-choice,.initial-lot-choice{min-height:42px!important;padding:9px 10px!important;border-radius:999px!important;align-items:center!important;background:#fff!important}.guided-choice input,.initial-lot-choice input{margin:0!important}.guided-choice strong,.initial-lot-choice strong{font-size:13px!important;line-height:1.15!important}.guided-choice small,.initial-lot-choice small{display:none!important}.guided-choice:has(input:checked),.guided-choice.selected,.initial-lot-choice:has(input:checked),.initial-lot-choice.selected{background:#14201f!important;color:#fff!important;border-color:#14201f!important;box-shadow:none!important}.guided-choice:has(input:checked) strong,.guided-choice.selected strong,.initial-lot-choice:has(input:checked) strong,.initial-lot-choice.selected strong{color:#fff!important}.guided-choice:has(input:checked) input,.guided-choice.selected input,.initial-lot-choice:has(input:checked) input,.initial-lot-choice.selected input{accent-color:#fff!important}
  .initial-lot-cost-fields{padding:10px!important;border-radius:16px!important;background:#fbfdfc!important}.two-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.one-field-grid{grid-template-columns:minmax(0,320px)!important}.missing-price-input-grid label,.initial-lot-cost-grid label,.anomaly-answer-input>label{font-size:10px!important;letter-spacing:.07em!important}.missing-price-input-grid input,.initial-lot-cost-grid input,.anomaly-answer-input input{min-height:40px!important;border-radius:12px!important}.work-card-note-save{grid-template-columns:minmax(0,1fr) 150px!important;padding-top:8px!important}.work-card-note-save textarea{min-height:40px!important;border-radius:12px!important}.work-card-note-save .anomaly-save-button{min-height:40px!important;border-radius:12px!important}
  @media(max-width:980px){.consultant-dashboard-strip{grid-template-columns:1fr}.consultant-dashboard-status{justify-content:flex-start}.consultant-dashboard-shell .generate-documents-panel{grid-template-columns:1fr!important}.consultant-dashboard-shell .generate-documents-panel .primary-action{width:100%!important}.work-card-facts{grid-template-columns:1fr 1fr!important}.work-card-note-save{grid-template-columns:1fr!important}.two-field-grid,.one-field-grid{grid-template-columns:1fr!important}.rw-choice-grid{grid-template-columns:1fr 1fr!important}}
  @media(max-width:560px){.consultant-workspace-hero,.consultant-operation-board{border-radius:18px!important;padding:12px!important}.consultant-dashboard-main-kpi strong{font-size:36px}.consultant-category-head{grid-template-columns:1fr!important}.consultant-category-actions{justify-content:space-between!important}.work-card-head{grid-template-columns:1fr!important}.work-card-facts{grid-template-columns:1fr 1fr!important}.classification-choice-grid,.initial-lot-choice-grid,.rw-choice-grid{grid-template-columns:1fr!important}.guided-choice,.initial-lot-choice{border-radius:14px!important}.consultant-filter-bar{top:0!important}}


  /* Step 397 — ultra compact professional consultant cockpit. */
  .consultant-workspace-page{max-width:1120px!important;gap:10px!important}
  .consultant-workspace-hero{border-radius:18px!important;padding:13px 14px!important;box-shadow:0 12px 32px rgba(20,32,31,.055)!important;background:linear-gradient(135deg,#fff 0%,#f7fbf9 100%)!important}
  .consultant-workspace-title{gap:3px!important}.consultant-dashboard-title h2{font-size:clamp(24px,2.7vw,34px)!important}.consultant-dashboard-title p{font-size:12.5px!important;max-width:560px!important}
  .consultant-dashboard-strip{grid-template-columns:140px minmax(110px,140px) minmax(320px,1fr)!important;gap:8px!important}
  .consultant-dashboard-main-kpi{border-radius:16px!important;padding:12px 14px!important;box-shadow:0 10px 24px rgba(20,32,31,.12)!important}.consultant-dashboard-main-kpi strong{font-size:36px!important}.consultant-dashboard-main-kpi span{font-size:9.5px!important}
  .consultant-dashboard-status{border-radius:16px!important;padding:8px 10px!important}.consultant-dashboard-shell .generate-documents-panel{border-radius:16px!important;padding:10px 12px!important;gap:8px!important}.consultant-dashboard-shell .generate-documents-panel h3{font-size:15.5px!important}.consultant-dashboard-shell .generate-documents-panel p{font-size:11.5px!important;line-height:1.22!important}.consultant-dashboard-shell .generate-documents-panel .primary-action{min-height:40px!important;border-radius:12px!important;padding-inline:14px!important}.consultant-dashboard-shell .ignore-line{margin-top:5px!important;font-size:11.5px!important}
  .consultant-operation-board{border-radius:18px!important;padding:12px!important;box-shadow:0 12px 34px rgba(20,32,31,.05)!important}.consultant-table-head{padding-bottom:8px!important;margin-bottom:8px!important}.consultant-table-head h2{font-size:22px!important}.table-count{min-height:32px!important;font-size:12px!important;padding:0 10px!important}
  .consultant-filter-bar{top:6px!important;border-radius:14px!important;padding:6px!important;margin-bottom:8px!important;gap:6px!important}.consultant-filter-chip{min-height:32px!important;border-radius:10px!important;font-size:12px!important;padding:0 11px!important}.consultant-filter-chip b{font-size:12px!important}.consultant-filter-chip:focus-visible{outline:2px solid #14201f!important;outline-offset:2px!important}
  .consultant-category-stack{gap:10px!important}.consultant-category-section{border-radius:16px!important;padding:10px!important;background:#fbfdfc!important}.consultant-category-section[hidden]{display:none!important}.consultant-category-head{margin-bottom:8px!important}.consultant-category-head h3{font-size:18px!important}.consultant-category-actions .secondary-action{min-height:32px!important;border-radius:10px!important;font-size:12px!important}.consultant-category-count{padding:6px 9px!important}.consultant-category-count strong{font-size:15px!important}
  .consultant-work-card{border-radius:14px!important;box-shadow:none!important}.work-card-head{padding:9px 11px!important}.work-card-title h4{font-size:15.5px!important}.anomaly-ignore-line{font-size:11.5px!important;padding:5px 8px!important;background:#fff!important;border:1px solid #e5ece8!important}.work-card-facts{grid-template-columns:repeat(4,minmax(0,1fr))!important}.work-card-facts .anomaly-fact{padding:7px 9px!important}.work-card-facts .anomaly-fact span{font-size:8.5px!important}.work-card-facts .anomaly-fact strong{font-size:12.5px!important;word-break:break-word!important}.work-card-action{padding:10px 11px 11px!important;gap:7px!important}.work-step-label{font-size:9.5px!important;margin-bottom:5px!important}.classification-choice-grid,.initial-lot-choice-grid{grid-template-columns:repeat(auto-fit,minmax(132px,1fr))!important;gap:6px!important}.rw-choice-grid{grid-template-columns:repeat(2,minmax(130px,190px))!important;gap:6px!important}.guided-choice,.initial-lot-choice{min-height:36px!important;border-radius:10px!important;padding:7px 9px!important;gap:7px!important}.guided-choice strong,.initial-lot-choice strong{font-size:12.5px!important}.initial-lot-cost-fields{padding:8px!important;border-radius:12px!important}.initial-lot-cost-grid{gap:8px!important}.missing-price-input-grid input,.initial-lot-cost-grid input,.anomaly-answer-input input{min-height:36px!important;border-radius:10px!important;font-size:13px!important}.work-card-note-save.no-note-save{display:flex!important;justify-content:flex-end!important;border-top:1px solid #eef3f0!important;padding-top:8px!important}.work-card-note-save.no-note-save .anomaly-save-button{width:auto!important;min-width:132px!important;min-height:36px!important;border-radius:10px!important}.anomaly-note-input,.work-card-note-save textarea{display:none!important}
  @media(max-width:980px){.consultant-dashboard-strip{grid-template-columns:1fr!important}.consultant-dashboard-status{justify-content:flex-start!important}.work-card-facts{grid-template-columns:1fr 1fr!important}.work-card-note-save.no-note-save{justify-content:stretch!important}.work-card-note-save.no-note-save .anomaly-save-button{width:100%!important}}
  @media(max-width:560px){.consultant-workspace-page{gap:8px!important}.consultant-workspace-hero,.consultant-operation-board{border-radius:15px!important;padding:10px!important}.consultant-dashboard-main-kpi strong{font-size:32px!important}.consultant-filter-bar{top:0!important}.consultant-category-section{padding:8px!important}.work-card-head{grid-template-columns:1fr auto!important}.work-card-facts{grid-template-columns:1fr 1fr!important}.classification-choice-grid,.initial-lot-choice-grid,.rw-choice-grid{grid-template-columns:1fr!important}.guided-choice,.initial-lot-choice{border-radius:10px!important}.initial-lot-cost-grid,.two-field-grid,.one-field-grid{grid-template-columns:1fr!important}}


  /* Step 399 — compact professional ticket pages. */
  .ticket-shell.ticket-shell-compact{width:min(100%,980px);margin:0 auto;display:grid;gap:10px}
  .ticket-command-panel,.ticket-list-panel-compact,.ticket-detail-compact{border-radius:18px!important;padding:13px 14px!important;box-shadow:0 12px 32px rgba(20,32,31,.055)!important;background:linear-gradient(135deg,#fff 0%,#f8fbfa 100%)!important;margin:8px 0!important}
  .ticket-command-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}.ticket-command-head h2{font-size:clamp(22px,2.4vw,30px)!important;margin:0!important;letter-spacing:-.045em}.ticket-command-head .status-badge{margin:0 0 5px!important;min-height:22px!important;padding:3px 8px!important;font-size:9.5px!important}
  .ticket-kpi-line,.ticket-summary-line{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ticket-kpi-line span,.ticket-summary-line span{display:inline-flex;align-items:center;gap:5px;min-height:31px;border:1px solid var(--line);border-radius:999px;background:#fff;padding:0 10px;color:#667571;font-size:11.5px;font-weight:850;white-space:nowrap}.ticket-kpi-line b,.ticket-summary-line b{color:#14201f;font-size:14px}.ticket-summary-line{margin-top:6px}
  .ticket-form.compact-ticket-form{display:grid;gap:8px;margin-top:9px}.ticket-form.compact-ticket-form label{gap:4px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:#667571}.ticket-form.compact-ticket-form input,.ticket-form.compact-ticket-form textarea{min-height:38px;border-radius:11px;padding:8px 10px;font-size:13.5px;background:#fff}.ticket-form.compact-ticket-form textarea{min-height:86px;resize:vertical}.ticket-form-actions{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:end}.ticket-file-field input{min-height:38px!important;padding:6px 9px!important}.ticket-form-actions .primary-action,.ticket-form-actions .secondary-action{min-height:38px;border-radius:11px;padding-inline:16px}
  .ticket-list-head.compact-head{margin-bottom:8px!important;align-items:center}.ticket-list-head.compact-head h2{font-size:21px!important;margin:0!important}.ticket-list-head.compact-head p{font-size:12px!important;margin:1px 0 0!important}.ticket-list-dense{gap:5px!important}.ticket-row.ticket-row-dense{grid-template-columns:8px minmax(0,1fr) auto 32px!important;gap:8px!important;border-radius:12px!important;padding:8px 10px!important;background:#fff!important;box-shadow:none!important}.ticket-row.ticket-row-dense:hover{transform:none!important;box-shadow:0 8px 20px rgba(20,32,31,.05)!important}.ticket-row.ticket-row-dense .ticket-dot{width:7px;height:7px;box-shadow:none}.ticket-row.ticket-row-dense .ticket-main{gap:0}.ticket-row.ticket-row-dense .ticket-main b{font-size:13.5px;line-height:1.12}.ticket-row.ticket-row-dense .ticket-main small{font-size:11px;line-height:1.2;color:#667571}.ticket-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;border:1px solid var(--line);border-radius:999px;background:#f8fbfa;color:#667571;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;padding:0 8px;white-space:nowrap}.ticket-row.needs-reply .ticket-status-pill{border-color:#efbac2;background:#fff3f4;color:#b42338}.ticket-row.resolved .ticket-status-pill{border-color:#cfe4db;background:#edf8f3;color:#006f5c}.ticket-row.ticket-row-dense .ticket-meta{display:grid;place-items:center;text-align:center;min-width:28px}.ticket-row.ticket-row-dense .ticket-meta b{font-size:12px}.ticket-row.ticket-row-dense .ticket-meta small{display:none}.ticket-row.ticket-row-dense.resolved{opacity:.82}
  .ticket-detail-compact{display:grid!important;gap:10px!important}.ticket-detail-compact .ticket-detail-head{align-items:center!important}.ticket-detail-compact .ticket-detail-head h2{font-size:clamp(22px,2.4vw,30px)!important;margin:0!important}.ticket-detail-compact .ticket-detail-head p{margin:2px 0 0!important;font-size:12px!important}.ticket-thread{gap:8px!important}.ticket-message{border-radius:14px!important;padding:9px 10px!important;box-shadow:none!important}.ticket-message header{margin-bottom:5px!important}.ticket-message header b{font-size:12.5px}.ticket-message header small{font-size:10.5px!important}.ticket-message p{font-size:13px!important;line-height:1.36!important}.ticket-attachments{gap:5px!important;margin-top:7px!important}.ticket-attachment{padding:5px 8px!important;font-size:11.5px!important}.ticket-close-form{justify-content:flex-end!important}.ticket-close-form .secondary-action{min-height:34px!important;border-radius:10px!important}.compact-empty{padding:10px!important;border-radius:12px!important;font-size:12px!important}
  @media(max-width:760px){.ticket-command-panel,.ticket-list-panel-compact,.ticket-detail-compact{border-radius:15px!important;padding:11px!important}.ticket-command-head{grid-template-columns:1fr}.ticket-kpi-line,.ticket-summary-line{gap:5px}.ticket-kpi-line span,.ticket-summary-line span{min-height:28px;font-size:10.5px;padding:0 8px}.ticket-form-actions{grid-template-columns:1fr}.ticket-form-actions .primary-action,.ticket-form-actions .secondary-action{width:100%}.ticket-row.ticket-row-dense{grid-template-columns:7px minmax(0,1fr) auto!important;padding:8px!important}.ticket-row.ticket-row-dense .ticket-meta{display:none}.ticket-status-pill{font-size:9px;padding:0 6px}.ticket-detail-compact .ticket-detail-head{display:grid!important;grid-template-columns:1fr auto!important}}


  /* Step 403 — compact professional Documents page. */
  .documents-page-compact{max-width:1020px;margin:0 auto;gap:10px!important}
  .doc-ready-hero{grid-template-columns:minmax(0,1fr) minmax(220px,360px)!important;gap:12px!important;border-radius:18px!important;padding:14px!important;background:linear-gradient(135deg,#fff 0%,#f6fbf8 100%)!important;box-shadow:0 12px 32px rgba(20,32,31,.055)!important}.doc-ready-hero h2{font-size:clamp(24px,3vw,34px)!important;letter-spacing:-.055em!important;margin:5px 0 2px!important}.doc-ready-hero p{font-size:13.5px!important;line-height:1.28!important;margin:0!important;color:#63736e!important}.doc-ready-actions{display:grid;grid-template-columns:1fr;gap:7px!important}.doc-ready-actions .primary-action,.doc-ready-actions .secondary-action{min-height:38px!important;border-radius:12px!important;font-size:13px!important;padding-inline:12px!important;width:100%!important}
  .doc-primary-panel{border:1px solid #dfe9e4;border-radius:18px;background:#fff;padding:12px;box-shadow:0 12px 28px rgba(20,32,31,.045);display:grid;gap:10px}.doc-primary-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.doc-primary-head strong{font-size:18px;letter-spacing:-.035em}.doc-primary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.doc-primary-tile{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center;text-decoration:none;border:1px solid #e3ebe7;border-radius:14px;background:#f9fcfb;padding:10px;min-height:64px;color:#14201f;transition:transform .16s ease,border-color .16s ease,background .16s ease}.doc-primary-tile:hover{transform:translateY(-1px);border-color:#b9d9cc;background:#fff}.doc-primary-tile span{grid-column:1/-1;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#006f5c}.doc-primary-tile strong{font-size:15px;letter-spacing:-.025em}.doc-primary-tile em{font-style:normal;font-size:12px;font-weight:900;color:#006f5c}
  .doc-tax-estimate-compact{border-radius:18px!important;padding:12px!important;gap:10px!important;margin:0!important;box-shadow:0 12px 28px rgba(20,32,31,.045)!important}.doc-tax-estimate-compact:before{height:4px!important}.doc-tax-estimate-compact .doc-tax-estimate-head{grid-template-columns:minmax(0,1fr) minmax(160px,230px)!important;gap:10px!important;align-items:center!important}.doc-tax-estimate-compact .doc-tax-estimate-head h2{font-size:clamp(21px,2.5vw,30px)!important;margin:4px 0 0!important}.doc-tax-estimate-compact .doc-tax-total-card{padding:10px 12px!important;border-radius:14px!important;box-shadow:none!important}.doc-tax-estimate-compact .doc-tax-total-card strong{font-size:clamp(23px,3vw,31px)!important}.doc-tax-estimate-compact .doc-tax-estimate-grid{gap:8px!important}.doc-tax-estimate-compact .doc-tax-estimate-card{border-radius:14px!important;padding:10px!important;gap:7px!important;box-shadow:none!important}.doc-tax-estimate-compact .doc-tax-estimate-card h3{font-size:16px!important}.doc-tax-estimate-compact .doc-tax-card-top span{min-height:22px!important;font-size:10.5px!important;padding:0 8px!important}.doc-tax-estimate-compact .doc-tax-card-top em{font-size:11px!important}.doc-tax-estimate-compact .doc-tax-main-number{padding:8px!important;border-radius:11px!important}.doc-tax-estimate-compact .doc-tax-main-number strong{font-size:clamp(20px,2.5vw,28px)!important}.doc-tax-estimate-compact .doc-tax-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.doc-tax-estimate-compact .doc-tax-mini-grid span{padding:7px!important;border-radius:10px!important}.doc-tax-estimate-compact .doc-tax-mini-grid small{font-size:9px!important}.doc-tax-estimate-compact .doc-tax-mini-grid b{font-size:12px!important}
  .doc-archive-tree-compact{padding:0!important;margin:0!important;border-radius:18px!important;background:transparent!important;border:0!important;box-shadow:none!important;gap:0!important}.doc-archive-tree-compact>.doc-root-folder{border:1px solid #dfe9e4!important;border-radius:18px!important;background:#fff!important}.doc-archive-tree-compact .doc-folder{box-shadow:none!important;border-radius:14px!important}.doc-archive-tree-compact .doc-folder+.doc-folder{margin-top:6px!important}.doc-archive-tree-compact .doc-folder summary{grid-template-columns:28px minmax(0,1fr) auto!important;padding:9px 10px!important;gap:8px!important}.doc-archive-tree-compact .doc-folder summary strong{font-size:13.5px!important}.doc-archive-tree-compact .doc-folder summary em{font-size:11px!important;white-space:nowrap!important}.doc-archive-tree-compact .folder-icon{width:24px!important;height:24px!important;border-radius:8px!important;font-size:14px!important}.doc-archive-tree-compact .doc-folder-children,.doc-archive-tree-compact .doc-file-list{padding:8px!important;gap:6px!important}.doc-archive-tree-compact .doc-year-folder,.doc-archive-tree-compact .doc-sub-folder{margin-left:0!important}.doc-archive-tree-compact .doc-file-row{grid-template-columns:40px minmax(0,1fr) 86px!important;border-radius:12px!important;padding:7px!important;gap:8px!important}.doc-archive-tree-compact .doc-file-icon{width:32px!important;height:32px!important;border-radius:10px!important;font-size:9px!important;letter-spacing:.06em!important}.doc-archive-tree-compact .doc-file-row strong{font-size:12.8px!important}.doc-archive-tree-compact .doc-file-row small{font-size:10.5px!important}.doc-archive-tree-compact .doc-file-row .download-link{min-height:30px!important;border-radius:10px!important;font-size:11px!important;padding:0 8px!important;width:auto!important}
  @media(max-width:760px){.doc-ready-hero{grid-template-columns:1fr!important}.doc-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.doc-tax-estimate-compact .doc-tax-estimate-head{grid-template-columns:1fr!important}.doc-archive-tree-compact .doc-folder summary{grid-template-columns:26px minmax(0,1fr)!important}.doc-archive-tree-compact .doc-folder summary em{grid-column:2;white-space:normal!important}.doc-archive-tree-compact .doc-file-row{grid-template-columns:34px minmax(0,1fr)!important}.doc-archive-tree-compact .doc-file-row .download-link{grid-column:1/-1;width:100%!important}}
  @media(max-width:430px){.doc-primary-grid{grid-template-columns:1fr}.doc-ready-hero,.doc-primary-panel,.doc-tax-estimate-compact{border-radius:14px!important;padding:10px!important}}



  /* Step 407 — global action loading, profile compact polish, and documents folder visual. */
  button.is-loading,a.is-loading,input.is-loading{pointer-events:none!important;opacity:.72!important;cursor:wait!important;filter:saturate(.85)}
  button.is-loading,a.is-loading{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
  .action-spinner{width:15px;height:15px;border-radius:999px;border:2px solid currentColor;border-right-color:transparent;display:inline-block;animation:ft-action-spin .68s linear infinite;flex:0 0 auto}
  @keyframes ft-action-spin{to{transform:rotate(360deg)}}
  .action-status-message{margin:0 0 10px;padding:9px 11px;border:1px solid #dfe9e4;border-radius:13px;background:#f8fbfa;color:#52645f;font-size:12px;font-weight:800;line-height:1.25}.action-status-message.error{border-color:#f1c7c7;background:#fff7f7;color:#9f1d35}

  .consultant-review-with-folder{display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;padding:14px!important;overflow:hidden!important;background:linear-gradient(135deg,#fff,#f7fcfa)!important}
  .review-folder-visual{position:relative;min-height:130px;display:grid;place-items:center;isolation:isolate}.review-folder-orbit{position:absolute;width:148px;height:86px;border:1px dashed rgba(0,111,92,.22);border-radius:50%;transform:rotate(-8deg);animation:ft-folder-orbit 3.2s ease-in-out infinite}.review-folder-shape{position:relative;width:142px;height:94px;border-radius:20px;background:linear-gradient(180deg,#ffd978,#dfa345);box-shadow:0 22px 42px rgba(112,83,24,.18),inset 0 -12px 24px rgba(111,71,14,.10);display:grid;place-items:center;color:#3a2600;font-weight:950;line-height:1;letter-spacing:-.02em}.review-folder-shape:before{content:"";position:absolute;left:0;top:-18px;width:78px;height:32px;border-radius:16px 16px 0 0;background:linear-gradient(180deg,#ffe28e,#e9b954)}.review-folder-shape span{position:relative;z-index:1;font-size:28px;background:#fff;border-radius:999px;padding:5px 18px;box-shadow:0 8px 18px rgba(95,62,14,.12)}.review-folder-shape b{position:relative;z-index:1;font-size:11px;letter-spacing:.08em}.review-folder-visual i{position:absolute;bottom:11px;width:16px;height:16px;border-radius:999px;background:#00806b;box-shadow:0 0 0 9px rgba(0,128,107,.12);animation:ft-folder-dot 1.6s ease-in-out infinite}
  @keyframes ft-folder-orbit{0%,100%{transform:rotate(-8deg) scale(1)}50%{transform:rotate(-2deg) scale(1.035)}}@keyframes ft-folder-dot{0%,100%{transform:translateY(0);opacity:.85}50%{transform:translateY(-6px);opacity:1}}

  .profile-page-compact{display:grid;gap:12px;max-width:980px;margin:0 auto}.profile-summary-card{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(260px,auto);gap:14px!important;align-items:center!important;padding:14px!important;border-radius:20px!important}.profile-avatar.compact{width:58px!important;height:58px!important;border-radius:18px!important;font-size:20px!important;box-shadow:none!important}.profile-summary-main h2{margin:4px 0 0!important;font-size:clamp(24px,3vw,34px)!important;letter-spacing:-.055em!important}.profile-summary-main p{margin:1px 0 0!important;color:#60716c!important;font-weight:800!important;font-size:13px!important}.profile-summary-meta{display:grid;gap:5px}.profile-summary-meta span{display:flex;justify-content:space-between;gap:12px;border:1px solid #dfe9e4;border-radius:999px;background:#f8fbfa;padding:6px 10px;font-size:11.5px;font-weight:900;color:#60716c}.profile-summary-meta b{color:#14201f;white-space:nowrap}.profile-action-grid.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-action-card.compact{padding:13px!important;border-radius:18px!important}.profile-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.profile-card-title h2{margin:0!important;font-size:20px!important;letter-spacing:-.04em!important}.profile-action-card.compact>p,.profile-2fa-card.compact .profile-2fa-head p{display:none!important}.profile-form{gap:8px!important}.profile-form label{gap:5px!important}.profile-form input{min-height:40px!important;border-radius:12px!important}.profile-form .primary-action,.profile-form .secondary-action,.profile-2fa-card.compact .primary-action,.profile-2fa-card.compact .secondary-action{min-height:40px!important;border-radius:13px!important;font-size:13.5px!important}.profile-2fa-card.compact{padding:13px!important;border-radius:18px!important}.profile-2fa-head.compact{display:flex!important;justify-content:space-between!important;align-items:center!important;margin-bottom:8px!important}.profile-2fa-head.compact h2{margin:4px 0 0!important;font-size:20px!important}.profile-2fa-enabled .mini-card{padding:9px 10px!important;border-radius:12px!important;font-size:12.5px!important;line-height:1.3!important}
  @media(max-width:820px){.consultant-review-with-folder{grid-template-columns:1fr!important}.review-folder-visual{min-height:108px}.review-folder-shape{width:122px;height:78px;border-radius:17px}.review-folder-shape span{font-size:22px;padding:4px 15px}.profile-summary-card{grid-template-columns:auto minmax(0,1fr)!important}.profile-summary-meta{grid-column:1/-1}.profile-action-grid.compact{grid-template-columns:1fr}}
  @media(max-width:520px){.profile-summary-card{grid-template-columns:1fr!important;text-align:left}.profile-avatar.compact{width:48px!important;height:48px!important}.profile-summary-meta span{display:grid;gap:1px}.consultant-review-with-folder{padding:12px!important}.review-folder-visual{min-height:96px}.review-folder-orbit{width:128px;height:74px}.review-folder-shape{width:112px;height:72px}}


  /* Step 442 — visible action progress for consultant, documents and downloads. */
  .action-progress-overlay{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:rgba(20,32,31,.28);backdrop-filter:blur(8px);opacity:0;pointer-events:none;transition:opacity .16s ease}.action-progress-overlay.is-visible{opacity:1;pointer-events:auto}.action-progress-card{width:min(440px,calc(100vw - 36px));border:1px solid #dfe9e4;border-radius:24px;background:#fff;box-shadow:0 28px 70px rgba(20,32,31,.22);padding:22px;display:grid;justify-items:center;text-align:center;gap:10px;color:#14201f}.action-progress-card.inline{width:auto;max-width:none;grid-template-columns:auto minmax(0,1fr);justify-items:start;text-align:left;align-items:center;box-shadow:none;padding:16px;border-radius:20px}.action-progress-card strong{font-size:clamp(22px,3vw,30px);line-height:1.04;letter-spacing:-.045em}.action-progress-card p{margin:0;color:#61716d;font-weight:760;font-size:13.5px;line-height:1.38}.action-progress-spinner{width:46px;height:46px;border-radius:999px;border:4px solid rgba(0,111,92,.18);border-right-color:#006f5c;animation:ft-action-spin .72s linear infinite}.action-progress-card.inline .action-progress-spinner{width:38px;height:38px;border-width:3px}.action-progress-banner{border:1px solid #b9d9cc;border-radius:22px;background:linear-gradient(135deg,#fff,#f4fbf8);padding:12px;box-shadow:0 14px 34px rgba(0,111,92,.08)}.consultant-live-progress{margin-bottom:10px}.consultant-live-progress h2{margin:4px 0 2px;font-size:clamp(22px,3vw,30px);line-height:1.05;letter-spacing:-.05em}.consultant-live-progress .status-badge{font-size:11px!important}.generate-documents-panel button[disabled],.consultant-work-card button[disabled]{cursor:not-allowed!important}.status-badge.with-loader{display:inline-flex!important;align-items:center!important;gap:8px}.tiny-loader{width:12px;height:12px;border-radius:999px;border:2px solid currentColor;border-right-color:transparent;animation:ft-action-spin .72s linear infinite;display:inline-block}
  .document-worker-progress-copy{display:grid;gap:8px;min-width:0}
  .document-worker-progress-copy strong{font-size:clamp(18px,2.4vw,24px)!important;line-height:1.08!important;letter-spacing:-.035em!important}
  .document-worker-progress-copy p{margin:0!important;color:#61716d!important;font-weight:760!important;font-size:13.5px!important;line-height:1.38!important}
  .document-worker-progress-copy small{color:#7f8d89;font-size:11px;font-weight:740}
  .document-worker-progress-steps{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:12px;color:#61716d;font-weight:850}
  .document-worker-progress-steps span{border:1px solid #dfe9e4;border-radius:999px;padding:5px 8px;background:#fff}
  .document-worker-progress-meter{width:100%;height:9px;border-radius:999px;background:#e8f1ee;overflow:hidden}
  .document-worker-progress-meter span{display:block;height:100%;border-radius:999px;background:currentColor;transition:width .25s ease}

  @media(max-width:560px){.action-progress-overlay{padding:16px}.action-progress-card{border-radius:20px;padding:18px}.action-progress-card.inline{grid-template-columns:1fr;text-align:left}.action-progress-spinner{width:40px;height:40px}.action-progress-banner{border-radius:18px}}

  /* Step 617 — final mobile Movimenti source selector readability fix. */
  @media(max-width:760px){
    .movement-start-panel .section-title{padding-right:0!important}
    .movement-start-panel .mobile-calc-orb{display:none!important}
    .calc-form{gap:11px!important;min-width:0!important}
    .movement-source-selector{
      display:grid!important;
      grid-template-columns:1fr!important;
      gap:8px!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      overflow:visible!important;
      border-radius:22px!important;
      padding:10px!important;
    }
    .movement-source-selector:before{display:none!important;content:none!important}
    .movement-source-selector-head{
      display:grid!important;
      grid-template-columns:1fr!important;
      align-items:start!important;
      gap:7px!important;
      margin:0 0 6px!important;
    }
    .movement-source-selector-head span{
      width:100%!important;
      max-width:100%!important;
      justify-content:center!important;
      text-align:center!important;
      white-space:normal!important;
      min-height:32px!important;
      border-radius:14px!important;
      padding:6px 9px!important;
      line-height:1.15!important;
    }
    .movement-source-toggle,
    .movement-source-toggle.compact,
    .affiliate-rebate-option-card .movement-source-toggle{
      display:grid!important;
      grid-template-columns:30px minmax(0,1fr)!important;
      grid-template-rows:auto!important;
      align-items:center!important;
      column-gap:10px!important;
      row-gap:4px!important;
      width:100%!important;
      min-width:0!important;
      max-width:100%!important;
      min-height:54px!important;
      padding:10px 11px!important;
      border-radius:17px!important;
      overflow:hidden!important;
    }
    .movement-source-toggle:after{right:8px!important;top:8px!important;width:6px!important;height:6px!important;box-shadow:0 0 0 5px rgba(0,111,92,.09)!important}
    .movement-source-toggle input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important}
    .movement-source-check{
      grid-column:1!important;
      grid-row:1!important;
      width:26px!important;
      height:26px!important;
      min-width:26px!important;
      min-height:26px!important;
      margin:0!important;
      align-self:center!important;
      justify-self:center!important;
    }
    .movement-source-icon,
    .movement-source-wallet-icon,
    .movement-source-csv-icon{
      display:none!important;
    }
    .movement-source-copy{
      grid-column:2!important;
      grid-row:1!important;
      display:grid!important;
      gap:3px!important;
      min-width:0!important;
      width:100%!important;
      max-width:100%!important;
      overflow:hidden!important;
    }
    .movement-source-copy strong{
      display:block!important;
      width:100%!important;
      max-width:100%!important;
      min-width:0!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      white-space:nowrap!important;
      overflow-wrap:normal!important;
      word-break:normal!important;
      font-size:14.5px!important;
      line-height:1.08!important;
      letter-spacing:-.035em!important;
    }
    .movement-source-copy small{
      display:block!important;
      width:100%!important;
      max-width:100%!important;
      min-width:0!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      white-space:nowrap!important;
      overflow-wrap:normal!important;
      word-break:normal!important;
      font-size:10.8px!important;
      line-height:1.18!important;
      color:#63736e!important;
      -webkit-line-clamp:unset!important;
      -webkit-box-orient:initial!important;
    }
    .movement-source-state.included,
    .movement-source-state.gated,
    .movement-source-state.excluded{
      display:inline!important;
      padding:0!important;
      border-radius:0!important;
      background:transparent!important;
      font-size:inherit!important;
      line-height:inherit!important;
      white-space:nowrap!important;
    }
    .affiliate-rebate-option-card{padding:10px!important;border-radius:20px!important;overflow:visible!important}
    .affiliate-rebate-option-card .movement-source-selector-head span{width:max-content!important;max-width:100%!important;justify-self:start!important;border-radius:999px!important;min-height:28px!important}
    .affiliate-rebate-option-card .movement-source-copy strong{white-space:normal!important;line-height:1.12!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
    .affiliate-rebate-option-card .movement-source-copy small{white-space:nowrap!important}
  }
  @media(max-width:430px){
    .movement-source-selector{padding:9px!important;border-radius:20px!important}
    .movement-source-toggle,.movement-source-toggle.compact,.affiliate-rebate-option-card .movement-source-toggle{grid-template-columns:28px minmax(0,1fr)!important;gap:9px!important;min-height:52px!important;padding:9px 10px!important;border-radius:16px!important}
    .movement-source-check{width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;border-radius:9px!important}
    .movement-source-copy strong{font-size:14px!important}.movement-source-copy small{font-size:10.4px!important}
  }

  /* Step 665 — consultant task board progressive row hydration. */
  .consultant-category-section[data-consultant-lazy-category]{content-visibility:auto;contain-intrinsic-size:1px 680px}
  .consultant-category-body{content-visibility:auto;contain-intrinsic-size:1px 620px}
  .consultant-work-card[data-consultant-row-hydrated="1"]{contain:layout style paint;content-visibility:auto;contain-intrinsic-size:1px 290px}
  .consultant-lazy-row-loader{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;padding:12px 8px 2px}
  .consultant-lazy-row-loader[hidden]{display:none!important}
  .consultant-lazy-row-loader small{font-size:11.5px;color:var(--muted);font-weight:780}
  .consultant-lazy-row-loader .secondary-action{min-height:38px;border-radius:999px}
  @media(max-width:640px){.consultant-lazy-row-loader{justify-content:stretch}.consultant-lazy-row-loader .secondary-action{width:100%}.consultant-lazy-row-loader small{text-align:center;width:100%}}




  /* Step 649 — final Step 610 navbar CSS seal.
     This block is intentionally placed at the very end of pageStyles() so later page/mobile
     polish cannot override the Step 610/605 app navbar with compact/grid mobile rules. */
  @media(max-width:760px){
    .app-topbar{
      width:min(100%,var(--page-max))!important;
      margin:0 auto 10px!important;
      display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;
      min-height:46px!important;padding:0!important;border:0!important;border-radius:0!important;
      background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important;
    }
    .brand-lockup{gap:10px!important;min-width:0!important;overflow:visible!important}.brand-lockup img{max-width:138px!important;height:38px!important;object-fit:contain!important;object-position:left center!important}.brand-lockup img.brand-image-icon{width:38px!important;height:38px!important}
    .user-box{display:flex!important;align-items:center!important;gap:6px!important;max-width:min(100%,520px)!important;padding:5px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(18px)!important;flex:0 1 auto!important;overflow:visible!important}
    .profile-topbar-link{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:#fff!important;color:var(--ink-soft)!important;display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}.profile-topbar-link svg{width:19px!important;height:19px!important}
    .notification-toggle,.admin-mail-toggle{display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;min-width:104px!important;width:auto!important;min-height:34px!important;height:34px!important;padding:0 6px 0 9px!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;font-size:12px!important;flex:0 0 auto!important;overflow:visible!important;white-space:nowrap!important}
    .notification-toggle .notification-switch,.admin-mail-toggle .notification-switch{display:block!important;width:38px!important;height:21px!important}.notification-switch i{width:15px!important;height:15px!important}.notification-toggle.is-on .notification-switch i,.admin-mail-toggle.is-on .notification-switch i{transform:translateX(17px)!important}
    .notification-toggle .notification-label,.admin-mail-toggle .notification-label{display:inline!important;font-size:9.5px!important;min-width:26px!important;letter-spacing:.075em!important}.admin-mail-toggle .admin-mail-word{display:inline!important;font-size:11px!important}.admin-mail-toggle:before,.admin-mail-toggle:after{content:none!important;display:none!important}
    .notification-bell{display:inline-grid!important;place-items:center!important;width:18px!important;height:18px!important;background:transparent!important;border:0!important}.notification-bell svg{width:18px!important;height:18px!important}
    .logout-button{width:auto!important;min-width:auto!important;height:34px!important;min-height:34px!important;padding:0 10px!important;border-radius:999px!important;font-size:12px!important;background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;flex:0 0 auto!important;overflow:visible!important;white-space:nowrap!important}.logout-button:before,.logout-button:after{content:none!important;display:none!important}

    .app-nav-shell{
      position:fixed!important;left:50%!important;right:auto!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;
      z-index:120!important;width:calc(100vw - max(20px,env(safe-area-inset-left) + env(safe-area-inset-right)))!important;max-width:var(--page-max)!important;
      margin:0!important;transform:translate3d(-50%,0,0)!important;will-change:transform!important;contain:layout paint!important;overflow:visible!important;border-radius:0!important;
    }
    .app-nav-shell:before,.app-nav-shell:after{display:block!important;content:""!important;position:absolute!important;top:3px!important;bottom:3px!important;z-index:3!important;width:34px!important;pointer-events:none!important;opacity:0;transition:opacity .18s ease!important;border-radius:22px!important}
    .app-nav-shell:before{left:1px!important;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))!important}.app-nav-shell:after{right:1px!important;background:linear-gradient(270deg,rgba(255,255,255,.98),rgba(255,255,255,.74) 42%,rgba(255,255,255,0))!important}.app-nav-shell.has-left-fade:before,.app-nav-shell.has-right-fade:after{opacity:1!important}
    .app-nav{
      position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;height:62px!important;margin:0 auto!important;padding:6px!important;
      border:1px solid var(--line)!important;border-radius:22px!important;background:rgba(255,255,255,.86)!important;box-shadow:var(--shadow-soft)!important;backdrop-filter:blur(18px)!important;
      display:flex!important;grid-template-columns:none!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;white-space:nowrap!important;scroll-behavior:smooth!important;overscroll-behavior-x:contain!important;max-width:100%!important;scroll-padding-inline:12px!important;
    }
    .app-nav::-webkit-scrollbar{display:none!important}.nav-item{height:50px!important;min-width:78px!important;width:auto!important;flex:0 0 auto!important;border-radius:999px!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:3px!important;padding:0 9px!important;color:#5f6f6b!important;font-weight:760!important;font-size:10.5px!important;letter-spacing:-.01em!important;overflow:visible!important}.nav-item:hover{background:var(--surface-muted)!important;color:var(--ink)!important;transform:translateY(-1px)!important}.nav-item.active{background:var(--ink)!important;color:#fff!important;box-shadow:0 10px 24px rgba(20,32,31,.16)!important;transform:none!important}.nav-icon{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important}.nav-icon svg{width:21px!important;height:21px!important;display:block!important}.nav-label{line-height:1!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;font-size:inherit!important;letter-spacing:inherit!important}.nav-badge{right:auto!important;top:auto!important}
  }
  @media(max-width:560px){.notification-switch{display:none!important}.notification-toggle .notification-switch,.admin-mail-toggle .notification-switch{display:none!important}.profile-topbar-link{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}.logout-button{padding:0 9px!important}.notification-toggle{padding:0 8px!important}}
  @media(max-width:430px){
    .app-topbar{align-items:flex-start!important}.brand-lockup img{max-width:120px!important;height:35px!important}.notification-toggle,.admin-mail-toggle{min-width:92px!important}.notification-bell{width:18px!important}.notification-label{display:none!important}.nav-item{min-width:72px!important}.user-box{gap:5px!important;border-radius:22px!important}
  }
  @media(max-width:390px){
    .brand-lockup img{max-width:110px!important}.user-box{padding:4px!important}.profile-topbar-link,.logout-button{height:32px!important;min-height:32px!important}.logout-button{font-size:11.5px!important;padding-inline:8px!important}
  }
  @media(orientation:landscape) and (max-height:560px){
    .app-nav-shell{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;width:min(100%,var(--page-max))!important;max-width:var(--page-max)!important;transform:none!important;contain:none!important}.app-nav{position:static!important;height:52px!important;border-radius:999px!important}.app-nav-shell:before,.app-nav-shell:after{width:32px!important}.nav-item{height:42px!important;min-width:max-content!important;flex-direction:row!important;font-size:12px!important;padding:0 12px!important}.nav-icon svg{width:18px!important;height:18px!important}.app-topbar{margin-bottom:8px!important}
  }

  /* Public footer column seal: keep footer links grouped and readable on every public page. */
  .public-footer{
    width:min(100%,var(--page-max))!important;
    margin:22px auto 0!important;
    padding:20px 4px calc(10px + env(safe-area-inset-bottom))!important;
    border-top:1px solid var(--line)!important;
    display:grid!important;
    grid-template-columns:minmax(120px,180px) minmax(0,1fr)!important;
    align-items:start!important;
    justify-items:stretch!important;
    gap:clamp(18px,4vw,56px)!important;
    color:var(--muted)!important;
    font-size:13px!important;
    text-align:left!important;
  }
  .public-page-landing .public-footer{
    width:min(100%,1180px)!important;
    border-top:0!important;
  }
  .auth-public-footer{
    width:min(100%,760px)!important;
    margin-top:clamp(14px,3vw,28px)!important;
  }
  .public-footer-brand{
    display:grid!important;
    gap:6px!important;
    align-content:start!important;
    justify-items:start!important;
    min-width:0!important;
  }
  .public-footer-brand span{
    display:block!important;
    white-space:nowrap!important;
    color:var(--muted)!important;
    font-weight:850!important;
    line-height:1.25!important;
  }
  .public-footer .public-footer-nav{
    display:grid!important;
    grid-template-columns:minmax(0,2fr) minmax(110px,.75fr)!important;
    align-items:start!important;
    justify-items:end!important;
    gap:clamp(18px,3vw,36px)!important;
    width:100%!important;
    min-width:0!important;
  }
  .public-footer-group{
    display:grid!important;
    gap:8px!important;
    align-content:start!important;
    min-width:0!important;
    max-width:100%!important;
  }
  .public-footer-group strong{
    display:block!important;
    color:var(--ink-soft)!important;
    font-size:11px!important;
    line-height:1.1!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.08em!important;
  }
  .public-footer-link-list{
    display:grid!important;
    gap:7px 18px!important;
    min-width:0!important;
  }
  .public-footer-group-guides{
    justify-items:end!important;
    text-align:right!important;
  }
  .public-footer-group-guides .public-footer-link-list{
    grid-template-columns:repeat(2,minmax(0,max-content))!important;
    justify-content:end!important;
  }
  .public-footer-group-legal{
    justify-items:end!important;
    text-align:right!important;
  }
  .public-footer-group-legal .public-footer-link-list{
    grid-template-columns:1fr!important;
    justify-items:end!important;
  }
  .public-footer nav,
  .public-footer a{
    min-width:0!important;
  }
  .public-footer a{
    display:block!important;
    max-width:100%!important;
    color:var(--muted)!important;
    text-decoration:none!important;
    font-size:13px!important;
    font-weight:720!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    letter-spacing:0!important;
  }
  .public-footer a:hover{
    color:var(--brand-strong)!important;
  }
  @media(max-width:980px){
    .public-footer{
      grid-template-columns:1fr!important;
      gap:14px!important;
    }
    .public-footer .public-footer-nav{
      grid-template-columns:minmax(0,1fr) minmax(96px,128px)!important;
      justify-items:stretch!important;
      gap:18px!important;
    }
    .public-footer-group,
    .public-footer-group-guides,
    .public-footer-group-legal{
      justify-items:start!important;
      text-align:left!important;
    }
    .public-footer-group-guides .public-footer-link-list,
    .public-footer-group-legal .public-footer-link-list{
      grid-template-columns:1fr!important;
      justify-content:stretch!important;
      justify-items:start!important;
    }
  }
  @media(max-width:760px){
    .public-footer{
      padding:20px 4px calc(104px + env(safe-area-inset-bottom))!important;
    }
    .auth-public-footer{
      padding-bottom:calc(36px + env(safe-area-inset-bottom))!important;
    }
    .public-footer .public-footer-nav{
      grid-template-columns:minmax(0,1fr) minmax(92px,112px)!important;
      gap:14px!important;
    }
    .public-footer a{
      font-size:12.7px!important;
      line-height:1.28!important;
    }
  }
  @media(max-width:340px){
    .public-footer .public-footer-nav{
      grid-template-columns:1fr!important;
    }
  }


  /* Step 682 — live navbar badge placement.
     Badge counts are small status markers: keep them on the outer corner of the
     nav item/topbar button and never centered over the icon glyph. */
  .nav-icon{position:relative!important;overflow:visible!important}
  .nav-badge,.nav-badge[hidden]{position:absolute!important;right:-16px!important;top:-13px!important;left:auto!important;bottom:auto!important;transform:none!important;z-index:4!important;min-width:18px!important;height:18px!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0 4px!important;border:2px solid #fff!important;background:var(--accent)!important;color:#fff!important;font-size:10px!important;font-weight:900!important;line-height:1!important;letter-spacing:0!important;box-shadow:0 8px 16px rgba(143,18,63,.18)!important;pointer-events:none!important}
  .nav-badge[hidden]{display:none!important}.nav-badge.ticket-alert{background:#c1121f!important}
  @media(max-width:760px){.nav-badge,.nav-badge[hidden]{right:-13px!important;top:-12px!important;min-width:17px!important;height:17px!important;font-size:9px!important;border-width:2px!important}}
  @media(max-width:430px){.nav-badge,.nav-badge[hidden]{right:-11px!important;top:-11px!important;min-width:16px!important;height:16px!important;font-size:8.5px!important}}

  
  .app-page-consulente .page-heading { margin:0 0 10px!important; }
  .app-page-consulente .page-heading h1 { font-size:24px!important; line-height:1.25!important; letter-spacing:0!important; overflow-wrap:anywhere; }
  .app-page-consulente .consultant-workspace-page { display:grid!important; gap:16px!important; min-width:0; }
  .app-page-consulente .consultant-workspace-page * { letter-spacing:0!important; min-width:0; box-sizing:border-box; }
  .app-page-consulente .consultant-workspace-page [hidden] { display:none!important; }
  .app-page-consulente .consultant-workspace-page .sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip-path:inset(50%); white-space:nowrap; border:0!important; }
  .app-page-consulente .consultant-workspace-page :is(h2,h3,h4,p) { margin:0!important; }
  .app-page-consulente .consultant-workspace-page h2 { font-size:17px!important; line-height:1.35!important; }
  .app-page-consulente .consultant-workspace-page h3 { font-size:15px!important; line-height:1.35!important; }
  .app-page-consulente .consultant-workspace-page p { font-size:13px!important; line-height:1.5!important; color:#596861!important; overflow-wrap:anywhere; }
  .app-page-consulente .consultant-workspace-page :is(.primary-action,.secondary-action,.danger-action) { min-height:36px!important; border-radius:6px!important; padding:8px 12px!important; font-size:13px!important; line-height:1.25!important; box-shadow:none!important; white-space:normal!important; gap:7px!important; }
  .app-page-consulente .consultant-workspace-page :is(button,a) svg { width:17px; height:17px; flex:none; }
  .app-page-consulente .consultant-workspace-page :is(button,a,summary,input):focus-visible { outline:2px solid #23577a!important; outline-offset:3px; }
  .app-page-consulente .consultant-workspace-page .status-badge { border-radius:4px!important; font-size:11px!important; line-height:1.4!important; padding:4px 7px!important; text-transform:none!important; }
  .app-page-consulente .consultant-workspace-page :is(.consultant-workspace-hero,.consultant-operation-board,.consultant-category-section,.consultant-dashboard-shell,.consultant-operation-board-empty) { margin:0!important; padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; box-shadow:none!important; }
  .app-page-consulente .consultant-workspace-page .consultant-workspace-hero { display:flex!important; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
  .app-page-consulente .consultant-workspace-page .consultant-workspace-hero::before, .app-page-consulente .consultant-workspace-page .consultant-workspace-hero::after { content:none!important; }
  .app-page-consulente .consultant-workspace-page :is(.consultant-workspace-nav,.consultant-workspace-title) { display:flex!important; align-items:center!important; flex-wrap:wrap; gap:8px!important; margin:0!important; }
  .app-page-consulente .consultant-workspace-page .consultant-workspace-nav .secondary-action { width:auto!important; flex:0 1 auto; }
  .app-page-consulente .consultant-workspace-page .consultant-fiscal-year { color:#65716d; font-size:12px; }
  .app-page-consulente .consultant-workspace-page .consultant-workflow { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; list-style:none; padding:0; margin:0; }
  .app-page-consulente .consultant-workspace-page .consultant-workflow li { display:flex; align-items:center; gap:8px; padding:10px 12px; border-bottom:2px solid #dfe6e2; color:#65716d; font-size:13px; line-height:1.3; }
  .app-page-consulente .consultant-workspace-page .consultant-step-number { display:grid; place-items:center; width:23px; height:23px; flex:none; border:1px solid #c8d3ce; border-radius:50%; font-size:11px; font-weight:700; }
  .app-page-consulente .consultant-workspace-page .consultant-workflow .is-current { color:#111817; font-weight:700; border-color:#0a6b57; }
  .app-page-consulente .consultant-workspace-page .is-current .consultant-step-number { color:#fff; background:#0a6b57; border-color:#0a6b57; }
  .app-page-consulente .consultant-workspace-page .consultant-workflow .is-complete { color:#0a6b57; border-color:#8cbeac; }
  .app-page-consulente .consultant-workspace-page .consultant-dashboard-strip { display:grid!important; grid-template-columns:auto auto minmax(0,1fr)!important; gap:16px!important; align-items:center!important; padding:0 0 16px; border-bottom:1px solid #dfe6e2; }
  .app-page-consulente .consultant-workspace-page :is(.consultant-dashboard-main-kpi,.consultant-dashboard-status) { display:flex!important; gap:7px!important; align-items:center!important; border:0!important; border-radius:0!important; padding:0!important; background:transparent!important; box-shadow:none!important; }
  .app-page-consulente .consultant-workspace-page .consultant-dashboard-main-kpi strong { font-size:24px!important; color:#111817!important; line-height:1!important; font-variant-numeric:tabular-nums; }
  .app-page-consulente .consultant-workspace-page .consultant-dashboard-main-kpi span { font-size:12px!important; font-weight:500!important; text-transform:none!important; color:#596861!important; }
  .app-page-consulente .consultant-workspace-page .generate-documents-panel { display:flex!important; justify-content:flex-end; align-items:center!important; gap:16px!important; padding:0!important; margin:0!important; background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important; }
  .app-page-consulente .consultant-workspace-page .generate-documents-panel > div { max-width:420px; }
  .app-page-consulente .consultant-workspace-page .generate-documents-panel p { font-size:12px!important; }
  .app-page-consulente .consultant-workspace-page .generate-documents-panel .primary-action { width:auto!important; flex:none; min-height:40px!important; }
  .app-page-consulente .consultant-workspace-page :is(.consultant-gate-blocker-panel,.consultant-action-status-panel,.consultant-live-progress) { padding:12px 16px!important; margin:0!important; border:0!important; border-left:3px solid #b97a20!important; border-radius:0!important; background:#fff8eb!important; box-shadow:none!important; }
  .app-page-consulente .consultant-workspace-page .consultant-action-status-panel { border-color:#0a6b57!important; background:#edf6f1!important; }
  .app-page-consulente .consultant-workspace-page .consultant-action-status-panel.error { border-color:#b63b4c!important; background:#fff2f3!important; }
  .app-page-consulente .consultant-workspace-page .consultant-gate-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; }
  .app-page-consulente .consultant-workspace-page :is(.consultant-gate-heading h2,.consultant-action-status-panel h2,.consultant-live-progress h2) { font-size:14px!important; }
  .app-page-consulente .consultant-workspace-page .consultant-recover-task-form { margin:0!important; padding:0!important; flex:none; }
  .app-page-consulente .consultant-workspace-page :is(.consultant-gate-details,.consultant-progress-details,.consultant-evidence-details) { margin:8px 0; font-size:12px; color:#596861; }
  .app-page-consulente .consultant-workspace-page :is(.consultant-gate-details,.consultant-progress-details,.consultant-evidence-details) > summary { cursor:pointer; padding:4px 0; font-size:12px; font-weight:600; color:#43574e; }
  .app-page-consulente .consultant-workspace-page .gate-blocker-mini-grid { display:flex!important; flex-wrap:wrap; gap:12px!important; margin:8px 0 0!important; }
  .app-page-consulente .consultant-workspace-page .gate-blocker-mini-grid > div { background:transparent!important; border:0!important; border-radius:0!important; display:flex; align-items:center; gap:8px; padding:0!important; }
  .app-page-consulente .consultant-workspace-page .gate-blocker-mini-grid strong { font-size:15px!important; }
  .app-page-consulente .consultant-workspace-page .consultant-action-status-panel .section-title { display:grid!important; gap:4px!important; margin:0!important; }
  .app-page-consulente .consultant-workspace-page .consultant-action-status-panel .status-badge { display:none!important; }
  .app-page-consulente .consultant-workspace-page .consultant-live-progress { background:#edf4f9!important; border-color:#23577a!important; }
  .app-page-consulente .consultant-workspace-page .action-progress-card.inline { padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; grid-template-columns:24px minmax(0,1fr)!important; gap:12px!important; }
  .app-page-consulente .consultant-workspace-page .action-progress-spinner { width:24px!important; height:24px!important; }
  .app-page-consulente .consultant-workspace-page .document-worker-progress-copy { width:100%; }
  .app-page-consulente .consultant-workspace-page .document-worker-progress-meter { height:4px!important; margin:8px 0 0!important; }
  .app-page-consulente .consultant-workspace-page .consultant-table-head { display:flex!important; justify-content:space-between; align-items:center; margin:0 0 12px!important; padding:0!important; }
  .app-page-consulente .consultant-workspace-page .table-count { padding:0!important; background:transparent!important; border:0!important; color:#65716d!important; font-size:12px!important; }
  .app-page-consulente .consultant-workspace-page .consultant-board-layout { display:grid; grid-template-columns:210px minmax(0,1fr); align-items:start; gap:24px; }
  .app-page-consulente .consultant-workspace-page .consultant-category-navigation { position:sticky; top:12px; }
  .app-page-consulente .consultant-workspace-page .consultant-category-select { display:none!important; }
  .app-page-consulente .consultant-workspace-page .consultant-filter-bar { display:flex!important; flex-direction:column; align-items:stretch; gap:4px!important; position:sticky!important; top:12px!important; padding:0!important; margin:0!important; border:0!important; background:transparent!important; border-radius:0!important; backdrop-filter:none!important; }
  .app-page-consulente .consultant-workspace-page .consultant-filter-chip { display:flex!important; justify-content:space-between; align-items:center; text-align:left; gap:8px; min-height:42px!important; padding:8px 10px!important; border:1px solid transparent!important; border-radius:6px!important; background:transparent!important; color:#596861!important; font-size:13px!important; font-weight:500!important; white-space:normal; }
  .app-page-consulente .consultant-workspace-page .consultant-filter-chip:hover { background:#eaf0ec!important; }
  .app-page-consulente .consultant-workspace-page .consultant-filter-chip.active { background:#e6f2ec!important; color:#075740!important; border-color:#b7d7c6!important; font-weight:700!important; }
  .app-page-consulente .consultant-workspace-page .consultant-filter-chip b { display:grid; place-items:center; min-width:22px; height:22px; padding:0 4px; background:#fff!important; color:inherit!important; border-radius:4px!important; font-size:11px!important; font-variant-numeric:tabular-nums; }
  .app-page-consulente .consultant-workspace-page .consultant-category-stack { display:grid!important; gap:24px!important; }
  .app-page-consulente .consultant-workspace-page .consultant-category-head { display:flex!important; justify-content:space-between!important; align-items:center!important; gap:12px!important; margin:0 0 10px!important; padding:0!important; border:0!important; }
  .app-page-consulente .consultant-workspace-page .consultant-category-actions { display:flex!important; gap:8px!important; }
  .app-page-consulente .consultant-workspace-page .consultant-category-body { display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:8px!important; }
  .app-page-consulente .consultant-workspace-page .consultant-work-card { display:block!important; width:100%!important; max-width:none!important; margin:0!important; padding:0!important; border:1px solid #d5dfd9!important; border-radius:6px!important; box-shadow:none!important; background:#fff!important; content-visibility:visible!important; contain:none!important; }
  .app-page-consulente .consultant-workspace-page .consultant-row-details > summary { display:grid; grid-template-columns:minmax(64px,110px) minmax(0,1fr) 20px; align-items:center; gap:12px; padding:12px 14px; cursor:pointer; list-style:none; min-height:60px; }
  .app-page-consulente .consultant-workspace-page .consultant-row-details > summary::-webkit-details-marker { display:none; }
  .app-page-consulente .consultant-workspace-page .consultant-row-details > summary:hover { background:#f4f7f5; }
  .app-page-consulente .consultant-workspace-page .consultant-row-details[open] > summary { border-bottom:1px solid #dfe6e2; }
  .app-page-consulente .consultant-workspace-page .consultant-row-asset { font-size:14px; font-weight:750; overflow-wrap:anywhere; }
  .app-page-consulente .consultant-workspace-page .consultant-row-context { display:flex; gap:6px 16px; flex-wrap:wrap; align-items:center; font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
  .app-page-consulente .consultant-workspace-page .consultant-row-context strong { font-weight:600; }
  .app-page-consulente .consultant-workspace-page .consultant-row-context > span { color:#65716d; }
  .app-page-consulente .consultant-workspace-page .consultant-row-toggle { display:flex; }
  .app-page-consulente .consultant-workspace-page .consultant-row-toggle svg { width:16px; height:16px; }
  .app-page-consulente .consultant-workspace-page .consultant-row-details[open] .consultant-row-toggle { transform:rotate(90deg); }
  .app-page-consulente .consultant-workspace-page .consultant-row-editor { display:grid; grid-template-columns:minmax(0,0.85fr) minmax(0,1.5fr); }
  .app-page-consulente .consultant-workspace-page .consultant-row-evidence { padding:14px; background:#f8faf9; border-right:1px solid #e4eae6; }
  .app-page-consulente .consultant-workspace-page .work-card-head { display:block!important; padding:0 0 10px!important; border:0!important; background:transparent!important; }
  .app-page-consulente .consultant-workspace-page .work-card-title h4 { font-size:13px!important; line-height:1.4!important; }
  .app-page-consulente .consultant-workspace-page .work-card-title p { display:block!important; font-size:12px!important; margin-top:4px!important; }
  .app-page-consulente .consultant-workspace-page .work-card-facts { display:grid!important; grid-template-columns:1fr!important; gap:7px!important; padding:0!important; background:transparent!important; border:0!important; }
  .app-page-consulente .consultant-workspace-page .work-card-facts .anomaly-fact { display:flex!important; align-items:baseline; justify-content:space-between; gap:12px; padding:0!important; background:transparent!important; border:0!important; border-radius:0!important; }
  .app-page-consulente .consultant-workspace-page .anomaly-fact span { font-size:11px!important; text-transform:none!important; color:#65716d!important; flex:1; }
  .app-page-consulente .consultant-workspace-page .anomaly-fact strong { font-size:12px!important; line-height:1.4!important; text-align:right; flex:1; font-weight:600!important; overflow-wrap:anywhere; }
  .app-page-consulente .consultant-workspace-page .work-card-action { display:block!important; padding:14px!important; background:#fff!important; }
  .app-page-consulente .consultant-workspace-page .consultant-task-fieldset { display:grid; gap:12px; padding:0; margin:0; border:0; }
  .app-page-consulente .consultant-workspace-page :is(.classification-decision-panel,.initial-lot-decision-panel) { padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; }
  .app-page-consulente .consultant-workspace-page .work-step-label { font-size:12px!important; font-weight:650!important; text-transform:none!important; margin:0 0 8px!important; color:#273331!important; }
  .app-page-consulente .consultant-workspace-page :is(.classification-choice-grid,.initial-lot-choice-grid,.rw-choice-grid) { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:6px!important; width:100%!important; max-width:none!important; }
  .app-page-consulente .consultant-workspace-page :is(.guided-choice,.initial-lot-choice) { display:flex!important; align-items:center!important; gap:8px!important; padding:8px!important; min-height:40px!important; border:1px solid #dfe6e2!important; border-radius:4px!important; background:#fff!important; color:#273331!important; box-shadow:none!important; cursor:pointer; }
  .app-page-consulente .consultant-workspace-page :is(.guided-choice,.initial-lot-choice) strong { font-size:12px!important; line-height:1.4!important; font-weight:500!important; color:inherit!important; overflow-wrap:anywhere; }
  .app-page-consulente .consultant-workspace-page :is(.guided-choice,.initial-lot-choice):has(input:checked) { border-color:#3b9073!important; background:#edf7f1!important; color:#075740!important; }
  .app-page-consulente .consultant-workspace-page input[type=radio] { width:16px!important; height:16px!important; min-height:16px!important; margin:0!important; flex:0 0 16px; accent-color:#0a6b57!important; }
  .app-page-consulente .consultant-workspace-page :is(.initial-lot-cost-fields,.missing-price-input-grid) { margin:12px 0 0!important; padding:0!important; background:transparent!important; border:0!important; border-radius:0!important; }
  .app-page-consulente .consultant-workspace-page :is(.two-field-grid,.initial-lot-cost-grid) { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:10px!important; }
  .app-page-consulente .consultant-workspace-page .one-field-grid { grid-template-columns:minmax(0,300px)!important; max-width:100%!important; }
  .app-page-consulente .consultant-workspace-page label { font-size:12px!important; text-transform:none!important; line-height:1.4!important; }
  .app-page-consulente .consultant-workspace-page input:not([type=hidden]):not([type=radio]):not([type=checkbox]) { width:100%!important; min-height:38px!important; height:38px; padding:8px 10px!important; border-radius:5px!important; font-size:14px!important; }
  .app-page-consulente .consultant-workspace-page .work-card-note-save.no-note-save { display:flex!important; justify-content:flex-end!important; padding:0!important; margin:0!important; border:0!important; }
  .app-page-consulente .consultant-workspace-page .work-card-note-save.no-note-save .anomaly-save-button { width:auto!important; min-width:88px!important; min-height:36px!important; border-radius:5px!important; background:#0a6b57!important; color:#fff!important; border-color:#0a6b57!important; }
  .app-page-consulente .consultant-workspace-page .consultant-lazy-row-loader { margin:12px 0 0!important; }
  .app-page-consulente .consultant-workspace-page .consultant-review-files { margin:0!important; padding:16px 0!important; background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important; }
  .app-page-consulente .consultant-workspace-page .consultant-review-tools { margin:0!important; padding:0!important; }
  @media(max-width:1000px) {
    .app-page-consulente .consultant-workspace-page .consultant-board-layout { grid-template-columns:180px minmax(0,1fr); gap:16px; }
    .app-page-consulente .consultant-workspace-page .consultant-row-editor { grid-template-columns:1fr; }
    .app-page-consulente .consultant-workspace-page .consultant-row-evidence { border-right:0; border-bottom:1px solid #e4eae6; }
    .app-page-consulente .consultant-workspace-page .work-card-facts { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:7px 16px!important; }
    .app-page-consulente .consultant-workspace-page .consultant-dashboard-strip { grid-template-columns:auto minmax(0,1fr)!important; gap:12px!important; }
    .app-page-consulente .consultant-workspace-page .consultant-dashboard-status { justify-content:flex-end!important; }
    .app-page-consulente .consultant-workspace-page .generate-documents-panel { grid-column:1/-1; justify-content:space-between; }
  }
  @media(max-width:700px) {
    .app-page-consulente .consultant-workspace-page { gap:14px!important; }
    .app-page-consulente .consultant-workspace-page .consultant-board-layout { grid-template-columns:minmax(0,1fr); gap:14px; }
    .app-page-consulente .consultant-workspace-page .consultant-category-navigation { position:static; }
    .app-page-consulente .consultant-workspace-page .consultant-filter-bar { display:none!important; }
    .app-page-consulente .consultant-workspace-page .consultant-category-select { display:grid!important; gap:6px!important; font-size:12px!important; }
    .app-page-consulente .consultant-workspace-page .consultant-category-select select { width:100%; max-width:100%; min-height:44px!important; padding:8px 12px!important; font-size:14px!important; border-radius:6px!important; background:#fff; }
    .app-page-consulente .consultant-workspace-page .consultant-workflow li { flex-direction:column; text-align:center; align-items:center; padding:8px 3px; gap:6px; font-size:11px; }
    .app-page-consulente .consultant-workspace-page .consultant-gate-heading { flex-direction:column; align-items:stretch; gap:10px; }
    .app-page-consulente .consultant-workspace-page .consultant-recover-task-form button { width:100%!important; min-height:44px!important; }
    .app-page-consulente .consultant-workspace-page .generate-documents-panel { flex-wrap:wrap; gap:8px!important; }
    .app-page-consulente .consultant-workspace-page .generate-documents-panel .primary-action { width:100%!important; min-height:44px!important; }
    .app-page-consulente .consultant-workspace-page :is(.primary-action,.secondary-action) { min-height:40px!important; }
    .app-page-consulente .consultant-workspace-page .consultant-row-details > summary { grid-template-columns:minmax(48px,78px) minmax(0,1fr) 16px; padding:10px 12px; gap:8px; }
    .app-page-consulente .consultant-workspace-page .consultant-row-context { display:grid; gap:2px; }
    .app-page-consulente .consultant-workspace-page :is(.work-card-action,.consultant-row-evidence) { padding:12px!important; }
    .app-page-consulente .consultant-workspace-page .anomaly-fact { flex-direction:column; gap:2px!important; }
    .app-page-consulente .consultant-workspace-page .anomaly-fact strong { text-align:left; }
    .app-page-consulente .consultant-workspace-page :is(.guided-choice,.initial-lot-choice) { min-height:44px!important; }
    .app-page-consulente .consultant-workspace-page .consultant-category-body .initial-lot-choice-grid { grid-template-columns:1fr!important; }
    .app-page-consulente .consultant-workspace-page :is(.two-field-grid,.initial-lot-cost-grid) { grid-template-columns:1fr!important; }
    .app-page-consulente .consultant-workspace-page .work-card-note-save.no-note-save .anomaly-save-button { min-height:44px!important; width:100%!important; }
    .app-page-consulente .consultant-workspace-page input:not([type=hidden]):not([type=radio]):not([type=checkbox]) { height:44px; font-size:16px!important; }
  }
  

  
  /* Professional platform redesign: mobile first, app content only. */
  :root{
    --bg:#f6f7f4;
    --bg-subtle:#eef1ee;
    --surface:#ffffff;
    --surface-soft:#f8faf8;
    --surface-muted:#f1f4f2;
    --ink:#111817;
    --ink-soft:#273331;
    --muted:#65716d;
    --muted-2:#89938f;
    --line:#dfe6e2;
    --line-strong:#c8d3ce;
    --brand:#0a6b57;
    --brand-strong:#064d40;
    --brand-soft:#e9f5f0;
    --accent:#8a2143;
    --warn:#9a650b;
    --danger:#a82b3d;
    --blue:#23577a;
    --radius:16px;
    --radius-sm:10px;
    --shadow:0 18px 46px rgba(17,24,23,.08);
    --shadow-soft:0 8px 24px rgba(17,24,23,.06);
    --page-max:1180px;
    --mobile-nav-safe:118px;
  }

  html{background:var(--bg)!important}
  body{
    background:linear-gradient(180deg,#fbfcfa 0%,var(--bg) 42%,#eef1ee 100%)!important;
    color:var(--ink)!important;
    font-size:15px!important;
    letter-spacing:0!important;
    overflow-x:hidden!important;
  }
  body:before,body:after,.public-shell:before,.public-shell:after{display:none!important;content:none!important}
  .shell{padding:18px clamp(14px,2.2vw,32px) 40px!important}
  .page-wrap{width:min(100%,var(--page-max))!important;padding-bottom:calc(30px + env(safe-area-inset-bottom))!important}
  .hero-shell{width:min(100%,var(--page-max))!important;margin-bottom:18px!important}

  .page-heading{
    margin:0 0 16px!important;
    padding:4px 2px 0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    overflow:visible!important;
    min-height:0!important;
  }
  .page-heading:before,.page-heading:after{display:none!important;content:none!important}
  .page-heading h1{
    margin:0!important;
    max-width:760px!important;
    color:var(--ink)!important;
    font-size:clamp(28px,3.4vw,44px)!important;
    line-height:1.02!important;
    letter-spacing:-.045em!important;
  }
  .page-heading p{
    max-width:760px!important;
    margin:7px 0 0!important;
    color:var(--muted)!important;
    font-size:15px!important;
    line-height:1.45!important;
    font-weight:620!important;
  }

  h2,h3,h4{color:var(--ink)!important;letter-spacing:-.03em!important}
  p,small{color:var(--muted)}
  a{text-underline-offset:3px}

  .panel,.source-card,.welcome-panel,.empty-state,.zip-hero,.doc-group,.auth-card,.landing-card,
  .doc-primary-panel,.doc-archive-tree,.consultant-review-waiting,.source-add-form-card,.source-add-hero-card,
  .source-browser,.source-catalog-card,.source-add-card,.ticket-command-panel,.ticket-list-panel,.ticket-detail{
    background:var(--surface)!important;
    border:1px solid var(--line)!important;
    border-radius:var(--radius)!important;
    box-shadow:var(--shadow-soft)!important;
    backdrop-filter:none!important;
  }
  .panel,.source-card,.empty-state,.zip-hero,.doc-primary-panel,.doc-archive-tree,.auth-card{
    padding:clamp(16px,2.1vw,24px)!important;
  }
  .panel:hover,.source-card:hover,.doc-group:hover{border-color:var(--line)!important}
  .mobile-soul-card:before,.report-after-calc-compact:before,.consultant-review-with-folder:before,
  .documents-page-compact>.doc-primary-panel:before,.source-catalog-card:before,
  .ft-auth-card:before,.home-core-hero:before,.source-card:before,.source-wallet-header.compact-core-card:before,
  .source-wallet-header.compact-core-card:after,.home-core-hero:after,.home-core-year:before,.home-core-year:after,.home-core-step:before,
  .home-core-step:after,.movement-source-toggle:after{
    display:none!important;content:none!important;
  }
  .mobile-calc-orb,.report-soul-visual,.doc-ready-visual,.review-folder-visual,.payment-confetti{display:none!important}

  .status-badge{
    min-height:26px!important;
    width:max-content!important;
    max-width:100%!important;
    margin:0!important;
    padding:5px 9px!important;
    border-radius:999px!important;
    border:1px solid var(--line)!important;
    background:var(--surface-muted)!important;
    color:var(--muted)!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:900!important;
    letter-spacing:.09em!important;
    text-transform:uppercase!important;
  }
  .status-badge.ready,.status-badge.ok{border-color:#c7dfd6!important;background:var(--brand-soft)!important;color:var(--brand-strong)!important}
  .status-badge.warn{border-color:#ead6a8!important;background:#fff8e8!important;color:var(--warn)!important}
  .status-badge.danger{border-color:#efc4ca!important;background:#fff4f5!important;color:var(--danger)!important}
  .status-badge.working,.status-badge.muted{border-color:#cbd9e4!important;background:#f0f6fb!important;color:var(--blue)!important}

  .price-info-popover{
    position:relative!important;
    display:inline-grid!important;
    place-items:center!important;
    flex:0 0 auto!important;
    z-index:20!important;
  }
  .price-info-popover summary{
    list-style:none!important;
    display:grid!important;
    place-items:center!important;
    width:23px!important;
    height:23px!important;
    border:1px solid var(--line-strong)!important;
    border-radius:999px!important;
    background:#fff!important;
    color:var(--ink-soft)!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:950!important;
    cursor:pointer!important;
    box-shadow:none!important;
    user-select:none!important;
  }
  .price-info-popover summary::-webkit-details-marker{display:none!important}
  .price-info-popover[open] summary{
    background:var(--ink)!important;
    border-color:var(--ink)!important;
    color:#fff!important;
  }
  .price-info-popover p{
    position:absolute!important;
    top:calc(100% + 8px)!important;
    right:0!important;
    width:min(292px,calc(100vw - 28px))!important;
    margin:0!important;
    padding:11px 12px!important;
    border:1px solid var(--line)!important;
    border-radius:12px!important;
    background:#fff!important;
    color:var(--ink-soft)!important;
    box-shadow:0 14px 34px rgba(17,24,23,.14)!important;
    font-size:12.2px!important;
    line-height:1.38!important;
    font-weight:650!important;
    letter-spacing:0!important;
    text-align:left!important;
    text-transform:none!important;
    z-index:40!important;
  }
  .price-info-popover p b{
    color:var(--ink)!important;
    font-weight:900!important;
  }
  .metric-label-row,.payment-tier-label-row{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    min-width:0!important;
  }
  .metric-label-row>span,.payment-tier-label-row>span{
    margin:0!important;
    color:inherit!important;
  }
  .metric.highlight .price-info-popover summary{
    border-color:rgba(255,255,255,.35)!important;
    background:rgba(255,255,255,.12)!important;
    color:#fff!important;
  }
  .metric.highlight .price-info-popover[open] summary{
    background:#fff!important;
    border-color:#fff!important;
    color:var(--ink)!important;
  }

  .primary-action,.secondary-action,.danger-action,.download-link,.file-inline-action,
  button.primary-action,button.secondary-action,button.danger-action{
    min-height:42px!important;
    border-radius:12px!important;
    padding:0 14px!important;
    font-size:13.5px!important;
    font-weight:850!important;
    letter-spacing:0!important;
    box-shadow:none!important;
    transform:none!important;
  }
  .primary-action{background:var(--ink)!important;color:#fff!important;border-color:var(--ink)!important}
  .primary-action:hover{background:#000!important;color:#fff!important;transform:none!important}
  .secondary-action,.download-link,.file-inline-action{
    background:#fff!important;
    color:var(--ink-soft)!important;
    border-color:var(--line)!important;
  }
  .secondary-action:hover,.download-link:hover,.file-inline-action:hover{
    border-color:var(--line-strong)!important;
    color:var(--brand-strong)!important;
    transform:none!important;
  }
  .danger-action,.secondary-action.danger{
    background:#fff6f7!important;
    color:var(--danger)!important;
    border-color:#edc5cb!important;
  }
  .primary-action.large,.secondary-action.large,.danger-action.large{min-height:48px!important;font-size:14px!important}
  .primary-action.compact,.secondary-action.compact,.danger-action.compact,.secondary-action.small,.primary-action.small{
    min-height:34px!important;border-radius:10px!important;font-size:12px!important;padding:0 10px!important;
  }

  .button-row,.doc-ready-actions,.source-actions,.ticket-form-actions{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    flex-wrap:wrap!important;
  }
  .app-page-consulente .consultant-case-review .consultant-case-card-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:0!important;
  }
  .app-page-consulente .consultant-case-review .consultant-case-row{
    grid-template-columns:minmax(0,1fr) auto!important;
    min-width:0;
  }
  .app-page-consulente .consultant-case-review .consultant-case-user{
    min-width:0;
    overflow-wrap:anywhere;
  }
  .app-page-consulente .consultant-case-review-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:0 12px 12px;
    min-width:0;
  }
  .app-page-consulente .consultant-case-delivery,
  .app-page-consulente .consultant-review-recalculate{
    margin:0;
    min-width:0;
  }
  .app-page-consulente .consultant-case-review-actions .compact,
  .app-page-consulente .consultant-review-commands .compact{
    max-width:100%;
    min-height:40px;
    height:auto;
    padding:9px 12px;
    white-space:normal!important;
    overflow-wrap:anywhere;
    text-align:center;
    line-height:1.3;
    letter-spacing:0!important;
  }
  .app-page-consulente .consultant-review-tools,
  .app-page-consulente .consultant-declaration-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
    min-width:0;
  }
  .app-page-consulente .consultant-review-tools .section-title,
  .app-page-consulente .consultant-review-tools h2,
  .app-page-consulente .consultant-review-files h2,
  .app-page-consulente .consultant-declaration-head h3{
    margin:0!important;
    font-size:20px!important;
    line-height:1.3!important;
    letter-spacing:0!important;
  }
  .app-page-consulente .consultant-review-commands{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    min-width:0;
  }
  .app-page-consulente .consultant-declaration-review{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    min-width:0;
  }
  .app-page-consulente .consultant-declaration-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:4px;
    border-bottom:1px solid var(--line);
  }
  .app-page-consulente .consultant-declaration-tabs a{
    display:inline-flex;
    align-items:center;
    min-height:44px;
    padding:10px 16px;
    border-bottom:3px solid transparent;
    color:var(--ink-soft);
    font-size:14px;
    font-weight:700;
    letter-spacing:0;
    text-decoration:none;
  }
  .app-page-consulente .consultant-declaration-tabs a[aria-current="true"]{
    border-color:var(--brand);
    color:var(--brand-strong);
    background:#f0f7f4;
  }
  .app-page-consulente .consultant-declaration-frame{
    display:block;
    width:100%;
    min-width:0;
    height:720px;
    max-height:76dvh;
    border:1px solid var(--line);
    border-radius:4px;
    background:#f4f6f5;
  }
  .app-page-consulente .consultant-review-files{
    padding:16px 0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:transparent!important;
  }
  @media(max-width:600px){
    .app-page-consulente .consultant-case-review-actions{
      display:grid;
      grid-template-columns:minmax(0,1fr);
    }
    .app-page-consulente .consultant-case-review-actions .compact,
    .app-page-consulente .consultant-case-delivery,
    .app-page-consulente .consultant-review-commands,
    .app-page-consulente .consultant-review-commands .compact,
    .app-page-consulente .consultant-review-recalculate{
      width:100%;
    }
    .app-page-consulente .consultant-case-review .consultant-case-meta{
      grid-column:2!important;
      grid-row:1!important;
      text-align:right;
    }
    .app-page-consulente .consultant-declaration-tabs a{
      padding:10px 12px;
    }
    .app-page-consulente .consultant-declaration-frame{
      height:540px;
      max-height:65dvh;
    }
  }

  .is-hidden,.hidden,[hidden]{display:none!important}
  .button-row.single-action{display:grid!important;grid-template-columns:1fr!important}
  .button-row.wrap{display:flex!important;flex-wrap:wrap!important}

  label b,.compact-list b{
    color:var(--ink-soft)!important;
    font-size:12.5px!important;
    font-weight:800!important;
    letter-spacing:0!important;
  }
  input[type=text],input[type=email],input[type=password],select,input[type=file],textarea{
    min-height:46px!important;
    border-radius:12px!important;
    border:1px solid var(--line)!important;
    background:#fff!important;
    color:var(--ink)!important;
    padding:0 12px!important;
    box-shadow:none!important;
  }
  textarea{padding:10px 12px!important;min-height:96px!important}
  input:focus,select:focus,textarea:focus{
    outline:3px solid rgba(10,107,87,.12)!important;
    border-color:#8ec4b5!important;
  }
  .check-line,.toggle-line,.chip,.option-card,.mini-card{
    border-radius:12px!important;
    border-color:var(--line)!important;
    background:var(--surface-soft)!important;
    box-shadow:none!important;
  }

  .alert{
    border-radius:12px!important;
    box-shadow:none!important;
    border-color:var(--line)!important;
    background:#fff!important;
  }

  .pwa-utility-badge{
    left:auto!important;
    right:calc(14px + env(safe-area-inset-right))!important;
    bottom:calc(82px + env(safe-area-inset-bottom))!important;
    transform:none!important;
    min-height:34px!important;
    max-width:46px!important;
    width:46px!important;
    padding:0!important;
    border-radius:14px!important;
    background:rgba(17,24,23,.94)!important;
    box-shadow:0 10px 28px rgba(17,24,23,.18)!important;
    font-size:0!important;
    gap:0!important;
  }
  .pwa-utility-badge:hover{transform:none!important}
  .pwa-utility-badge-icon{width:18px!important;height:18px!important}
  .pwa-utility-badge-icon svg{width:18px!important;height:18px!important}
  .app-body .pwa-utility-badge{display:none!important}
  .app-body .logout-button{
    width:auto!important;
    min-width:44px!important;
    font-size:12px!important;
    padding:0 10px!important;
    color:var(--ink-soft)!important;
  }
  .app-body .logout-button:before,.app-body .logout-button:after{display:none!important;content:none!important}

  .home-core-shell,.documents-shell,.profile-page-compact,.ticket-shell.ticket-shell-compact{
    width:min(100%,980px)!important;
    margin-inline:auto!important;
    display:grid!important;
    gap:12px!important;
  }
  .home-core-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 176px!important;
    gap:16px!important;
    align-items:stretch!important;
    padding:20px!important;
    border:1px solid var(--line)!important;
    border-radius:var(--radius)!important;
    background:var(--surface)!important;
    box-shadow:var(--shadow-soft)!important;
  }
  .home-core-hero h2{
    margin:8px 0 8px!important;
    font-size:clamp(28px,3.4vw,42px)!important;
    line-height:1.03!important;
    letter-spacing:-.045em!important;
  }
  .home-core-hero p{max-width:660px!important;margin:0!important;color:var(--muted)!important;font-size:15px!important;line-height:1.48!important}
  .home-core-year{
    display:grid!important;
    align-content:space-between!important;
    min-height:142px!important;
    border-radius:14px!important;
    padding:14px!important;
    background:var(--ink)!important;
    color:#fff!important;
    overflow:hidden!important;
  }
  .home-core-year span,.home-core-year small{color:rgba(255,255,255,.7)!important;font-weight:780!important}
  .home-core-year strong{font-size:44px!important;line-height:.95!important;letter-spacing:-.05em!important;color:#fff!important}
  .home-core-cta,.home-core-note,.home-core-danger{
    display:flex!important;
    justify-content:space-between!important;
    gap:12px!important;
    align-items:center!important;
    padding:14px!important;
    border:1px solid var(--line)!important;
    border-radius:var(--radius)!important;
    background:var(--surface)!important;
    box-shadow:var(--shadow-soft)!important;
  }
  .home-core-cta b,.home-core-danger b{display:block!important;color:var(--ink)!important;font-size:15px!important}
  .home-core-cta span,.home-core-danger span{display:block!important;color:var(--muted)!important;font-size:13px!important}
  .home-core-steps{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .home-core-step{
    display:grid!important;
    gap:8px!important;
    min-height:118px!important;
    padding:14px!important;
    border:1px solid var(--line)!important;
    border-radius:var(--radius-sm)!important;
    background:var(--surface)!important;
    box-shadow:var(--shadow-soft)!important;
    overflow:hidden!important;
  }
  .home-core-step span{
    display:grid!important;place-items:center!important;
    width:34px!important;min-width:34px!important;height:30px!important;border-radius:10px!important;padding:0!important;
    background:var(--ink)!important;color:#fff!important;font-size:11px!important;font-weight:900!important;
    line-height:1!important;letter-spacing:0!important;white-space:nowrap!important;
  }
  .home-core-step b{font-size:16px!important;color:var(--ink)!important}
  .home-core-step small{font-size:12.5px!important;line-height:1.35!important;color:var(--muted)!important}
  .home-core-note{display:grid!important;align-items:start!important}
  .home-core-note strong{font-size:18px!important;color:var(--ink)!important;letter-spacing:-.02em!important}

  .source-wallet-header.compact-core-card,.movement-start-panel,.report-after-calc-compact,.doc-ready-hero,
  .profile-summary-card,.profile-action-card.compact,.profile-2fa-card.compact,.ticket-command-panel,.ticket-list-panel{
    border-radius:var(--radius)!important;
    background:var(--surface)!important;
    border:1px solid var(--line)!important;
    box-shadow:var(--shadow-soft)!important;
    overflow:hidden!important;
  }
  .source-head.core-page-head,.source-head,.work-head,.report-ready-row,.doc-primary-head,.ticket-command-head,.ticket-detail-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:12px!important;
    align-items:start!important;
  }
  .source-head h2,.movement-start-panel h2,.report-ready-row h2,.doc-ready-hero h2,.profile-summary-main h2,.ticket-command-head h2{
    margin:6px 0 4px!important;
    font-size:clamp(24px,3vw,34px)!important;
    line-height:1.04!important;
    letter-spacing:-.04em!important;
  }
  .source-head p,.section-title p,.report-ready-row p,.doc-ready-hero p,.ticket-list-head p{
    margin:0!important;color:var(--muted)!important;font-size:14px!important;line-height:1.42!important;font-weight:620!important;
  }

  .connected-source-section-title{
    display:flex!important;
    justify-content:space-between!important;
    align-items:center!important;
    margin:16px 0 10px!important;
  }
  .connected-source-section-title b{font-size:14px!important;color:var(--ink)!important}
  .connected-source-section-title small{
    min-width:28px!important;height:28px!important;border-radius:999px!important;
    display:grid!important;place-items:center!important;background:var(--ink)!important;color:#fff!important;font-weight:900!important;
  }
  .connected-source-list,.wallet-diagnostic-list,.ticket-list-dense{display:grid!important;gap:8px!important}
  .connected-source-row,.connected-wallet-row,.connected-csv-row,.ticket-row-dense{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
    align-items:center!important;
    min-width:0!important;
    padding:12px!important;
    border:1px solid var(--line)!important;
    border-radius:13px!important;
    background:var(--surface-soft)!important;
    box-shadow:none!important;
  }
  .connected-source-main{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:10px!important;align-items:center!important;min-width:0!important}
  .source-favicon,.connected-source-main .source-favicon,.movement-source-icon{
    width:38px!important;height:38px!important;border-radius:11px!important;padding:6px!important;
    border:1px solid var(--line)!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;
  }
  .connected-source-main strong,.ticket-main b{
    display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
    font-size:14px!important;color:var(--ink)!important;letter-spacing:-.01em!important;
  }
  .connected-source-main small,.ticket-main small{
    display:block!important;margin-top:2px!important;font-size:12px!important;line-height:1.28!important;color:var(--muted)!important;
  }
  .source-connected-status{
    display:inline-flex!important;margin-top:5px!important;padding:3px 7px!important;border-radius:999px!important;
    background:var(--brand-soft)!important;color:var(--brand-strong)!important;font-size:9px!important;font-weight:900!important;letter-spacing:.07em!important;
  }
  .trash-action{
    width:38px!important;height:38px!important;border-radius:11px!important;border:1px solid var(--line)!important;
    background:#fff!important;color:var(--danger)!important;box-shadow:none!important;
  }

  .add-source-panel,.source-add-panel-compact,.source-browser,.diagnostic-center-card,.diagnostic-card{
    border-radius:var(--radius)!important;
    padding:14px!important;
    background:var(--surface)!important;
    border:1px solid var(--line)!important;
    box-shadow:var(--shadow-soft)!important;
  }
  .add-source-choice-grid,.source-choice-grid-compact,.exchange-selector-grid,.source-add-grid,.source-category-tabs,.source-add-tabs{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;
    gap:9px!important;
  }
  .add-source-choice-card,.exchange-selector-item,.source-add-card,.source-add-tab,.source-category-tab{
    min-height:56px!important;
    border-radius:13px!important;
    padding:12px!important;
    border:1px solid var(--line)!important;
    background:var(--surface-soft)!important;
    box-shadow:none!important;
    color:var(--ink)!important;
  }
  .source-add-tab.active,.source-category-tab.active,.source-add-card.active{
    background:var(--ink)!important;color:#fff!important;border-color:var(--ink)!important;
  }
  .source-permission-badges{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:8px!important}
  .source-permission-badges span{
    min-height:23px!important;padding:0 8px!important;border-radius:999px!important;border:1px solid var(--line)!important;
    background:#fff!important;color:var(--muted)!important;font-size:9px!important;font-weight:900!important;letter-spacing:.06em!important;
  }

  .movement-start-panel{position:relative!important;overflow:visible!important;padding:18px!important}
  .movement-start-panel .section-title{padding:0!important;margin:0 0 14px!important}
  .movement-source-selector,.affiliate-rebate-option-card,.prior-fiscal-losses-card{
    display:grid!important;
    gap:9px!important;
    width:100%!important;
    border:1px solid var(--line)!important;
    border-radius:var(--radius)!important;
    background:var(--surface-soft)!important;
    padding:12px!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  .movement-source-selector:before{display:none!important;content:none!important}
  .movement-source-selector-head{
    display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;margin:0!important;
  }
  .movement-source-selector-head b{display:block!important;color:var(--ink)!important;font-size:14px!important}
  .movement-source-selector-head p{margin:3px 0 0!important;font-size:12.5px!important;line-height:1.35!important;color:var(--muted)!important}
  .movement-source-selector-head span{
    min-height:28px!important;border-radius:999px!important;padding:6px 9px!important;
    background:#fff!important;border:1px solid var(--line)!important;color:var(--ink-soft)!important;font-size:11px!important;font-weight:850!important;white-space:nowrap!important;
  }
  .movement-source-toggle,.movement-source-toggle.compact{
    display:grid!important;
    grid-template-columns:28px 38px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:center!important;
    min-height:58px!important;
    width:100%!important;
    padding:10px!important;
    border:1px solid var(--line)!important;
    border-radius:13px!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .movement-source-toggle.compact{grid-template-columns:28px minmax(0,1fr)!important}
  .movement-source-toggle input{position:absolute!important;opacity:0!important;pointer-events:none!important}
  .movement-source-check{
    width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;border-radius:8px!important;
    border:1.5px solid var(--line-strong)!important;background:#fff!important;margin:0!important;box-shadow:none!important;
  }
  .movement-source-toggle:has(input[type="checkbox"]:checked){
    border-color:#a7d0c4!important;background:#f4fbf8!important;
  }
  .movement-source-toggle:has(input[type="checkbox"]:checked) .movement-source-check{
    background:var(--brand)!important;border-color:var(--brand)!important;
  }
  .movement-source-toggle:has(input[type="checkbox"]:checked) .movement-source-check:after{border-color:#fff!important}
  .movement-source-toggle.gated{background:#fff9ed!important;border-color:#ecd6a4!important}
  .movement-source-copy{display:grid!important;gap:2px!important;min-width:0!important}
  .movement-source-copy strong{
    overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
    font-size:14px!important;line-height:1.15!important;color:var(--ink)!important;letter-spacing:-.01em!important;
  }
  .movement-source-copy small{
    overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
    font-size:11.4px!important;line-height:1.25!important;color:var(--muted)!important;
  }
  .movement-source-state.included{color:var(--brand-strong)!important;font-weight:900!important;background:transparent!important;padding:0!important}
  .movement-source-state.excluded{color:var(--danger)!important;font-weight:900!important;background:transparent!important;padding:0!important}
  .movement-source-state.gated{color:var(--warn)!important;font-weight:900!important;background:transparent!important;padding:0!important}
  .fiscal-year-label{
    display:grid!important;gap:8px!important;padding:12px!important;border:1px solid var(--line)!important;border-radius:var(--radius)!important;background:#fff!important;box-shadow:none!important;
  }
  .fiscal-year-label span{font-size:12px!important;text-transform:none!important;letter-spacing:0!important;color:var(--muted)!important}
  .fiscal-year-label strong{color:var(--ink)!important;font-size:15px!important}
  .prior-fiscal-loss-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .movement-start-panel .primary-action.large{width:100%!important;background:var(--ink)!important;box-shadow:none!important}
  .movement-calc-action-bar{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:center!important;
    gap:9px!important;
    width:100%!important;
    min-width:0!important;
    padding:12px!important;
    border:1px solid var(--line)!important;
    border-radius:var(--radius)!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .movement-calc-action-bar strong{
    color:var(--ink)!important;
    font-size:14px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:-.01em!important;
  }
  .movement-calc-action-bar .primary-action.large{
    width:100%!important;
  }

  .movement-work-panel,.work-panel.running,.work-panel.done,.work-panel.error{padding:18px!important}
  .live-status-meta{margin:10px 0!important}
  .elapsed-pill{
    display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:32px!important;padding:0 10px!important;
    border-radius:999px!important;background:var(--surface-muted)!important;color:var(--ink-soft)!important;border:1px solid var(--line)!important;box-shadow:none!important;font-size:12px!important;
  }
  .metric-grid{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;
    gap:9px!important;
    margin:12px 0 0!important;
    padding:0!important;
    overflow:visible!important;
  }
  .metric{
    min-width:0!important;width:100%!important;min-height:96px!important;border:1px solid var(--line)!important;border-radius:13px!important;
    background:var(--surface-soft)!important;box-shadow:none!important;padding:13px!important;
  }
  .metric.highlight{background:var(--ink)!important;border-color:var(--ink)!important;color:#fff!important}
  .metric span{font-size:10px!important;letter-spacing:.08em!important}
  .metric strong{font-size:clamp(24px,3vw,32px)!important;line-height:1!important;letter-spacing:-.04em!important}
  .metric.highlight span,.metric.highlight small,.metric.highlight p{color:rgba(255,255,255,.72)!important}
  .metric.highlight strong{color:#fff!important}
  .source-orchestration-panel{border-radius:13px!important;background:var(--surface-soft)!important;box-shadow:none!important}
  .source-orchestration-phases{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important}
  .source-orchestration-phase{border-radius:11px!important;background:#fff!important}

  .report-after-calc-compact{max-width:760px!important;margin-inline:auto!important;padding:18px!important}
  .report-ready-row{grid-template-columns:1fr!important}
  .report-compact-pills{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin-top:12px!important;
  }
  .report-compact-pills span{
    justify-content:center!important;min-height:40px!important;border-radius:12px!important;border:1px solid var(--line)!important;
    background:var(--surface-soft)!important;color:var(--ink-soft)!important;box-shadow:none!important;font-size:12px!important;
    white-space:normal!important;line-height:1.18!important;text-align:center!important;padding:7px 10px!important;
  }
  .report-compact-pills .tier-pill{grid-column:1/-1!important}
  .compact-report-note,.report-review-card{
    display:grid!important;gap:4px!important;margin-top:12px!important;padding:12px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--surface-soft)!important;box-shadow:none!important;
  }
  .report-actions{position:static!important;margin-top:14px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
  .report-actions .primary-action,.report-actions button.primary-action{width:100%!important;background:var(--ink)!important;box-shadow:none!important}
  .report-file-tree{border-radius:13px!important;border:1px solid var(--line)!important;background:var(--surface-soft)!important;box-shadow:none!important;padding:12px!important}
  .payment-tier-box{
    grid-template-columns:1fr!important;
    align-items:start!important;
    gap:5px!important;
  }
  .payment-tier-box strong{
    grid-column:1!important;
    grid-row:auto!important;
    max-width:100%!important;
    font-size:clamp(18px,3.2vw,24px)!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
    overflow-wrap:anywhere!important;
  }
  .payment-tier-box small{grid-column:1!important;line-height:1.3!important}
  .payment-tier-label-row{
    grid-column:1!important;
    color:var(--muted)!important;
  }
  .payment-tier-label-row>span{
    font-size:11px!important;
    font-weight:900!important;
    letter-spacing:.09em!important;
    text-transform:uppercase!important;
  }

  .documents-page-compact{max-width:900px!important}
  .doc-ready-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:14px!important;
    align-items:center!important;
    padding:18px!important;
  }
  .doc-ready-actions{justify-content:flex-end!important}
  .doc-primary-panel{padding:16px!important}
  .doc-primary-head{margin-bottom:12px!important}
  .doc-primary-head strong{font-size:22px!important;line-height:1.08!important;color:var(--ink)!important}
  .doc-primary-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:9px!important}
  .doc-primary-tile{
    display:grid!important;gap:5px!important;min-height:104px!important;padding:13px!important;border:1px solid var(--line)!important;border-radius:13px!important;
    background:var(--surface-soft)!important;box-shadow:none!important;text-decoration:none!important;color:var(--ink)!important;
  }
  .doc-primary-tile:before,.doc-primary-tile:after{display:none!important;content:none!important}
  .doc-primary-tile span{color:var(--brand-strong)!important;font-size:10px!important;font-weight:900!important;letter-spacing:.08em!important}
  .doc-primary-tile strong{font-size:17px!important;line-height:1.1!important;color:var(--ink)!important}
  .doc-primary-tile em{
    align-self:end!important;width:max-content!important;border-radius:999px!important;background:#fff!important;border:1px solid var(--line)!important;
    padding:6px 10px!important;color:var(--ink-soft)!important;font-style:normal!important;font-size:12px!important;font-weight:850!important;
  }
  .doc-folder{border-radius:12px!important;box-shadow:none!important;background:#fff!important}
  .doc-folder summary{padding:12px!important}
  .doc-root-folder>summary strong:before,.doc-year-folder>summary strong:before,.doc-sub-folder>summary strong:before{content:none!important}
  .doc-file-row{border-radius:12px!important;box-shadow:none!important}
  .doc-file-icon{border-radius:10px!important;background:var(--surface-muted)!important;color:var(--ink)!important}

  .profile-summary-card{grid-template-columns:auto minmax(0,1fr)!important;gap:13px!important;padding:16px!important}
  .profile-avatar.compact{width:52px!important;height:52px!important;border-radius:14px!important;background:var(--ink)!important;box-shadow:none!important}
  .profile-summary-meta{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
  .profile-summary-meta span{display:grid!important;gap:2px!important;border-radius:12px!important;background:var(--surface-soft)!important;border:1px solid var(--line)!important;padding:9px!important}
  .profile-action-grid.compact{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .profile-card-title{display:grid!important;gap:6px!important;margin-bottom:12px!important}
  .profile-card-title h2,.profile-2fa-head.compact h2{font-size:20px!important;margin:0!important}

  .ticket-shell.ticket-shell-compact{max-width:920px!important}
  .ticket-row-dense{text-decoration:none!important;color:var(--ink)!important}
  .ticket-status-pill,.ticket-meta{
    min-height:28px!important;border-radius:999px!important;padding:6px 9px!important;border:1px solid var(--line)!important;background:#fff!important;
    color:var(--ink-soft)!important;font-size:11px!important;font-weight:850!important;
  }
  .ticket-message{
    border-radius:13px!important;border:1px solid var(--line)!important;background:var(--surface-soft)!important;box-shadow:none!important;
  }

  .modal-backdrop,.payment-modal-backdrop{
    background:rgba(17,24,23,.38)!important;
    backdrop-filter:blur(8px)!important;
  }
  .source-modal::backdrop{background:rgba(17,24,23,.38)!important;backdrop-filter:blur(8px)!important}
  .modal-card,.payment-modal-card,.source-modal-card,.source-api-modal-card,.source-onboarding-modal-card,.manual-wallet-modal-card,.exchange-selector-modal-card,.source-exclusion-card{
    border-radius:18px!important;
    border:1px solid var(--line)!important;
    background:#fff!important;
    box-shadow:0 30px 80px rgba(17,24,23,.2)!important;
    padding:18px!important;
  }
  .modal-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:start!important;margin-bottom:12px!important}
  .modal-head h2{font-size:clamp(24px,4vw,32px)!important;line-height:1.02!important;margin:5px 0 4px!important}
  .modal-head p{font-size:13.5px!important;line-height:1.4!important;color:var(--muted)!important}
  .modal-close{
    width:38px!important;height:38px!important;border-radius:12px!important;background:#fff!important;border:1px solid var(--line)!important;box-shadow:none!important;color:var(--ink)!important;
  }
  .source-onboarding-wizard,.csv-onboarding-wizard{
    border-radius:14px!important;border:1px solid var(--line)!important;background:var(--surface-soft)!important;padding:12px!important;
  }
  .source-onboarding-steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;padding:0!important;margin:0!important}
  .source-onboarding-steps li{
    border-radius:11px!important;border:1px solid var(--line)!important;background:#fff!important;padding:9px!important;
  }

  .auth-public-shell{
    background:linear-gradient(180deg,#fbfcfa 0%,var(--bg) 100%)!important;
  }
  .ft-auth-card{
    border-radius:18px!important;
    padding:clamp(18px,3vw,28px)!important;
    background:#fff!important;
    border:1px solid var(--line)!important;
    box-shadow:var(--shadow)!important;
  }
  .auth-head h1{font-size:clamp(30px,5vw,42px)!important;line-height:1.02!important;letter-spacing:-.045em!important}
  .auth-head p{color:var(--muted)!important;font-size:15px!important;line-height:1.45!important}

  @media(max-width:900px){
    .home-core-hero,.doc-ready-hero{grid-template-columns:1fr!important}
    .home-core-year{min-height:118px!important}
    .profile-action-grid.compact{grid-template-columns:1fr!important}
  }

  @media(max-width:760px){
    :root{--mobile-nav-safe:124px}
    body{background:linear-gradient(180deg,#fbfcfa 0%,#f5f6f3 42%,#ecefeb 100%)!important}
    .shell{
      width:100%!important;
      max-width:560px!important;
      margin:0 auto!important;
      padding:10px 12px calc(var(--mobile-nav-safe) + 52px + env(safe-area-inset-bottom))!important;
    }
    .hero-shell,.page-wrap{width:100%!important;max-width:560px!important}
    .page-wrap{padding-bottom:calc(var(--mobile-nav-safe) + 52px + env(safe-area-inset-bottom))!important}
    .page-heading{margin:4px 0 14px!important;padding:0 2px!important}
    .page-heading h1{font-size:30px!important;line-height:1.04!important;letter-spacing:-.04em!important}
    .page-heading p{max-width:100%!important;font-size:13.5px!important;line-height:1.4!important}

    .panel,.source-card,.empty-state,.zip-hero,.doc-primary-panel,.doc-archive-tree,.auth-card{
      padding:14px!important;
      border-radius:15px!important;
    }
    .home-core-shell,.documents-shell,.profile-page-compact,.ticket-shell.ticket-shell-compact{gap:10px!important}
    .home-core-hero{padding:16px!important;gap:13px!important}
    .home-core-hero h2,.source-head h2,.movement-start-panel h2,.report-ready-row h2,.doc-ready-hero h2{
      font-size:27px!important;line-height:1.04!important;letter-spacing:-.04em!important;
    }
    .home-core-hero p,.source-head p,.section-title p,.report-ready-row p,.doc-ready-hero p{
      font-size:13.5px!important;line-height:1.42!important;
    }
    .home-core-year{min-height:106px!important;border-radius:13px!important}
    .home-core-year strong{font-size:38px!important}
    .home-core-cta,.home-core-danger{display:grid!important;grid-template-columns:1fr!important;padding:13px!important}
    .home-core-cta .primary-action,.home-core-danger .danger-action{width:100%!important}
    .home-core-steps{grid-template-columns:1fr!important;gap:8px!important}
    .home-core-step{min-height:0!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:4px 10px!important}
    .home-core-step span{grid-row:1/3!important}

    .pwa-utility-badge{
      right:calc(12px + env(safe-area-inset-right))!important;
      bottom:calc(84px + env(safe-area-inset-bottom))!important;
      width:42px!important;
      max-width:42px!important;
      min-height:34px!important;
      border-radius:13px!important;
    }

    .source-head.core-page-head,.source-head,.work-head,.doc-primary-head,.ticket-command-head,.ticket-detail-head{
      grid-template-columns:1fr!important;
    }
    .source-head.core-page-head .primary-action.large,.source-actions .primary-action,.source-actions .secondary-action{width:100%!important}
    .connected-source-row,.connected-wallet-row,.connected-csv-row,.ticket-row-dense{
      grid-template-columns:minmax(0,1fr) auto!important;
      border-radius:13px!important;
      padding:10px!important;
    }
    .connected-source-main strong,.ticket-main b{white-space:normal!important;line-height:1.18!important}
    .connected-source-main small,.ticket-main small{
      display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;
    }
    .add-source-choice-grid,.source-choice-grid-compact,.exchange-selector-grid,.source-add-grid,.source-category-tabs,.source-add-tabs{
      grid-template-columns:1fr!important;
    }

    .calc-form{gap:10px!important}
    .movement-start-panel{padding:14px!important}
    .movement-source-selector,.affiliate-rebate-option-card,.prior-fiscal-losses-card{padding:10px!important;border-radius:14px!important}
    .movement-source-selector-head{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
    .movement-source-selector-head span{justify-self:start!important;white-space:normal!important;text-align:left!important}
    .movement-source-toggle,.movement-source-toggle.compact{
      grid-template-columns:26px minmax(0,1fr)!important;
      min-height:54px!important;
      padding:9px 10px!important;
      border-radius:12px!important;
    }
    .movement-source-icon,.movement-source-wallet-icon,.movement-source-csv-icon{display:none!important}
    .movement-source-copy strong{font-size:14px!important}
    .movement-source-copy small{font-size:11px!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
    .prior-fiscal-loss-grid{grid-template-columns:1fr!important}

    .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
    .metric{min-height:88px!important;padding:12px!important;border-radius:12px!important}
    .metric strong{font-size:24px!important}
    .source-orchestration-phases{grid-template-columns:1fr!important}

    .report-after-calc-compact{padding:14px!important}
    .report-compact-pills{grid-template-columns:1fr 1fr!important}
    .report-actions .primary-action,.report-actions button.primary-action,.doc-ready-actions .primary-action,.doc-ready-actions .secondary-action{
      width:100%!important;min-height:48px!important;
    }
    .doc-ready-hero{padding:14px!important}
    .doc-ready-actions{display:grid!important;grid-template-columns:1fr!important;justify-content:stretch!important}
    .doc-primary-grid{grid-template-columns:1fr!important}
    .doc-primary-tile{min-height:82px!important}
    .doc-file-row{grid-template-columns:auto minmax(0,1fr)!important}
    .doc-file-row .download-link{grid-column:1/-1!important;width:100%!important}

    .profile-summary-card{grid-template-columns:auto minmax(0,1fr)!important;padding:14px!important}
    .profile-summary-meta{grid-template-columns:1fr!important}
    .profile-2fa-head.compact{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
    .profile-2fa-state{width:max-content!important}

    .ticket-form-actions,.button-row,.doc-ready-actions,.source-actions{
      display:grid!important;grid-template-columns:1fr!important;
    }
    .ticket-form-actions .primary-action,.ticket-form-actions .secondary-action,.button-row .primary-action,.button-row .secondary-action,.button-row .danger-action{
      width:100%!important;
    }

    .modal-card,.payment-modal-card,.source-modal-card,.source-api-modal-card,.source-onboarding-modal-card,.manual-wallet-modal-card,.exchange-selector-modal-card,.source-exclusion-card{
      width:min(100vw - 20px,560px)!important;
      max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;
      overflow:auto!important;
      border-radius:16px!important;
      padding:15px!important;
    }
    .source-onboarding-steps{grid-template-columns:1fr 1fr!important}
    .modal-head h2{font-size:26px!important}

    .auth-public-shell{padding:10px 10px 20px!important}
    .auth-public-wrap{width:min(100%,560px)!important}
    .ft-auth-card{border-radius:16px!important;padding:17px 15px!important}
    .ft-register-form{grid-template-columns:1fr!important}
  }

  @media(max-width:430px){
    .shell{padding-inline:10px!important}
    .page-heading h1{font-size:28px!important}
    .home-core-hero h2,.source-head h2,.movement-start-panel h2,.report-ready-row h2,.doc-ready-hero h2{font-size:25px!important}
    .metric-grid,.report-compact-pills{grid-template-columns:1fr!important}
    .source-onboarding-steps{grid-template-columns:1fr!important}
    .connected-source-row,.connected-wallet-row,.connected-csv-row{grid-template-columns:1fr auto!important}
  }

  /* Step 686 - desktop workspace redesign. Mobile rules remain below 760px. */
  @media(min-width:1024px){
    body.app-body{
      --page-max:100%;
      --desktop-sidebar:276px;
      --desktop-gap:24px;
      --desktop-radius:8px;
      --desktop-line:#d7e0dc;
      --desktop-line-strong:#c4d0ca;
      background:#eef2f0!important;
      letter-spacing:0!important;
    }
    body.app-body:before,
    body.app-body:after{
      display:none!important;
      content:none!important;
    }
    body.app-body *{
      letter-spacing:0!important;
    }

    .app-shell{
      width:100%!important;
      max-width:none!important;
      min-height:100dvh!important;
      margin:0!important;
      padding:20px 28px 56px!important;
      display:grid!important;
      grid-template-columns:var(--desktop-sidebar) minmax(0,1fr)!important;
      gap:var(--desktop-gap)!important;
      align-items:start!important;
    }
    .app-shell>.hero-shell{
      position:sticky!important;
      top:20px!important;
      z-index:20!important;
      width:var(--desktop-sidebar)!important;
      max-width:var(--desktop-sidebar)!important;
      height:calc(100dvh - 40px)!important;
      margin:0!important;
      padding:16px!important;
      display:grid!important;
      grid-template-rows:auto minmax(0,1fr)!important;
      align-content:start!important;
      gap:16px!important;
      overflow:auto!important;
      border:1px solid var(--desktop-line)!important;
      border-radius:var(--desktop-radius)!important;
      background:#fff!important;
      box-shadow:0 1px 2px rgba(17,24,23,.05)!important;
    }
    .app-shell>.page-wrap{
      grid-column:2!important;
      width:100%!important;
      max-width:none!important;
      min-width:0!important;
      min-height:calc(100dvh - 40px)!important;
      margin:0!important;
      padding:0 0 64px!important;
      display:grid!important;
      grid-template-columns:minmax(0,1fr)!important;
      gap:18px!important;
      align-content:start!important;
    }

    .app-topbar{
      width:100%!important;
      margin:0!important;
      padding:0!important;
      display:grid!important;
      grid-template-columns:1fr!important;
      gap:14px!important;
      align-items:start!important;
      border:0!important;
      border-radius:0!important;
      background:transparent!important;
      box-shadow:none!important;
      backdrop-filter:none!important;
      overflow:visible!important;
    }
    .app-body .brand-lockup{
      min-height:44px!important;
      justify-content:flex-start!important;
    }
    .app-body .brand-lockup img{
      max-width:158px!important;
      height:40px!important;
      filter:none!important;
      object-position:left center!important;
    }
    .app-body .brand-lockup img.brand-image-icon{
      width:40px!important;
      height:40px!important;
    }
    .user-box{
      width:100%!important;
      max-width:none!important;
      min-width:0!important;
      padding:8px!important;
      display:flex!important;
      align-items:center!important;
      justify-content:flex-start!important;
      flex-wrap:wrap!important;
      gap:7px!important;
      border:1px solid var(--desktop-line)!important;
      border-radius:var(--desktop-radius)!important;
      background:#f7f9f8!important;
      box-shadow:none!important;
      backdrop-filter:none!important;
      overflow:visible!important;
    }
    .profile-topbar-link,
    .notification-toggle,
    .admin-mail-toggle,
    .logout-button{
      min-height:36px!important;
      height:36px!important;
      border-radius:var(--desktop-radius)!important;
      box-shadow:none!important;
      transform:none!important;
      white-space:nowrap!important;
    }
    .profile-topbar-link{
      width:38px!important;
      min-width:38px!important;
    }
    .notification-toggle,
    .admin-mail-toggle{
      min-width:112px!important;
      padding:0 8px!important;
    }
    .logout-button{
      padding:0 12px!important;
      min-width:64px!important;
      background:#fff!important;
      border:1px solid var(--desktop-line)!important;
      color:var(--ink-soft)!important;
    }

    .app-nav-shell{
      position:static!important;
      left:auto!important;
      right:auto!important;
      bottom:auto!important;
      width:100%!important;
      max-width:none!important;
      margin:0!important;
      transform:none!important;
      contain:none!important;
      overflow:visible!important;
      border-radius:0!important;
    }
    .app-nav-shell:before,
    .app-nav-shell:after{
      display:none!important;
      content:none!important;
    }
    .app-nav{
      width:100%!important;
      height:auto!important;
      min-height:0!important;
      margin:0!important;
      padding:0!important;
      display:grid!important;
      grid-template-columns:1fr!important;
      align-content:start!important;
      gap:4px!important;
      overflow:visible!important;
      white-space:normal!important;
      border:0!important;
      border-radius:0!important;
      background:transparent!important;
      box-shadow:none!important;
      backdrop-filter:none!important;
    }
    .nav-item{
      width:100%!important;
      height:42px!important;
      min-width:0!important;
      flex:0 0 auto!important;
      display:flex!important;
      flex-direction:row!important;
      justify-content:flex-start!important;
      align-items:center!important;
      gap:10px!important;
      padding:0 10px!important;
      border-radius:var(--desktop-radius)!important;
      color:#42504d!important;
      font-size:13px!important;
      font-weight:760!important;
      text-align:left!important;
      box-shadow:none!important;
      transform:none!important;
    }
    .nav-item:hover{
      background:#f0f4f2!important;
      color:var(--ink)!important;
      transform:none!important;
    }
    .nav-item.active{
      background:var(--ink)!important;
      color:#fff!important;
      box-shadow:none!important;
    }
    .nav-icon svg{
      width:18px!important;
      height:18px!important;
    }
    .nav-label{
      min-width:0!important;
      overflow:hidden!important;
      text-overflow:ellipsis!important;
      white-space:nowrap!important;
    }
    .app-nav .nav-badge,
    .app-nav .nav-badge[hidden]{
      right:-12px!important;
      top:-10px!important;
    }

    .page-heading{
      margin:0!important;
      padding:0 0 15px!important;
      min-height:0!important;
      display:grid!important;
      gap:5px!important;
      border:0!important;
      border-bottom:1px solid var(--desktop-line)!important;
      border-radius:0!important;
      background:transparent!important;
      box-shadow:none!important;
      backdrop-filter:none!important;
    }
    .page-heading h1{
      max-width:100%!important;
      font-size:32px!important;
      line-height:1.12!important;
      font-weight:850!important;
      color:var(--ink)!important;
    }
    .page-heading p{
      max-width:980px!important;
      margin:0!important;
      font-size:14px!important;
      line-height:1.42!important;
      font-weight:620!important;
      color:var(--muted)!important;
    }

    .app-body .panel,
    .app-body .source-card,
    .app-body .welcome-panel,
    .app-body .empty-state,
    .app-body .zip-hero,
    .app-body .doc-group,
    .app-body .doc-primary-panel,
    .app-body .doc-archive-tree,
    .app-body .consultant-review-waiting,
    .app-body .source-add-form-card,
    .app-body .source-add-hero-card,
    .app-body .source-browser,
    .app-body .source-catalog-card,
    .app-body .source-add-card,
    .app-body .ticket-command-panel,
    .app-body .ticket-list-panel,
    .app-body .ticket-detail,
    .app-body .profile-summary-card,
    .app-body .profile-action-card,
    .app-body .profile-2fa-card{
      margin:0!important;
      padding:18px!important;
      border:1px solid var(--desktop-line)!important;
      border-radius:var(--desktop-radius)!important;
      background:#fff!important;
      box-shadow:none!important;
      backdrop-filter:none!important;
    }
    .app-body .mini-card,
    .app-body .option-card,
    .app-body .check-line,
    .app-body .toggle-line,
    .app-body .metric,
    .app-body .mini-stat,
    .app-body .doc-primary-tile,
    .app-body .connected-source-row,
    .app-body .connected-wallet-row,
    .app-body .connected-csv-row,
    .app-body .source-diagnostic-box,
    .app-body .admin-section-inner,
    .app-body .admin-user-row,
    .app-body .admin-ops-card,
    .app-body .admin-ops-summary-card,
    .app-body .consultant-category-section,
    .app-body .consultant-anomaly-card,
    .app-body .consultant-category-overview-card{
      border-radius:var(--desktop-radius)!important;
      box-shadow:none!important;
    }
    .app-body .primary-action,
    .app-body .secondary-action,
    .app-body .danger-action,
    .app-body .download-link,
    .app-body .file-inline-action{
      width:auto!important;
      min-height:38px!important;
      border-radius:var(--desktop-radius)!important;
      padding:0 12px!important;
      font-size:13px!important;
      box-shadow:none!important;
      transform:none!important;
    }
    .app-body .primary-action:hover,
    .app-body .secondary-action:hover,
    .app-body .danger-action:hover,
    .app-body .download-link:hover,
    .app-body .file-inline-action:hover{
      transform:none!important;
    }
    .app-body .primary-action.large,
    .app-body .secondary-action.large,
    .app-body .danger-action.large{
      width:auto!important;
      min-height:42px!important;
      font-size:13px!important;
    }
    .app-body input[type=text],
    .app-body input[type=email],
    .app-body input[type=password],
    .app-body select,
    .app-body input[type=file],
    .app-body textarea{
      min-height:42px!important;
      border-radius:var(--desktop-radius)!important;
      font-size:14px!important;
    }
    .app-body textarea{
      min-height:92px!important;
    }
    .app-body .status-badge{
      min-height:24px!important;
      padding:4px 8px!important;
      font-size:10px!important;
      border-radius:999px!important;
    }
    .app-body h2{
      font-size:24px!important;
      line-height:1.18!important;
    }
    .app-body h3{
      font-size:18px!important;
      line-height:1.2!important;
    }
    .app-body p,
    .app-body small{
      line-height:1.42!important;
    }

    .home-core-shell{
      width:100%!important;
      max-width:none!important;
      margin:0!important;
      display:grid!important;
      grid-template-columns:minmax(420px,1.25fr) minmax(320px,.75fr)!important;
      grid-template-areas:
        "hero steps"
        "cta steps"
        "note note"
        "danger danger"!important;
      gap:16px!important;
      align-items:stretch!important;
    }
    .home-core-hero{
      grid-area:hero!important;
      min-height:252px!important;
      grid-template-columns:minmax(0,1fr) 190px!important;
      gap:18px!important;
      padding:24px!important;
      border-radius:var(--desktop-radius)!important;
    }
    .home-core-hero h2{
      font-size:36px!important;
      line-height:1.08!important;
      margin:8px 0 10px!important;
    }
    .home-core-hero p{
      max-width:760px!important;
      font-size:15px!important;
    }
    .home-core-year{
      min-height:100%!important;
      border-radius:var(--desktop-radius)!important;
      padding:16px!important;
      background:#14201f!important;
    }
    .home-core-year strong{
      font-size:50px!important;
    }
    .home-core-cta{
      grid-area:cta!important;
      min-height:92px!important;
      border-radius:var(--desktop-radius)!important;
    }
    .home-core-steps{
      grid-area:steps!important;
      grid-template-columns:1fr!important;
      gap:12px!important;
    }
    .home-core-step{
      grid-template-columns:44px minmax(0,1fr)!important;
      grid-template-rows:auto 1fr!important;
      gap:4px 12px!important;
      min-height:120px!important;
      border-radius:var(--desktop-radius)!important;
      align-content:start!important;
    }
    .home-core-step span{
      grid-row:1 / span 2!important;
      width:38px!important;
      min-width:38px!important;
      height:32px!important;
      padding:0!important;
      white-space:nowrap!important;
      line-height:1!important;
      letter-spacing:0!important;
    }
    .home-core-step b,
    .home-core-step small{
      min-width:0!important;
    }
    .home-core-note{
      grid-area:note!important;
      min-height:124px!important;
      display:grid!important;
      grid-template-columns:minmax(260px,.42fr) minmax(0,1fr)!important;
      grid-template-rows:auto 1fr!important;
      gap:8px 18px!important;
      align-items:start!important;
      border-radius:var(--desktop-radius)!important;
    }
    .home-core-note .status-badge{
      grid-column:1!important;
      grid-row:1!important;
      align-self:start!important;
    }
    .home-core-note strong{
      grid-column:1!important;
      grid-row:2!important;
      align-self:start!important;
    }
    .home-core-note p{
      grid-column:2!important;
      grid-row:1 / span 2!important;
      align-self:center!important;
      max-width:none!important;
      margin:0!important;
      font-size:15px!important;
    }
    .home-core-danger{
      grid-area:danger!important;
      border-radius:var(--desktop-radius)!important;
    }

    .app-page-fonti .page-wrap{
      grid-template-columns:minmax(0,1fr)!important;
      align-items:start!important;
    }
    .app-page-fonti .page-heading,
    .app-page-fonti .alert,
    .app-page-fonti style,
    .app-page-fonti script{
      grid-column:1/-1!important;
    }
    .app-page-fonti .source-wallet-header{
      grid-column:1/-1!important;
      min-width:0!important;
    }
    .app-page-fonti .diagnostic-center-card,
    .app-page-fonti .wallet-diagnostics-card{
      grid-column:1/-1!important;
      align-self:start!important;
      position:static!important;
      top:auto!important;
      max-height:none!important;
      overflow:auto!important;
    }
    .app-page-fonti .connected-source-list,
    .app-page-fonti .wallet-diagnostic-list{
      grid-template-columns:repeat(2,minmax(260px,1fr))!important;
      gap:10px!important;
    }
    .app-page-fonti .source-browser-grid{
      grid-template-columns:repeat(2,minmax(280px,1fr))!important;
      gap:10px!important;
    }
    .app-page-fonti .source-category-tabs{
      grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
    .app-page-fonti .source-catalog-card{
      grid-template-columns:minmax(0,1fr) auto!important;
      min-height:100px!important;
    }
    .app-page-fonti .diagnostic-exchange-panels{
      max-height:none!important;
      overflow:auto!important;
    }

    .app-page-movimenti .movement-start-panel{
      width:100%!important;
      max-width:none!important;
      padding:22px!important;
    }
    .app-page-movimenti .movement-start-panel .section-title{
      margin:0 0 16px!important;
      padding:0 0 14px!important;
      border-bottom:1px solid var(--desktop-line)!important;
    }
    .app-page-movimenti .calc-form{
      display:grid!important;
      grid-template-columns:minmax(0,1fr) minmax(320px,.38fr)!important;
      gap:14px!important;
      align-items:start!important;
    }
    .app-page-movimenti .movement-source-selector[data-source-selector]{
      grid-column:1!important;
      grid-row:1 / span 3!important;
      min-height:430px!important;
      max-height:calc(100dvh - 245px)!important;
      overflow:auto!important;
    }
    .app-page-movimenti .fiscal-year-label,
    .app-page-movimenti .prior-fiscal-losses-card,
    .app-page-movimenti .affiliate-rebate-option-card{
      grid-column:2!important;
    }
    .app-page-movimenti .movement-calc-action-bar{
      grid-column:1 / -1!important;
      grid-row:auto!important;
      display:grid!important;
      grid-template-columns:minmax(0,1fr) minmax(220px,280px)!important;
      align-items:center!important;
      padding:14px!important;
      border-radius:var(--desktop-radius)!important;
      background:linear-gradient(180deg,#fff,#f8faf8)!important;
    }
    .app-page-movimenti .movement-calc-action-bar .primary-action.large{
      width:100%!important;
      min-height:50px!important;
      justify-self:end!important;
    }
    .app-page-movimenti .movement-source-toggle{
      min-height:60px!important;
    }
    .app-page-movimenti .movement-work-panel,
    .app-page-movimenti .work-panel{
      max-width:none!important;
    }
    .app-page-movimenti .metric-grid{
      grid-template-columns:repeat(4,minmax(180px,1fr))!important;
    }

    .app-page-report .report-after-calc-compact{
      width:100%!important;
      max-width:none!important;
      display:grid!important;
      grid-template-columns:minmax(0,1fr) minmax(320px,.38fr)!important;
      gap:16px!important;
      align-items:start!important;
      padding:22px!important;
    }
    .app-page-report .report-ready-row{
      grid-column:1/-1!important;
      padding-bottom:14px!important;
      border-bottom:1px solid var(--desktop-line)!important;
    }
    .app-page-report .report-ready-row h2{
      font-size:30px!important;
    }
    .app-page-report .report-compact-pills{
      grid-column:2!important;
      grid-template-columns:1fr!important;
      margin:0!important;
    }
    .app-page-report .report-file-tree,
    .app-page-report .report-review-card{
      grid-column:1!important;
      margin:0!important;
    }
    .app-page-report .report-actions{
      grid-column:2!important;
      margin:0!important;
      padding:14px!important;
      display:grid!important;
      grid-template-columns:1fr!important;
      gap:10px!important;
      border:1px solid var(--desktop-line)!important;
      border-radius:var(--desktop-radius)!important;
      background:#f7f9f8!important;
    }
    .app-page-report .report-actions .primary-action,
    .app-page-report .report-actions .secondary-action{
      width:100%!important;
    }

    .documents-page-compact{
      width:100%!important;
      max-width:none!important;
      margin:0!important;
      display:grid!important;
      grid-template-columns:minmax(0,1fr) minmax(360px,.5fr)!important;
      gap:16px!important;
      align-items:start!important;
    }
    .documents-page-compact .doc-ready-hero,
    .documents-page-compact .consultant-review-waiting{
      grid-column:1/2!important;
      min-height:230px!important;
    }
    .documents-page-compact .doc-primary-panel{
      grid-column:2/3!important;
      align-self:stretch!important;
    }
    .documents-page-compact .doc-archive-tree{
      grid-column:1/-1!important;
    }
    .documents-page-compact .doc-ready-hero{
      grid-template-columns:minmax(0,1fr) auto!important;
      grid-template-rows:1fr auto!important;
      gap:14px!important;
    }
    .documents-page-compact .doc-ready-actions{
      grid-column:1/-1!important;
      justify-content:flex-start!important;
    }
    .documents-page-compact .doc-primary-grid{
      grid-template-columns:1fr!important;
    }
    .documents-page-compact .doc-file-row{
      grid-template-columns:auto minmax(0,1fr) auto!important;
    }

    .profile-page-compact{
      width:100%!important;
      max-width:none!important;
      margin:0!important;
      display:grid!important;
      grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr)!important;
      gap:16px!important;
      align-items:start!important;
    }
    .profile-summary-card{
      grid-column:1!important;
      align-self:start!important;
    }
    .profile-action-grid.compact{
      grid-column:2!important;
      grid-row:1!important;
      display:grid!important;
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
      gap:16px!important;
    }
    .profile-2fa-card.compact{
      grid-column:1/-1!important;
    }
    .profile-summary-meta{
      grid-template-columns:1fr!important;
    }
    .profile-form .primary-action,
    .profile-form .secondary-action{
      width:100%!important;
    }
    .profile-2fa-setup{
      grid-template-columns:minmax(220px,280px) minmax(0,1fr)!important;
      gap:18px!important;
    }

    .ticket-shell.ticket-shell-compact{
      width:100%!important;
      max-width:none!important;
      margin:0!important;
      display:grid!important;
      grid-template-columns:minmax(340px,.5fr) minmax(0,1fr)!important;
      gap:16px!important;
      align-items:start!important;
    }
    .ticket-command-panel{
      grid-column:1!important;
      position:sticky!important;
      top:20px!important;
    }
    .ticket-list-panel{
      grid-column:2!important;
    }
    .ticket-detail-compact{
      width:100%!important;
      max-width:none!important;
    }
    .ticket-row-dense{
      grid-template-columns:12px minmax(0,1fr) minmax(104px,auto) minmax(48px,auto)!important;
      min-height:58px!important;
    }
    .ticket-message{
      max-width:min(860px,82%)!important;
      border-radius:var(--desktop-radius)!important;
    }
    .ticket-form-actions{
      display:flex!important;
      align-items:center!important;
      justify-content:flex-start!important;
      gap:10px!important;
    }

    .app-page-admin .admin-tabs-panel{
      width:100%!important;
      max-width:none!important;
      padding:18px!important;
      border-radius:var(--desktop-radius)!important;
    }
    .app-page-admin .admin-tab-buttons{
      grid-template-columns:repeat(5,minmax(0,1fr))!important;
    }
    .app-page-admin .admin-tab-button,
    .app-page-admin .admin-user-row,
    .app-page-admin .admin-platform-card,
    .app-page-admin .admin-source-role-card,
    .app-page-admin .admin-ops-card,
    .app-page-admin .admin-ops-summary-card,
    .app-page-admin .admin-section-inner{
      border-radius:var(--desktop-radius)!important;
    }
    .app-page-admin .admin-source-access-grid{
      grid-template-columns:repeat(3,minmax(240px,1fr))!important;
    }
    .app-page-admin .admin-ops-summary-grid{
      grid-template-columns:repeat(6,minmax(0,1fr))!important;
    }
    .app-page-admin .admin-ops-columns{
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }

    .app-page-consulente .consultant-workspace-page,
    .app-page-consulente .consultant-dashboard-shell,
    .app-page-consulente .consultant-operation-board{
      width:100%!important;
      max-width:none!important;
      margin:0!important;
    }
    .app-page-consulente .consultant-workspace-hero,
    .app-page-consulente .consultant-operation-board,
    .app-page-consulente .consultant-category-section,
    .app-page-consulente .consultant-anomaly-card{
      border-radius:var(--desktop-radius)!important;
      box-shadow:none!important;
    }
    .app-page-consulente .consultant-workspace-hero:before{
      display:none!important;
      content:none!important;
    }
    .app-page-consulente .consultant-dashboard-strip{
      grid-template-columns:minmax(150px,180px) minmax(130px,160px) minmax(0,1fr)!important;
    }
    .app-page-consulente .consultant-category-overview{
      grid-template-columns:repeat(4,minmax(0,1fr))!important;
    }
    .app-page-consulente .consultant-category-stack{
      gap:12px!important;
    }
    .app-page-consulente .work-card-facts,
    .app-page-consulente .anomaly-facts{
      grid-template-columns:repeat(6,minmax(0,1fr))!important;
    }
    .app-page-consulente .work-card-action,
    .app-page-consulente .anomaly-answer-area{
      grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(150px,auto)!important;
    }
  }

  @media(min-width:1380px){
    body.app-body{
      --desktop-sidebar:288px;
      --desktop-gap:28px;
    }
    .app-shell{
      padding-inline:34px!important;
    }
    .home-core-shell{
      grid-template-columns:minmax(560px,1.35fr) minmax(360px,.65fr)!important;
    }
    .app-page-fonti .page-wrap{
      grid-template-columns:minmax(0,1fr)!important;
    }
    .app-page-fonti .connected-source-list,
    .app-page-fonti .source-browser-grid{
      grid-template-columns:repeat(3,minmax(260px,1fr))!important;
    }
    .app-page-movimenti .calc-form{
      grid-template-columns:minmax(0,1fr) minmax(360px,.34fr)!important;
    }
    .documents-page-compact{
      grid-template-columns:minmax(0,1fr) minmax(420px,.42fr)!important;
    }
  }

  @media(min-width:1024px) and (max-width:1190px){
    body.app-body{
      --desktop-sidebar:232px;
      --desktop-gap:18px;
    }
    .app-shell{
      padding:18px 20px 48px!important;
    }
    .home-core-shell,
    .app-page-fonti .page-wrap,
    .app-page-movimenti .calc-form,
    .app-page-report .report-after-calc-compact,
    .documents-page-compact,
    .profile-page-compact,
    .ticket-shell.ticket-shell-compact{
      grid-template-columns:1fr!important;
    }
    .app-page-fonti .source-wallet-header,
    .app-page-fonti .diagnostic-center-card,
    .app-page-fonti .wallet-diagnostics-card,
    .documents-page-compact .doc-ready-hero,
    .documents-page-compact .consultant-review-waiting,
    .documents-page-compact .doc-primary-panel,
    .profile-summary-card,
    .profile-action-grid.compact,
    .profile-2fa-card.compact,
    .ticket-command-panel,
    .ticket-list-panel{
      grid-column:1!important;
      position:static!important;
      max-height:none!important;
    }
    .app-page-movimenti .movement-source-selector[data-source-selector],
    .app-page-movimenti .fiscal-year-label,
    .app-page-movimenti .prior-fiscal-losses-card,
    .app-page-movimenti .affiliate-rebate-option-card,
    .app-page-movimenti .movement-calc-action-bar,
    .app-page-report .report-ready-row,
    .app-page-report .report-compact-pills,
    .app-page-report .report-file-tree,
    .app-page-report .report-review-card,
    .app-page-report .report-actions{
      grid-column:1!important;
      grid-row:auto!important;
      max-height:none!important;
    }
    .app-page-fonti .connected-source-list,
    .app-page-fonti .wallet-diagnostic-list,
    .app-page-fonti .source-browser-grid,
    .profile-action-grid.compact{
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
  }

  /* Step 687 - desktop density fixes for tier cards and consultant workspace. */
  @media(min-width:1024px){
    .app-shell>.page-wrap>:not(style):not(script){
      width:100%!important;
      max-width:none!important;
      justify-self:stretch!important;
    }
    .app-body .result-copy,
    .app-body .section-title p,
    .app-body .source-progress-panel,
    .app-body .report-after-calc-compact,
    .app-body .consultant-review-compact,
    .app-page-consulente .consultant-dashboard-title p,
    .app-page-consulente .consultant-workspace-title p{
      max-width:none!important;
      margin-inline:0!important;
    }

    .app-body .price-info-popover{
      z-index:80!important;
    }
    .app-body .price-info-popover summary{
      border-color:#cbd6d1!important;
      background:#fff!important;
      color:#14201f!important;
    }
    .app-body .price-info-popover[open] summary{
      border-color:#14201f!important;
      background:#14201f!important;
      color:#fff!important;
    }
    .app-body .price-info-popover p,
    .app-body .metric.highlight .price-info-popover p,
    .app-body .payment-tier-box .price-info-popover p{
      width:min(360px,calc(100vw - 64px))!important;
      min-width:292px!important;
      border-color:#cfd9d4!important;
      background:#fff!important;
      color:#34413e!important;
      box-shadow:0 18px 42px rgba(17,24,23,.16)!important;
      font-size:12.5px!important;
      line-height:1.42!important;
      font-weight:680!important;
      text-transform:none!important;
    }
    .app-body .price-info-popover p b,
    .app-body .metric.highlight .price-info-popover p b,
    .app-body .payment-tier-box .price-info-popover p b{
      color:#14201f!important;
    }

    .payment-ready-card .payment-tier-box .price-info-popover p{
      left:0!important;
      right:auto!important;
    }
    .payment-ready-card .payment-tier-box{
      position:relative!important;
      z-index:4!important;
      overflow:visible!important;
      grid-template-columns:minmax(0,1fr)!important;
      gap:6px!important;
      padding:13px 14px!important;
      border-radius:var(--desktop-radius)!important;
      background:#fff!important;
      border-color:#cfe0d8!important;
    }
    .payment-ready-card .payment-tier-box .payment-tier-label-row{
      grid-column:1/-1!important;
      color:#63736e!important;
    }
    .payment-ready-card .payment-tier-box strong{
      grid-column:1!important;
      grid-row:2!important;
      color:#14201f!important;
      font-size:17px!important;
      line-height:1.24!important;
      font-weight:850!important;
      letter-spacing:0!important;
    }
    .payment-ready-card .payment-tier-box small{
      grid-column:1!important;
      grid-row:3!important;
      justify-self:start!important;
      align-self:start!important;
      margin:0!important;
      padding:7px 10px!important;
      border-radius:var(--desktop-radius)!important;
      background:#14201f!important;
      color:#fff!important;
      font-size:12px!important;
      line-height:1.12!important;
      font-weight:850!important;
      white-space:nowrap!important;
    }

    .app-page-consulente .consultant-queue-panel{
      width:100%!important;
      max-width:none!important;
      min-height:calc(100dvh - 178px)!important;
      gap:16px!important;
      padding:20px!important;
    }
    .app-page-consulente .consultant-queue-head{
      padding-bottom:14px!important;
      border-bottom:1px solid var(--desktop-line)!important;
    }
    .app-page-consulente .consultant-queue-head h2{
      font-size:28px!important;
      line-height:1.1!important;
      letter-spacing:0!important;
    }
    .app-page-consulente .consultant-queue-columns{
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
      gap:16px!important;
      align-items:start!important;
    }
    .app-page-consulente .consultant-case-section{
      min-height:360px!important;
      padding:14px!important;
      border-radius:var(--desktop-radius)!important;
      background:#f8faf9!important;
    }
    .app-page-consulente .consultant-case-list{
      display:grid!important;
      grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;
      gap:10px!important;
    }
    .app-page-consulente .consultant-case-card{
      border-radius:var(--desktop-radius)!important;
      box-shadow:none!important;
    }
    .app-page-consulente .consultant-case-row{
      min-height:58px!important;
      grid-template-columns:minmax(0,1fr) auto auto!important;
      padding:12px!important;
    }
    .app-page-consulente .consultant-case-card-inner{
      display:grid!important;
      grid-template-columns:minmax(0,1fr) auto!important;
      align-items:center!important;
      gap:10px!important;
    }
    .app-page-consulente .consultant-case-delete-history,
    .app-page-consulente .consultant-case-platform-cleanup{
      padding:0 12px 0 0!important;
      justify-content:flex-start!important;
    }

    .app-page-consulente .consultant-workspace-page{
      display:grid!important;
      grid-template-columns:minmax(0,1fr)!important;
      gap:16px!important;
    }
    .app-page-consulente .consultant-workspace-hero{
      display:grid!important;
      grid-template-columns:minmax(0,1fr) auto!important;
      gap:18px!important;
      align-items:center!important;
      padding:18px!important;
    }
    .app-page-consulente .consultant-workspace-nav{
      grid-column:2!important;
      grid-row:1!important;
      align-self:start!important;
      justify-content:flex-end!important;
    }
    .app-page-consulente .consultant-workspace-title{
      grid-column:1!important;
      grid-row:1!important;
      min-width:0!important;
    }
    .app-page-consulente .consultant-dashboard-strip{
      grid-template-columns:minmax(170px,220px) minmax(150px,200px) minmax(0,1fr)!important;
      gap:12px!important;
    }
    .app-page-consulente .consultant-filter-bar{
      position:static!important;
      display:flex!important;
      flex-wrap:wrap!important;
      overflow:visible!important;
      margin:0 0 14px!important;
      padding:8px!important;
      border:1px solid var(--desktop-line)!important;
      border-radius:var(--desktop-radius)!important;
      background:#f7f9f8!important;
      box-shadow:none!important;
    }
    .app-page-consulente .consultant-filter-chip{
      flex:0 1 auto!important;
      border-radius:var(--desktop-radius)!important;
      box-shadow:none!important;
    }
    .app-page-consulente .consultant-category-section{
      padding:14px!important;
      background:#f8faf9!important;
    }
    .app-page-consulente .consultant-category-head{
      padding-bottom:10px!important;
      border-bottom:1px solid var(--desktop-line)!important;
    }
    .app-page-consulente .consultant-category-body{
      display:grid!important;
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
      gap:12px!important;
      align-items:start!important;
    }
    .app-page-consulente .consultant-work-card,
    .app-page-consulente .consultant-anomaly-card{
      min-height:100%!important;
      align-content:start!important;
      border-radius:var(--desktop-radius)!important;
    }
    .app-page-consulente .work-card-head,
    .app-page-consulente .anomaly-card-top{
      grid-template-columns:minmax(0,1fr)!important;
      gap:8px!important;
    }
    .app-page-consulente .work-card-facts,
    .app-page-consulente .anomaly-facts{
      grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
    .app-page-consulente .work-card-action,
    .app-page-consulente .anomaly-answer-area{
      grid-template-columns:minmax(0,1fr)!important;
    }
    .app-page-consulente .classification-choice-grid,
    .app-page-consulente .initial-lot-choice-grid,
    .app-page-consulente .initial-lot-cost-grid,
    .app-page-consulente .missing-price-input-grid.compact-price-grid{
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
      max-width:none!important;
    }
    .app-page-consulente .rw-choice-grid{
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    .app-page-consulente .work-card-note-save{
      grid-template-columns:minmax(0,1fr) auto!important;
    }
    .app-page-consulente .work-card-note-save .anomaly-save-button,
    .app-page-consulente .anomaly-save-button{
      width:auto!important;
      min-width:132px!important;
      justify-self:end!important;
    }
  }

  @media(min-width:1024px) and (max-width:1279px){
    .app-page-movimenti .metric-grid .platform-tier-card{
      grid-column:1/-1!important;
    }
    .app-page-movimenti .platform-tier-card,
    .payment-ready-card .payment-tier-box{
      grid-template-columns:minmax(0,1fr)!important;
    }
    .payment-ready-card .payment-tier-box small{
      grid-column:1!important;
      grid-row:auto!important;
      justify-self:start!important;
      white-space:normal!important;
    }
    .app-page-consulente .consultant-category-body{
      grid-template-columns:1fr!important;
    }
    .app-page-consulente .consultant-workspace-hero,
    .app-page-consulente .consultant-dashboard-strip,
    .app-page-consulente .consultant-queue-columns{
      grid-template-columns:1fr!important;
    }
    .app-page-consulente .consultant-workspace-nav,
    .app-page-consulente .consultant-workspace-title{
      grid-column:1!important;
      grid-row:auto!important;
      justify-content:flex-start!important;
    }
    .app-page-consulente .consultant-case-card-inner{
      grid-template-columns:1fr!important;
    }
    .app-page-consulente .consultant-case-delete-history,
    .app-page-consulente .consultant-case-platform-cleanup{
      padding:0 12px 12px!important;
    }
  }

  .cookie-banner{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    bottom:calc(16px + env(safe-area-inset-bottom))!important;
    z-index:1180!important;
    width:min(720px,calc(100vw - 24px))!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:14px!important;
    align-items:center!important;
    padding:14px!important;
    border:1px solid var(--line)!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.97)!important;
    color:var(--ink)!important;
    box-shadow:0 22px 70px rgba(17,24,23,.20)!important;
    backdrop-filter:blur(18px)!important;
    transform:translate3d(-50%,12px,0)!important;
    opacity:0!important;
    transition:opacity .18s ease,transform .18s ease!important;
  }
  .cookie-banner[hidden]{display:none!important}
  .cookie-banner.is-visible{
    opacity:1!important;
    transform:translate3d(-50%,0,0)!important;
  }
  .cookie-banner-copy{
    display:grid!important;
    gap:4px!important;
    min-width:0!important;
  }
  .cookie-banner-copy strong{
    color:var(--ink)!important;
    font-size:14px!important;
    line-height:1.1!important;
    font-weight:900!important;
    letter-spacing:-.01em!important;
  }
  .cookie-banner-copy p{
    margin:0!important;
    color:var(--ink-soft)!important;
    font-size:12.8px!important;
    line-height:1.36!important;
    font-weight:650!important;
    letter-spacing:0!important;
  }
  .cookie-banner-copy a{
    width:max-content!important;
    max-width:100%!important;
    color:var(--brand-strong)!important;
    font-size:12.5px!important;
    line-height:1.2!important;
    font-weight:850!important;
    text-decoration:underline!important;
    text-underline-offset:3px!important;
  }
  .cookie-banner-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
    min-width:max-content!important;
  }
  .cookie-banner button{
    min-height:42px!important;
    border-radius:12px!important;
    padding:0 14px!important;
    border:1px solid var(--line)!important;
    background:#fff!important;
    color:var(--ink-soft)!important;
    font-size:13px!important;
    font-weight:900!important;
    line-height:1.1!important;
    letter-spacing:0!important;
    cursor:pointer!important;
    box-shadow:none!important;
  }
  .cookie-banner button:hover{
    border-color:var(--line-strong)!important;
    color:var(--brand-strong)!important;
  }
  .cookie-banner .cookie-choice-accept{
    border-color:var(--ink)!important;
    background:var(--ink)!important;
    color:#fff!important;
  }
  .cookie-banner .cookie-choice-accept:hover{
    background:#000!important;
    border-color:#000!important;
    color:#fff!important;
  }

  @media(max-width:760px){
    body.app-body .cookie-banner{
      bottom:calc(92px + env(safe-area-inset-bottom))!important;
      width:calc(100vw - 20px)!important;
    }
    body.public-body .cookie-banner{
      bottom:calc(12px + env(safe-area-inset-bottom))!important;
      width:calc(100vw - 20px)!important;
    }
    .cookie-banner{
      grid-template-columns:1fr!important;
      gap:11px!important;
      padding:13px!important;
      border-radius:15px!important;
    }
    .cookie-banner-actions{
      display:grid!important;
      grid-template-columns:1fr 1fr!important;
      width:100%!important;
      min-width:0!important;
      gap:8px!important;
    }
    .cookie-banner button{
      width:100%!important;
      min-width:0!important;
      min-height:43px!important;
      padding:0 10px!important;
      white-space:normal!important;
    }
  }

  @media(max-width:390px){
    .cookie-banner-copy p{font-size:12.3px!important}
    .cookie-banner-actions{grid-template-columns:1fr!important}
  }

  /* Step 688 - stable visibility for peak patrimony help affordance. */
  .app-body .price-info-popover summary{
    display:grid!important;
    place-items:center!important;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    min-height:24px!important;
    padding:0!important;
    font-size:0!important;
    line-height:1!important;
    overflow:hidden!important;
  }
  .app-body .price-info-popover summary:before{
    content:"?"!important;
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    height:100%!important;
    color:currentColor!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:950!important;
  }
  .app-page-movimenti .platform-tier-card .price-info-popover summary,
  .payment-ready-card .payment-tier-box .price-info-popover summary{
    border-color:#b8c8c2!important;
    background:#fff!important;
    color:#14201f!important;
    box-shadow:0 1px 0 rgba(20,32,31,.06)!important;
  }
  .app-page-movimenti .platform-tier-card .price-info-popover[open] summary,
  .payment-ready-card .payment-tier-box .price-info-popover[open] summary{
    border-color:#14201f!important;
    background:#14201f!important;
    color:#fff!important;
  }
  @media(min-width:1024px){
    .app-page-report .report-after-calc-compact:has(.report-actions.single-action){
      grid-template-columns:minmax(0,1fr) minmax(300px,360px)!important;
      align-items:stretch!important;
    }
    .app-page-report .report-after-calc-compact:has(.report-actions.single-action) .report-compact-pills{
      grid-column:1!important;
      display:grid!important;
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
      gap:10px!important;
      align-self:stretch!important;
    }
    .app-page-report .report-after-calc-compact:has(.report-actions.single-action) .report-compact-pills span{
      min-height:72px!important;
      display:grid!important;
      place-items:center!important;
      padding:12px 14px!important;
      text-align:center!important;
      line-height:1.22!important;
      border-radius:var(--desktop-radius)!important;
    }
    .app-page-report .report-after-calc-compact:has(.report-actions.single-action) .report-actions{
      grid-column:2!important;
      align-self:stretch!important;
      align-content:center!important;
      min-height:72px!important;
    }
    .app-page-consulente .consultant-queue-panel{
      min-height:0!important;
      align-content:start!important;
    }
    .app-page-consulente .consultant-case-section{
      min-height:260px!important;
    }
    .app-page-consulente .consultant-category-body:has(> :only-child){
      grid-template-columns:minmax(0,1fr)!important;
    }
    .app-page-consulente .consultant-category-body:has(> :only-child) .consultant-work-card,
    .app-page-consulente .consultant-category-body:has(> :only-child) .consultant-anomaly-card{
      width:100%!important;
      max-width:none!important;
    }
    .app-page-consulente .consultant-category-body:has(> :only-child) .initial-lot-choice-grid{
      grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
    .app-page-doc .consultant-review-waiting.consultant-review-compact{
      display:grid!important;
      grid-template-columns:260px minmax(0,1fr)!important;
      align-items:center!important;
      gap:24px!important;
      width:100%!important;
      max-width:none!important;
      min-height:240px!important;
      margin:0!important;
      padding:24px!important;
    }
    .app-page-doc .consultant-review-waiting .review-folder-visual{
      display:grid!important;
      min-height:176px!important;
    }
    .app-page-doc .consultant-review-waiting .review-folder-shape{
      width:168px!important;
      height:112px!important;
    }
    .app-page-doc .consultant-review-waiting .review-folder-shape span{
      font-size:30px!important;
    }
    .app-page-doc .consultant-review-waiting .review-waiting-content{
      max-width:none!important;
      gap:14px!important;
    }
    .app-page-doc .consultant-review-waiting .review-compact-head h2{
      max-width:720px!important;
      font-size:38px!important;
      line-height:1.02!important;
      letter-spacing:0!important;
    }
    .app-page-doc .consultant-review-waiting .review-waiting-lead{
      max-width:760px!important;
      font-size:15px!important;
      line-height:1.45!important;
    }
    .app-page-doc .consultant-review-waiting .review-compact-strip{
      width:min(520px,100%)!important;
    }
    .app-page-doc .documents-page-compact .doc-ready-hero{
      grid-template-columns:minmax(0,1fr) 250px!important;
      min-height:260px!important;
      align-items:center!important;
    }
    .app-page-doc .doc-ready-hero .doc-ready-visual{
      display:block!important;
      position:relative!important;
      width:250px!important;
      height:170px!important;
      border-radius:var(--desktop-radius)!important;
      background:linear-gradient(145deg,#14201f 0%,#006f5c 100%)!important;
      overflow:hidden!important;
      box-shadow:0 18px 40px rgba(0,111,92,.18)!important;
      justify-self:end!important;
    }
    .app-page-doc .doc-ready-visual:before{
      content:""!important;
      position:absolute!important;
      left:18px!important;
      right:18px!important;
      bottom:20px!important;
      height:78px!important;
      border-radius:18px 18px 22px 22px!important;
      background:linear-gradient(180deg,#ffd86f,#e4aa42)!important;
      box-shadow:0 16px 30px rgba(77,51,0,.18)!important;
    }
    .app-page-doc .doc-ready-visual:after{
      content:""!important;
      position:absolute!important;
      left:30px!important;
      top:44px!important;
      width:132px!important;
      height:42px!important;
      border-radius:16px 16px 0 0!important;
      background:linear-gradient(180deg,#ffe38d,#efbd56)!important;
    }
    .app-page-doc .doc-ready-visual .doc-visual-sheet{
      position:absolute!important;
      z-index:2!important;
      top:25px!important;
      width:80px!important;
      height:96px!important;
      border-radius:14px!important;
      background:#fff!important;
      color:#14201f!important;
      display:grid!important;
      place-items:start!important;
      padding:12px!important;
      font-weight:950!important;
      box-shadow:0 16px 28px rgba(20,32,31,.16)!important;
    }
    .app-page-doc .doc-ready-visual .doc-visual-sheet:after{
      content:""!important;
      position:absolute!important;
      left:12px!important;
      right:12px!important;
      top:44px!important;
      height:6px!important;
      border-radius:999px!important;
      background:#eef2f0!important;
      box-shadow:0 15px 0 #eef2f0,0 30px 0 #eef2f0!important;
    }
    .app-page-doc .doc-ready-visual .doc-visual-sheet:first-child{
      left:38px!important;
      transform:rotate(-7deg)!important;
      border-top:5px solid #006f5c!important;
    }
    .app-page-doc .doc-ready-visual .doc-visual-sheet:nth-child(2){
      right:38px!important;
      transform:rotate(7deg)!important;
      border-top:5px solid #8f123f!important;
    }
    .app-page-doc .doc-ready-visual .doc-visual-folder{
      position:absolute!important;
      left:50%!important;
      bottom:38px!important;
      transform:translateX(-50%)!important;
      z-index:3!important;
      border-radius:999px!important;
      background:#fff!important;
      color:#442c00!important;
      padding:7px 17px!important;
      font-size:12px!important;
      font-weight:950!important;
      box-shadow:0 12px 22px rgba(77,51,0,.18)!important;
    }
  }

  /* Step 689 - final practice delivery pages: professional fiscal summary first. */
  .final-practice-head,
  .final-report-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:16px!important;
    align-items:start!important;
    padding-bottom:14px!important;
    border-bottom:1px solid var(--line)!important;
  }
  .final-practice-head h2,
  .final-report-head h2,
  .doc-delivery-copy h2{
    margin:7px 0 6px!important;
    color:var(--ink)!important;
    font-size:clamp(26px,2.8vw,36px)!important;
    line-height:1.06!important;
    letter-spacing:0!important;
  }
  .final-practice-head p,
  .final-report-head p,
  .doc-delivery-copy p{
    max-width:760px!important;
    margin:0!important;
    color:var(--ink-soft)!important;
    font-size:14.5px!important;
    line-height:1.45!important;
    font-weight:650!important;
  }
  .final-practice-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    min-width:220px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }
  .movement-final-route-note{
    display:grid!important;
    gap:4px!important;
    margin-top:16px!important;
    padding:14px!important;
    border:1px solid var(--line)!important;
    border-radius:14px!important;
    background:var(--surface-soft)!important;
  }
  .movement-final-route-note strong{
    color:var(--ink)!important;
    font-size:17px!important;
    line-height:1.12!important;
    letter-spacing:0!important;
  }
  .movement-final-route-note p{
    max-width:760px!important;
    margin:0!important;
    color:var(--muted)!important;
    font-size:13.4px!important;
    line-height:1.42!important;
    font-weight:650!important;
  }
  .fiscal-outcome-grid{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;
    gap:10px!important;
    margin:16px 0 0!important;
  }
  .fiscal-outcome-card{
    min-width:0!important;
    min-height:118px!important;
    display:grid!important;
    align-content:start!important;
    gap:7px!important;
    padding:14px!important;
    border:1px solid var(--line)!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .fiscal-outcome-card span{
    color:var(--muted)!important;
    font-size:10.5px!important;
    line-height:1.18!important;
    font-weight:900!important;
    letter-spacing:.06em!important;
    text-transform:uppercase!important;
  }
  .fiscal-outcome-card strong{
    color:var(--ink)!important;
    font-size:clamp(24px,2.6vw,32px)!important;
    line-height:1.02!important;
    letter-spacing:0!important;
    overflow-wrap:anywhere!important;
  }
  .fiscal-outcome-card small{
    color:var(--muted)!important;
    font-size:12.2px!important;
    line-height:1.32!important;
    font-weight:650!important;
  }
  .fiscal-outcome-card.positive{
    border-color:#c7dfd6!important;
    background:#f7fbf9!important;
  }
  .fiscal-outcome-card.positive strong{color:var(--brand-strong)!important}
  .fiscal-outcome-card.negative{
    border-color:#ead0d6!important;
    background:#fff8f9!important;
  }
  .fiscal-outcome-card.negative strong{color:var(--accent)!important}
  .fiscal-outcome-card.tax{
    border-color:#d8dfe6!important;
    background:#f8fafb!important;
  }
  .fiscal-outcome-card.primary-tax{
    grid-column:span 2!important;
    min-height:132px!important;
    align-content:center!important;
    border-color:var(--ink)!important;
    background:var(--ink)!important;
    color:#fff!important;
  }
  .fiscal-outcome-card.primary-tax span,
  .fiscal-outcome-card.primary-tax small{
    color:rgba(255,255,255,.78)!important;
  }
  .fiscal-outcome-card.primary-tax strong{
    color:#fff!important;
    font-size:clamp(34px,4.2vw,52px)!important;
    line-height:.96!important;
  }
  .fiscal-outcome-card.tax-detail{
    border-color:#cfd9d4!important;
    background:#fff!important;
  }
  .fiscal-outcome-card.tax-detail strong{
    color:var(--ink)!important;
  }
  .fiscal-outcome-card.asset{
    border-color:#d9e1dc!important;
    background:#fbfcfb!important;
  }
  .fiscal-integrity-strip{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
    margin:12px 0 0!important;
    padding:10px!important;
    border:1px solid var(--line)!important;
    border-radius:14px!important;
    background:var(--surface-soft)!important;
  }
  .fiscal-integrity-strip span{
    min-width:0!important;
    display:grid!important;
    gap:2px!important;
    padding:8px 10px!important;
    border-radius:10px!important;
    background:#fff!important;
    border:1px solid #edf1ef!important;
  }
  .fiscal-integrity-strip b{
    color:var(--ink)!important;
    font-size:18px!important;
    line-height:1.05!important;
    font-weight:900!important;
    letter-spacing:0!important;
  }
  .fiscal-integrity-strip small{
    color:var(--muted)!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:760!important;
  }
  .final-technical-details{
    margin-top:14px!important;
    padding:12px!important;
    border:1px solid var(--line)!important;
    border-radius:14px!important;
    background:#fff!important;
  }
  .final-technical-details>summary{
    cursor:pointer!important;
    list-style:none!important;
    color:var(--ink-soft)!important;
    font-size:13px!important;
    font-weight:900!important;
  }
  .final-technical-details>summary::-webkit-details-marker{display:none!important}
  .final-technical-details[open]>summary{margin-bottom:12px!important}
  .final-technical-details .source-orchestration-panel{margin:0 0 12px!important}

  .report-final-summary{
    width:100%!important;
    max-width:none!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(300px,.36fr)!important;
    gap:16px!important;
    align-items:start!important;
  }
  .report-final-summary .final-report-head{
    grid-column:1/-1!important;
  }
  .final-report-main{
    display:grid!important;
    gap:12px!important;
    min-width:0!important;
  }
  .final-report-side{
    display:grid!important;
    gap:10px!important;
    align-content:start!important;
    min-width:0!important;
    padding:16px!important;
    border:1px solid var(--line)!important;
    border-radius:14px!important;
    background:var(--surface-soft)!important;
  }
  .final-report-side strong{
    color:var(--ink)!important;
    font-size:24px!important;
    line-height:1.08!important;
    letter-spacing:0!important;
  }
  .final-report-side.tax-due-side{
    border-color:var(--ink)!important;
    background:linear-gradient(180deg,#fff,#f7faf8)!important;
  }
  .final-report-side.tax-due-side strong{
    color:var(--ink)!important;
    font-size:clamp(34px,3.5vw,46px)!important;
    line-height:.98!important;
  }
  .final-report-side p{
    margin:0 0 4px!important;
    color:var(--muted)!important;
    font-size:13.2px!important;
    line-height:1.42!important;
    font-weight:650!important;
  }
  .report-admin-files{
    grid-column:1/-1!important;
  }
  .report-admin-files .tree-root{
    margin:0 0 10px!important;
    color:var(--ink)!important;
    font-size:13px!important;
    font-weight:850!important;
    overflow-wrap:anywhere!important;
  }

  .doc-delivery-hero{
    align-items:stretch!important;
    gap:16px!important;
    min-height:0!important;
  }
  .doc-delivery-column{
    display:grid!important;
    gap:16px!important;
    align-content:start!important;
    min-width:0!important;
  }
  .doc-delivery-summary{
    display:grid!important;
    align-content:start!important;
    gap:8px!important;
    min-width:0!important;
    padding:14px!important;
    border:1px solid var(--line)!important;
    border-radius:14px!important;
    background:var(--surface-soft)!important;
  }
  .doc-delivery-summary:has(>strong.tax){
    border-color:var(--ink)!important;
    background:#fff!important;
  }
  .doc-delivery-kicker{
    color:var(--muted)!important;
    font-size:10.5px!important;
    line-height:1.16!important;
    font-weight:900!important;
    letter-spacing:.06em!important;
    text-transform:uppercase!important;
  }
  .doc-delivery-summary>strong{
    color:var(--ink)!important;
    font-size:clamp(28px,3.2vw,38px)!important;
    line-height:1!important;
    letter-spacing:0!important;
  }
  .doc-delivery-summary>strong.positive{color:var(--brand-strong)!important}
  .doc-delivery-summary>strong.negative{color:var(--accent)!important}
  .doc-delivery-summary>strong.tax{
    color:var(--ink)!important;
    font-size:clamp(38px,4.2vw,54px)!important;
    line-height:.96!important;
  }
  .doc-delivery-summary>small{
    color:var(--muted)!important;
    font-size:12.3px!important;
    line-height:1.32!important;
    font-weight:650!important;
  }
  .doc-delivery-mini{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    margin-top:4px!important;
  }
  .doc-delivery-mini span{
    min-width:0!important;
    display:grid!important;
    gap:2px!important;
    padding:8px!important;
    border:1px solid #edf1ef!important;
    border-radius:10px!important;
    background:#fff!important;
  }
  .doc-delivery-mini b{
    color:var(--ink)!important;
    font-size:15px!important;
    line-height:1.08!important;
    letter-spacing:0!important;
    overflow-wrap:anywhere!important;
  }
  .doc-delivery-mini small{
    color:var(--muted)!important;
    font-size:10.5px!important;
    line-height:1.18!important;
    font-weight:760!important;
  }
  .doc-delivery-hero .doc-ready-actions{
    grid-column:1/-1!important;
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
  }
  .doc-delivery-hero .doc-ready-actions .primary-action,
  .doc-delivery-hero .doc-ready-actions .secondary-action{
    width:auto!important;
    min-width:180px!important;
  }
  .doc-admin-hint{
    color:var(--muted)!important;
    font-size:12px!important;
    line-height:1.25!important;
    font-weight:760!important;
  }
  .doc-use-panel{
    display:grid!important;
    gap:12px!important;
    min-width:0!important;
    padding:16px!important;
    border:1px solid var(--line)!important;
    border-radius:var(--radius)!important;
    background:#fff!important;
    box-shadow:var(--shadow-soft)!important;
  }
  .doc-use-head{
    display:grid!important;
    gap:6px!important;
    min-width:0!important;
  }
  .doc-use-head strong{
    color:var(--ink)!important;
    font-size:22px!important;
    line-height:1.08!important;
    letter-spacing:0!important;
  }
  .doc-use-head p{
    max-width:680px!important;
    margin:0!important;
    color:var(--ink-soft)!important;
    font-size:13.5px!important;
    line-height:1.42!important;
    font-weight:650!important;
  }
  .doc-use-head small{
    color:var(--muted)!important;
    font-size:12px!important;
    font-weight:760!important;
  }
  .doc-use-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .doc-use-grid span{
    min-width:0!important;
    display:grid!important;
    gap:2px!important;
    padding:10px!important;
    border:1px solid var(--line)!important;
    border-radius:12px!important;
    background:var(--surface-soft)!important;
  }
  .doc-use-grid b{
    color:var(--ink)!important;
    font-size:18px!important;
    line-height:1!important;
    letter-spacing:0!important;
  }
  .doc-use-grid small{
    color:var(--muted)!important;
    font-size:11.2px!important;
    line-height:1.2!important;
    font-weight:760!important;
  }
  .doc-primary-tile{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  .doc-primary-tile small{
    grid-column:1/-1!important;
    color:var(--muted)!important;
    font-size:12px!important;
    line-height:1.28!important;
    font-weight:650!important;
  }

  @media(min-width:1024px){
    .app-page-movimenti .movement-final-panel{
      width:100%!important;
      max-width:none!important;
      padding:22px!important;
    }
    .app-page-movimenti .movement-final-panel .fiscal-outcome-grid{
      grid-template-columns:repeat(5,minmax(0,1fr))!important;
    }
    .app-page-report .report-final-summary{
      grid-template-columns:minmax(0,1fr) minmax(320px,.34fr)!important;
    }
    .app-page-report .report-final-summary .final-report-main{
      grid-column:1!important;
    }
    .app-page-report .report-final-summary .final-report-side{
      grid-column:2!important;
      grid-row:2!important;
    }
    .app-page-report .report-final-summary .report-admin-files{
      grid-column:1/-1!important;
    }
    .app-page-report .report-final-summary .report-fiscal-grid{
      grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
    .app-page-doc .documents-page-compact .doc-delivery-hero{
      grid-template-columns:minmax(0,1fr) minmax(260px,.52fr)!important;
      grid-template-rows:auto auto!important;
      min-height:0!important;
      padding:22px!important;
    }
    .app-page-doc .documents-page-compact .doc-delivery-column{
      grid-column:1/2!important;
    }
    .app-page-doc .documents-page-compact .doc-delivery-hero .doc-delivery-copy{
      align-self:center!important;
    }
    .app-page-doc .documents-page-compact .doc-primary-panel{
      padding:18px!important;
    }
    .app-page-doc .documents-page-compact .doc-use-panel{
      grid-column:1/2!important;
    }
    .app-page-doc .documents-page-compact .doc-primary-grid{
      gap:10px!important;
    }
  }

  @media(min-width:1191px){
    .app-page-doc .documents-page-compact .doc-delivery-column{
      grid-row:1!important;
    }
    .app-page-doc .documents-page-compact .doc-primary-panel{
      grid-row:1!important;
    }
    .app-page-doc .documents-page-compact .doc-archive-tree{
      grid-row:2!important;
    }
  }

  @media(max-width:900px){
    .final-practice-head,
    .final-report-head,
    .report-final-summary,
    .doc-delivery-column,
    .doc-delivery-hero{
      grid-template-columns:1fr!important;
    }
    .doc-use-grid{
      grid-template-columns:1fr!important;
    }
    .final-practice-actions{
      min-width:0!important;
      width:100%!important;
    }
    .fiscal-integrity-strip{
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    .doc-delivery-hero .doc-ready-actions .primary-action,
    .doc-delivery-hero .doc-ready-actions .secondary-action{
      width:100%!important;
      min-width:0!important;
    }
  }

  @media(max-width:520px){
    .fiscal-outcome-grid,
    .fiscal-integrity-strip{
      grid-template-columns:1fr!important;
    }
    .fiscal-outcome-card.primary-tax{
      grid-column:auto!important;
      min-height:118px!important;
    }
    .fiscal-outcome-card{
      min-height:0!important;
    }
  }

  /* The calculation price card uses a light surface at every viewport. */
  .app-page-movimenti .metric-grid .platform-tier-card{
    position:relative!important;
    z-index:6!important;
    overflow:visible!important;
    grid-column:1/-1!important;
    min-width:0!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:repeat(4,auto)!important;
    gap:8px!important;
    align-content:center!important;
    background:#fff!important;
    border-color:#cfe0d8!important;
    color:#172c35!important;
  }
  .app-page-movimenti .platform-tier-card:has(.price-info-popover[open]){z-index:90!important}
  .app-page-movimenti .platform-tier-card .metric-label-row{grid-column:1!important;grid-row:1!important}
  .app-page-movimenti .platform-tier-card .metric-label-row>span{
    color:#435b64!important;
    font-size:13px!important;
    line-height:1.4!important;
    font-weight:600!important;
    text-transform:none!important;
  }
  .app-page-movimenti .platform-tier-card>strong[data-metric="platformPriceEur"]{
    grid-column:1!important;
    grid-row:2!important;
    margin:0!important;
    padding:0!important;
    max-width:100%!important;
    background:transparent!important;
    color:#172c35!important;
    font-size:clamp(36px,5vw,44px)!important;
    line-height:1.15!important;
    font-weight:750!important;
    letter-spacing:-.035em!important;
    font-variant-numeric:tabular-nums!important;
    white-space:nowrap!important;
  }
  .app-page-movimenti .platform-tier-card>small[data-metric]{
    grid-column:1!important;
    margin:0!important;
    padding:0!important;
    max-width:100%!important;
    background:transparent!important;
    color:#435b64!important;
    font-size:13px!important;
    line-height:1.5!important;
    font-weight:450!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .app-page-movimenti .platform-tier-card>small[data-metric="platformTierLabel"]{grid-row:3!important}
  .app-page-movimenti .platform-tier-card>small[data-metric="platformTierValueEur"]{grid-row:4!important}
  .app-page-movimenti .platform-tier-card .price-info-popover p{left:0!important;right:auto!important}
  @media(min-width:1280px){
    .app-page-movimenti .metric-grid .platform-tier-card{grid-column:span 2!important}
  }

  .is-hidden,.hidden,[hidden]{display:none!important}
  
  
  /* Step 685 - professional landing refresh, loaded after legacy mobile layers. */
  body.public-page-landing{
    background:#f7f8f6!important;
  }
  body.public-page-landing:before,
  body.public-page-landing:after,
  .public-page-landing .public-shell:before,
  .public-page-landing .public-shell:after,
  .public-page-landing .ft-hero-commercial:before,
  .public-page-landing .ft-hero-commercial:after,
  .public-page-landing .ft-hero-copy:before,
  .public-page-landing .ft-hero-copy:after,
  .public-page-landing .ft-hero-visual:before,
  .public-page-landing .ft-hero-visual:after,
  .public-page-landing .ft-section:before,
  .public-page-landing .ft-section:after{
    display:none!important;
    content:none!important;
  }

  .public-page-landing .public-shell{
    background:#f7f8f6!important;
    padding:10px clamp(10px,2.4vw,28px) 28px!important;
  }
  .public-page-landing .public-wrap{
    width:min(100%,1180px)!important;
    max-width:1180px!important;
    padding:0!important;
  }
  .public-page-landing .public-header{
    width:min(100%,1180px)!important;
    min-height:58px!important;
    margin:0 auto 10px!important;
    border:1px solid #dfe6e2!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.92)!important;
    box-shadow:0 10px 30px rgba(17,24,23,.07)!important;
    backdrop-filter:blur(18px)!important;
    padding:8px 10px!important;
  }
  .public-page-landing .public-links{
    gap:7px!important;
  }
  .public-page-landing .public-links a,
  .public-page-landing .landing-nav a{
    min-height:38px!important;
    border-radius:12px!important;
    padding:0 13px!important;
    font-size:12.5px!important;
    font-weight:850!important;
    text-decoration:none!important;
    white-space:nowrap!important;
  }
  .public-page-landing .public-start{
    background:#111817!important;
    color:#fff!important;
    border:1px solid #111817!important;
    box-shadow:none!important;
  }

  .public-page-landing .landing-flow{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    min-width:0!important;
  }
  .public-page-landing .ft-hero-commercial{
    order:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,.96fr) minmax(360px,1.04fr)!important;
    align-items:center!important;
    gap:clamp(24px,4vw,48px)!important;
    min-height:auto!important;
    margin:0!important;
    padding:clamp(34px,5vw,68px) 0 clamp(30px,4.5vw,52px)!important;
    border-bottom:1px solid #dfe6e2!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  .public-page-landing .ft-hero-copy{
    display:grid!important;
    align-content:center!important;
    gap:14px!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    transform:none!important;
    overflow:visible!important;
  }
  .public-page-landing .ft-hero-copy .status-badge{
    margin:0!important;
  }
  .public-page-landing .ft-hero-copy h1{
    max-width:720px!important;
    margin:0!important;
    color:#111817!important;
    font-size:clamp(44px,6vw,72px)!important;
    line-height:.96!important;
    letter-spacing:-.055em!important;
  }
  .public-page-landing .ft-hero-lead{
    max-width:640px!important;
    margin:0!important;
    color:#34413e!important;
    font-size:clamp(16px,1.5vw,19px)!important;
    line-height:1.5!important;
    font-weight:650!important;
  }
  .public-page-landing .landing-actions,
  .public-page-landing .ft-hero-actions{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:10px!important;
    margin:6px 0 0!important;
  }
  .public-page-landing .landing-actions .primary-action,
  .public-page-landing .landing-actions .secondary-action{
    min-width:152px!important;
    min-height:44px!important;
    border-radius:12px!important;
    padding:0 16px!important;
    box-shadow:none!important;
    font-size:13.5px!important;
  }
  .public-page-landing .ft-hero-proof{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:4px 0 0!important;
  }
  .public-page-landing .ft-hero-proof span{
    display:flex!important;
    align-items:flex-start!important;
    gap:8px!important;
    min-height:42px!important;
    width:auto!important;
    border:1px solid #dfe6e2!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:none!important;
    padding:9px 10px!important;
    color:#3e4a47!important;
    font-size:12px!important;
    line-height:1.25!important;
    font-weight:780!important;
    letter-spacing:0!important;
  }
  .public-page-landing .ft-hero-proof span b{
    display:grid!important;
    place-items:center!important;
    flex:0 0 18px!important;
    width:18px!important;
    height:18px!important;
    margin:0!important;
    border-radius:7px!important;
    background:#0a6b57!important;
    color:#fff!important;
    font-size:10px!important;
    line-height:1!important;
  }

  .public-page-landing .ft-hero-visual{
    position:relative!important;
    min-height:0!important;
    margin:0!important;
    padding:12px!important;
    border:1px solid #dfe6e2!important;
    border-radius:16px!important;
    background:#fff!important;
    box-shadow:0 14px 36px rgba(17,24,23,.08)!important;
    backdrop-filter:none!important;
    transform:none!important;
    overflow:hidden!important;
  }
  .public-page-landing .tax-preview-clean{
    display:block!important;
    margin:0!important;
    padding:0!important;
  }
  .public-page-landing .tax-preview-docs{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .public-page-landing .tax-real-pdf-card{
    min-width:0!important;
    margin:0!important;
    padding:10px!important;
    border:1px solid #dfe6e2!important;
    border-radius:12px!important;
    background:#fbfcfb!important;
    box-shadow:none!important;
    transform:none!important;
    overflow:hidden!important;
  }
  .public-page-landing .tax-real-pdf-title{
    min-height:34px!important;
    display:flex!important;
    align-items:flex-start!important;
    gap:0!important;
    padding:0 0 8px!important;
  }
  .public-page-landing .tax-real-pdf-title span{
    display:none!important;
  }
  .public-page-landing .tax-real-pdf-title strong{
    display:block!important;
    color:#111817!important;
    font-size:13px!important;
    line-height:1.08!important;
    font-weight:900!important;
    letter-spacing:-.015em!important;
  }
  .public-page-landing .tax-real-pdf-title small{
    display:block!important;
    margin-top:2px!important;
    color:#65716d!important;
    font-size:10.2px!important;
    line-height:1.18!important;
    font-weight:720!important;
  }
  .public-page-landing .tax-real-pdf-page{
    height:clamp(220px,30vw,350px)!important;
    border:1px solid #dfe6e2!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .public-page-landing .tax-real-pdf-page img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:top center!important;
  }

  .public-page-landing .ft-section{
    width:100%!important;
    margin:0!important;
    padding:clamp(34px,5vw,58px) 0!important;
    border-top:0!important;
    border-bottom:1px solid #dfe6e2!important;
    background:transparent!important;
  }
  .public-page-landing .ft-section-head{
    max-width:720px!important;
    margin:0 0 18px!important;
  }
  .public-page-landing .eyebrow{
    width:max-content!important;
    margin:0 0 8px!important;
    color:#0a6b57!important;
    font-size:10.5px!important;
    font-weight:900!important;
    letter-spacing:.12em!important;
  }
  .public-page-landing .price-title-row{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    width:max-content!important;
    max-width:100%!important;
    margin:0 0 8px!important;
    position:relative!important;
    z-index:5!important;
  }
  .public-page-landing .price-title-row .eyebrow{
    margin:0!important;
  }
  .public-page-landing .price-info-popover summary{
    width:23px!important;
    height:23px!important;
    border-color:#c7dfd6!important;
    background:#fff!important;
    color:#0a6b57!important;
  }
  .public-page-landing .price-info-popover[open] summary{
    background:#0a6b57!important;
    border-color:#0a6b57!important;
    color:#fff!important;
  }
  .public-page-landing .price-info-popover p{
    left:0!important;
    right:auto!important;
    color:#34413e!important;
  }
  .public-page-landing .ft-section-head h2,
  .public-page-landing .ft-split h2,
  .public-page-landing .ft-consultant h2,
  .public-page-landing .ft-pricing h2,
  .public-page-landing .ft-final-cta h2{
    max-width:760px!important;
    margin:0 0 9px!important;
    color:#111817!important;
    font-size:clamp(30px,3.3vw,42px)!important;
    line-height:1.04!important;
    letter-spacing:-.045em!important;
  }
  .public-page-landing .ft-section-head p,
  .public-page-landing .ft-split p,
  .public-page-landing .ft-consultant p,
  .public-page-landing .ft-pricing p,
  .public-page-landing .ft-final-cta p{
    max-width:720px!important;
    margin:0!important;
    color:#65716d!important;
    font-size:15px!important;
    line-height:1.52!important;
    font-weight:620!important;
  }

  .public-page-landing .ft-timeline{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .public-page-landing .ft-step,
  .public-page-landing .ft-compare,
  .public-page-landing .ft-folder-preview,
  .public-page-landing .ft-consultant-card,
  .public-page-landing .ft-price-tier,
  .public-page-landing .ft-faq-list details{
    border:1px solid #dfe6e2!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
  }
  .public-page-landing .ft-step{
    min-height:158px!important;
    padding:15px!important;
  }
  .public-page-landing .ft-step span,
  .public-page-landing .ft-checklist b{
    display:grid!important;
    place-items:center!important;
    width:30px!important;
    height:30px!important;
    margin:0 0 11px!important;
    border-radius:10px!important;
    background:#111817!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:900!important;
  }
  .public-page-landing .ft-step h3{
    margin:0 0 7px!important;
    color:#111817!important;
    font-size:17px!important;
    line-height:1.12!important;
    letter-spacing:-.025em!important;
  }
  .public-page-landing .ft-step p{
    margin:0!important;
    color:#65716d!important;
    font-size:13px!important;
    line-height:1.42!important;
    font-weight:620!important;
  }

  .public-page-landing .ft-split,
  .public-page-landing .ft-pricing,
  .public-page-landing .ft-consultant{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(320px,430px)!important;
    gap:clamp(18px,3vw,34px)!important;
    align-items:center!important;
  }
  .public-page-landing .ft-compare-grid,
  .public-page-landing .ft-checklist,
  .public-page-landing .ft-price-grid,
  .public-page-landing .ft-faq-list{
    display:grid!important;
    gap:10px!important;
  }
  .public-page-landing .ft-compare{
    padding:15px!important;
  }
  .public-page-landing .ft-compare.active{
    border-color:#c7dfd6!important;
    background:#f4faf7!important;
  }
  .public-page-landing .ft-compare span,
  .public-page-landing .ft-price-tier span{
    color:#0a6b57!important;
    font-size:10.5px!important;
    font-weight:900!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
  }
  .public-page-landing .ft-compare.muted span{
    color:#65716d!important;
  }
  .public-page-landing .ft-compare ul,
  .public-page-landing .ft-price-tier ul{
    margin:11px 0 0!important;
    padding:0!important;
    display:grid!important;
    gap:7px!important;
  }
  .public-page-landing .ft-compare li{
    color:#34413e!important;
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:700!important;
  }

  .public-page-landing .ft-folder-commercial{
    display:grid!important;
    grid-template-columns:1.05fr repeat(3,minmax(0,1fr))!important;
    align-items:stretch!important;
    overflow:hidden!important;
  }
  .public-page-landing .ft-folder-title{
    display:flex!important;
    align-items:center!important;
    padding:16px!important;
    background:#111817!important;
    color:#fff!important;
    font-size:17px!important;
    line-height:1.12!important;
    font-weight:900!important;
    letter-spacing:-.025em!important;
  }
  .public-page-landing .ft-folder-group{
    padding:15px!important;
    border-top:0!important;
    border-left:1px solid #dfe6e2!important;
  }
  .public-page-landing .ft-folder-group strong{
    color:#111817!important;
    font-size:14px!important;
    font-weight:900!important;
  }
  .public-page-landing .ft-folder-group ul{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
    margin:11px 0 0!important;
    padding:0!important;
  }
  .public-page-landing .ft-folder-group li{
    color:#4d5a56!important;
    font-size:12.8px!important;
    line-height:1.32!important;
    font-weight:700!important;
  }

  .public-page-landing .ft-consultant-card{
    padding:20px!important;
  }
  .public-page-landing .ft-checklist div{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:11px!important;
    align-items:center!important;
    min-height:54px!important;
    padding:11px 12px!important;
    border:1px solid #dfe6e2!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .public-page-landing .ft-checklist b{
    margin:0!important;
  }
  .public-page-landing .ft-checklist span{
    color:#34413e!important;
    font-size:13.2px!important;
    line-height:1.3!important;
    font-weight:780!important;
  }

  .public-page-landing .ft-price-grid{
    grid-template-columns:1fr!important;
  }
  .public-page-landing .ft-price-tier{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:3px 12px!important;
    align-items:center!important;
    padding:13px 14px!important;
  }
  .public-page-landing .ft-price-tier strong{
    grid-row:1 / 3!important;
    grid-column:2!important;
    color:#111817!important;
    font-size:28px!important;
    line-height:1!important;
    letter-spacing:-.045em!important;
  }
  .public-page-landing .ft-price-tier p{
    margin:0!important;
    color:#65716d!important;
    font-size:12.5px!important;
    line-height:1.28!important;
    font-weight:720!important;
  }

  .public-page-landing .ft-final-cta-commercial{
    display:grid!important;
    justify-items:start!important;
    text-align:left!important;
    margin:34px 0 0!important;
    padding:clamp(22px,3.2vw,32px)!important;
    border:1px solid #111817!important;
    border-radius:16px!important;
    background:#111817!important;
    color:#fff!important;
    box-shadow:none!important;
  }
  .public-page-landing .ft-final-cta-commercial h2,
  .public-page-landing .ft-final-cta-commercial p{
    color:#fff!important;
  }
  .public-page-landing .ft-final-cta-commercial p{
    opacity:.82!important;
  }
  .public-page-landing .ft-final-cta-commercial .status-badge{
    border-color:rgba(255,255,255,.2)!important;
    background:rgba(255,255,255,.1)!important;
    color:#fff!important;
  }
  .public-page-landing .ft-final-cta-commercial .primary-action{
    background:#fff!important;
    border-color:#fff!important;
    color:#111817!important;
  }
  .public-page-landing .ft-final-cta-commercial .secondary-action{
    background:transparent!important;
    border-color:rgba(255,255,255,.32)!important;
    color:#fff!important;
  }

  body.public-page-guide .ft-final-cta-commercial{
    display:grid!important;
    justify-items:start!important;
    text-align:left!important;
    margin:30px 0 0!important;
    padding:clamp(20px,3vw,30px)!important;
    border:1px solid #cfe4db!important;
    border-radius:18px!important;
    background:linear-gradient(135deg,#ffffff 0%,#f2faf6 100%)!important;
    color:#111817!important;
    box-shadow:0 16px 42px rgba(20,32,31,.08)!important;
    overflow:visible!important;
  }
  body.public-page-guide .ft-final-cta-commercial:after{
    content:none!important;
    display:none!important;
  }
  body.public-page-guide .ft-final-cta-commercial h2{
    color:#111817!important;
  }
  body.public-page-guide .ft-final-cta-commercial p{
    color:#40504c!important;
    opacity:1!important;
  }
  body.public-page-guide .ft-final-cta-commercial .eyebrow{
    color:#0a6b57!important;
  }
  body.public-page-guide .ft-final-cta-commercial .landing-actions{
    justify-content:flex-start!important;
  }
  body.public-page-guide .ft-final-cta-commercial .primary-action{
    background:#111817!important;
    border-color:#111817!important;
    color:#fff!important;
    box-shadow:0 12px 26px rgba(20,32,31,.16)!important;
  }
  body.public-page-guide .ft-final-cta-commercial .secondary-action{
    background:#fff!important;
    border-color:#c9d7d1!important;
    color:#22302d!important;
  }
  body.public-page-guide .ft-final-cta-commercial .primary-action:hover,
  body.public-page-guide .ft-final-cta-commercial .secondary-action:hover{
    transform:translateY(-1px)!important;
  }

  .public-page-landing .ft-faq-list details{
    padding:14px 15px!important;
  }
  .public-page-landing .ft-faq-list summary{
    color:#111817!important;
    font-size:14.8px!important;
    line-height:1.25!important;
    font-weight:900!important;
    letter-spacing:-.015em!important;
  }
  .public-page-landing .ft-faq-list p{
    margin:9px 0 0!important;
    color:#65716d!important;
    font-size:13.4px!important;
    line-height:1.45!important;
    font-weight:620!important;
  }
  .public-page-landing .public-footer{
    width:min(100%,1180px)!important;
    margin:18px auto 0!important;
    padding-top:16px!important;
    border-top:0!important;
    color:#65716d!important;
  }

  @media(max-width:1080px){
    .public-page-landing .ft-hero-commercial,
    .public-page-landing .ft-split,
    .public-page-landing .ft-pricing,
    .public-page-landing .ft-consultant{
      grid-template-columns:1fr!important;
    }
    .public-page-landing .ft-timeline{
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    .public-page-landing .ft-folder-commercial{
      grid-template-columns:1fr 1fr!important;
    }
    .public-page-landing .ft-folder-title{
      grid-column:1 / -1!important;
    }
    .public-page-landing .ft-folder-group{
      border-left:0!important;
      border-top:1px solid #dfe6e2!important;
    }
  }

  @media(max-width:760px){
    .public-page-landing .public-shell{
      padding:8px 10px 24px!important;
    }
    .public-page-landing .public-header{
      position:sticky!important;
      top:6px!important;
      z-index:50!important;
      display:flex!important;
      align-items:center!important;
      gap:8px!important;
      min-height:56px!important;
      border-radius:18px!important;
      padding:8px 9px!important;
    }
    .public-page-landing .landing-nav{
      display:none!important;
    }
    .public-page-landing .brand-lockup img{
      max-width:138px!important;
      height:38px!important;
    }
    .public-page-landing .public-links{
      margin-left:auto!important;
    }
    .public-page-landing .public-links a:first-child{
      display:inline-flex!important;
    }
    .public-page-landing .public-links a{
      min-height:38px!important;
      padding:0 12px!important;
      border-radius:12px!important;
      font-size:12px!important;
    }
    .public-page-landing .ft-hero-commercial{
      display:grid!important;
      grid-template-columns:1fr!important;
      gap:18px!important;
      padding:22px 0 30px!important;
      margin:0!important;
    }
    .public-page-landing .ft-hero-copy{
      gap:13px!important;
    }
    .public-page-landing .ft-hero-copy h1{
      max-width:100%!important;
      font-size:34px!important;
      line-height:1!important;
      letter-spacing:-.048em!important;
    }
    .public-page-landing .ft-hero-lead{
      max-width:100%!important;
      font-size:14.4px!important;
      line-height:1.45!important;
      font-weight:650!important;
    }
    .public-page-landing .ft-hero-actions{
      display:grid!important;
      grid-template-columns:1fr 1fr!important;
      gap:9px!important;
      margin-top:2px!important;
    }
    .public-page-landing .ft-hero-actions .primary-action,
    .public-page-landing .ft-hero-actions .secondary-action{
      width:100%!important;
      min-width:0!important;
      min-height:43px!important;
      padding:0 10px!important;
      border-radius:12px!important;
      font-size:13px!important;
    }
    .public-page-landing .ft-hero-proof{
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
      gap:7px!important;
    }
    .public-page-landing .ft-hero-proof span{
      min-height:50px!important;
      padding:8px!important;
      border-radius:12px!important;
      font-size:11.3px!important;
      line-height:1.2!important;
    }
    .public-page-landing .ft-hero-proof span b{
      flex-basis:17px!important;
      width:17px!important;
      height:17px!important;
      border-radius:6px!important;
      font-size:9px!important;
    }
    .public-page-landing .ft-hero-visual{
      border-radius:14px!important;
      padding:9px!important;
    }
    .public-page-landing .tax-preview-docs{
      gap:8px!important;
    }
    .public-page-landing .tax-real-pdf-card{
      padding:8px!important;
      border-radius:12px!important;
    }
    .public-page-landing .tax-real-pdf-title{
      min-height:30px!important;
      padding-bottom:6px!important;
    }
    .public-page-landing .tax-real-pdf-title strong{
      font-size:11.4px!important;
    }
    .public-page-landing .tax-real-pdf-title small{
      font-size:9px!important;
    }
    .public-page-landing .tax-real-pdf-page{
      height:150px!important;
      border-radius:9px!important;
    }
    .public-page-landing .ft-section{
      padding:31px 0!important;
    }
    .public-page-landing .ft-section-head{
      margin-bottom:14px!important;
    }
    .public-page-landing .ft-section-head h2,
    .public-page-landing .ft-split h2,
    .public-page-landing .ft-consultant h2,
    .public-page-landing .ft-pricing h2,
    .public-page-landing .ft-final-cta h2{
      font-size:27px!important;
      line-height:1.06!important;
      letter-spacing:-.04em!important;
    }
    .public-page-landing .ft-section-head p,
    .public-page-landing .ft-split p,
    .public-page-landing .ft-consultant p,
    .public-page-landing .ft-pricing p,
    .public-page-landing .ft-final-cta p{
      font-size:14px!important;
      line-height:1.47!important;
    }
    .public-page-landing .ft-timeline,
    .public-page-landing .ft-folder-commercial{
      grid-template-columns:1fr!important;
    }
    .public-page-landing .ft-step{
      min-height:auto!important;
      padding:14px!important;
    }
    .public-page-landing .ft-folder-title{
      grid-column:auto!important;
      font-size:15px!important;
      padding:14px!important;
    }
    .public-page-landing .ft-folder-group{
      padding:14px!important;
    }
    .public-page-landing .ft-consultant-card{
      padding:16px!important;
    }
    .public-page-landing .ft-price-tier{
      padding:12px 13px!important;
    }
    .public-page-landing .ft-price-tier strong{
      font-size:25px!important;
    }
    .public-page-landing .ft-final-cta-commercial{
      margin-top:24px!important;
      padding:20px 16px!important;
      border-radius:14px!important;
    }
    .public-page-landing .ft-final-cta-commercial .landing-actions{
      display:grid!important;
      grid-template-columns:1fr!important;
      width:100%!important;
    }
    .public-page-landing .ft-final-cta-commercial .primary-action,
    .public-page-landing .ft-final-cta-commercial .secondary-action{
      width:100%!important;
    }
  }

  @media(max-width:430px){
    .public-page-landing .public-header{
      gap:7px!important;
    }
    .public-page-landing .brand-lockup img{
      max-width:125px!important;
      height:36px!important;
    }
    .public-page-landing .public-links a{
      min-height:36px!important;
      padding:0 10px!important;
      font-size:11.6px!important;
    }
    .public-page-landing .ft-hero-copy h1{
      font-size:31px!important;
    }
    .public-page-landing .ft-hero-lead{
      font-size:13.8px!important;
    }
    .public-page-landing .ft-hero-proof span{
      min-height:54px!important;
      padding:8px 7px!important;
      font-size:10.8px!important;
    }
    .public-page-landing .tax-real-pdf-page{
      height:132px!important;
    }
  }

  body.public-page-termini,
  body.public-page-privacy,
  body.public-page-cookie{
    background:#f7f8f6!important;
  }
  body.public-page-termini:before,
  body.public-page-privacy:before,
  body.public-page-cookie:before,
  body.public-page-termini:after,
  body.public-page-privacy:after,
  body.public-page-cookie:after{
    display:none!important;
    content:none!important;
  }
  body.public-page-termini .public-shell,
  body.public-page-privacy .public-shell,
  body.public-page-cookie .public-shell{
    background:#f7f8f6!important;
    padding:10px clamp(10px,2.4vw,28px) 30px!important;
  }
  body.public-page-termini .public-header,
  body.public-page-privacy .public-header,
  body.public-page-cookie .public-header{
    width:min(100%,1120px)!important;
    min-height:58px!important;
    margin:0 auto 10px!important;
    border:1px solid #dfe6e2!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.92)!important;
    box-shadow:0 10px 30px rgba(17,24,23,.07)!important;
    backdrop-filter:blur(18px)!important;
    padding:8px 10px!important;
  }
  body.public-page-termini .public-wrap,
  body.public-page-privacy .public-wrap,
  body.public-page-cookie .public-wrap{
    width:min(100%,1120px)!important;
    max-width:1120px!important;
    padding:0!important;
  }
  .legal-document-shell{
    display:grid!important;
    gap:18px!important;
    min-width:0!important;
  }
  .legal-document-hero{
    padding:clamp(24px,4.8vw,56px) 0 6px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .legal-back{
    display:inline-flex!important;
    width:max-content!important;
    max-width:100%!important;
    margin:0 0 18px!important;
    color:#0a6b57!important;
    text-decoration:none!important;
    font-size:13px!important;
    line-height:1.1!important;
    font-weight:900!important;
  }
  .legal-document-hero h1{
    max-width:860px!important;
    margin:0!important;
    color:#111817!important;
    font-size:56px!important;
    line-height:.98!important;
    letter-spacing:-.055em!important;
  }
  .legal-document-hero>p{
    max-width:780px!important;
    margin:12px 0 0!important;
    color:#34413e!important;
    font-size:17px!important;
    line-height:1.52!important;
    font-weight:650!important;
  }
  .legal-document-meta{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:8px!important;
    margin:20px 0 0!important;
  }
  .legal-document-meta div{
    min-width:0!important;
    border:1px solid #dfe6e2!important;
    border-radius:14px!important;
    background:#fff!important;
    padding:11px 12px!important;
  }
  .legal-document-meta dt{
    margin:0 0 5px!important;
    color:#65716d!important;
    font-size:10.5px!important;
    line-height:1.1!important;
    font-weight:900!important;
    text-transform:uppercase!important;
    letter-spacing:.08em!important;
  }
  .legal-document-meta dd{
    margin:0!important;
    color:#111817!important;
    font-size:13px!important;
    line-height:1.25!important;
    font-weight:800!important;
    overflow-wrap:anywhere!important;
  }
  .legal-document-notice,
  .legal-note,
  .legal-actions-panel{
    border:1px solid #ead6a8!important;
    border-radius:14px!important;
    background:#fff8e8!important;
    padding:13px 14px!important;
  }
  .legal-document-notice{
    max-width:880px!important;
    margin:12px 0 0!important;
  }
  .legal-document-notice strong,
  .legal-note strong{
    display:block!important;
    margin:0 0 4px!important;
    color:#5d3e07!important;
    font-size:12px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.06em!important;
  }
  .legal-document-notice p,
  .legal-note p{
    margin:0!important;
    color:#5d3e07!important;
    font-size:13px!important;
    line-height:1.42!important;
    font-weight:680!important;
  }
  .legal-document-grid{
    display:grid!important;
    grid-template-columns:250px minmax(0,1fr)!important;
    gap:18px!important;
    align-items:start!important;
    min-width:0!important;
  }
  .legal-toc{
    position:sticky!important;
    top:82px!important;
    display:grid!important;
    gap:11px!important;
    border:1px solid #dfe6e2!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.94)!important;
    box-shadow:0 10px 30px rgba(17,24,23,.06)!important;
    padding:14px!important;
  }
  .legal-toc strong{
    color:#111817!important;
    font-size:13px!important;
    font-weight:950!important;
    letter-spacing:-.01em!important;
  }
  .legal-toc ol{
    display:grid!important;
    gap:6px!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
  }
  .legal-toc a{
    display:block!important;
    color:#52615d!important;
    text-decoration:none!important;
    font-size:12.5px!important;
    line-height:1.25!important;
    font-weight:780!important;
    overflow-wrap:anywhere!important;
  }
  .legal-toc a:hover{
    color:#0a6b57!important;
  }
  .legal-document-card{
    min-width:0!important;
    border:1px solid #dfe6e2!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 14px 42px rgba(17,24,23,.07)!important;
    padding:clamp(18px,2.8vw,32px)!important;
  }
  .legal-section{
    scroll-margin-top:98px!important;
    padding:24px 0!important;
    border-top:1px solid #dfe6e2!important;
  }
  .legal-section:first-child{
    padding-top:0!important;
    border-top:0!important;
  }
  .legal-section:last-child{
    padding-bottom:0!important;
  }
  .legal-section h2{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:start!important;
    margin:0 0 12px!important;
    color:#111817!important;
    font-size:28px!important;
    line-height:1.08!important;
    letter-spacing:-.035em!important;
  }
  .legal-section h2 span{
    display:grid!important;
    place-items:center!important;
    width:30px!important;
    height:30px!important;
    border-radius:10px!important;
    background:#111817!important;
    color:#fff!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:950!important;
    letter-spacing:0!important;
  }
  .legal-section p{
    max-width:850px!important;
    margin:0 0 11px!important;
    color:#34413e!important;
    font-size:14.5px!important;
    line-height:1.62!important;
    font-weight:620!important;
  }
  .legal-list{
    display:grid!important;
    gap:8px!important;
    max-width:860px!important;
    margin:12px 0!important;
    padding:0!important;
    list-style:none!important;
  }
  .legal-list li{
    position:relative!important;
    min-width:0!important;
    padding-left:22px!important;
    color:#273331!important;
    font-size:14px!important;
    line-height:1.48!important;
    font-weight:680!important;
  }
  .legal-list li:before{
    content:""!important;
    position:absolute!important;
    left:2px!important;
    top:.72em!important;
    width:7px!important;
    height:7px!important;
    border-radius:999px!important;
    background:#0a6b57!important;
  }
  .legal-table-wrap{
    width:100%!important;
    margin:14px 0!important;
    overflow:auto!important;
    border:1px solid #dfe6e2!important;
    border-radius:14px!important;
    background:#fff!important;
  }
  .legal-table{
    width:100%!important;
    min-width:620px!important;
    border-collapse:collapse!important;
  }
  .legal-table th,
  .legal-table td{
    padding:11px 12px!important;
    border-bottom:1px solid #dfe6e2!important;
    text-align:left!important;
    vertical-align:top!important;
    color:#273331!important;
    font-size:13px!important;
    line-height:1.4!important;
    font-weight:650!important;
  }
  .legal-table th{
    background:#f1f4f2!important;
    color:#111817!important;
    font-size:11px!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    letter-spacing:.065em!important;
  }
  .legal-table tr:last-child td{
    border-bottom:0!important;
  }
  .legal-table td:first-child{
    color:#111817!important;
    font-weight:850!important;
  }
  .legal-note{
    max-width:860px!important;
    margin:14px 0 0!important;
  }
  .legal-actions-panel{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:16px!important;
    align-items:center!important;
    margin-top:18px!important;
    background:#fff!important;
    border-color:#dfe6e2!important;
    box-shadow:0 10px 30px rgba(17,24,23,.06)!important;
  }
  .legal-actions-panel h2{
    margin:0 0 6px!important;
    color:#111817!important;
    font-size:24px!important;
    line-height:1.1!important;
  }
  .legal-actions-panel p{
    max-width:680px!important;
    margin:0!important;
    color:#52615d!important;
    font-size:14px!important;
    line-height:1.48!important;
    font-weight:650!important;
  }

  @media(max-width:900px){
    .legal-document-meta{
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
    .legal-document-grid{
      grid-template-columns:1fr!important;
    }
    .legal-toc{
      position:static!important;
    }
    .legal-toc ol{
      grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
  }

  @media(max-width:700px){
    body.public-page-termini .public-shell,
    body.public-page-privacy .public-shell,
    body.public-page-cookie .public-shell{
      padding:10px 10px calc(28px + env(safe-area-inset-bottom))!important;
    }
    body.public-page-termini .public-header,
    body.public-page-privacy .public-header,
    body.public-page-cookie .public-header{
      position:static!important;
      display:grid!important;
      grid-template-columns:1fr auto!important;
      gap:8px!important;
      border-radius:18px!important;
      padding:8px!important;
    }
    body.public-page-termini .landing-nav,
    body.public-page-privacy .landing-nav,
    body.public-page-cookie .landing-nav{
      grid-column:1/-1!important;
      order:3!important;
    }
    .legal-document-hero{
      padding:24px 0 0!important;
    }
    .legal-document-hero h1{
      font-size:32px!important;
      line-height:1.02!important;
      letter-spacing:-.045em!important;
    }
    .legal-document-hero>p{
      font-size:14.2px!important;
    }
    .legal-document-meta,
    .legal-toc ol{
      grid-template-columns:1fr!important;
    }
    .legal-document-card{
      border-radius:16px!important;
      padding:16px 14px!important;
    }
    .legal-section{
      padding:20px 0!important;
    }
    .legal-section h2{
      grid-template-columns:30px minmax(0,1fr)!important;
      font-size:22px!important;
    }
    .legal-section h2 span{
      width:28px!important;
      height:28px!important;
      border-radius:9px!important;
    }
    .legal-section p,
    .legal-list li{
      font-size:13.5px!important;
    }
    .legal-table{
      min-width:560px!important;
    }
    .legal-actions-panel{
      grid-template-columns:1fr!important;
      padding:14px!important;
    }
    .legal-actions-panel .secondary-action{
      width:100%!important;
    }
  }
  
  
  /* Mobile viewport guard for question-mark info popovers. */
  .info-popover-mobile-layer{
    position:fixed;
    inset:0;
    z-index:1400;
    display:grid;
    place-items:center;
    padding:max(16px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));
    background:rgba(10,20,19,.34);
    backdrop-filter:blur(10px);
  }
  .info-popover-mobile-layer[hidden]{display:none!important}
  .info-popover-mobile-card{
    position:relative;
    width:min(100%,420px);
    max-height:calc(100dvh - 96px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    border:1px solid var(--line);
    border-radius:18px;
    background:rgba(255,255,255,.98);
    box-shadow:0 28px 86px rgba(20,32,31,.26);
    padding:18px 18px 16px;
    color:var(--ink-soft);
  }
  .info-popover-mobile-close{
    position:absolute;
    top:9px;
    right:9px;
    width:34px;
    height:34px;
    border:1px solid var(--line);
    border-radius:999px;
    background:#fff;
    color:var(--ink);
    cursor:pointer;
    font-size:22px;
    font-weight:650;
    line-height:1;
  }
  .info-popover-mobile-content{
    padding-right:30px;
    font-size:13.5px;
    line-height:1.42;
    color:var(--ink-soft);
    overflow-wrap:anywhere;
  }
  @media(max-width:760px){
    html.info-popover-mobile-open,
    html.info-popover-mobile-open body{
      overflow:hidden!important;
    }
    .price-info-popover[data-mobile-overlay-open] p{
      display:none!important;
    }
    .price-info-popover[open]{
      position:static!important;
      z-index:1000!important;
    }
    .price-info-popover[open] p,
    .app-body .price-info-popover[open] p,
    .app-body .metric.highlight .price-info-popover[open] p,
    .app-body .payment-tier-box .price-info-popover[open] p,
    .public-page-landing .price-info-popover[open] p,
    .app-page-movimenti .platform-tier-card .price-info-popover[open] p,
    .payment-ready-card .payment-tier-box .price-info-popover[open] p{
      position:fixed!important;
      top:50%!important;
      right:max(14px,env(safe-area-inset-right))!important;
      bottom:auto!important;
      left:max(14px,env(safe-area-inset-left))!important;
      transform:translateY(-50%)!important;
      width:auto!important;
      min-width:0!important;
      max-width:none!important;
      max-height:calc(100dvh - 96px)!important;
      overflow-y:auto!important;
      -webkit-overflow-scrolling:touch!important;
      overscroll-behavior:contain!important;
      box-sizing:border-box!important;
      z-index:1001!important;
      border-radius:16px!important;
      padding:13px 14px!important;
      white-space:normal!important;
      overflow-wrap:anywhere!important;
    }
  }
  
  
  /* Prior fiscal losses gate: fields stay hidden until the user accepts the tax notice. */
  .prior-fiscal-loss-activate{
    align-items:start!important;
    grid-template-columns:30px minmax(0,1fr)!important;
    min-height:auto!important;
    overflow:visible!important;
  }
  .prior-fiscal-losses-card{
    scroll-margin-bottom:calc(var(--mobile-nav-safe) + 28px);
  }
  .prior-fiscal-loss-activate .movement-source-copy,
  .prior-fiscal-loss-activate .movement-source-copy strong,
  .prior-fiscal-loss-activate .movement-source-copy small{
    min-width:0!important;
    overflow:visible!important;
    text-overflow:clip!important;
    white-space:normal!important;
  }
  .prior-fiscal-loss-activate .movement-source-copy strong{
    display:block!important;
    font-size:14px!important;
    line-height:1.14!important;
  }
  .prior-fiscal-loss-activate .movement-source-copy small{
    display:block!important;
    font-size:11.2px!important;
    line-height:1.24!important;
  }
  .prior-fiscal-loss-precheck{
    display:grid;
    gap:8px;
    border:1px solid #cfe4db;
    border-radius:15px;
    background:#f4fbf8;
    padding:13px;
  }
  .prior-fiscal-loss-precheck strong{
    color:var(--brand-strong);
    font-size:13.5px;
    line-height:1.2;
  }
  .prior-fiscal-loss-precheck-list{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:7px;
  }
  .prior-fiscal-loss-precheck-list li{
    display:grid;
    grid-template-columns:96px minmax(0,1fr);
    gap:9px;
    align-items:start;
    min-width:0;
  }
  .prior-fiscal-loss-precheck-list b{
    color:var(--ink);
    font-size:12px;
    font-weight:900;
    line-height:1.24;
    letter-spacing:0;
  }
  .prior-fiscal-loss-precheck-list span{
    min-width:0;
    color:var(--ink-soft);
    font-size:13px;
    font-weight:740;
    line-height:1.36;
  }
  .prior-fiscal-loss-precheck p{
    margin:0;
    color:var(--ink-soft);
    font-size:12.5px;
    font-weight:720;
    line-height:1.32;
  }
  .prior-fiscal-loss-precheck p b{
    color:var(--ink);
    font-weight:900;
  }
  .prior-fiscal-loss-fields{
    display:grid!important;
    gap:10px!important;
  }
  .prior-fiscal-loss-fields[hidden]{
    display:none!important;
  }
  .prior-fiscal-loss-guidance{
    border:1px solid #cfe4db;
    border-radius:14px;
    background:#f4fbf8;
    padding:11px 12px;
  }
  .prior-fiscal-loss-guidance strong{
    display:block;
    color:var(--brand-strong);
    font-size:13px;
    margin-bottom:3px;
  }
  .prior-fiscal-loss-guidance p{
    margin:0;
    color:var(--ink-soft);
    font-size:12.5px;
    font-weight:720;
    line-height:1.42;
  }
  .prior-fiscal-loss-modal{
    border:0;
    background:transparent;
    padding:0;
    width:min(94vw,640px);
  }
  .prior-fiscal-loss-modal::backdrop{
    background:rgba(10,20,19,.48);
    backdrop-filter:blur(12px);
  }
  .prior-fiscal-loss-modal-card{
    width:100%;
    max-height:calc(100dvh - 32px);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    display:grid;
    gap:11px;
    border:1px solid var(--line);
    border-radius:20px;
    background:#fff;
    box-shadow:0 28px 90px rgba(20,32,31,.24);
    padding:20px;
    color:var(--ink);
  }
  .prior-fiscal-loss-modal-card .button-row{
    margin-top:0;
  }
  .prior-fiscal-loss-modal-card h3{
    margin:0;
    color:var(--ink);
    font-size:clamp(22px,3vw,30px);
    line-height:1.08;
    letter-spacing:-.04em;
  }
  .prior-fiscal-loss-modal-card p{
    margin:0;
    color:var(--ink-soft);
    font-weight:700;
  }
  .prior-fiscal-loss-rule-list{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:8px;
  }
  .prior-fiscal-loss-rule-list li{
    display:grid;
    grid-template-columns:112px minmax(0,1fr);
    gap:10px;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--surface-soft);
    padding:10px 11px;
  }
  .prior-fiscal-loss-rule-list b{
    color:var(--brand-strong);
    font-size:12.5px;
    font-weight:900;
    text-transform:none;
    letter-spacing:0;
  }
  .prior-fiscal-loss-rule-list span{
    min-width:0;
    color:var(--ink-soft);
    font-size:13px;
    font-weight:700;
    line-height:1.38;
  }
  .prior-fiscal-loss-acceptance-note{
    border:1px dashed #cfe4db;
    border-radius:14px;
    background:#fff;
    padding:10px 11px;
    font-size:12.5px!important;
  }
  @media(max-width:720px){
    .prior-fiscal-loss-modal::backdrop{
      background:rgba(10,20,19,.56)!important;
      backdrop-filter:blur(12px)!important;
    }
    .prior-fiscal-loss-modal[open]{
      box-sizing:border-box!important;
      position:fixed!important;
      inset:0!important;
      width:100dvw!important;
      min-width:0!important;
      max-width:none!important;
      height:100dvh!important;
      max-height:none!important;
      margin:0!important;
      padding:max(13px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;
      display:grid!important;
      place-items:start stretch!important;
      overflow:auto!important;
      background:#fff!important;
      color:var(--ink)!important;
    }
    .prior-fiscal-loss-precheck{
      padding:12px;
      border-radius:14px;
      gap:8px;
    }
    .prior-fiscal-loss-precheck-list{
      gap:8px;
    }
    .prior-fiscal-loss-precheck-list li{
      grid-template-columns:1fr;
      gap:2px;
      padding-bottom:8px;
      border-bottom:1px solid rgba(20,32,31,.08);
    }
    .prior-fiscal-loss-precheck-list li:last-child{
      padding-bottom:0;
      border-bottom:0;
    }
    .prior-fiscal-loss-precheck-list b{
      font-size:12px;
      line-height:1.2;
    }
    .prior-fiscal-loss-precheck-list span{
      font-size:13px;
      line-height:1.36;
    }
    .prior-fiscal-loss-precheck p{
      font-size:13px;
      line-height:1.36;
    }
    .prior-fiscal-loss-rule-list li{
      grid-template-columns:1fr;
      gap:3px;
    }
    .prior-fiscal-loss-modal-card{
      display:grid!important;
      width:100%!important;
      min-width:0!important;
      max-height:none!important;
      overflow:visible!important;
      border:0!important;
      border-radius:0!important;
      padding:0 0 2px!important;
      gap:10px!important;
      background:#fff!important;
      box-shadow:none!important;
      color:var(--ink)!important;
    }
    .prior-fiscal-loss-modal-card .status-badge{
      margin:0!important;
      justify-self:start!important;
    }
    .prior-fiscal-loss-modal-card h3{
      font-size:22px!important;
      line-height:1.18!important;
      letter-spacing:0!important;
      color:var(--ink)!important;
    }
    .prior-fiscal-loss-modal-card p{
      color:var(--ink-soft)!important;
      font-size:14px!important;
      line-height:1.44!important;
      font-weight:740!important;
    }
    .prior-fiscal-loss-rule-list{
      gap:8px!important;
    }
    .prior-fiscal-loss-rule-list li{
      padding:10px 11px!important;
      border-radius:13px!important;
      background:#f8fbfa!important;
    }
    .prior-fiscal-loss-rule-list b{
      font-size:12.5px!important;
      line-height:1.2!important;
      letter-spacing:0!important;
      text-transform:none!important;
    }
    .prior-fiscal-loss-rule-list span{
      color:var(--ink)!important;
      font-size:13.3px!important;
      line-height:1.36!important;
      font-weight:730!important;
    }
    .prior-fiscal-loss-acceptance-note{
      font-size:13px!important;
      line-height:1.42!important;
      color:var(--ink-soft)!important;
    }
    .prior-fiscal-loss-modal-card .button-row{
      position:sticky;
      bottom:0;
      z-index:2;
      display:grid!important;
      grid-template-columns:1fr!important;
      gap:8px!important;
      width:100%!important;
      margin-top:0!important;
      padding-top:10px;
      background:linear-gradient(180deg,rgba(255,255,255,0),#fff 28%);
    }
    .prior-fiscal-loss-modal-card .button-row .primary-action,
    .prior-fiscal-loss-modal-card .button-row .secondary-action{
      width:100%!important;
      min-height:46px!important;
      border-radius:14px!important;
      font-size:14px!important;
    }
  }
  
  /* Authenticated workspace. Page activation is controlled in layout.js. */
  body.app-workspace{--bg:#f5f7f9;--surface:#fff;--surface-soft:#f8fafb;--ink:#172c35;--ink-soft:#354d58;--muted:#667985;--line:#e1e7ec;--brand:#087f6b;--brand-strong:#066554;--radius:12px;--shadow-soft:0 2px 4px rgba(20,40,50,.025);--page-max:1320px;background:#f5f7f9!important;font-weight:400!important;font-size:14px!important;line-height:1.5!important}
  .app-workspace:before{display:none!important}
  .app-workspace .app-shell{display:block!important;padding:104px 36px 48px 256px!important;min-height:100dvh!important}
  .app-workspace .page-wrap{max-width:1320px!important;margin:0 auto!important;padding:0!important;width:100%!important;min-width:0!important;contain:none!important}
  .app-workspace .page-heading{display:block!important;margin:0 0 28px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
  .app-workspace .page-heading h1{font-size:28px!important;line-height:1.2!important;font-weight:680!important;letter-spacing:-.035em!important;margin:0 0 7px!important;color:var(--ink)!important}
  .app-workspace .page-heading p{font-size:14px!important;font-weight:400!important;line-height:1.5!important;color:var(--muted)!important;margin:0!important}
  .app-workspace .workspace-topbar{position:fixed!important;top:0!important;left:220px;right:0!important;width:auto!important;max-width:none!important;margin:0!important;height:72px;display:flex!important;align-items:center;justify-content:space-between;padding:0 36px;background:#fff;border-bottom:1px solid var(--line);z-index:70}
  .workspace-breadcrumb{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--muted);white-space:nowrap;flex:0 1 auto;min-width:0}.workspace-breadcrumb strong{overflow:hidden;text-overflow:ellipsis}
  .workspace-breadcrumb svg{width:13px;height:13px;color:#a3afb6}.workspace-breadcrumb strong{font-weight:550;color:var(--ink)}
  .workspace-mobile-brand{display:none}
  .workspace-rail{position:fixed;inset:0 auto 0 0;width:220px;background:#112d32;color:#b3c5c7;display:flex;flex-direction:column;padding:28px 16px 18px;z-index:80}
  .workspace-rail-brand{padding:0 12px 30px;display:grid;gap:13px}
  .workspace-rail-brand .brand-lockup{color:#fff!important}.workspace-rail-brand .brand-main{color:#fff!important}.workspace-rail-brand .brand-tax,.workspace-rail-brand .brand-dot{color:#61d0b3!important}
  .workspace-rail-brand .brand-word{font-size:26px!important}.workspace-rail-brand>span{font-size:8px;letter-spacing:.18em;font-weight:600;color:#79969b}
  .workspace-rail-brand .brand-lockup img{display:none!important}.workspace-rail-brand .brand-word[hidden]{display:inline-flex!important}
  .workspace-nav-caption{font-size:10px;text-transform:uppercase;letter-spacing:.11em;padding:0 12px 13px;color:#779398;font-weight:550}
  .app-workspace .workspace-rail .app-nav-shell{position:static!important;inset:auto!important;transform:none!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;width:100%!important;max-width:none!important;overflow:visible!important;backdrop-filter:none!important;border-radius:0!important}
  .app-workspace .workspace-rail .app-nav{display:flex!important;flex-direction:column!important;gap:5px!important;align-items:stretch!important;width:100%!important;padding:0!important;margin:0!important;background:none!important;box-shadow:none!important;border:0!important;overflow:visible!important;border-radius:0!important}
  .app-workspace .workspace-rail .nav-item{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;padding:12px!important;width:100%!important;min-width:0!important;min-height:44px!important;height:auto!important;flex:0 0 auto!important;border:0!important;border-radius:7px!important;background:none!important;color:#b3c5c7!important;box-shadow:none!important;transform:none!important;text-decoration:none!important;transition:background .15s,color .15s!important}
  .app-workspace .workspace-rail .nav-item:hover{background:#1a383d!important;color:#fff!important}
  .app-workspace .workspace-rail .nav-item.active{background:#21463f!important;color:#8ce4c9!important}
  .app-workspace .workspace-rail .nav-item:before,.app-workspace .workspace-rail .nav-item:after{display:none!important}
  .app-workspace .workspace-rail .nav-icon{display:grid!important;place-items:center!important;width:19px!important;height:19px!important;flex:none!important;margin:0!important;background:none!important;border:0!important;border-radius:0!important;color:inherit!important;box-shadow:none!important}
  .app-workspace .workspace-rail .nav-icon svg{width:19px!important;height:19px!important;stroke-width:1.65!important}
  .app-workspace .workspace-rail .nav-label{font-size:12px!important;line-height:1.3!important;font-weight:500!important;letter-spacing:0!important;white-space:nowrap!important}
  .app-workspace .workspace-rail .nav-badge{top:-7px!important;right:-8px!important;min-width:14px!important;height:14px!important;font-size:8px!important;border-color:#112d32!important;box-shadow:none!important}
  .workspace-rail-bottom{margin-top:auto;padding-top:28px}
  .workspace-help{border:1px solid #2a464b;border-radius:10px;padding:15px 13px;margin-bottom:20px;background:#17353a}
  .workspace-help>span{display:block;color:#86c9b9;margin-bottom:9px}.workspace-help svg{width:19px;height:19px;stroke-width:1.6}
  .workspace-help strong{font-size:11px;display:block;color:#e7f1ee;font-weight:550;line-height:1.5}.workspace-help p{font-size:10px;line-height:1.6;color:#a2b9bb;font-weight:400;margin:6px 0 13px}
  .workspace-help a{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a2dfcd;text-decoration:none;font-weight:550}.workspace-help a svg{width:13px;height:13px}
  .workspace-account-link{display:flex;align-items:center;gap:10px;text-decoration:none;color:#b3c5c7;font-size:11px;padding:0 10px}.workspace-account-link svg{width:17px;height:17px}
  .app-workspace .user-box{border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important;gap:10px!important;padding:0!important}
  .app-workspace .workspace-topbar>.user-box{width:auto!important;max-width:none!important;flex:0 0 auto!important;margin-left:auto!important}
  .app-workspace .user-box :is(button,.profile-topbar-link){border-radius:7px!important;box-shadow:none!important;min-height:34px!important;font-weight:500!important;border-color:var(--line)!important}
  .app-workspace .user-box .notification-toggle{background:#fff!important;color:var(--muted)!important;min-width:34px!important;width:34px!important;padding:7px!important}.app-workspace .user-box .notification-label,.app-workspace .user-box .notification-switch{display:none!important}
  .app-workspace .user-box .admin-mail-toggle{display:flex!important;flex-direction:column!important;justify-content:center!important;gap:0!important;min-width:44px!important;width:auto!important;padding:4px 8px!important;background:#fff!important;color:var(--muted)!important;line-height:1.2!important}
  .app-workspace .user-box .admin-mail-word{font-size:9px!important;line-height:1.2!important}
  .app-workspace .user-box .admin-mail-toggle .notification-label{display:block!important;min-width:0!important;font-size:8px!important;line-height:1.2!important;letter-spacing:.02em!important}
  .app-workspace .user-box :is(.admin-mail-toggle,.notification-toggle).is-on{background:#edf7f3!important;color:#087f6b!important;border-color:#cce4da!important}
  .app-workspace :is(.panel,.empty-state,.source-card,.report-preview){border:1px solid var(--line)!important;border-radius:12px!important;background:#fff!important;box-shadow:var(--shadow-soft)!important}
  .app-workspace :is(.panel,.empty-state){padding:24px!important}
  .app-workspace :is(.panel,.empty-state) h2{font-size:20px!important;font-weight:630!important;letter-spacing:-.025em!important;line-height:1.3!important}
  .app-workspace :is(.panel,.empty-state) p{font-weight:400!important;color:var(--muted)!important;line-height:1.6!important}
  .app-workspace :is(.primary-action,.secondary-action,.download-link,.danger-action){min-height:40px!important;padding:10px 16px!important;font-size:12px!important;font-weight:600!important;border-radius:7px!important;box-shadow:none!important;letter-spacing:0!important;text-decoration:none!important;line-height:1.35!important;gap:8px!important}
  .app-workspace .primary-action{background:#087f6b!important;border:1px solid #087f6b!important;color:#fff!important}
  .app-workspace .primary-action:hover{background:#066554!important;border-color:#066554!important}
  .app-workspace :is(.secondary-action,.download-link){background:#fff!important;border:1px solid #d9e2e8!important;color:#354d58!important}
  .app-workspace :is(.primary-action,.secondary-action) svg{width:16px;height:16px;stroke-width:1.8}
  .app-workspace .status-badge{border-radius:5px!important;border:0!important;padding:5px 8px!important;min-height:0!important;font-size:10px!important;line-height:1.25!important;font-weight:600!important;letter-spacing:.015em!important;box-shadow:none!important}
  .app-workspace .status-badge:is(.ready,.ok){background:#eaf6f0!important;color:#18755d!important}
  .app-workspace .status-badge.warn{background:#fff4de!important;color:#946013!important}
  .app-workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){border-radius:7px!important;border-color:#dbe3e9!important;background:#fff!important;color:var(--ink)!important;font-weight:400!important;box-shadow:none;font-size:14px!important}
  .app-workspace :is(a,button,input,select,textarea):focus-visible{outline:3px solid #58bba7!important;outline-offset:3px!important}
  .app-workspace table{font-variant-numeric:tabular-nums}.app-workspace :is(th,td){font-size:12px!important}.app-workspace th{font-weight:600!important;background:#f8fafb!important}
  .app-workspace .empty-state{text-align:center!important;min-height:250px;display:grid;align-content:center;justify-items:center;gap:10px}
  .workspace-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:28px 0 14px}.app-workspace .workspace-section-head h2{margin:0!important;font-size:16px!important;font-weight:630!important;letter-spacing:-.02em!important}.workspace-section-head p{margin:0;font-size:12px;color:var(--muted)}
  .workspace-eyebrow{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:650;color:#668177;margin-bottom:14px}
  .workspace-text-link{display:inline-flex;align-items:center;gap:8px;color:var(--brand);font-size:12px;text-decoration:none;font-weight:600}.workspace-text-link svg{width:14px;height:14px}
  .workspace-card-icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid #dfeae6;background:#f0f7f4;border-radius:10px;color:#23765f}.workspace-card-icon svg{width:20px;height:20px;stroke-width:1.6}
  .app-workspace .home-core-shell{display:block!important;padding:0!important;margin:0!important;border:0!important;box-shadow:none!important;background:none!important}
  .workspace-home-top{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:20px}
  .workspace-home-intro{padding:32px;background:#fff;border:1px solid var(--line);border-radius:12px;position:relative;overflow:hidden}
  .workspace-home-intro:before{content:'';position:absolute;top:0;left:0;bottom:0;width:4px;background:#087f6b}
  .workspace-home-intro h2{font-size:34px!important;font-weight:650!important;letter-spacing:-.04em!important;line-height:1.14!important;margin:0 0 16px!important;max-width:420px;color:var(--ink)!important}
  .workspace-home-intro p{font-size:13px!important;font-weight:400!important;color:var(--muted)!important;line-height:1.7!important;max-width:490px;margin:0 0 25px!important}
  .workspace-home-actions{display:flex;gap:10px;flex-wrap:wrap}
  .workspace-home-year{padding:28px;border:1px solid #dbe8e2;border-radius:12px;background:#eef5f1;display:flex;flex-direction:column;align-items:flex-start;gap:15px}
  .workspace-home-year .workspace-eyebrow{margin:0}.workspace-home-year>strong{font-size:58px;font-weight:550;line-height:1;letter-spacing:-.045em;color:#164c3e;font-variant-numeric:tabular-nums}
  .workspace-home-year p{font-size:12px;line-height:1.6;font-weight:400;color:#537466;margin:0}.workspace-home-year .workspace-text-link{margin-top:auto;padding-top:8px}
  .workspace-home-year-tags{display:flex;gap:7px}.workspace-home-year-tags span{background:#fff;border:1px solid #d8e6de;border-radius:5px;padding:4px 9px;font-size:11px;color:#426454;font-weight:550}
  .app-workspace .home-core-steps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;padding:0!important;margin:0!important;background:none!important;border:0!important}
  .app-workspace .home-core-step{display:grid!important;grid-template-columns:1fr auto!important;gap:0!important;align-content:start!important;align-items:start!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:12px!important;padding:24px!important;box-shadow:none!important;position:relative!important;min-width:0!important}
  .app-workspace .home-core-step>span{grid-column:2!important;grid-row:1!important;width:auto!important;height:auto!important;font-size:12px!important;font-weight:450!important;color:#98a9b1!important;background:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important}
  .app-workspace .home-core-step>.workspace-card-icon{grid-column:1;grid-row:1;margin-bottom:22px}
  .app-workspace .home-core-step>b{grid-column:1/-1!important;font-size:16px!important;font-weight:620!important;margin:0 0 7px!important;line-height:1.3!important}
  .app-workspace .home-core-step>small{grid-column:1/-1!important;font-size:12px!important;font-weight:400!important;color:var(--muted)!important;line-height:1.65!important;margin:0 0 21px!important}
  .app-workspace .home-core-step>.workspace-text-link{grid-column:1/-1;margin-top:auto;font-size:12px}
  .workspace-home-footer{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;margin-top:24px}
  .workspace-home-assurance{display:flex;gap:14px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:12px}
  .workspace-home-assurance .workspace-card-icon{flex:none;background:#f4f6fa;border-color:#e4e8ef;color:#60778b}
  .workspace-home-assurance strong{font-size:13px;font-weight:600;display:block;margin:1px 0 5px}.workspace-home-assurance p{font-size:12px;color:var(--muted);line-height:1.65;margin:0}
  .workspace-home-shortcut{padding:22px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:20px;text-decoration:none;background:#fff}
  .workspace-home-shortcut strong{font-size:13px;font-weight:600;display:block;margin-bottom:6px}.workspace-home-shortcut small{font-size:12px;color:var(--muted);font-weight:400}.workspace-home-shortcut>svg{width:20px;height:20px;color:#81969e;flex:none}
  .app-workspace .home-core-danger{margin-top:30px!important;border-radius:8px!important;box-shadow:none!important;background:transparent!important;padding:16px!important;border-color:var(--line)!important}.app-workspace .home-core-danger span{font-weight:400!important}
  @media(max-width:1100px) and (min-width:901px){.app-workspace .app-shell{padding-left:236px!important;padding-right:24px!important}.workspace-topbar{padding:0 24px}.workspace-home-top{grid-template-columns:1.4fr 1fr}.workspace-home-intro{padding:26px}.workspace-home-intro h2{font-size:29px!important}.app-workspace .home-core-step{padding:18px!important}}
  @media(max-width:900px){
    .app-workspace .app-shell{padding:94px 22px 120px!important}.app-workspace .workspace-topbar{left:0;height:68px;padding:0 22px}.workspace-mobile-brand{display:block}.workspace-breadcrumb{display:none}
    .workspace-topbar .brand-word{font-size:23px!important}
    .workspace-rail{inset:auto 0 0;width:100%;height:auto;background:#fff;border-top:1px solid var(--line);padding:0 10px max(8px,env(safe-area-inset-bottom));z-index:90;display:block}
    .workspace-rail-brand,.workspace-nav-caption,.workspace-rail-bottom{display:none}
    .app-workspace .workspace-rail .app-nav{flex-direction:row!important;overflow-x:auto!important;gap:0!important;scrollbar-width:none!important;padding:8px 0 0!important}
    .app-workspace .workspace-rail .nav-item{flex:1 0 58px!important;min-width:58px!important;width:auto!important;justify-content:center!important;flex-direction:column!important;gap:6px!important;padding:8px 4px!important;min-height:52px!important;color:#768a94!important;border-radius:6px!important}
    .app-workspace .workspace-rail .nav-item.active{background:#edf7f3!important;color:#087f6b!important}.app-workspace .workspace-rail .nav-label{font-size:10px!important;font-weight:550!important}.app-workspace .workspace-rail .nav-badge{border-color:#fff!important}
    .workspace-home-intro h2{font-size:30px!important}.workspace-home-top{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);gap:16px}.workspace-home-intro{padding:26px}.workspace-home-year{padding:24px}
    .app-workspace .home-core-step{padding:20px!important}.workspace-home-footer{grid-template-columns:1fr}
    .app-workspace .page-heading{margin-bottom:22px!important}.app-workspace .page-heading h1{font-size:26px!important}
  }
  @media(max-width:620px){
    .app-workspace .app-shell{padding:88px 16px 110px!important}.app-workspace .workspace-topbar{height:64px;padding:0 16px}.workspace-topbar .user-box{gap:6px!important}.workspace-topbar .notification-label{display:none!important}
    .app-workspace .page-heading h1{font-size:25px!important}.app-workspace .page-heading p{font-size:12px!important;max-width:340px}
    .workspace-home-top{grid-template-columns:1fr;gap:14px}.workspace-home-intro{padding:24px}.workspace-home-intro h2{font-size:29px!important}.workspace-home-intro p{font-size:12px!important;margin-bottom:20px!important}
    .workspace-home-year{display:grid;grid-template-columns:1fr auto;gap:9px 14px;padding:20px}.workspace-home-year>strong{grid-column:2;grid-row:1/3;font-size:42px}.workspace-home-year p{grid-column:1/-1}.workspace-home-year .workspace-text-link{grid-column:1/-1;padding-top:5px}
    .app-workspace .home-core-steps{grid-template-columns:1fr!important;gap:12px!important}.app-workspace .home-core-step{grid-template-columns:44px minmax(0,1fr) auto!important;column-gap:14px!important;padding:20px!important}
    .app-workspace .home-core-step>.workspace-card-icon{grid-column:1;grid-row:1/4;margin:0}.app-workspace .home-core-step>span{grid-column:3!important;grid-row:1!important;font-size:10px!important}
    .app-workspace .home-core-step>b{grid-column:2!important;font-size:15px!important}.app-workspace .home-core-step>small{grid-column:2/4!important;margin-bottom:12px!important}.app-workspace .home-core-step>.workspace-text-link{grid-column:2/4}
    .workspace-section-head{margin-top:25px;align-items:baseline}.workspace-section-head h2{font-size:15px}.workspace-section-head p{display:none}.workspace-home-footer{gap:12px;margin-top:18px}
    .workspace-home-assurance,.workspace-home-shortcut{padding:20px}.app-workspace :is(.panel,.empty-state){padding:20px!important}.app-workspace :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}
  }
  /* Sources: compact connection register and focused connection dialogs. */
  .workspace-source-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:22px;overflow:hidden}
  .workspace-source-overview>div{padding:22px 24px;display:grid;gap:6px;border-right:1px solid var(--line)}.workspace-source-overview>div:last-child{border-right:0}
  .workspace-source-overview span{font-size:11px;color:var(--muted);font-weight:500}.workspace-source-overview strong{font-size:28px;font-weight:600;letter-spacing:-.035em;line-height:1.2}.workspace-source-overview small{font-size:10px;color:#8b9ba5;font-weight:400}
  .app-workspace.app-page-fonti .source-wallet-header{padding:0!important;overflow:hidden!important;margin:0!important;display:block!important}
  .app-workspace.app-page-fonti .source-head{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:24px!important;gap:20px!important;margin:0!important;border-bottom:1px solid var(--line)!important}
  .app-workspace.app-page-fonti .source-head h2{font-size:18px!important;font-weight:630!important;letter-spacing:-.025em!important;margin:0 0 5px!important}
  .app-workspace.app-page-fonti .source-head p{font-size:12px!important;font-weight:400!important;color:var(--muted)!important;line-height:1.5!important;margin:0!important}
  .app-workspace.app-page-fonti .source-head>.primary-action{width:auto!important;flex:none!important}
  .app-workspace.app-page-fonti .source-wallet-header .source-head>.primary-action{background:#087f6b!important;border-radius:7px!important;box-shadow:none!important;min-height:40px!important;padding:10px 16px!important;font-size:12px!important}
  .app-workspace .connected-source-section-title{margin:0!important;padding:12px 24px!important;border:0!important;background:#f8fafb!important}.app-workspace .connected-source-section-title b{font-size:10px!important;font-weight:550!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:var(--muted)!important}.app-workspace .connected-source-section-title small{background:#e8eef1!important;color:#536d78!important;font-size:10px!important;border-radius:4px!important;min-width:20px!important;padding:2px 6px!important}
  .app-workspace .connected-source-list{display:block!important;padding:0!important;gap:0!important;margin:0!important}
  .app-workspace .connected-source-list:focus-visible{outline:3px solid #58bba7;outline-offset:-3px}
  @media(min-width:901px){.app-workspace.app-page-fonti .connected-source-list{min-height:0!important;max-height:clamp(220px,calc(100dvh - 540px),620px)!important;overflow-y:auto!important;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#a4b9b1 #f4f7f6}}
  .app-workspace .connected-source-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;border:0!important;border-bottom:1px solid #eef1f4!important;border-radius:0!important;padding:19px 24px!important;box-shadow:none!important;background:#fff!important;margin:0!important;content-visibility:visible!important}
  .app-workspace .connected-source-row:last-child{border-bottom:0!important}.app-workspace .connected-source-row:hover{background:#fbfcfd!important}
  .app-workspace .connected-source-main{gap:14px!important;min-width:0!important;display:flex!important;align-items:center!important}.app-workspace .connected-source-main>div{min-width:0!important}.app-workspace .connected-source-main strong{font-size:13px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0!important}.app-workspace .connected-source-main small{font-size:11px!important;font-weight:400!important;line-height:1.5!important}
  .app-workspace :is(.source-logo,.source-logo-placeholder,.source-icon){width:38px!important;height:38px!important;border-radius:9px!important;box-shadow:none!important;flex:none!important}
  .app-workspace .source-connected-status{font-size:10px!important;font-weight:500!important;color:#2c8267!important;margin-top:3px!important}
  .app-workspace .connected-source-delete{width:auto!important;flex:none!important;margin:0!important}.app-workspace .trash-action{width:32px!important;height:32px!important;min-height:32px!important;padding:7px!important;border:1px solid #e5e9ed!important;border-radius:7px!important;background:#fff!important;color:#8b9ba5!important;box-shadow:none!important}.app-workspace .trash-action:hover{color:#b42338!important;border-color:#e9b6bf!important}.app-workspace .trash-icon{width:15px!important;height:15px!important}
  .app-workspace .empty-connected-sources{display:grid!important;justify-items:center!important;text-align:center!important;align-content:center!important;min-height:270px!important;padding:34px!important;border:0!important;border-radius:0!important;background:#fff!important;gap:10px!important;margin:0!important}
  .workspace-source-empty-icon{width:54px;height:54px;display:grid;place-items:center;background:#f1f7f5;border:1px solid #e3ede8;border-radius:14px;margin-bottom:7px;color:#44806e}.workspace-source-empty-icon svg{width:26px!important;height:26px!important}
  .app-workspace .empty-connected-sources b{font-size:16px!important;font-weight:600!important}.app-workspace .empty-connected-sources p{font-size:12px!important;font-weight:400!important;color:var(--muted)!important;max-width:360px!important;line-height:1.7!important;margin:0!important}
  .workspace-source-next{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding:22px 24px;background:#edf5f1;border:1px solid #deebe4;border-radius:12px}.workspace-source-next strong{font-size:13px;font-weight:600}.workspace-source-next p{font-size:12px;font-weight:400;color:#637d70;line-height:1.6;margin:4px 0 0}
  .app-workspace .add-source-panel{margin:0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:#f8fafb!important;padding:22px 24px!important;box-shadow:none!important}.app-workspace .add-source-panel-head b{font-size:13px!important;font-weight:600!important}
  .app-workspace .add-source-choice-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))!important;gap:12px!important}.app-workspace .add-source-choice-card{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:14px!important;min-width:0!important;text-align:left!important;background:#fff!important;border:1px solid #dce5e9!important;border-radius:9px!important;box-shadow:none!important;padding:18px!important;min-height:92px!important;transition:border-color .15s!important}.app-workspace .add-source-choice-card:hover{border-color:#087f6b!important;background:#f5fbf8!important;transform:none!important}.app-workspace .add-source-choice-card>svg{width:24px!important;height:24px!important;color:#527267!important}.app-workspace .add-source-choice-card>span{font-size:13px!important;font-weight:600!important}.app-workspace .add-source-choice-card>b{font-size:10px!important;color:var(--muted)!important;font-weight:400!important}
  .app-workspace.app-page-fonti .source-add-panel-compact .add-source-choice-card>span{font-size:13px!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important}
  .app-workspace .source-modal{border:0!important;padding:0!important;margin-inline:auto!important;background:transparent!important;border-radius:14px!important;max-width:720px!important;width:calc(100% - 40px)!important;max-height:calc(100dvh - 60px)!important}.app-workspace .source-modal::backdrop{background:rgba(15,32,40,.45)!important;backdrop-filter:blur(3px)}
  .app-workspace .source-modal-card{padding:26px!important;border-radius:14px!important;border:0!important;box-shadow:none!important;background:#fff!important;max-height:calc(100dvh - 60px)!important}
  .app-workspace .modal-head{padding-bottom:18px!important;border-bottom:1px solid var(--line)!important;margin-bottom:20px!important}.app-workspace .modal-head h2{font-size:21px!important;font-weight:620!important;letter-spacing:-.025em!important;margin-top:7px!important}.app-workspace .modal-close{width:32px!important;height:32px!important;border-radius:7px!important;background:#f4f7f9!important;color:#647c87!important;border:0!important;box-shadow:none!important}
  .app-workspace .exchange-selector-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))!important;gap:10px!important}.app-workspace .exchange-selector-item{border-radius:8px!important;box-shadow:none!important;border-color:var(--line)!important;padding:13px!important;background:#fff!important}.app-workspace .exchange-selector-item b{font-size:12px!important;font-weight:600!important}.app-workspace .exchange-selector-item small{font-size:10px!important;font-weight:400!important}
  @media(max-width:620px){.workspace-source-overview{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.workspace-source-overview>div{padding:16px 18px}.workspace-source-overview>div:nth-child(2){border-right:0}.workspace-source-overview>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.workspace-source-overview strong{font-size:25px}.workspace-source-overview small{display:none}
    .app-workspace.app-page-fonti .source-head{padding:20px!important;align-items:flex-start!important;flex-wrap:wrap!important;gap:16px!important}.app-workspace.app-page-fonti .source-head>.primary-action{width:100%!important}.app-workspace .connected-source-section-title{padding:12px 20px!important}.app-workspace .connected-source-row{padding:18px 20px!important;gap:12px!important}.app-workspace .connected-source-main{gap:11px!important}.app-workspace .source-modal{width:calc(100% - 20px)!important;max-height:calc(100dvh - 28px)!important}.app-workspace .source-modal-card{padding:20px!important;max-height:calc(100dvh - 28px)!important}.app-workspace .add-source-panel{padding:20px!important}.app-workspace .add-source-choice-card{padding:14px!important;min-height:82px!important}.workspace-source-next{display:grid;padding:20px}.workspace-source-next .secondary-action{width:100%}.app-workspace .empty-connected-sources{padding:28px 20px!important;min-height:230px!important}}
  .app-workspace .connected-source-delete{position:static!important}
  .app-workspace .source-modal-card{width:100%!important;min-width:0!important;height:auto!important;overflow-y:auto!important}
  .app-workspace .source-modal-card .modal-head{padding:0 0 18px!important}
  .app-workspace .exchange-selector-item{min-width:0!important;gap:10px!important}
  .app-workspace .exchange-selector-item>span:last-child{min-width:0!important;flex:1!important}.app-workspace .exchange-selector-item b{overflow-wrap:normal!important;word-break:normal!important}.app-workspace .exchange-selector-item small{overflow-wrap:anywhere!important}
  @media(max-width:620px){.app-workspace .exchange-selector-item{padding:12px!important}}
  /* Fixed frames and contained artwork keep source icons centered at every viewport. */
  .app-workspace .source-favicon{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;flex:0 0 40px!important;aspect-ratio:1!important;margin:0!important;padding:0!important;gap:0!important;line-height:0!important;border:1px solid #dfe7eb!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important}
  .app-workspace .source-favicon>img,.app-workspace .source-favicon>svg{display:block!important;box-sizing:border-box!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;max-width:24px!important;max-height:24px!important;flex:0 0 24px!important;aspect-ratio:1!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;object-fit:contain!important;object-position:center!important;transform:none!important}
  .app-workspace .add-source-choice-card>.source-favicon{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;flex-basis:44px!important;border-radius:11px!important}
  .app-workspace .add-source-choice-card>.exchange-source-icon{background:#f5f5fc!important;border-color:#e2e2f0!important}
  .app-workspace .add-source-choice-card>.wallet-address-icon{background:#f1f7fb!important;border-color:#dce9f1!important}
  .app-workspace .add-source-choice-card>.csv-source-icon{background:#f0f8f4!important;border-color:#dcebe3!important}
  .app-workspace .add-source-choice-card>.source-choice-copy{display:grid!important;gap:5px!important;min-width:0!important;align-content:center!important;text-transform:none!important;letter-spacing:0!important}
  .app-workspace .add-source-choice-card>.source-choice-copy b{display:block!important;margin:0!important;color:var(--ink)!important;font-size:13px!important;font-weight:600!important;line-height:1.35!important}
  .app-workspace .add-source-choice-card>.source-choice-copy small{display:block!important;margin:0!important;color:var(--muted)!important;font-size:11px!important;font-weight:400!important;line-height:1.4!important}
  /* Shared fiscal year choice for source imports and movement calculations. */
  .app-workspace .fiscal-year-field{display:grid!important;grid-template-columns:minmax(0,1fr) 148px!important;align-items:center!important;gap:16px!important;width:100%!important;min-width:0!important;margin:0!important;padding:16px!important;border:1px solid #dce8e3!important;border-radius:10px!important;background:#f4f8f6!important;box-shadow:none!important;cursor:pointer}
  .app-workspace .fiscal-year-field .fiscal-year-copy{display:grid!important;gap:4px!important;min-width:0!important;margin:0!important}
  .app-workspace .fiscal-year-field .fiscal-year-title{display:block!important;color:var(--ink)!important;font-size:14px!important;font-weight:600!important;line-height:1.4!important;margin:0!important;letter-spacing:0!important;text-transform:none!important}
  .app-workspace .fiscal-year-field .fiscal-year-hint{display:block!important;color:#5b7168!important;font-size:12px!important;font-weight:400!important;line-height:1.5!important;margin:0!important}
  .app-workspace .fiscal-year-field .fiscal-year-control{display:block!important;position:relative!important;min-width:0!important;margin:0!important}
  .app-workspace .fiscal-year-field .fiscal-year-control select[name=fiscalYear]{appearance:none!important;-webkit-appearance:none!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:50px!important;height:50px!important;margin:0!important;padding:0 34px 0 42px!important;border:1px solid #b9cec4!important;border-radius:8px!important;background:#fff!important;color:#245b49!important;font-size:20px!important;font-weight:600!important;line-height:1.2!important;font-variant-numeric:tabular-nums;letter-spacing:0!important;cursor:pointer;box-shadow:0 1px 2px rgba(20,40,30,.04)!important}
  .app-workspace .fiscal-year-field .fiscal-year-control select[name=fiscalYear]:hover{border-color:#438a70!important}
  .app-workspace .fiscal-year-field .fiscal-year-control select[name=fiscalYear] option{font-size:16px!important;font-weight:400!important;color:var(--ink)!important;background:#fff!important}
  .app-workspace .fiscal-year-field .fiscal-year-control svg{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;pointer-events:none!important;color:#477663!important}
  .app-workspace .fiscal-year-field .fiscal-year-calendar{left:13px!important;width:19px!important;height:19px!important}
  .app-workspace .fiscal-year-field .fiscal-year-chevron{right:12px!important;width:16px!important;height:16px!important}
  @media(max-width:620px){.app-workspace .fiscal-year-field{grid-template-columns:1fr!important;gap:12px!important;padding:14px!important}}
  @media(forced-colors:active){.app-workspace .fiscal-year-field .fiscal-year-control select[name=fiscalYear]{appearance:auto!important;-webkit-appearance:auto!important;padding:0 12px!important}.app-workspace .fiscal-year-field .fiscal-year-control svg{display:none!important}}
  
  /* Document delivery, individual downloads and annual archives. */
  .app-workspace .page-wrap{min-height:0!important}
  .app-workspace [id]{scroll-margin-top:90px}
  .app-workspace.app-page-doc .doc-primary-panel{display:block!important;align-self:start!important;height:auto!important;min-height:0!important}
  .app-workspace .doc-primary-head{grid-template-columns:1fr!important;min-height:0!important}
  .app-workspace.app-page-doc .doc-delivery-summary{order:2!important}
  .app-workspace.app-page-doc .doc-ready-actions{order:1!important}
  .app-workspace.app-page-doc .documents-shell{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr)!important;gap:24px!important;align-items:start!important}
  .app-workspace .doc-delivery-column{display:grid!important;gap:20px!important;grid-column:1!important;min-width:0!important}
  .app-workspace.app-page-doc :is(.doc-delivery-hero,.doc-ready-hero,.doc-primary-panel,.doc-use-panel,.doc-archive-tree,.consultant-review-waiting){border:1px solid var(--line)!important;background:#fff!important;border-radius:12px!important;box-shadow:var(--shadow-soft)!important;padding:26px!important;min-width:0!important;overflow:visible!important}
  .app-workspace.app-page-doc :is(.doc-delivery-hero,.doc-ready-hero){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:24px!important}
  .app-workspace .doc-ready-hero:before,.app-workspace .doc-ready-hero:after,.app-workspace .doc-ready-visual{display:none!important}
  .app-workspace.app-page-doc .doc-delivery-copy h2{font-size:25px!important;font-weight:630!important;letter-spacing:-.025em!important;margin:14px 0 10px!important;line-height:1.25!important}
  .app-workspace.app-page-doc .doc-delivery-copy p{font-size:13px!important;line-height:1.65!important;font-weight:400!important;color:var(--muted)!important;margin:0!important}
  .app-workspace.app-page-doc .doc-delivery-summary{position:static!important;background:#edf5f1!important;border:1px solid #dce9e2!important;border-radius:9px!important;padding:22px!important;box-shadow:none!important;display:grid!important;gap:12px!important;width:100%!important;min-width:0!important}
  .app-workspace .doc-delivery-summary .doc-delivery-kicker{font-size:10px!important;font-weight:600!important;letter-spacing:.06em!important;color:#47735f!important}
  .app-workspace.app-page-doc .doc-delivery-summary>strong{font-size:40px!important;line-height:1.2!important;letter-spacing:-.035em!important;font-weight:600!important;color:#164c3e!important;overflow-wrap:anywhere!important}
  .app-workspace .doc-delivery-summary>small{font-size:11px!important;font-weight:400!important;line-height:1.6!important;color:#547668!important}
  .app-workspace .doc-delivery-mini{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;border-top:1px solid #d6e4db!important;padding:0!important;margin:4px 0!important}
  .app-workspace.app-page-doc .doc-delivery-mini>span{border:0!important;border-bottom:1px solid #d6e4db!important;background:none!important;border-radius:0!important;box-shadow:none!important;padding:13px 8px 13px 0!important;min-width:0!important}
  .app-workspace .doc-delivery-mini b{font-size:16px!important;font-weight:600!important;color:#285b48!important;line-height:1.3!important;overflow-wrap:anywhere!important}.app-workspace .doc-delivery-mini small{font-size:10px!important;font-weight:400!important;line-height:1.5!important;color:#587969!important}
  .app-workspace.app-page-doc .doc-ready-actions{order:0!important;display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:0!important}.app-workspace.app-page-doc .doc-ready-actions :is(a,button){border-radius:7px!important;min-height:42px!important;font-size:12px!important;flex:1!important;min-width:0!important}
  .app-workspace.app-page-doc .doc-primary-panel{grid-column:2!important;grid-row:1!important;position:static!important;margin:0!important;padding:0!important;overflow:hidden!important}
  .app-workspace .doc-primary-head{padding:22px!important;display:grid!important;gap:10px!important;border-bottom:1px solid var(--line)!important;margin:0!important}.app-workspace .doc-primary-head>strong{font-size:18px!important;font-weight:600!important}
  .app-workspace .doc-primary-head>.status-badge{justify-self:start!important}
  .app-workspace.app-page-doc .doc-primary-grid{display:block!important;padding:0!important;gap:0!important;margin:0!important}
  .app-workspace.app-page-doc .doc-primary-tile{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px 14px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;padding:20px 22px!important;min-height:0!important;transform:none!important;min-width:0!important}
  .app-workspace .doc-primary-tile:last-child{border-bottom:0!important}.app-workspace .doc-primary-tile:hover{background:#f5faf7!important}.app-workspace .doc-primary-tile>span{grid-column:1!important;font-size:9px!important;font-weight:500!important;color:var(--muted)!important;background:none!important;border:0!important;padding:0!important;text-transform:uppercase!important;letter-spacing:.04em!important}
  .app-workspace .doc-primary-tile>strong{grid-column:1!important;font-size:15px!important;font-weight:600!important;line-height:1.35!important}.app-workspace .doc-primary-tile>small{grid-column:1/-1!important;font-size:11px!important;font-weight:400!important;line-height:1.6!important;color:var(--muted)!important}
  .app-workspace .doc-primary-tile>em{grid-column:2!important;grid-row:1/3!important;align-self:center!important;border:1px solid #dce7e0!important;background:#edf5f1!important;border-radius:6px!important;color:#287459!important;padding:7px 9px!important;font-size:10px!important;font-weight:550!important;min-height:0!important;width:auto!important;font-style:normal!important}
  .app-workspace .doc-use-head strong{font-size:14px!important;font-weight:600!important}.app-workspace .doc-use-head p{font-size:12px!important;font-weight:400!important;line-height:1.65!important;color:var(--muted)!important}.app-workspace .doc-use-head small{font-size:11px!important;font-weight:400!important}.app-workspace .doc-use-grid{gap:10px!important;margin-top:16px!important}.app-workspace .doc-use-grid>span{padding:12px!important;border:1px solid var(--line)!important;background:#f8fafb!important;border-radius:7px!important}.app-workspace .doc-use-grid b{font-size:12px!important;font-weight:600!important}.app-workspace .doc-use-grid small{font-size:10px!important;font-weight:400!important}
  .app-workspace.app-page-doc .doc-archive-tree{grid-column:1/-1!important;padding:8px!important;margin:0!important}.app-workspace .doc-folder{border-radius:7px!important;background:#fff!important;border-color:var(--line)!important}.app-workspace .doc-folder summary{font-size:12px!important;gap:10px!important;padding:14px!important}.app-workspace .doc-folder summary strong{font-size:12px!important;font-weight:600!important}.app-workspace .doc-folder summary em{font-size:10px!important;font-weight:400!important}
  .app-workspace.app-page-doc .consultant-review-waiting{display:block!important;max-width:none!important}.app-workspace .review-folder-visual{display:none!important}.app-workspace .review-compact-head h2{font-size:24px!important;font-weight:630!important;margin:16px 0 10px!important}.app-workspace .review-waiting-lead{font-size:13px!important;line-height:1.65!important;font-weight:400!important}.app-workspace .review-compact-strip{margin:24px 0 0!important;gap:14px!important}.app-workspace .review-next-card{background:#f8fafb!important;border:1px solid var(--line)!important;border-radius:8px!important;padding:18px!important;box-shadow:none!important}.app-workspace .review-next-card strong{font-size:13px!important;font-weight:600!important}.app-workspace .review-next-card p{font-size:12px!important;font-weight:400!important;line-height:1.6!important}
  @media(max-width:1100px){.app-workspace.app-page-doc .documents-shell{grid-template-columns:1fr!important}.app-workspace.app-page-doc .doc-primary-panel{grid-column:1!important;grid-row:auto!important}}
  @media(max-width:620px){.app-workspace.app-page-doc .documents-shell{gap:18px!important}.app-workspace.app-page-doc :is(.doc-delivery-hero,.doc-use-panel,.consultant-review-waiting){padding:20px!important}.app-workspace.app-page-doc .doc-delivery-copy h2{font-size:23px!important}.app-workspace.app-page-doc .doc-delivery-summary{padding:18px!important}.app-workspace.app-page-doc .doc-delivery-summary>strong{font-size:34px!important}.app-workspace.app-page-doc .doc-ready-actions{flex-direction:column!important}.app-workspace .doc-use-grid{grid-template-columns:1fr!important}.app-workspace .doc-use-grid>span{display:flex!important;justify-content:space-between!important;gap:14px!important}.app-workspace .review-compact-strip{grid-template-columns:1fr!important}}
  /* Report: results, consultant review and payment. */
  .app-workspace.app-page-report .report-preview{display:block!important;padding:28px!important;max-width:none!important;background:#fff!important;overflow:visible!important}
  .app-workspace.app-page-report .report-ready-row{display:block!important;padding:0!important;margin:0 0 24px!important;background:none!important;border:0!important}
  .app-workspace.app-page-report .report-ready-row h2{font-size:25px!important;font-weight:630!important;line-height:1.25!important;margin:14px 0 10px!important;letter-spacing:-.025em!important}
  .app-workspace.app-page-report .report-ready-row p{font-size:13px!important;font-weight:400!important;line-height:1.65!important;max-width:670px!important}
  .app-workspace .report-compact-pills{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:20px 0!important}.app-workspace .report-compact-pills>span{border:1px solid var(--line)!important;border-radius:6px!important;background:#f8fafb!important;padding:10px 14px!important;font-size:12px!important;font-weight:500!important;color:var(--ink-soft)!important;box-shadow:none!important}
  .app-workspace .report-review-card{display:grid!important;gap:6px!important;background:#edf5f1!important;border:1px solid #dce9e2!important;border-radius:9px!important;padding:20px!important;margin:22px 0 0!important}.app-workspace .report-review-card strong{font-size:13px!important;font-weight:600!important}.app-workspace .report-review-card span{font-size:12px!important;line-height:1.65!important;font-weight:400!important}
  .app-workspace.app-page-report .report-actions{display:flex!important;margin-top:24px!important;padding-top:20px!important;border-top:1px solid var(--line)!important;justify-content:flex-start!important}
  .app-workspace.app-page-report .report-actions:empty{display:none!important}
  .app-workspace.app-page-report .report-actions :is(button,a){width:auto!important;min-width:220px!important;border-radius:7px!important;font-size:12px!important;min-height:42px!important}
  .app-workspace.app-page-report .report-final-summary{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr)!important;gap:24px!important}
  .app-workspace .report-final-summary .final-report-head{grid-column:1/-1!important;margin:0!important}
  .app-workspace .final-report-main{grid-column:1!important;grid-row:2!important;min-width:0!important}
  .app-workspace .report-final-summary .fiscal-outcome-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:0!important}
  .app-workspace .report-final-summary .fiscal-outcome-card{border:1px solid var(--line)!important;background:#fff!important;border-radius:9px!important;padding:22px!important;box-shadow:none!important;min-height:158px!important;display:flex!important;flex-direction:column!important;gap:12px!important;min-width:0!important}
  .app-workspace .fiscal-outcome-card>span{font-size:11px!important;font-weight:500!important;color:var(--muted)!important;line-height:1.5!important}
  .app-workspace .report-final-summary .fiscal-outcome-card>strong{font-size:27px!important;font-weight:600!important;letter-spacing:-.03em!important;line-height:1.2!important;color:var(--ink)!important;overflow-wrap:anywhere!important}
  .app-workspace .fiscal-outcome-card.negative>strong{color:#aa4350!important}.app-workspace .fiscal-outcome-card.positive>strong{color:#18755d!important}
  .app-workspace .report-final-summary .fiscal-outcome-card>small{font-size:11px!important;font-weight:400!important;line-height:1.6!important;color:var(--muted)!important}
  .app-workspace.app-page-report .final-report-side{grid-column:2!important;grid-row:2!important;position:static!important;padding:24px!important;background:#edf5f1!important;border:1px solid #dbe9e1!important;border-radius:10px!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;gap:16px!important;min-width:0!important;align-self:start!important}
  .app-workspace.app-page-report .tax-due-side>strong{font-size:40px!important;font-weight:600!important;color:#164c3e!important;letter-spacing:-.035em!important;line-height:1.2!important;overflow-wrap:anywhere!important}.app-workspace .tax-due-side>p{font-size:12px!important;line-height:1.7!important;margin:0!important;font-weight:400!important}
  .app-workspace.app-page-report .tax-due-side :is(.primary-action,.secondary-action){width:100%!important;min-width:0!important;border-radius:7px!important;font-size:12px!important;min-height:42px!important;margin:0!important}
  .app-workspace .report-admin-files{grid-column:1/-1!important;font-size:12px!important}
  .app-workspace.app-page-report .payment-modal-card{background:#fff!important;border:0!important;border-radius:12px!important;padding:28px!important;box-shadow:0 20px 80px #14283230!important;max-width:560px!important;color:var(--ink)!important}
  .app-workspace .payment-modal-card :is(.payment-confetti,.payment-folder-preview){display:none!important}
  .app-workspace .payment-modal-card .modal-close{position:absolute!important;top:16px!important;right:16px!important;left:auto!important}
  .app-workspace .report-final-summary .fiscal-outcome-card:last-child:nth-child(odd){grid-column:1/-1!important}
  .app-workspace .payment-modal-card h2{font-size:24px!important;font-weight:630!important;letter-spacing:-.03em!important;margin:16px 0 10px!important;line-height:1.25!important;padding-right:20px!important}
  .app-workspace .payment-modal-card p{font-size:13px!important;font-weight:400!important;line-height:1.6!important}.app-workspace .payment-modal-card .payment-price-box{padding:18px!important;border-radius:8px!important;border:1px solid var(--line)!important;background:#f8fafb!important;box-shadow:none!important;margin:14px 0!important}.app-workspace .payment-price-box>strong{font-size:26px!important;font-weight:600!important}.app-workspace .payment-price-box :is(small,span){font-size:11px!important;font-weight:400!important;line-height:1.6!important}
  @media(max-width:1100px){.app-workspace.app-page-report .report-final-summary{grid-template-columns:1fr!important}.app-workspace.app-page-report .final-report-side{grid-column:1!important;grid-row:2!important}.app-workspace .final-report-main{grid-row:3!important}}
  @media(max-width:620px){.app-workspace.app-page-report .report-preview{padding:20px!important}.app-workspace.app-page-report .report-ready-row h2{font-size:22px!important}.app-workspace.app-page-report .report-actions :is(button,a){width:100%!important;min-width:0!important}.app-workspace .report-final-summary .fiscal-outcome-grid{grid-template-columns:1fr!important}.app-workspace .report-final-summary .fiscal-outcome-card{padding:20px!important;min-height:0!important}.app-workspace.app-page-report .payment-modal-card{padding:22px!important}.app-workspace.app-page-report .final-report-side{padding:20px!important}}
  /* Calculation setup and progress. Preserve all existing state hooks. */
  .app-workspace.app-page-movimenti :is(.movement-start-panel,.movement-work-panel){max-width:none!important;padding:28px!important;margin:0!important;background:#fff!important;overflow:visible!important}
  .app-workspace.app-page-movimenti :is(.section-title,.work-head){display:block!important;margin:0 0 24px!important;padding:0!important;background:none!important;border:0!important;max-width:none!important}
  .app-workspace.app-page-movimenti :is(.section-title,.work-head) h2{font-size:23px!important;margin:12px 0 8px!important;font-weight:630!important}
  .app-workspace.app-page-movimenti :is(.section-title,.work-head) p{font-size:13px!important;font-weight:400!important;line-height:1.65!important;max-width:740px!important}
  .app-workspace.app-page-movimenti .calc-form{display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)!important;gap:20px!important;align-items:start!important;margin:0!important}
  .app-workspace .calc-form>.fiscal-year-field{grid-column:1/-1!important;grid-row:auto!important}
  .app-workspace.app-page-movimenti .calc-form>.movement-source-selector{grid-column:auto!important;grid-row:auto!important;align-self:start!important}
  .app-workspace.app-page-movimenti .movement-source-selector{display:block!important;min-height:0!important;border:1px solid var(--line)!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;padding:0!important;margin:0!important;min-width:0!important;overflow:hidden!important}
  .app-workspace .movement-source-selector-head{display:flex!important;min-height:0!important;align-items:center!important;padding:16px 18px!important;border-bottom:1px solid var(--line)!important;margin:0!important;background:#f8fafb!important;gap:12px!important}
  .app-workspace .movement-source-selector-head b{font-size:12px!important;font-weight:600!important}.app-workspace .movement-source-selector-head>span{width:auto!important;min-height:0!important;box-shadow:none!important;font-size:10px!important;font-weight:500!important;background:#eaf1ef!important;color:#4b7365!important;border:0!important;border-radius:4px!important;padding:4px 7px!important}
  .app-workspace .movement-source-toggle{border:0!important;border-bottom:1px solid #edf1f4!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;padding:16px 18px!important;margin:0!important;gap:12px!important;min-width:0!important;transform:none!important}
  .app-workspace .movement-source-toggle:last-child{border-bottom:0!important}.app-workspace .movement-source-toggle:has(input:checked){background:#f3faf6!important}
  .app-workspace .movement-source-copy{min-width:0!important}.app-workspace .movement-source-copy strong{font-size:12px!important;font-weight:600!important}.app-workspace .movement-source-copy small{font-size:11px!important;font-weight:400!important;line-height:1.6!important}
  .app-workspace .movement-source-icon{width:32px!important;height:32px!important;min-width:32px!important;border-radius:7px!important}
  .app-workspace .movement-source-empty{min-height:140px!important;align-content:center!important;background:#fff!important;border:0!important;border-radius:0!important;text-align:left!important;display:grid!important;justify-items:start!important;gap:12px!important;font-size:12px!important;font-weight:400!important;padding:24px 18px!important;color:var(--muted)!important}
  .app-workspace .prior-fiscal-loss-precheck{padding:16px 18px!important;margin:0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:#fff!important;font-size:12px!important;line-height:1.65!important}
  .app-workspace .prior-fiscal-loss-precheck :is(p,li){font-size:12px!important;font-weight:400!important;color:var(--muted)!important;line-height:1.65!important}.app-workspace .prior-fiscal-loss-precheck b{font-weight:600!important;color:var(--ink)!important}
  .app-workspace .prior-fiscal-loss-fields{padding:18px!important}.app-workspace .prior-fiscal-loss-guidance{font-size:12px!important;font-weight:400!important}.app-workspace .prior-fiscal-loss-grid{grid-template-columns:1fr!important}
  .app-workspace.app-page-movimenti .movement-calc-action-bar{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(200px,260px)!important;border:1px solid #dbe9e1!important;background:#edf5f1!important;border-radius:9px!important;padding:18px 20px!important;margin:0!important;gap:18px!important;box-shadow:none!important;position:static!important}
  .app-workspace.app-page-movimenti .movement-calc-action-bar .primary-action.large{border-radius:7px!important;min-height:42px!important;font-size:12px!important;background:#087f6b!important}.app-workspace .movement-calc-action-bar>strong{font-size:13px!important;font-weight:600!important;color:#285c4b!important}.app-workspace button:disabled{opacity:.5!important;cursor:not-allowed!important}
  .app-workspace .movement-year-import-panel{border:1px solid #eadfc7!important;border-radius:9px!important;background:#fffbf2!important;padding:18px!important;margin:0 0 20px!important}.app-workspace .movement-year-import-panel p{font-size:12px!important;font-weight:400!important}
  .app-workspace .worker-runtime-note{margin-top:14px!important;background:none!important;padding:0!important;border:0!important;color:var(--muted)!important;font-size:12px!important}
  .app-workspace :is(.elapsed-pill,.final-metrics-locked-note,.movement-final-route-note){background:#f4f8f7!important;border:1px solid #e0eae5!important;border-radius:8px!important;font-size:12px!important;box-shadow:none!important;font-weight:400!important}
  .app-workspace :is(.source-orchestration-panel,.source-progress-panel){background:#f8fafb!important;border:1px solid var(--line)!important;border-radius:9px!important;padding:20px!important;margin-top:22px!important;box-shadow:none!important}
  .app-workspace .source-orchestration-phase{border-radius:7px!important;background:#fff!important;border-color:var(--line)!important;box-shadow:none!important;padding:14px!important}
  .app-workspace .source-orchestration-copy b{font-size:12px!important;font-weight:600!important}.app-workspace .source-orchestration-copy small{font-size:11px!important;font-weight:400!important}.app-workspace .source-orchestration-percent{font-size:13px!important;font-weight:550!important}
  .app-workspace .metric{border:1px solid var(--line)!important;border-radius:9px!important;padding:20px!important;background:#f8fafb!important;box-shadow:none!important}.app-workspace .metric>span{font-size:11px!important;font-weight:500!important}.app-workspace .metric>strong{font-size:26px!important;font-weight:600!important}.app-workspace .metric small{font-size:11px!important;font-weight:400!important}
  @media(max-width:1100px){.app-workspace.app-page-movimenti .calc-form{grid-template-columns:1fr!important}}
  @media(max-width:620px){
    .app-workspace.app-page-movimenti :is(.movement-start-panel,.movement-work-panel){padding:20px!important}
    .app-workspace.app-page-movimenti :is(.section-title,.work-head) h2{font-size:21px!important}
    .app-workspace.app-page-movimenti .movement-calc-action-bar{grid-template-columns:1fr!important;padding:18px!important;gap:12px!important}
    .app-workspace .movement-calc-action-bar .primary-action{width:100%!important}
    .app-workspace .movement-source-selector-head{display:flex!important;min-height:0!important;align-items:center!important;padding:14px!important;flex-wrap:wrap!important}.app-workspace .movement-source-toggle{padding:14px!important;gap:9px!important}
    .app-workspace :is(.source-orchestration-panel,.source-progress-panel){padding:14px!important}.app-workspace .source-orchestration-phases{grid-template-columns:1fr!important}
  }
  
  
  .app-workspace.app-page-admin .compact-admin-role-form button{white-space:nowrap!important;word-break:normal!important;flex:none!important;width:auto!important;min-width:58px!important}
  .app-workspace .admin-lock-chip{justify-self:start!important;border-radius:5px!important;font-size:10px!important;font-weight:500!important}
  .app-workspace .admin-source-access-grid{align-items:start!important}
  .app-workspace details.admin-source-role-card>.admin-source-role-head{margin:0!important;cursor:pointer;list-style:none;min-height:32px}
  .app-workspace details.admin-source-role-card>.admin-source-role-head:after{content:'+';color:var(--muted);font-size:18px;line-height:1}
  .app-workspace details.admin-source-role-card[open]>.admin-source-role-head:after{content:'−'}
  .app-workspace details.admin-source-role-card>.admin-source-role-head::-webkit-details-marker{display:none}
  .app-workspace details.admin-source-role-card[open]>.admin-source-role-head{margin-bottom:16px!important}
  .app-workspace details.admin-source-role-card>.admin-source-role-head:focus-visible{outline:3px solid #58bba7;outline-offset:3px}
  /* Administration: tabs, user controls and operational status. */
  .app-workspace.app-page-admin .admin-tabs-panel{padding:26px!important;background:#fff!important;margin:0!important;max-width:none!important;min-width:0!important}
  .app-workspace .admin-compact-head{margin:0 0 24px!important;gap:20px!important}.app-workspace .admin-compact-head h2{font-size:23px!important;font-weight:630!important;letter-spacing:-.025em!important;margin:12px 0 0!important}.app-workspace .admin-compact-head>strong{border:1px solid #dce8e0!important;border-radius:7px!important;background:#edf5f1!important;color:#28745b!important;font-size:12px!important;font-weight:550!important;padding:10px 14px!important;min-height:38px!important;height:auto!important;line-height:1.3!important}
  .app-workspace .admin-tab-buttons{display:flex!important;gap:0!important;border-bottom:1px solid var(--line)!important;padding:0!important;margin:0 0 24px!important;overflow-x:auto!important;max-width:100%!important;border-radius:0!important;box-shadow:none!important}
  .app-workspace .admin-tab-button{flex:0 0 auto!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:none!important;color:var(--muted)!important;min-height:46px!important;padding:12px 20px!important;font-size:12px!important;font-weight:500!important;box-shadow:none!important;white-space:nowrap!important}.app-workspace .admin-tab-button.active{border-bottom-color:#087f6b!important;color:#087f6b!important;background:#f2f8f5!important;font-weight:600!important}
  .app-workspace .admin-section-inner{border:0!important;background:transparent!important;border-radius:0!important;padding:0!important;margin:0!important;min-width:0!important}.app-workspace .admin-list-head{margin:0 0 18px!important;gap:14px!important}.app-workspace .admin-list-head b{font-size:14px!important;font-weight:600!important}.app-workspace .admin-list-head span{font-size:11px!important;font-weight:400!important;color:var(--muted)!important}
  .app-workspace .admin-role-list{display:grid!important;gap:0!important}.app-workspace .admin-user-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:18px!important;border:0!important;border-bottom:1px solid var(--line)!important;padding:20px 0!important;background:#fff!important;border-radius:0!important;box-shadow:none!important;min-width:0!important}.app-workspace .admin-user-row:last-child{border-bottom:0!important}.app-workspace .admin-user-identity{min-width:0!important}.app-workspace .admin-user-identity strong{font-size:13px!important;font-weight:600!important}.app-workspace .admin-user-identity small{font-size:11px!important;font-weight:400!important;line-height:1.5!important;overflow-wrap:anywhere!important}.app-workspace .admin-user-controls{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;justify-content:flex-end!important;min-width:0!important}
  .app-workspace.app-page-admin .page-wrap :is(.primary-action,.secondary-action){font-size:11px!important;border-radius:6px!important;min-height:36px!important;padding:9px 12px!important}.app-workspace .admin-account-actions :is(.danger,.danger-soft){color:#a24b58!important;border-color:#e8d9dc!important;background:#fff!important}
  .app-workspace .compact-admin-role-form{display:flex!important;gap:8px!important;align-items:center!important;min-width:0!important}.app-workspace .compact-admin-role-form select{font-size:12px!important;min-height:36px!important;min-width:130px!important;padding:7px 10px!important}.app-workspace .admin-account-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important}
  .app-workspace .admin-platform-card{padding:22px!important;background:#f8fafb!important;border:1px solid var(--line)!important;border-radius:9px!important;box-shadow:none!important;gap:20px!important}.app-workspace .admin-platform-copy h3{font-size:20px!important;font-weight:600!important;margin:12px 0 10px!important}.app-workspace .admin-platform-copy p{font-size:12px!important;font-weight:400!important;line-height:1.65!important}.app-workspace .admin-platform-copy small{font-size:11px!important;font-weight:400!important}
  .app-workspace .admin-source-access-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important}.app-workspace .admin-source-role-card{border:1px solid var(--line)!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;padding:18px!important;min-width:0!important}.app-workspace .admin-source-role-head{margin-bottom:16px!important}.app-workspace .admin-source-role-head strong{font-size:11px!important;font-weight:400!important;color:var(--muted)!important}.app-workspace .admin-source-checkboxes{gap:8px!important}.app-workspace .admin-source-checkbox{border-color:var(--line)!important;background:#f8fafb!important;padding:10px!important;border-radius:6px!important}.app-workspace .admin-source-checkbox b{font-size:12px!important;font-weight:500!important;line-height:1.4!important}.app-workspace .admin-source-checkbox:has(input:checked) .admin-source-check{background:#087f6b!important;border-color:#087f6b!important}
  .app-workspace .admin-ops-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}.app-workspace .admin-ops-summary-card{padding:18px!important;border:1px solid var(--line)!important;background:#f8fafb!important;border-radius:8px!important;box-shadow:none!important;min-width:0!important}.app-workspace .admin-ops-summary-card strong{font-size:17px!important;font-weight:600!important}.app-workspace .admin-ops-summary-card small{font-size:11px!important;font-weight:400!important;line-height:1.5!important}
  .app-workspace .admin-ops-columns{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin-top:18px!important}.app-workspace .admin-ops-card{border:1px solid var(--line)!important;border-radius:9px!important;padding:18px!important;background:#fff!important;box-shadow:none!important;min-width:0!important}.app-workspace .admin-ops-card-head b{font-size:13px!important;font-weight:600!important}.app-workspace .admin-ops-card p{font-size:12px!important;line-height:1.65!important;font-weight:400!important}.app-workspace .admin-ops-row{border-radius:6px!important;background:#f8fafb!important;border-color:var(--line)!important;padding:12px!important}.app-workspace .admin-ops-row strong{font-size:12px!important;font-weight:500!important}.app-workspace .admin-ops-row small{font-size:11px!important;font-weight:400!important;line-height:1.5!important}
  @media(max-width:1200px){.app-workspace .admin-user-row{grid-template-columns:minmax(0,1fr) auto!important}.app-workspace .admin-user-controls{grid-column:1/-1!important;justify-content:flex-start!important}.app-workspace .admin-lock-chip{grid-column:1/-1!important}.app-workspace .admin-source-access-grid{grid-template-columns:1fr!important}}
  @media(max-width:700px){.app-workspace .admin-ops-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.app-workspace .admin-ops-columns{grid-template-columns:1fr!important}.app-workspace .admin-platform-card{display:grid!important}}
  @media(max-width:620px){.app-workspace.app-page-admin .admin-tabs-panel{padding:20px!important}.app-workspace .admin-compact-head{align-items:flex-start!important;flex-wrap:wrap!important}.app-workspace .admin-tab-button{padding:12px 14px!important}.app-workspace .admin-user-controls{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}.app-workspace .compact-admin-role-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}.app-workspace .compact-admin-role-form select{min-width:0!important;width:100%!important;font-size:16px!important}.app-workspace .admin-source-checkboxes{grid-template-columns:1fr!important}.app-workspace .admin-source-role-card{padding:16px!important}.app-workspace .admin-ops-summary-card{padding:14px!important}.app-workspace .admin-platform-card{padding:18px!important}.app-workspace .admin-ops-download{white-space:normal!important;max-width:100%!important}.app-workspace .admin-ops-summary-card strong{font-size:15px!important}}
  /* Consultant queue and compact review workspace. */
  .app-workspace .consultant-queue-total{display:grid!important;place-items:center!important;height:auto!important;min-height:0!important;line-height:1.2!important}
  .app-workspace .consultant-case-section{min-height:0!important;align-self:start!important;display:block!important}
  .app-workspace .workspace-rail{overflow-y:auto;overscroll-behavior:contain}
  .app-workspace .workspace-rail>.app-nav-shell{flex-shrink:0!important}
  .app-workspace.app-page-consulente .consultant-queue-panel{padding:26px!important;background:#fff!important;margin:0!important}
  .app-workspace .consultant-queue-head{margin:0 0 24px!important;padding:0 0 22px!important;border-bottom:1px solid var(--line)!important}.app-workspace .consultant-queue-head h2{font-size:23px!important;font-weight:630!important;margin:12px 0 0!important}.app-workspace .consultant-queue-total{font-size:32px!important;font-weight:550!important;background:#edf5f1!important;border:1px solid #dbe8e0!important;border-radius:9px!important;color:#286b54!important;padding:12px 20px!important;min-width:64px!important;box-shadow:none!important}
  .app-workspace .consultant-queue-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
  .app-workspace .consultant-case-section{border:1px solid var(--line)!important;background:#fff!important;border-radius:9px!important;padding:0!important;min-width:0!important;overflow:hidden!important}.app-workspace .case-section-head{margin:0!important;padding:16px 18px!important;border-bottom:1px solid var(--line)!important;background:#f8fafb!important;gap:10px!important}.app-workspace .case-section-head h3{font-size:13px!important;font-weight:600!important}.app-workspace .consultant-case-list{display:grid!important;gap:0!important}
  .app-workspace .consultant-case-card{border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;padding:18px!important;background:#fff!important;box-shadow:none!important;min-width:0!important}.app-workspace .consultant-case-card:last-child{border-bottom:0!important}
  .app-workspace .consultant-case-main{padding:0!important;display:flex!important;align-items:center!important;gap:16px!important;flex-wrap:wrap!important;color:var(--ink)!important;text-decoration:none!important;min-width:0!important}.app-workspace .consultant-case-user{min-width:0!important;flex:1!important}.app-workspace .consultant-case-user strong{font-size:13px!important;font-weight:600!important;overflow-wrap:anywhere!important}.app-workspace .consultant-case-user small{font-size:11px!important;font-weight:400!important;line-height:1.5!important}.app-workspace .consultant-case-meta{font-size:10px!important;font-weight:400!important;color:var(--muted)!important}.app-workspace .consultant-case-main em{font-size:11px!important;font-weight:500!important;color:#28745b!important}
  .app-workspace .consultant-case-delete-history{margin-top:12px!important}.app-workspace .consultant-case-delete-history .danger-action{border:1px solid #e7d9dc!important;background:#fff!important;color:#a04d59!important;min-height:32px!important;padding:7px 10px!important;font-size:10px!important;border-radius:6px!important}
  .app-workspace .consultant-case-section .empty-mini{padding:30px 18px!important;font-size:12px!important;font-weight:400!important;color:var(--muted)!important;border:0!important;background:#fff!important;min-height:110px!important;display:grid!important;align-content:center!important}
  .app-workspace.app-page-consulente .consultant-workspace-page{gap:22px!important}
  .app-workspace.app-page-consulente .consultant-workspace-page .consultant-workspace-hero{padding:18px 20px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:#fff!important}
  .app-workspace .consultant-workspace-page .consultant-workflow{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}.app-workspace .consultant-workspace-page .consultant-workflow li{padding:16px 12px;font-size:12px;font-weight:500}
  .app-workspace .consultant-workspace-page .consultant-dashboard-strip{padding:18px 20px!important;border:1px solid var(--line)!important;border-radius:9px!important;background:#fff!important}
  .app-workspace .consultant-workspace-page .consultant-row-details{border-radius:9px!important;border-color:var(--line)!important;background:#fff!important;overflow:hidden!important}.app-workspace .consultant-workspace-page .consultant-row-asset{font-weight:600}.app-workspace .consultant-workspace-page .consultant-row-details>summary{background:#f8fafb}
  .app-workspace .consultant-workspace-page .consultant-category-navigation{top:94px}.app-workspace .consultant-workspace-page .consultant-filter-bar{top:94px!important}.app-workspace .consultant-workspace-page .consultant-filter-chip{border-radius:7px!important;font-size:12px!important;font-weight:500!important}
  .app-workspace.app-page-consulente .consultant-workspace-page :is(.primary-action,.secondary-action){border-radius:7px!important;font-size:12px!important}.app-workspace .consultant-case-review-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:12px!important}
  @media(max-width:1200px){.app-workspace .consultant-workspace-page .consultant-row-editor{grid-template-columns:1fr}.app-workspace .consultant-workspace-page .consultant-row-evidence{border-right:0;border-bottom:1px solid var(--line)}.app-workspace .consultant-workspace-page .consultant-dashboard-strip{grid-template-columns:auto minmax(0,1fr)!important}.app-workspace .consultant-workspace-page .generate-documents-panel{grid-column:1/-1!important;justify-content:space-between!important}}
  @media(max-width:900px){.app-workspace .workspace-rail{overflow-y:visible}.app-workspace .consultant-queue-columns{grid-template-columns:1fr!important}}
  @media(max-width:620px){.app-workspace.app-page-consulente .consultant-queue-panel{padding:20px!important}.app-workspace.app-page-consulente .consultant-workspace-page .consultant-workspace-hero{padding:16px!important}.app-workspace .consultant-workspace-page .consultant-workflow li{padding:12px 3px;font-size:10px}.app-workspace .consultant-workspace-page .consultant-dashboard-strip{padding:16px!important}.app-workspace .consultant-case-card{padding:16px!important}}
  /* Support conversations. */
  .app-workspace.app-page-ticket .ticket-shell{display:grid!important;grid-template-columns:minmax(300px,1fr) minmax(0,1.4fr)!important;gap:24px!important;align-items:start!important}
  .app-workspace.app-page-ticket :is(.ticket-command-panel,.ticket-list-panel,.ticket-detail){padding:26px!important;margin:0!important;background:#fff!important;min-width:0!important;max-width:none!important}
  .app-workspace .ticket-command-panel{grid-column:1!important;grid-row:auto!important;position:static!important}.app-workspace .ticket-list-panel{grid-column:2!important;grid-row:auto!important;position:static!important}
  .app-workspace .ticket-command-head{display:flex!important;align-items:center!important;gap:16px!important;flex-wrap:wrap!important;margin:0 0 12px!important;padding:0!important}
  .app-workspace .ticket-command-head h2{font-size:22px!important;font-weight:630!important;letter-spacing:-.025em!important;margin:12px 0 0!important}.app-workspace .ticket-command-panel>.workspace-form-help{display:block!important}
  .app-workspace .ticket-form{display:grid!important;gap:18px!important}.app-workspace .ticket-form label{display:grid!important;gap:8px!important;font-size:12px!important;font-weight:500!important;color:var(--ink-soft)!important;min-width:0!important}
  .app-workspace .ticket-form :is(input,textarea){width:100%!important;min-width:0!important;padding:12px!important}.app-workspace .ticket-form textarea{min-height:140px!important;resize:vertical!important}
  .app-workspace .ticket-form-actions{display:flex!important;align-items:end!important;gap:16px!important;flex-wrap:wrap!important;margin:0!important}.app-workspace .ticket-file-field{flex:1 1 180px!important;min-width:0!important;width:auto!important}.app-workspace .ticket-file-field input{font-size:11px!important;padding:8px!important;max-width:100%!important}
  .app-workspace.app-page-ticket .page-wrap :is(.primary-action,.secondary-action){border-radius:7px!important;font-size:12px!important;min-height:42px!important}
  .app-workspace .ticket-list-head{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 0 20px!important;padding:0!important}.app-workspace .ticket-list-head h2{font-size:20px!important;font-weight:600!important;margin:0 0 6px!important}.app-workspace .ticket-list-head p{font-size:12px!important;font-weight:400!important;color:var(--muted)!important;margin:0!important}
  .app-workspace .ticket-list{display:grid!important;gap:0!important}.app-workspace .ticket-row{display:grid!important;grid-template-columns:7px minmax(0,1fr) auto!important;gap:13px!important;align-items:center!important;border:0!important;border-bottom:1px solid var(--line)!important;background:#fff!important;box-shadow:none!important;border-radius:0!important;padding:18px 0!important;min-width:0!important;transform:none!important}.app-workspace .ticket-row:last-child{border-bottom:0!important}.app-workspace .ticket-row:hover{background:#f8fafb!important}
  .app-workspace .ticket-main{min-width:0!important}.app-workspace .ticket-main b{font-size:13px!important;font-weight:600!important;line-height:1.5!important;overflow-wrap:anywhere!important}.app-workspace .ticket-main small{font-size:11px!important;font-weight:400!important;line-height:1.5!important;color:var(--muted)!important}.app-workspace .ticket-dot{width:7px!important;height:7px!important;border:0!important;background:#459b7c!important;box-shadow:none!important}.app-workspace .ticket-row.resolved .ticket-dot{background:#acb9c0!important}
  .app-workspace .ticket-status-pill{font-size:10px!important;line-height:1.4!important;font-weight:500!important;padding:5px 8px!important;border-radius:5px!important;background:#edf5f1!important;color:#39705a!important;border:0!important;white-space:normal!important}.app-workspace .ticket-meta{display:none!important}
  .app-workspace .ticket-list-panel .empty-inline{border:1px dashed var(--line)!important;border-radius:9px!important;background:#fafcfd!important;min-height:180px!important;display:grid!important;place-content:center!important;text-align:center!important;font-size:12px!important;font-weight:400!important;line-height:1.8!important;padding:24px!important;color:var(--muted)!important}
  .app-workspace .ticket-detail-head{padding:0 0 22px!important;margin:0!important;border-bottom:1px solid var(--line)!important;gap:16px!important}.app-workspace .ticket-detail-head h2{font-size:23px!important;font-weight:630!important;line-height:1.35!important;overflow-wrap:anywhere!important;margin:12px 0 0!important}
  .app-workspace .ticket-thread{display:flex!important;flex-direction:column!important;gap:18px!important;margin:24px 0!important;max-height:none!important;padding:0!important}
  .app-workspace .ticket-message{padding:20px!important;max-width:84%!important;width:auto!important;border:1px solid var(--line)!important;background:#f8fafb!important;border-radius:10px!important;box-shadow:none!important;min-width:0!important;align-self:flex-start!important}.app-workspace .ticket-message.mine{background:#edf5f1!important;border-color:#dce9e2!important;align-self:flex-end!important}
  .app-workspace .ticket-message header{display:flex!important;gap:16px!important;justify-content:space-between!important;flex-wrap:wrap!important;margin:0 0 10px!important}.app-workspace .ticket-message header b{font-size:11px!important;font-weight:600!important}.app-workspace .ticket-message header small{font-size:10px!important;font-weight:400!important;color:var(--muted)!important}.app-workspace .ticket-message p{font-size:13px!important;font-weight:400!important;line-height:1.75!important;overflow-wrap:anywhere!important;margin:0!important}.app-workspace .ticket-attachment{font-size:11px!important;border-radius:5px!important;background:#fff!important;border-color:var(--line)!important;padding:8px!important;overflow-wrap:anywhere!important}
  .app-workspace .ticket-summary-line{gap:12px!important;margin-top:20px!important}.app-workspace .ticket-summary-line>span{border-radius:8px!important;background:#f8fafb!important;border:1px solid var(--line)!important;padding:16px!important;font-size:11px!important;font-weight:400!important}.app-workspace .ticket-summary-line b{font-size:23px!important;font-weight:600!important}
  @media(max-width:1100px){.app-workspace.app-page-ticket .ticket-shell{grid-template-columns:1fr!important}.app-workspace .ticket-list-panel{grid-column:1!important}}
  @media(max-width:620px){.app-workspace.app-page-ticket :is(.ticket-command-panel,.ticket-list-panel,.ticket-detail){padding:20px!important}.app-workspace .ticket-row{grid-template-columns:7px minmax(0,1fr)!important;gap:6px 10px!important}.app-workspace .ticket-status-pill{grid-column:2!important;justify-self:start!important}.app-workspace .ticket-form-actions{display:grid!important;grid-template-columns:1fr!important}.app-workspace .ticket-form-actions button{width:100%!important}.app-workspace .ticket-message{max-width:100%!important;padding:16px!important}.app-workspace .ticket-detail-head h2{font-size:20px!important}.app-workspace .ticket-detail-head{flex-wrap:wrap!important}.app-workspace .ticket-summary-line{flex-wrap:wrap!important}}
  /* Account settings and security. */
  .app-workspace.app-page-profilo .profile-summary-card{grid-row:1!important}
  .app-workspace.app-page-profilo .profile-action-grid{grid-row:2!important;align-items:start!important}
  .app-workspace.app-page-profilo .profile-2fa-card{grid-row:3!important}
  .app-workspace .profile-action-card.compact>.workspace-form-help{display:block!important}
  .app-workspace.app-page-profilo .page-wrap :is(.primary-action,.secondary-action){border-radius:7px!important;font-size:12px!important;min-height:42px!important}
  .app-workspace.app-page-profilo .profile-page-compact{display:grid!important;grid-template-columns:1fr!important;gap:22px!important;max-width:1060px!important;margin:0!important}
  .app-workspace.app-page-profilo .profile-summary-card{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:18px!important;padding:26px!important;align-items:center!important;background:#fff!important;margin:0!important}
  .app-workspace .profile-avatar.compact{width:58px!important;height:58px!important;border-radius:12px!important;background:#edf5f1!important;border:1px solid #dce8e0!important;color:#2b6e56!important;font-size:20px!important;font-weight:550!important;box-shadow:none!important}
  .app-workspace .profile-summary-main h2{font-size:23px!important;font-weight:630!important;margin:8px 0 4px!important;line-height:1.25!important}.app-workspace .profile-summary-main p{font-size:13px!important;font-weight:400!important;overflow-wrap:anywhere!important;margin:0!important}
  .app-workspace.app-page-profilo .profile-summary-meta{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;border-top:1px solid var(--line)!important;padding-top:18px!important;margin-top:6px!important;min-width:0!important}
  .app-workspace .profile-summary-meta>span{display:grid!important;gap:4px!important;border:0!important;background:none!important;padding:0!important;font-size:10px!important;color:var(--muted)!important;font-weight:400!important;line-height:1.5!important;min-width:0!important}.app-workspace .profile-summary-meta b{font-size:12px!important;color:var(--ink-soft)!important;font-weight:500!important}
  .app-workspace.app-page-profilo .profile-action-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px!important;margin:0!important;grid-column:auto!important}
  .app-workspace.app-page-profilo .profile-action-card{padding:26px!important;display:flex!important;flex-direction:column!important;gap:0!important;background:#fff!important;min-width:0!important;margin:0!important}
  .app-workspace .profile-card-title{display:block!important;margin:0!important}.app-workspace .profile-card-title h2{font-size:19px!important;font-weight:600!important;margin:12px 0 8px!important}
  .app-workspace .workspace-form-help{font-size:12px!important;font-weight:400!important;line-height:1.65!important;margin:0 0 22px!important;color:var(--muted)!important}
  .app-workspace .profile-form{display:grid!important;gap:16px!important;margin:0!important}.app-workspace .profile-form+.profile-form{margin-top:12px!important}
  .app-workspace .profile-form label{display:grid!important;gap:7px!important}.app-workspace .profile-form b{font-size:12px!important;font-weight:500!important;color:var(--ink-soft)!important}
  .app-workspace.app-page-profilo .profile-form :is(input,button){width:100%!important;min-width:0!important;min-height:42px!important;border-radius:7px!important}.app-workspace.app-page-profilo .profile-form button{font-size:12px!important;margin-top:4px!important;padding:12px 16px!important}
  .app-workspace.app-page-profilo .profile-2fa-card{grid-column:auto!important;padding:26px!important;background:#fff!important;min-width:0!important;margin:0!important}
  .app-workspace .profile-2fa-head{margin-bottom:20px!important}.app-workspace .profile-2fa-head h2{font-size:20px!important;font-weight:600!important;margin:12px 0 0!important}.app-workspace .profile-2fa-state{font-size:11px!important;font-weight:600!important;border:1px solid #dce8e0!important;padding:8px 12px!important;border-radius:6px!important;color:#28745b!important;background:#edf5f1!important}
  .app-workspace .profile-2fa-card .mini-card{background:#f6faf7!important;border:1px solid #e0eae4!important;padding:18px!important;border-radius:8px!important;font-size:12px!important;line-height:1.65!important;font-weight:400!important;box-shadow:none!important}
  .app-workspace .profile-2fa-setup{grid-template-columns:220px minmax(0,1fr)!important;gap:28px!important}.app-workspace .profile-qr-box{border-radius:8px!important;background:#fff!important;border-color:var(--line)!important;min-width:0!important}.app-workspace .profile-qr-box svg{max-width:100%!important;height:auto!important}.app-workspace .profile-2fa-setup b{font-size:12px!important;font-weight:500!important}.app-workspace .profile-2fa-setup :is(p,small){font-size:12px!important;font-weight:400!important;line-height:1.65!important}
  @media(max-width:700px){.app-workspace.app-page-profilo .profile-action-grid{grid-template-columns:1fr!important}.app-workspace .profile-2fa-setup{grid-template-columns:1fr!important}}
  @media(max-width:620px){.app-workspace.app-page-profilo :is(.profile-summary-card,.profile-action-card,.profile-2fa-card){padding:20px!important}.app-workspace.app-page-profilo .profile-summary-card{grid-template-columns:44px minmax(0,1fr)!important;gap:14px!important}.app-workspace .profile-avatar.compact{width:44px!important;height:44px!important;font-size:16px!important}.app-workspace .profile-summary-main h2{font-size:20px!important}.app-workspace.app-page-profilo .profile-summary-meta{grid-template-columns:1fr!important;gap:12px!important}.app-workspace .profile-summary-meta>span{grid-template-columns:80px minmax(0,1fr)!important;align-items:baseline!important}.app-workspace .profile-2fa-head{flex-wrap:wrap!important;gap:16px!important}}
  
  @media(prefers-reduced-motion:reduce){.app-workspace *{scroll-behavior:auto!important;transition:none!important}}
  
  
  
  /* Public entry pages share the workspace palette; these rules stay scoped. */
  body.public-body.public-refresh{--bg:#f5f7f9;--ink:#172c35;--ink-soft:#354d58;--muted:#667985;--line:#e1e7ec;--brand:#087f6b;--brand-strong:#066554;background:#f5f7f9!important;color:var(--ink)!important;font-weight:400!important;line-height:1.6!important}
  body.public-body.public-refresh:before,body.public-body.public-refresh:after{display:none!important}
  .public-body.public-refresh .public-shell{width:100%!important;max-width:none!important;padding:0 32px 32px!important;margin:0!important;background:transparent!important;min-height:100dvh!important}
  .public-body.public-refresh .public-shell:before,.public-body.public-refresh .public-shell:after{display:none!important}
  .public-body.public-refresh .public-wrap{width:100%!important;max-width:1180px!important;margin:0 auto!important;padding:0!important;min-width:0!important}
  .public-body.public-refresh .public-header{position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;width:100%!important;max-width:1180px!important;min-height:88px!important;margin:0 auto!important;padding:20px 0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
  .public-body.public-refresh .brand-lockup{min-width:0!important;flex:0 0 auto!important;text-decoration:none!important}
  .public-body.public-refresh .brand-lockup img{display:none!important}
  .public-body.public-refresh .brand-word[hidden]{display:inline-flex!important;gap:0!important;font-size:28px!important;letter-spacing:-.04em!important;font-weight:680!important;line-height:1!important}
  .public-body.public-refresh .brand-main{color:#172c35!important}.public-body.public-refresh :is(.brand-dot,.brand-tax){color:#087f6b!important}
  .public-body.public-refresh .landing-nav,.public-body.public-refresh .public-links{display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;width:auto!important;flex-wrap:wrap!important;min-width:0!important}
  .public-body.public-refresh :is(.public-links,.landing-nav) a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:9px 13px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:var(--ink-soft)!important;font-size:13px!important;font-weight:500!important;line-height:1.3!important;white-space:nowrap!important;box-shadow:none!important;text-decoration:none!important}
  .public-body.public-refresh :is(.public-links,.landing-nav) a:hover{background:#eaf0f2!important;color:#087f6b!important}
  .public-body.public-refresh .public-links .public-start{background:#087f6b!important;color:#fff!important;padding-inline:18px!important}
  .public-body.public-refresh .public-links a[aria-current=page]{display:none!important}
  .public-body.public-refresh :is(.primary-action,.secondary-action){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;min-height:46px!important;padding:12px 20px!important;border:1px solid #087f6b!important;border-radius:7px!important;background:#087f6b!important;color:#fff!important;font-size:14px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0!important;text-decoration:none!important;box-shadow:none!important;transform:none!important}
  .public-body.public-refresh .secondary-action{background:#fff!important;color:var(--ink-soft)!important;border-color:#d3dfe5!important}
  .public-body.public-refresh .primary-action:hover{background:#066554!important;border-color:#066554!important}
  .public-body.public-refresh :is(a,button,input,summary):focus-visible{outline:3px solid #58bba7!important;outline-offset:3px!important}
  .public-body.public-refresh :is(.eyebrow,.public-eyebrow){display:block!important;margin:0 0 14px!important;font-size:11px!important;font-weight:600!important;line-height:1.5!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#087f6b!important}
  .public-body.public-refresh .status-badge{display:inline-flex!important;justify-self:start!important;width:auto!important;padding:6px 10px!important;border:1px solid #d5e8df!important;border-radius:5px!important;background:#edf6f1!important;color:#28745b!important;font-size:11px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:.01em!important;box-shadow:none!important}
  .public-body.public-refresh .status-badge.warn{background:#fff4de!important;border-color:#f0dfba!important;color:#946013!important}
  .public-body.public-refresh .public-footer{display:grid!important;grid-template-columns:1fr 2fr!important;gap:32px!important;align-items:start!important;width:100%!important;max-width:1180px!important;margin:48px auto 0!important;padding:28px 0 0!important;border-top:1px solid var(--line)!important;color:var(--muted)!important;opacity:1!important}
  .public-body.public-refresh .public-footer-brand{font-size:14px!important;font-weight:600!important;color:var(--ink-soft)!important}
  .public-body.public-refresh .public-footer-nav{grid-template-columns:minmax(0,1fr) minmax(100px,.5fr)!important;justify-items:stretch!important;gap:32px!important}
  .public-body.public-refresh .public-footer-group{justify-items:start!important;text-align:left!important}
  .public-body.public-refresh .public-footer-link-list{grid-template-columns:1fr!important;justify-content:start!important;justify-items:start!important}
  .public-body.public-refresh .public-footer-group>strong{font-size:12px!important;font-weight:600!important;color:var(--ink-soft)!important}
  .public-body.public-refresh .public-footer-link-list a{font-size:12px!important;font-weight:400!important;line-height:1.6!important;color:var(--muted)!important}
  .public-body.public-refresh .public-footer-link-list a:hover{color:var(--brand)!important}

  /* Landing: a clear introduction followed by the service and its deliverables. */
  .public-refresh.public-page-landing .landing-flow{display:block!important}
  .public-refresh.public-page-landing .ft-hero-commercial{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:52px!important;align-items:center!important;min-height:0!important;margin:0!important;padding:64px 0 68px!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .public-refresh.public-page-landing .ft-hero-copy{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
  .public-refresh.public-page-landing .ft-hero-copy h1{max-width:620px!important;margin:22px 0!important;color:var(--ink)!important;font-size:clamp(36px,4.2vw,57px)!important;font-weight:650!important;line-height:1.09!important;letter-spacing:-.045em!important;text-wrap:balance}
  .public-refresh.public-page-landing .ft-hero-copy h1 em{font-style:normal;color:#087f6b}
  .public-refresh.public-page-landing .ft-hero-lead{max-width:510px!important;margin:0!important;color:var(--muted)!important;font-size:16px!important;font-weight:400!important;line-height:1.8!important}
  .public-refresh.public-page-landing .landing-actions{display:flex!important;flex-wrap:wrap!important;gap:12px!important;margin:26px 0 0!important;width:auto!important}
  .public-refresh.public-page-landing .landing-actions :is(.primary-action,.secondary-action){min-width:0!important;min-height:46px!important;border-radius:7px!important;padding:12px 20px!important;font-size:14px!important}
  .public-refresh.public-page-landing .ft-hero-proof{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 18px!important;margin:26px 0 0!important;width:100%!important}
  .public-refresh.public-page-landing .ft-hero-proof span{display:flex!important;align-items:baseline!important;gap:8px!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--muted)!important;font-size:11px!important;font-weight:400!important;line-height:1.5!important;letter-spacing:0!important}
  .public-refresh.public-page-landing .ft-hero-proof b{display:inline-grid!important;place-items:center!important;flex:0 0 18px!important;width:18px!important;height:18px!important;border-radius:50%!important;background:#d7eade!important;font-size:12px!important;font-weight:500!important;color:#245748!important;margin:0!important}
  .public-refresh.public-page-landing .ft-hero-visual{display:grid!important;gap:24px!important;min-height:0!important;padding:28px!important;border:1px solid #d8e8e1!important;border-radius:16px!important;background:#eaf3ee!important;box-shadow:none!important;transform:none!important;overflow:hidden!important}
  .public-preview-heading{display:grid;gap:6px}.public-preview-heading>span{font-size:9px;font-weight:600;letter-spacing:.1em;color:#5b7d6e}.public-preview-heading>strong{font-size:17px;font-weight:600;color:#244f42}
  .public-refresh.public-page-landing .tax-preview-frame{display:block!important;width:100%!important;margin:0!important;transform:none!important}
  .public-refresh.public-page-landing .tax-preview-docs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:start!important;min-width:0!important;transform:none!important}
  .public-refresh.public-page-landing .tax-real-pdf-card{display:block!important;position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;padding:12px!important;margin:0!important;transform:none!important;rotate:none!important;border:1px solid #dae4df!important;border-radius:9px!important;background:#fff!important;box-shadow:0 4px 12px rgba(20,40,35,.035)!important}
  .public-refresh.public-page-landing .tax-real-pdf-title{display:flex!important;gap:0!important;margin:0 0 10px!important;padding:0!important;min-width:0!important}.public-refresh.public-page-landing .tax-real-pdf-title>span{display:none!important}
  .public-refresh.public-page-landing .tax-real-pdf-title strong{font-size:12px!important;font-weight:600!important;line-height:1.4!important;color:var(--ink)!important}.public-refresh.public-page-landing .tax-real-pdf-title small{display:block!important;font-size:9px!important;font-weight:400!important;line-height:1.5!important;color:var(--muted)!important}
  .public-refresh.public-page-landing .tax-real-pdf-page{display:block!important;height:auto!important;aspect-ratio:0.73!important;border-radius:3px!important;margin:0!important;padding:0!important;box-shadow:none!important;overflow:hidden!important}
  .public-refresh.public-page-landing .tax-real-pdf-page img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:top!important;transform:none!important}
  .public-preview-note{display:flex;gap:8px;align-items:center;margin:0;font-size:11px;color:#46735e;font-weight:400}.public-preview-note>span{display:grid;place-items:center;border-radius:50%;width:18px;height:18px;background:#d7eade;font-size:11px}
  .public-refresh.public-page-landing .ft-section{margin:0!important;padding:56px 0!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;scroll-margin-top:24px}
  .public-refresh.public-page-landing .ft-section-head{max-width:750px!important;margin:0 0 28px!important}
  .public-refresh.public-page-landing :is(.ft-section-head,.ft-split,.ft-consultant,.ft-pricing,.ft-final-cta) h2{max-width:760px!important;margin:0 0 14px!important;color:var(--ink)!important;font-size:clamp(26px,3vw,36px)!important;font-weight:630!important;line-height:1.18!important;letter-spacing:-.03em!important}
  .public-refresh.public-page-landing :is(.ft-section-head,.ft-split,.ft-consultant,.ft-pricing,.ft-final-cta) p{margin:0!important;color:var(--muted)!important;font-size:14px!important;font-weight:400!important;line-height:1.8!important}
  .public-refresh.public-page-landing .ft-timeline{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
  .public-refresh.public-page-landing .ft-step{display:block!important;min-height:0!important;padding:24px!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:10px!important;box-shadow:none!important}
  .public-refresh.public-page-landing .ft-step>span{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;margin:0 0 20px!important;border:1px solid #dce9e3!important;border-radius:7px!important;background:#f0f7f3!important;color:#39715d!important;font-size:11px!important;font-weight:500!important;line-height:1!important}
  .public-refresh.public-page-landing .ft-step h3{margin:0 0 10px!important;font-size:16px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:-.01em!important;color:var(--ink)!important}
  .public-refresh.public-page-landing .ft-step p{margin:0!important;color:var(--muted)!important;font-size:12px!important;font-weight:400!important;line-height:1.8!important}
  .public-refresh.public-page-landing :is(.ft-split,.ft-pricing,.ft-consultant){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:56px!important;align-items:center!important}
  .public-refresh.public-page-landing .ft-compare-grid{display:grid!important;gap:14px!important}
  .public-refresh.public-page-landing .ft-compare{padding:22px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
  .public-refresh.public-page-landing .ft-compare.active{background:#edf6f1!important;border-color:#d5e8df!important}.public-refresh.public-page-landing .ft-compare>span{font-size:10px!important;font-weight:600!important;letter-spacing:.08em!important}
  .public-refresh.public-page-landing .ft-compare li{font-size:12px!important;line-height:1.7!important;font-weight:400!important;color:var(--ink-soft)!important}
  .public-refresh.public-page-landing .ft-folder-commercial{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;border:1px solid var(--line)!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important;box-shadow:none!important}
  .public-refresh.public-page-landing .ft-folder-title{grid-column:1/-1!important;display:block!important;padding:20px 24px!important;font-size:15px!important;font-weight:550!important;line-height:1.5!important;letter-spacing:0!important;background:#17353a!important;color:#fff!important}
  .public-refresh.public-page-landing .ft-folder-group{padding:24px!important;border:0!important;border-right:1px solid var(--line)!important;min-width:0!important}.public-refresh.public-page-landing .ft-folder-group:last-child{border-right:0!important}.public-refresh.public-page-landing .ft-folder-group strong{font-size:14px!important;font-weight:600!important}.public-refresh.public-page-landing .ft-folder-group ul{grid-template-columns:1fr!important;gap:8px!important}.public-refresh.public-page-landing .ft-folder-group li{font-size:12px!important;font-weight:400!important;color:var(--muted)!important;line-height:1.6!important}
  .public-refresh.public-page-landing .ft-consultant-card{padding:30px!important;background:#17353a!important;border:0!important;border-radius:12px!important;box-shadow:none!important}.public-refresh.public-page-landing .ft-consultant-card .status-badge{background:#21463f!important;border-color:#36594c!important;color:#afe4ce!important;margin-bottom:22px!important}.public-refresh.public-page-landing .ft-consultant-card h2{color:#fff!important}.public-refresh.public-page-landing .ft-consultant-card p{color:#b8ced0!important}
  .public-refresh.public-page-landing .ft-checklist{display:grid!important;gap:0!important}.public-refresh.public-page-landing .ft-checklist>div{display:flex!important;gap:18px!important;min-height:76px!important;padding:16px 0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:none!important;box-shadow:none!important}.public-refresh.public-page-landing .ft-checklist b{width:32px!important;height:32px!important;flex:none!important;background:#e7f0eb!important;color:#38705b!important;font-size:11px!important;font-weight:500!important;border-radius:7px!important}.public-refresh.public-page-landing .ft-checklist span{font-size:14px!important;font-weight:500!important;color:var(--ink-soft)!important;line-height:1.5!important}
  .public-refresh.public-page-landing .ft-price-grid{display:grid!important;grid-template-columns:1fr!important;gap:0!important;border:1px solid var(--line)!important;border-radius:12px!important;background:#fff!important;overflow:hidden!important}
  .public-refresh.public-page-landing .ft-price-tier{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 18px!important;align-items:center!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:transparent!important;padding:18px 24px!important;box-shadow:none!important}.public-refresh.public-page-landing .ft-price-tier:last-child{border-bottom:0!important}
  .public-refresh.public-page-landing .ft-price-tier>span{grid-column:1!important;font-size:10px!important;font-weight:500!important;color:var(--muted)!important;letter-spacing:.02em!important}.public-refresh.public-page-landing .ft-price-tier strong{grid-column:2!important;grid-row:1/3!important;font-size:26px!important;font-weight:600!important;color:#245748!important;line-height:1!important;margin:0!important}.public-refresh.public-page-landing .ft-price-tier p{grid-column:1!important;font-size:12px!important;font-weight:400!important;line-height:1.5!important;color:var(--ink-soft)!important}
  .public-refresh.public-page-landing .ft-faq-list{display:grid!important;gap:0!important;border-top:1px solid var(--line)!important}.public-refresh.public-page-landing .ft-faq-list details{padding:20px 0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:none!important;box-shadow:none!important}.public-refresh.public-page-landing .ft-faq-list summary{font-size:16px!important;font-weight:550!important;line-height:1.5!important;color:var(--ink)!important;letter-spacing:0!important}.public-refresh.public-page-landing .ft-faq-list p{max-width:880px!important;margin:12px 0 0!important;font-size:14px!important;font-weight:400!important;color:var(--muted)!important;line-height:1.8!important}
  .public-refresh.public-page-landing :is(.ft-seo-grid,.ft-seo-link-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
  .public-refresh.public-page-landing .ft-seo-grid article{padding:22px!important;min-height:0!important;border:1px solid var(--line)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}.public-refresh.public-page-landing .ft-seo-grid h3{font-size:16px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0!important}.public-refresh.public-page-landing .ft-seo-grid p{font-size:12px!important;font-weight:400!important;color:var(--muted)!important;line-height:1.8!important}
  .public-refresh.public-page-landing .ft-seo-link-grid{margin-top:24px!important}.public-refresh.public-page-landing .ft-seo-link-grid a{padding:16px 0!important;min-height:0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:none!important;box-shadow:none!important}.public-refresh.public-page-landing .ft-seo-link-grid strong{font-size:14px!important;font-weight:550!important;line-height:1.5!important}.public-refresh.public-page-landing .ft-seo-link-grid span{font-size:12px!important;font-weight:400!important;color:var(--muted)!important;line-height:1.7!important}
  .public-refresh.public-page-landing .ft-final-cta-commercial{display:grid!important;justify-items:start!important;text-align:left!important;padding:40px!important;border:1px solid #d5e8df!important;border-radius:14px!important;background:#eaf3ee!important;margin:0!important}.public-refresh.public-page-landing .ft-final-cta-commercial h2{max-width:780px!important;margin-top:20px!important}.public-refresh.public-page-landing .ft-final-cta-commercial p{max-width:780px!important;color:#527367!important;opacity:1!important}

  /* Account forms: short guidance, explicit grid placement, full-size controls. */
  .public-body.public-refresh .auth-public-wrap{max-width:1080px!important;padding:48px 0 0!important}
  .public-auth-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:56px;align-items:start}
  .public-auth-aside{padding:38px 0;color:var(--ink)}
  .public-auth-aside h2{margin:0 0 20px;font-size:36px;font-weight:630;line-height:1.2;letter-spacing:-.03em}
  .public-auth-aside>p{margin:0;max-width:370px;font-size:14px;font-weight:400;line-height:1.8;color:var(--muted)}
  .public-auth-benefits{display:grid;gap:24px;list-style:none;margin:36px 0;padding:0}
  .public-auth-benefits li{display:flex;align-items:start;gap:15px;min-width:0}
  .public-auth-benefits li>span{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #d7e8df;border-radius:9px;color:#38705b;background:#edf6f1}.public-auth-benefits svg{width:19px;height:19px}
  .public-auth-benefits strong{display:block;font-size:13px;font-weight:600;line-height:1.6}.public-auth-benefits p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.7}
  .public-auth-back{display:inline-flex;align-items:center;gap:12px;color:#087f6b;font-size:12px;font-weight:550;text-decoration:none}.public-auth-back svg{width:15px;height:15px}
  .public-body.public-refresh .ft-auth-card{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:36px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 3px 10px rgba(20,40,50,.025)!important;overflow:visible!important}
  .public-body.public-refresh .ft-auth-card:before{display:none!important}
  .public-body.public-refresh .auth-head{display:grid!important;gap:0!important;margin:0 0 28px!important}
  .public-body.public-refresh .auth-head .status-badge{margin-bottom:18px!important}
  .public-body.public-refresh .auth-head h1{margin:0 0 12px!important;font-size:30px!important;font-weight:630!important;line-height:1.2!important;letter-spacing:-.035em!important;color:var(--ink)!important}
  .public-body.public-refresh .auth-head p{margin:0!important;font-size:13px!important;font-weight:400!important;line-height:1.75!important;color:var(--muted)!important}
  .public-body.public-refresh .ft-auth-form{display:grid!important;grid-template-columns:1fr!important;gap:20px!important;margin:0!important}
  .public-body.public-refresh .ft-register-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 16px!important;align-items:start!important}
  .public-body.public-refresh .ft-auth-form>label{display:grid!important;grid-column:auto!important;gap:8px!important;min-width:0!important;margin:0!important}
  .public-body.public-refresh .ft-auth-form label b{font-size:12px!important;font-weight:550!important;letter-spacing:0!important;text-transform:none!important;color:var(--ink-soft)!important;line-height:1.5!important}
  .public-body.public-refresh .ft-auth-form input:not([type=hidden]):not([type=checkbox]){display:block!important;width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;border:1px solid #d3dfe5!important;border-radius:7px!important;background:#fff!important;color:var(--ink)!important;font-size:16px!important;font-weight:400!important;padding:10px 12px!important;box-shadow:none!important}
  .public-body.public-refresh .ft-auth-form input::placeholder{color:#8a99a1!important;font-size:13px!important;opacity:1!important}
  .public-body.public-refresh .ft-auth-form small{font-size:10px!important;font-weight:400!important;line-height:1.6!important;color:var(--muted)!important}
  .public-body.public-refresh .ft-register-form>label.auth-field-full,.public-body.public-refresh .ft-register-form>label.auth-consent,.public-body.public-refresh .ft-register-form>button{grid-column:1/-1!important}
  .public-body.public-refresh .ft-auth-form>label.auth-consent{display:flex!important;align-items:flex-start!important;gap:10px!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0!important;padding:18px 0 0!important;background:none!important;font-size:12px!important;font-weight:400!important;line-height:1.75!important}
  .public-body.public-refresh .auth-consent input{width:18px!important;height:18px!important;flex:0 0 18px!important;min-height:0!important;padding:0!important;margin:2px 0 0!important;accent-color:#087f6b}
  .public-body.public-refresh .auth-consent a{font-weight:500!important;color:#087f6b!important}
  .public-body.public-refresh .ft-auth-form .primary-action.large{width:100%!important;min-height:46px!important;margin:0!important;border-radius:7px!important;font-size:14px!important}
  .public-body.public-refresh .auth-switch{margin:24px 0 0!important;padding-top:20px!important;border-top:1px solid var(--line)!important;font-size:12px!important;font-weight:400!important;line-height:1.6!important;color:var(--muted)!important;text-align:center!important}.public-body.public-refresh .auth-switch a{font-weight:600!important;color:#087f6b!important}
  .public-body.public-refresh .alert{border-radius:9px!important;padding:16px 20px!important;margin:0 0 24px!important;font-size:13px!important;line-height:1.6!important;box-shadow:none!important}.public-body.public-refresh .alert span{font-weight:400!important}
  @media(max-width:1050px){
    .public-body.public-refresh .public-header{gap:14px!important}.public-body.public-refresh .landing-nav a{padding-inline:9px!important;font-size:12px!important}
    .public-refresh.public-page-landing .ft-hero-commercial{gap:32px!important}.public-refresh.public-page-landing .ft-hero-visual{padding:20px!important}.public-refresh.public-page-landing .ft-timeline{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    .public-refresh.public-page-landing :is(.ft-split,.ft-pricing,.ft-consultant){gap:32px!important}
    .public-auth-layout{gap:30px;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}.public-auth-aside h2{font-size:30px}.public-body.public-refresh .ft-auth-card{padding:28px!important}
  }
  @media(max-width:800px){
    .public-body.public-refresh .public-shell{padding:0 22px 28px!important}.public-body.public-refresh .public-header{display:grid!important;grid-template-columns:1fr auto!important;gap:10px!important;padding:18px 0!important;min-height:76px!important}
    .public-body.public-refresh .landing-nav{grid-column:1/-1!important;grid-row:2!important;justify-content:space-between!important;gap:2px!important;width:100%!important;order:3!important}.public-body.public-refresh .public-links{justify-self:end!important;grid-column:2!important;grid-row:1!important}
    .public-refresh.public-page-landing .ft-hero-commercial{grid-template-columns:1fr!important;gap:32px!important;padding:40px 0!important}.public-refresh.public-page-landing .ft-hero-copy h1{font-size:45px!important;max-width:620px!important}.public-refresh.public-page-landing .ft-hero-lead{max-width:650px!important}.public-refresh.public-page-landing .ft-hero-visual{width:100%!important;max-width:580px!important;margin:0 auto!important;padding:26px!important}.public-refresh.public-page-landing .ft-hero-proof{max-width:500px!important}
    .public-refresh.public-page-landing :is(.ft-split,.ft-pricing,.ft-consultant){grid-template-columns:1fr!important;gap:26px!important}.public-refresh.public-page-landing .ft-section{padding:40px 0!important}
    .public-auth-layout{grid-template-columns:1fr;gap:0;max-width:580px;margin:0 auto}.public-auth-aside{display:none}.public-body.public-refresh .auth-public-wrap{padding-top:32px!important}
    .public-body.public-refresh .public-footer{grid-template-columns:1fr!important;gap:22px!important}
  }
  @media(max-width:540px){
    .public-body.public-refresh .public-shell{padding:0 16px 24px!important}.public-body.public-refresh .public-header{padding:16px 0!important}.public-body.public-refresh .brand-word[hidden]{font-size:24px!important}.public-body.public-refresh .public-links{gap:4px!important}.public-body.public-refresh .public-links a{font-size:12px!important;padding-inline:10px!important}.public-body.public-refresh .public-links .public-start{padding-inline:13px!important}
    .public-body.public-refresh .landing-nav a{font-size:11px!important;padding:8px 5px!important;min-height:36px!important}
    .public-refresh.public-page-landing .ft-hero-commercial{padding:32px 0!important;gap:28px!important}.public-refresh.public-page-landing .ft-hero-copy h1{font-size:35px!important;line-height:1.13!important;margin:20px 0!important}.public-refresh.public-page-landing .ft-hero-lead{font-size:14px!important;line-height:1.8!important}
    .public-refresh.public-page-landing .landing-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:10px!important;margin-top:22px!important}.public-refresh.public-page-landing .landing-actions a{width:100%!important}
    .public-refresh.public-page-landing .ft-hero-proof{gap:12px!important;margin-top:22px!important}.public-refresh.public-page-landing .ft-hero-proof span{font-size:10px!important;line-height:1.5!important}
    .public-refresh.public-page-landing .ft-hero-visual{padding:18px!important;gap:18px!important;border-radius:12px!important}.public-preview-heading>strong{font-size:15px}.public-preview-heading>span{font-size:8px}.public-preview-note{font-size:10px}.public-refresh.public-page-landing .tax-preview-docs{gap:10px!important}.public-refresh.public-page-landing .tax-real-pdf-card{padding:8px!important;border-radius:7px!important}.public-refresh.public-page-landing .tax-real-pdf-title strong{font-size:10px!important}.public-refresh.public-page-landing .tax-real-pdf-title small{font-size:8px!important}
    .public-refresh.public-page-landing .ft-section{padding:34px 0!important}.public-refresh.public-page-landing :is(.ft-section-head,.ft-split,.ft-consultant,.ft-pricing,.ft-final-cta) h2{font-size:27px!important;line-height:1.2!important}.public-refresh.public-page-landing :is(.ft-section-head,.ft-split,.ft-consultant,.ft-pricing,.ft-final-cta) p{font-size:13px!important}
    .public-refresh.public-page-landing .ft-timeline{grid-template-columns:1fr!important;gap:12px!important}.public-refresh.public-page-landing .ft-step{padding:22px!important}.public-refresh.public-page-landing .ft-step>span{margin-bottom:14px!important}
    .public-refresh.public-page-landing .ft-folder-commercial{grid-template-columns:1fr!important}.public-refresh.public-page-landing .ft-folder-title{padding:18px 20px!important;font-size:13px!important}.public-refresh.public-page-landing .ft-folder-group{border-right:0!important;border-bottom:1px solid var(--line)!important;padding:20px!important}.public-refresh.public-page-landing .ft-folder-group:last-child{border-bottom:0!important}
    .public-refresh.public-page-landing .ft-consultant-card{padding:24px!important}.public-refresh.public-page-landing .ft-checklist span{font-size:13px!important}.public-refresh.public-page-landing .ft-price-tier{padding:17px 20px!important}.public-refresh.public-page-landing .ft-price-tier strong{font-size:25px!important}.public-refresh.public-page-landing .ft-price-tier p{font-size:11px!important}.public-refresh.public-page-landing .ft-faq-list summary{font-size:14px!important}.public-refresh.public-page-landing .ft-faq-list p{font-size:13px!important}
    .public-refresh.public-page-landing :is(.ft-seo-grid,.ft-seo-link-grid){grid-template-columns:1fr!important;gap:12px!important}.public-refresh.public-page-landing .ft-final-cta-commercial{padding:26px 22px!important;border-radius:12px!important}
    .public-body.public-refresh .auth-public-wrap{padding-top:24px!important}.public-body.public-refresh .ft-auth-card{padding:24px 20px!important;border-radius:12px!important}.public-body.public-refresh .auth-head h1{font-size:27px!important}.public-body.public-refresh .auth-head{margin-bottom:24px!important}.public-body.public-refresh .ft-register-form{grid-template-columns:1fr!important;gap:18px!important}.public-body.public-refresh .ft-auth-form small{font-size:11px!important}
    .public-body.public-refresh .public-footer{margin-top:34px!important;padding-top:24px!important}.public-body.public-refresh .public-footer-nav{grid-template-columns:1fr!important;gap:22px!important}.public-body.public-refresh .public-footer-link-list a{font-size:11px!important}
  }
  @media(prefers-reduced-motion:reduce){.public-body.public-refresh *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
  /* The second login step uses the same form style in a centered security card. */
  .public-security-layout{width:100%;max-width:520px;margin:0 auto;min-width:0}
  .public-security-layout.public-security-setup{max-width:760px}
  .public-body.public-refresh .security-account-summary{display:flex;flex-wrap:wrap;gap:12px 32px;margin:0 0 24px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:#f8fafb}
  .security-account-summary>div{min-width:0}.security-account-summary dt{font-size:11px;font-weight:400;color:var(--muted)}.security-account-summary dd{margin:3px 0 0;font-size:13px;font-weight:550;color:var(--ink);overflow-wrap:anywhere}
  .public-body.public-refresh .ft-auth-security .ft-auth-form input.security-code-input{height:54px!important;font-size:24px!important;font-weight:550!important;letter-spacing:.3em;text-align:center;font-variant-numeric:tabular-nums}
  .public-body.public-refresh .ft-auth-security .security-code-input::placeholder{font-size:24px!important;color:#a5b1b8!important}
  .public-body.public-refresh .ft-auth-security .ft-auth-form small{font-size:12px!important}
  .public-body.public-refresh .ft-auth-security .ghost-action{min-height:42px;padding:8px 16px;border-radius:7px;color:var(--muted);font-size:12px;font-weight:500}
  .public-body.public-refresh .ft-auth-security .ghost-action:hover{background:#edf3f1;color:var(--brand)}
  .security-enrollment{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--line)}
  .public-body.public-refresh .security-enrollment h2{font-size:14px!important;font-weight:600!important;line-height:1.5!important;margin:0 0 16px!important;color:var(--ink)!important;letter-spacing:0!important}
  .public-body.public-refresh .ft-auth-security .security-setup-grid{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;align-items:start;margin:0}
  .public-body.public-refresh .ft-auth-security .qr-real{min-width:0;min-height:0;margin:0;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff;box-shadow:none;gap:8px}
  .public-body.public-refresh .ft-auth-security .qr-real svg{display:block;width:100%;max-width:192px;height:auto;border-radius:0;aspect-ratio:1}
  .public-body.public-refresh .ft-auth-security .qr-real small{font-size:11px;font-weight:400;line-height:1.6;margin:0}
  .security-setup-instructions{display:grid;gap:16px;min-width:0}
  .public-body.public-refresh .security-setup-instructions p{margin:0;font-size:12px;font-weight:400;line-height:1.75;color:var(--muted)}
  .public-body.public-refresh .security-setup-instructions .secondary-action{font-size:12px!important;padding:10px 12px!important;min-width:0;gap:8px!important}
  .security-manual-key{min-width:0;border-top:1px solid var(--line);padding-top:14px}
  .security-manual-key summary{font-size:12px;font-weight:550;color:var(--brand);cursor:pointer;line-height:1.6}
  .public-body.public-refresh .security-manual-key p{margin:12px 0}
  .security-manual-key label{display:grid;gap:8px;min-width:0}.security-manual-key label b{font-size:11px;font-weight:550;color:var(--ink-soft)}
  .public-body.public-refresh .security-manual-key input{display:block;width:100%;min-width:0;max-width:100%;height:44px;padding:10px;border:1px solid #d3dfe5;border-radius:7px;background:#f8fafb;color:var(--ink);font:14px ui-monospace,monospace;box-shadow:none}
  @media(max-width:620px){.public-body.public-refresh .ft-auth-security .security-setup-grid{grid-template-columns:minmax(0,1fr);gap:18px}.public-body.public-refresh .ft-auth-security .qr-real{width:216px;max-width:100%;justify-self:center}.public-body.public-refresh .security-account-summary{gap:10px 24px;padding:12px;margin-bottom:20px}.security-enrollment{margin-bottom:20px;padding-bottom:20px}.public-body.public-refresh .security-manual-key input{font-size:16px}}
  
  /* Guides and legal documents use the same public shell and reading rhythm. */
  .public-refresh :is(.seo-topic-page,.legal-document-shell){display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
  .public-refresh :is(.seo-topic-hero,.legal-document-hero){display:block!important;margin:0!important;padding:44px 0 40px!important;background:none!important;border:0!important;box-shadow:none!important}
  .public-refresh :is(.seo-topic-hero,.legal-document-hero) .legal-back{display:flex!important;width:max-content!important;max-width:100%!important;margin:0 0 30px!important;color:var(--muted)!important;font-size:12px!important;font-weight:500!important;line-height:1.6!important;text-decoration:none!important}
  .public-refresh .legal-back:hover{color:var(--brand)!important}
  .public-refresh :is(.seo-topic-hero,.legal-document-hero) h1{max-width:940px!important;margin:0 0 20px!important;font-size:clamp(34px,4vw,48px)!important;font-weight:650!important;line-height:1.15!important;letter-spacing:-.035em!important;color:var(--ink)!important;text-wrap:balance}
  .public-refresh :is(.seo-topic-hero,.legal-document-hero)>p{max-width:820px!important;margin:0!important;font-size:16px!important;font-weight:400!important;line-height:1.85!important;color:var(--muted)!important}
  .public-refresh .public-footer-link-list a[aria-current=page]{color:var(--brand)!important;font-weight:600!important}

  /* Guides: introduction, anchored sections, FAQs and related reading. */
  .public-refresh .seo-topic-page :is(.ft-section,.ft-section-tight,.ft-step):before,
  .public-refresh .seo-topic-page :is(.ft-section,.ft-section-tight,.ft-step):after{content:none!important;display:none!important}
  .public-refresh .seo-topic-badges{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:24px 0 0!important}
  .public-refresh .seo-topic-badges span{min-height:0!important;padding:6px 10px!important;border:1px solid #d5e8df!important;border-radius:5px!important;background:#edf6f1!important;color:#28745b!important;font-size:11px!important;font-weight:500!important;line-height:1.6!important}
  .public-refresh .seo-topic-page .landing-actions{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:12px!important;width:auto!important;max-width:none!important;margin:26px 0 0!important}
  .public-refresh .seo-topic-page .landing-actions a{width:auto!important;min-width:0!important}
  .public-refresh .public-section-nav{display:flex;flex-wrap:wrap;gap:6px 24px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
  .public-refresh .public-section-nav a{display:inline-flex;align-items:center;min-height:38px;color:var(--ink-soft);font-size:13px;font-weight:500;text-decoration:none}
  .public-refresh .public-section-nav a:hover{color:var(--brand)}
  .public-refresh .seo-topic-page .ft-section{display:block!important;margin:0!important;padding:44px 0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:none!important;box-shadow:none!important;scroll-margin-top:24px!important}
  .public-refresh .seo-topic-page .ft-section-head{max-width:820px!important;margin:0 0 26px!important}
  .public-refresh .seo-topic-page h2{max-width:820px!important;margin:0 0 14px!important;font-size:32px!important;font-weight:600!important;line-height:1.25!important;letter-spacing:-.025em!important;color:var(--ink)!important}
  .public-refresh .seo-topic-page :is(h3,p){margin:0!important;letter-spacing:0!important}
  .public-refresh .seo-topic-page h3{font-size:17px!important;font-weight:600!important;line-height:1.45!important;color:var(--ink)!important}
  .public-refresh .seo-topic-page .ft-section p{font-size:14px!important;font-weight:400!important;line-height:1.85!important;color:var(--muted)!important}
  .public-refresh .seo-topic-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
  .public-refresh .seo-topic-grid article{min-width:0!important;min-height:0!important;padding:26px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
  .public-refresh .seo-topic-grid h3{margin-bottom:12px!important}
  .public-refresh .seo-topic-steps{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:24px!important;margin:0!important}
  .public-refresh .seo-topic-steps .ft-step{min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
  .public-refresh .seo-topic-steps .ft-step>span{display:inline-grid!important;place-items:center!important;width:34px!important;height:34px!important;margin:0 0 18px!important;border:1px solid #d7e8df!important;border-radius:8px!important;background:#edf6f1!important;color:#38705b!important;font-size:12px!important;font-weight:500!important;line-height:1!important}
  .public-refresh .seo-topic-steps h3{margin-bottom:10px!important}
  .public-refresh .seo-topic-page .seo-topic-deliverables{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:48px!important;align-items:start!important}
  .public-refresh .seo-topic-deliverables ul{display:grid!important;grid-template-columns:1fr!important;gap:0!important;margin:0!important;padding:0 24px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:#fff!important}
  .public-refresh .seo-topic-deliverables li{display:flex!important;align-items:baseline!important;gap:12px!important;min-width:0!important;margin:0!important;padding:15px 0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:none!important;font-size:14px!important;font-weight:400!important;line-height:1.6!important;color:var(--ink-soft)!important}
  .public-refresh .seo-topic-deliverables li:last-child{border-bottom:0!important}
  .public-refresh .seo-topic-deliverables li:before{content:'✓'!important;display:inline-grid!important;place-items:center!important;flex:0 0 18px!important;width:18px!important;height:18px!important;margin:0!important;border-radius:50%!important;background:#d7eade!important;color:#245748!important;font-size:11px!important}
  .public-refresh .seo-topic-page .ft-faq-list{display:grid!important;gap:0!important;border-top:1px solid var(--line)!important}
  .public-refresh .seo-topic-page .ft-faq-list details{padding:20px 0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:none!important;box-shadow:none!important}
  .public-refresh .seo-topic-page .ft-faq-list summary{font-size:16px!important;font-weight:550!important;line-height:1.6!important;letter-spacing:0!important;color:var(--ink)!important;cursor:pointer}
  .public-refresh .seo-topic-page .ft-faq-list p{margin:12px 0 0!important;max-width:880px!important}
  .public-refresh .seo-topic-page .ft-final-cta{display:grid!important;justify-items:start!important;text-align:left!important;padding:36px!important;margin:40px 0 0!important;border:1px solid #d5e8df!important;border-radius:14px!important;background:#eaf3ee!important;box-shadow:none!important}
  .public-refresh .seo-topic-page .ft-final-cta p{max-width:820px!important;font-size:14px!important;font-weight:400!important;line-height:1.85!important;color:#527367!important;opacity:1!important}
  .public-refresh .seo-topic-page .ft-final-cta .primary-action{background:#087f6b!important;border-color:#087f6b!important;color:#fff!important;box-shadow:none!important;transform:none!important}
  .public-refresh .seo-topic-page .ft-final-cta .primary-action:hover{background:#066554!important;border-color:#066554!important;transform:none!important}
  .public-refresh .seo-topic-page .ft-final-cta .secondary-action{background:#fff!important;border-color:#d3dfe5!important;color:var(--ink-soft)!important;box-shadow:none!important;transform:none!important}
  .public-refresh .public-related-guides{margin:40px 0 0;padding:28px 0 0;border-top:1px solid var(--line)}
  .public-refresh .public-related-guides>strong{display:block;margin-bottom:14px;font-size:16px;font-weight:600;color:var(--ink)}
  .public-refresh .public-related-guides>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
  .public-refresh .public-related-guides a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.7;font-weight:400;color:var(--ink-soft);text-decoration:none}
  .public-refresh .public-related-guides a:hover{color:var(--brand)}
  .public-refresh .public-related-guides a span{color:var(--brand);flex:none}

  /* Legal documents: compact metadata, a navigable index and readable tables. */
  .public-refresh .legal-document-meta{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;margin:28px 0 0!important;max-width:1000px!important}
  .public-refresh .legal-document-meta div{padding:0!important;border:0!important;border-radius:0!important;background:none!important}
  .public-refresh .legal-document-meta dt{margin:0 0 6px!important;font-size:11px!important;font-weight:500!important;line-height:1.5!important;letter-spacing:0!important;text-transform:none!important;color:var(--muted)!important}
  .public-refresh .legal-document-meta dd{font-size:13px!important;font-weight:500!important;line-height:1.7!important;color:var(--ink-soft)!important}
  .public-refresh :is(.legal-document-notice,.legal-note){padding:18px 20px!important;border:1px solid #eadfca!important;border-radius:9px!important;background:#faf6ed!important;box-shadow:none!important}
  .public-refresh .legal-document-notice{max-width:940px!important;margin:24px 0 0!important}
  .public-refresh :is(.legal-document-notice,.legal-note) strong{margin:0 0 6px!important;font-size:12px!important;font-weight:600!important;line-height:1.5!important;text-transform:none!important;letter-spacing:0!important;color:#735b30!important}
  .public-refresh :is(.legal-document-notice,.legal-note) p{margin:0!important;font-size:13px!important;font-weight:400!important;line-height:1.8!important;color:#735b30!important}
  .public-refresh .legal-document-grid{grid-template-columns:250px minmax(0,1fr)!important;gap:32px!important}
  .public-refresh .legal-toc{display:block!important;position:sticky!important;top:24px!important;max-height:calc(100dvh - 48px)!important;overflow:auto!important;padding:20px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
  .public-refresh .legal-toc-disclosure{margin:0!important;padding:0!important;border:0!important;background:none!important}
  .public-refresh .legal-toc summary{font-size:13px!important;line-height:1.6!important;color:var(--ink)!important;cursor:pointer}
  .public-refresh .legal-toc summary strong{font-size:13px!important;font-weight:600!important;color:var(--ink)!important}
  .public-refresh .legal-toc summary>span{display:block;margin:4px 0 0;font-size:11px;color:var(--muted);font-weight:400}
  .public-refresh .legal-toc ol{grid-template-columns:1fr!important;gap:2px!important;margin:16px 0 0!important}
  .public-refresh .legal-toc a{padding:7px 0!important;font-size:12px!important;font-weight:400!important;line-height:1.65!important;color:var(--muted)!important}
  .public-refresh .legal-toc a:hover{color:var(--brand)!important}
  .public-refresh .legal-document-card{padding:34px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
  .public-refresh .legal-section{padding:30px 0!important;border-color:var(--line)!important;scroll-margin-top:24px!important}
  .public-refresh .legal-section:first-child{padding-top:0!important}
  .public-refresh .legal-section:last-child{padding-bottom:0!important}
  .public-refresh .legal-section h2{grid-template-columns:30px minmax(0,1fr)!important;gap:12px!important;margin:0 0 18px!important;font-size:23px!important;font-weight:600!important;line-height:1.35!important;letter-spacing:-.02em!important;color:var(--ink)!important}
  .public-refresh .legal-section h2 span{width:28px!important;height:28px!important;border:1px solid #d7e8df!important;border-radius:6px!important;background:#edf6f1!important;color:#38705b!important;font-size:11px!important;font-weight:500!important;line-height:1!important}
  .public-refresh .legal-section p{margin:0 0 14px!important;font-size:14px!important;font-weight:400!important;line-height:1.85!important;color:var(--ink-soft)!important;overflow-wrap:anywhere}
  .public-refresh .legal-list{gap:10px!important;margin:16px 0!important}
  .public-refresh .legal-list li{padding-left:18px!important;font-size:14px!important;font-weight:400!important;line-height:1.85!important;color:var(--ink-soft)!important;overflow-wrap:anywhere}
  .public-refresh .legal-list li:before{width:5px!important;height:5px!important;top:.8em!important;background:#5b8a77!important}
  .public-refresh .legal-note{margin-top:20px!important}
  .public-refresh .legal-section .legal-note p{margin:0!important;color:#735b30!important;font-size:13px!important}
  .public-refresh .legal-table-wrap{margin:20px 0!important;border:1px solid var(--line)!important;border-radius:9px!important;overflow:hidden!important}
  .public-refresh .legal-table{width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important}
  .public-refresh .legal-table :is(th,td){padding:14px!important;border-color:var(--line)!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:13px!important;font-weight:400!important;line-height:1.75!important;color:var(--ink-soft)!important}
  .public-refresh .legal-table th{background:#f1f5f6!important;font-size:11px!important;font-weight:600!important;line-height:1.6!important;letter-spacing:0!important;text-transform:none!important;color:var(--ink)!important}
  .public-refresh .legal-table td:first-child{font-weight:500!important;color:var(--ink)!important}
  .public-refresh .legal-actions-panel{margin-top:32px!important;padding:28px!important;border:1px solid #d5e8df!important;border-radius:12px!important;background:#eaf3ee!important;box-shadow:none!important}
  .public-refresh .legal-actions-panel h2{font-size:26px!important;font-weight:600!important;line-height:1.3!important;letter-spacing:-.02em!important;color:var(--ink)!important}
  .public-refresh .legal-actions-panel p{font-size:14px!important;font-weight:400!important;line-height:1.85!important;color:#527367!important}

  @media(max-width:1050px){
    .public-refresh .seo-topic-grid{gap:14px!important}
    .public-refresh .seo-topic-grid article{padding:22px!important}
    .public-refresh .seo-topic-steps{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important}
    .public-refresh .legal-document-grid{grid-template-columns:220px minmax(0,1fr)!important;gap:24px!important}
    .public-refresh .legal-document-card{padding:26px!important}
  }
  @media(max-width:900px){
    .public-refresh .legal-document-grid{grid-template-columns:1fr!important;gap:20px!important}
    .public-refresh .legal-toc{position:static!important;max-height:none!important;padding:18px 22px!important}
    .public-refresh .legal-toc ol{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px 24px!important}
    .public-refresh .legal-toc a{min-height:40px!important}
    .public-refresh .legal-document-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    .public-refresh .legal-actions-panel{grid-template-columns:1fr!important;gap:22px!important;justify-items:start!important}
  }
  @media(max-width:800px){
    .public-refresh .seo-topic-grid{grid-template-columns:1fr!important}
    .public-refresh .seo-topic-page .seo-topic-deliverables{grid-template-columns:1fr!important;gap:24px!important}
  }
  @media(max-width:640px){
    .public-refresh .legal-table{display:block!important;table-layout:auto!important}
    .public-refresh .legal-table thead{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
    .public-refresh .legal-table :is(tbody,tr,td){display:block!important;width:100%!important}
    .public-refresh .legal-table tr{padding:16px!important;border-bottom:1px solid var(--line)!important}
    .public-refresh .legal-table tr:last-child{border-bottom:0!important}
    .public-refresh .legal-table td{padding:0 0 14px!important;border:0!important;font-size:13px!important;line-height:1.8!important}
    .public-refresh .legal-table td:last-child{padding-bottom:0!important}
    .public-refresh .legal-table td:before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--muted);font-size:11px;font-weight:500}
  }
  @media(max-width:540px){
    .public-refresh :is(.seo-topic-hero,.legal-document-hero){padding:26px 0 30px!important}
    .public-refresh :is(.seo-topic-hero,.legal-document-hero) .legal-back{margin-bottom:24px!important}
    .public-refresh :is(.seo-topic-hero,.legal-document-hero) h1{font-size:32px!important;line-height:1.2!important;margin-bottom:18px!important}
    .public-refresh :is(.seo-topic-hero,.legal-document-hero)>p{font-size:14px!important;line-height:1.85!important}
    .public-refresh .seo-topic-badges{gap:6px!important;margin-top:20px!important}
    .public-refresh .seo-topic-badges span{font-size:10px!important}
    .public-refresh .seo-topic-page .landing-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:10px!important;margin-top:22px!important}
    .public-refresh .seo-topic-page .landing-actions a{width:100%!important}
    .public-refresh .public-section-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;padding:12px 0}
    .public-refresh .public-section-nav a{font-size:12px;min-height:40px}
    .public-refresh .seo-topic-page .ft-section{padding:32px 0!important}
    .public-refresh .seo-topic-page h2{font-size:26px!important;line-height:1.3!important}
    .public-refresh .seo-topic-page .ft-section-head{margin-bottom:22px!important}
    .public-refresh .seo-topic-page h3{font-size:16px!important}
    .public-refresh .seo-topic-page .ft-section p{font-size:13px!important}
    .public-refresh .seo-topic-grid article{padding:22px!important}
    .public-refresh .seo-topic-steps{grid-template-columns:1fr!important;gap:24px!important}
    .public-refresh .seo-topic-steps .ft-step>span{margin-bottom:12px!important}
    .public-refresh .seo-topic-deliverables ul{padding-inline:20px!important}
    .public-refresh .seo-topic-deliverables li{font-size:13px!important}
    .public-refresh .seo-topic-page .ft-faq-list summary{font-size:14px!important}
    .public-refresh .seo-topic-page .ft-final-cta{padding:26px 22px!important;margin-top:32px!important}
    .public-refresh .seo-topic-page .ft-final-cta p{font-size:13px!important}
    .public-refresh .public-related-guides{margin-top:32px;padding-top:24px}
    .public-refresh .public-related-guides>div{grid-template-columns:1fr}
    .public-refresh .legal-document-meta{gap:16px!important;margin-top:24px!important}
    .public-refresh .legal-document-meta dd{font-size:12px!important}
    .public-refresh :is(.legal-document-notice,.legal-note){padding:16px!important}
    .public-refresh .legal-toc ol{grid-template-columns:1fr!important}
    .public-refresh .legal-document-card{padding:24px 18px!important;border-radius:10px!important}
    .public-refresh .legal-section{padding:26px 0!important}
    .public-refresh .legal-section h2{grid-template-columns:26px minmax(0,1fr)!important;gap:10px!important;font-size:21px!important;line-height:1.4!important}
    .public-refresh .legal-section h2 span{width:26px!important;height:26px!important}
    .public-refresh .legal-section :is(p,.legal-list li){font-size:14px!important;line-height:1.85!important}
    .public-refresh .legal-actions-panel{padding:24px 20px!important}
    .public-refresh .legal-actions-panel h2{font-size:24px!important}
    .public-refresh .legal-actions-panel .secondary-action{width:100%!important}
  }
  
  

  