
    :root{
      --ink:#172b20;--muted:#6a796e;--line:#dce5d9;--bg:#f4f7f1;--card:#fff;
      --nav:#172e22;--nav2:#2b4333;--green:#203d2c;--green2:#c5ed56;--green-soft:#edfacb;
      --amber:#f59e0b;--amber-soft:#fff7e6;--red:#e5484d;--red-soft:#fff0f0;--blue:#3b82f6;--blue-soft:#edf5ff;
      --shadow:0 12px 30px rgba(15,23,42,.07);--radius:16px;
    }
    *{box-sizing:border-box}html{font-size:16px;background:var(--bg)}body{margin:0;background:radial-gradient(circle at 86% -12%,#e5f2c9 0,transparent 27%),linear-gradient(180deg,#f6f9f3 0%,#eef4eb 100%);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45}
    button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}.hidden,[hidden]{display:none!important}
    .app{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;min-height:100vh;overflow-y:auto;overflow-x:hidden;background:linear-gradient(180deg,var(--nav),#0a1a27);color:#d5e1e8;padding:24px 16px;display:flex;flex-direction:column;z-index:10;scrollbar-width:thin;scrollbar-color:rgba(197,237,86,.35) transparent}
    .brand{display:flex;align-items:center;gap:11px;padding:0 9px 25px}.brand-mark{width:38px;height:38px;border-radius:11px;background:var(--green2);color:#062017;display:grid;place-items:center;font-weight:900;font-size:22px}.brand strong{display:block;color:#fff;letter-spacing:.08em}.brand small{color:#7f99a9;font-size:12px}
    .nav-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:#688191;padding:11px 13px 7px}.nav{display:grid;gap:5px}.nav button{border:0;background:transparent;color:#a9bbc6;text-align:left;display:flex;align-items:center;gap:11px;padding:11px 13px;border-radius:10px;font-weight:650}.nav button:hover{background:rgba(255,255,255,.05);color:#fff}.nav button.active{background:#11332e;color:#fff}.nav button.active .nav-icon{color:var(--green2)}.nav-icon{width:20px;text-align:center;font-size:17px}.side-foot{margin-top:auto;padding:14px 10px;border-top:1px solid rgba(255,255,255,.08)}.company-mini{display:flex;align-items:center;gap:10px}.avatar{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;font-weight:800;background:#173343;color:var(--green2)}.company-mini strong{display:block;color:#fff;font-size:13px}.company-mini small{display:block;color:#7f99a9;font-size:11px}
    .main{min-width:0}.topbar{height:76px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:9}.top-left{display:flex;align-items:center;gap:12px}.menu-btn{display:none;border:0;background:#f0f3f5;border-radius:9px;width:40px;height:40px}.crumb{font-size:13px;color:var(--muted)}.crumb b{color:var(--ink)}.top-actions{display:flex;align-items:center;gap:10px}.demo-badge{font-size:12px;font-weight:750;background:var(--amber-soft);color:#8a5a00;padding:7px 10px;border-radius:999px}.role-select{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 12px;font-weight:650;color:#344054}
    .content{padding:30px;max-width:1480px;margin:0 auto}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.page-head h1{margin:0 0 6px;font-size:28px;letter-spacing:-.035em}.page-head p{margin:0;color:var(--muted);font-size:14px}.head-actions{display:flex;gap:9px;flex-wrap:wrap}.btn{border:1px solid transparent;border-radius:10px;padding:10px 15px;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px}.btn-primary{background:var(--green);color:#fff}.btn-primary:hover{background:#0fa574}.btn-secondary{background:#fff;border-color:var(--line);color:#344054}.btn-secondary:hover{background:#f8fafb}.btn-danger{background:var(--red);color:#fff}.btn-ghost{background:transparent;color:#475467;padding:7px 9px}.btn-sm{padding:7px 10px;min-height:34px;font-size:13px}.btn:disabled{opacity:.48;cursor:not-allowed}
    .grid{display:grid;gap:16px}.kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}.kpi{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:19px;box-shadow:0 3px 12px rgba(15,23,42,.025)}.kpi-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:13px;font-weight:650}.kpi-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--green-soft);color:#087f58;font-size:17px}.kpi-value{font-size:27px;font-weight:850;letter-spacing:-.04em;margin:12px 0 2px}.kpi-note{font-size:12px;color:var(--muted)}.up{color:#079455;font-weight:750}
    .card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 4px 16px rgba(15,23,42,.035)}.card-head{padding:19px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.card-head h2{font-size:16px;margin:0}.card-head p{font-size:12px;color:var(--muted);margin:3px 0 0}.card-body{padding:20px}.two-col{grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr)}
    .bars{height:245px;display:flex;align-items:flex-end;gap:18px;padding:18px 6px 4px}.bar-group{flex:1;display:flex;flex-direction:column;align-items:center;gap:9px;height:100%;justify-content:flex-end}.bar{width:min(42px,75%);background:linear-gradient(180deg,var(--green2),var(--green));border-radius:8px 8px 3px 3px;min-height:9px;position:relative}.bar:hover:after{content:attr(data-tip);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);background:#101828;color:#fff;padding:5px 7px;border-radius:6px;font-size:11px;white-space:nowrap}.bar-label{font-size:11px;color:var(--muted)}
    .method-list{display:grid;gap:15px}.method-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.method-row b{font-size:13px}.method-row span{font-size:12px;color:var(--muted)}.track{height:8px;border-radius:999px;background:#eef2f4;overflow:hidden;grid-column:1/-1}.track i{display:block;height:100%;background:var(--green);border-radius:999px}
    .filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.search{position:relative;min-width:280px;flex:1}.search input{width:100%;padding-left:40px}.search:before{content:"⌕";position:absolute;left:14px;top:9px;font-size:20px;color:#98a2b3}.field,.filters input,.filters select{border:1px solid #d6dce2;background:#fff;border-radius:10px;padding:10px 12px;outline:none;min-height:42px;color:#344054}.field:focus,.filters input:focus,.filters select:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(18,185,129,.12)}
    .table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:940px}.table th{background:#f8fafb;color:#667085;font-size:12px;text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);white-space:nowrap}.table td{padding:14px;border-bottom:1px solid #edf0f2;font-size:13px;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table tr:hover td{background:#fbfcfc}.code{font-weight:800;color:#344054}.person strong{display:block}.person small{color:var(--muted)}.money{font-weight:800;white-space:nowrap}.status{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.pending{background:var(--amber-soft);color:#a15c00}.processing{background:var(--blue-soft);color:#2463b6}.completed{background:var(--green-soft);color:#087f58}.cancelled{background:var(--red-soft);color:#b4232b}.row-actions{display:flex;gap:5px;align-items:center;white-space:nowrap}
    .tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);padding:0 20px}.tab{border:0;background:transparent;padding:14px 12px;color:var(--muted);font-weight:750;border-bottom:2px solid transparent}.tab.active{color:#087f58;border-color:var(--green)}
    .form-shell{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(310px,.65fr);gap:18px;align-items:start}.form-card{padding:24px}.form-section+.form-section{border-top:1px solid var(--line);margin-top:23px;padding-top:22px}.form-section h2{font-size:16px;margin:0 0 16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-group{display:grid;gap:7px}.form-group.full{grid-column:1/-1}.form-group label{font-size:13px;font-weight:750;color:#344054}.form-group small{font-size:11px;color:var(--muted)}.form-group input,.form-group select,.form-group textarea{width:100%;border:1px solid #d6dce2;border-radius:10px;padding:11px 12px;outline:none;background:#fff;min-height:44px}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(18,185,129,.11)}.required{color:var(--red)}
    .summary-card{position:sticky;top:100px;overflow:hidden}.summary-top{padding:22px;background:linear-gradient(140deg,#0b1c29,#12362f);color:#fff}.summary-top small{color:#a8c0c7}.summary-top h3{margin:8px 0 0;font-size:21px}.summary-lines{padding:19px;display:grid;gap:13px}.summary-line{display:flex;justify-content:space-between;gap:14px;font-size:13px}.summary-line span{color:var(--muted)}.summary-line strong{text-align:right}.summary-line.total{border-top:1px solid var(--line);padding-top:14px;font-size:15px}.info-box{background:var(--green-soft);color:#176b51;border-radius:11px;padding:12px;font-size:12px;margin:0 19px 19px}.summary-card .btn{margin:0 19px 20px;width:calc(100% - 38px)}
    .product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-card{padding:17px}.product-card-top{display:flex;justify-content:space-between;gap:10px}.product-card h3{font-size:15px;margin:0 0 4px}.product-card p{margin:0;color:var(--muted);font-size:12px}.product-price{font-size:21px;font-weight:850;margin:17px 0}.tag{display:inline-flex;padding:5px 8px;border-radius:7px;background:#f1f4f6;color:#475467;font-size:11px;font-weight:750}.product-actions{display:flex;gap:7px;border-top:1px solid var(--line);padding-top:13px}
    .settings-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr)}.setting-block{padding:20px}.setting-block h2{font-size:16px;margin:0 0 4px}.setting-block>p{font-size:12px;color:var(--muted);margin:0 0 18px}.readonly-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.readonly{background:#f7f9fa;border:1px solid var(--line);padding:11px 12px;border-radius:10px}.readonly small{display:block;color:var(--muted);font-size:11px}.readonly strong{font-size:13px}.module-row,.user-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-top:1px solid var(--line)}.module-row:first-of-type,.user-row:first-of-type{border-top:0}.module-info{display:flex;align-items:center;gap:12px}.module-logo{width:40px;height:40px;border-radius:10px;background:#eaf3f1;display:grid;place-items:center;font-weight:850;color:#087f58}.module-info strong{display:block;font-size:13px}.module-info small{color:var(--muted);font-size:11px}.switch{position:relative;width:44px;height:25px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;inset:0;background:#d6dce2;border-radius:999px;transition:.2s}.slider:before{content:"";position:absolute;width:19px;height:19px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 2px 5px rgba(0,0,0,.18);transition:.2s}.switch input:checked+.slider{background:var(--green)}.switch input:checked+.slider:before{transform:translateX(19px)}
    .super-banner{background:linear-gradient(120deg,#0b1c29,#1d3d4c);color:#fff;border-radius:18px;padding:22px 24px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;gap:20px}.super-banner h2{margin:0 0 5px;font-size:20px}.super-banner p{margin:0;color:#a9bdc8;font-size:13px}.super-banner .badge{background:rgba(46,229,157,.12);color:var(--green2);padding:7px 10px;border-radius:999px;font-size:12px;font-weight:750}
    .timeline{position:relative;display:grid;gap:0}.event{display:grid;grid-template-columns:25px 1fr;gap:10px;position:relative;padding-bottom:18px}.event:not(:last-child):before{content:"";position:absolute;left:7px;top:15px;bottom:0;width:1px;background:#dfe5e8}.event-dot{width:15px;height:15px;border:4px solid #c9f5e6;background:var(--green);border-radius:50%;z-index:1;margin-top:3px}.event strong{font-size:13px}.event p{font-size:12px;color:var(--muted);margin:3px 0 0}
    .modal-backdrop{position:fixed;inset:0;background:rgba(3,12,20,.58);display:grid;place-items:center;padding:20px;z-index:50}.evidence-backdrop{position:fixed;inset:0;background:rgba(3,12,20,.7);display:grid;place-items:center;padding:20px;z-index:70;backdrop-filter:blur(4px)}.modal{width:min(680px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.24)}.modal-lg{width:min(920px,100%)}.modal-head{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-head h2{font-size:18px;margin:0}.modal-close{border:0;background:#f1f4f6;border-radius:9px;width:34px;height:34px;font-size:18px}.modal-body{padding:22px}.modal-foot{padding:16px 22px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px}.link-box{display:flex;gap:8px;background:#f4f7f8;border:1px solid var(--line);border-radius:10px;padding:10px}.link-box code{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;color:#344054}.upload{border:1.5px dashed #bdc7ce;border-radius:12px;padding:16px;text-align:center;background:#fafcfc}.upload input{margin-top:8px;width:100%}.evidence{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-item{background:#f7f9fa;border:1px solid var(--line);border-radius:10px;padding:11px}.detail-item small{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.detail-item strong{font-size:13px;word-break:break-word}.notice{padding:12px;border-radius:10px;background:var(--amber-soft);color:#835400;font-size:12px;margin-bottom:15px}.error{color:var(--red);font-size:12px;margin-top:5px}.toast{position:fixed;right:24px;bottom:24px;background:#0c1d28;color:#fff;padding:13px 16px;border-radius:11px;box-shadow:var(--shadow);z-index:80;font-size:13px;animation:rise .2s ease}.empty{text-align:center;padding:46px 20px;color:var(--muted)}.empty b{display:block;color:#344054;margin-bottom:5px}@keyframes rise{from{transform:translateY(8px);opacity:0}}
    @media(max-width:1050px){.kpis{grid-template-columns:repeat(2,1fr)}.two-col,.form-shell,.settings-grid{grid-template-columns:1fr}.summary-card{position:static}.product-grid{grid-template-columns:repeat(2,1fr)}}
    @media(max-width:760px){.app{grid-template-columns:1fr}.sidebar{position:fixed;left:-270px;width:250px;transition:.2s}.sidebar.open{left:0}.menu-btn{display:block}.topbar{padding:0 16px}.demo-badge{display:none}.content{padding:20px 15px}.page-head{display:block}.head-actions{margin-top:14px}.kpis{grid-template-columns:1fr 1fr;gap:10px}.kpi{padding:15px}.kpi-value{font-size:23px}.two-col{grid-template-columns:1fr}.form-grid,.readonly-grid,.detail-grid,.evidence{grid-template-columns:1fr}.product-grid{grid-template-columns:1fr}.search{min-width:100%}.super-banner{display:block}.super-banner .badge{display:inline-block;margin-top:14px}.page-head h1{font-size:24px}}
    @media(max-width:430px){.kpis{grid-template-columns:1fr}.top-left .crumb{display:none}}
    /* Identidad visual compartida con Cotizador Pro */
    .sidebar{background:linear-gradient(180deg,var(--nav),var(--nav2));box-shadow:18px 0 55px rgba(24,53,35,.08)}
    .brand-mark{background:var(--green2);color:var(--nav);border-radius:13px}.brand strong{font-size:22px;letter-spacing:-.055em;text-transform:lowercase}.brand small{color:#d7e8d9}
    .nav-label{color:#a4baa9}.nav button{color:#d5e1d7}.nav button:hover{background:rgba(197,237,86,.09)}.nav button.active{background:var(--green2);color:var(--nav)}.nav button.active .nav-icon{color:var(--nav)}
    .side-foot{border-color:rgba(255,255,255,.13)}.avatar{background:#395743;color:#eaffb9}.company-mini small{color:#aac0af}
    .topbar{background:rgba(255,255,255,.93);border-color:var(--line)}.demo-badge{border:1px solid #d8e9b0;background:#f3f9df;color:#3e5d35;letter-spacing:.04em}
    .user-chip{display:flex;align-items:center;gap:10px;padding:5px 6px 5px 10px;border:1px solid var(--line);border-radius:12px;background:#fff}.user-chip-copy{text-align:right;line-height:1.15}.user-chip-copy strong{display:block;font-size:12px;color:var(--ink)}.user-chip-copy small{font-size:10px;color:var(--muted)}
    .logout-btn{border:0;border-left:1px solid var(--line);background:transparent;color:#526457;padding:8px 10px;font-size:12px;font-weight:750}
    .btn-primary{background:var(--green);color:#fff}.btn-primary:hover{background:#2f553c}.btn-secondary{border-color:#d5e3d0;color:var(--green)}.btn-secondary:hover{background:#f4f8f1}.btn-ghost{color:#526457}
    .card,.kpi{border-color:#e4ebe0;box-shadow:0 14px 42px rgba(28,64,38,.055)}.kpi-icon{background:var(--green-soft);color:var(--green)}.bar{background:linear-gradient(180deg,var(--green2),#8ac53f)}.track{background:#e9efdf}.track i{background:var(--green)}
    .table th{background:#eef4ec;color:#425c47}.table td{border-color:#e9eee6}.table tr:hover td{background:#f6faf2}.tab.active{color:var(--green);border-color:var(--green)}
    .summary-top,.super-banner{background:linear-gradient(115deg,var(--nav),var(--nav2))}.summary-top small,.super-banner p{color:#d7e8d9}.super-banner .badge{border:1px solid rgba(197,237,86,.38);background:rgba(197,237,86,.12);color:#e6ffb3}
    .form-group input,.form-group select,.form-group textarea,.field,.filters input,.filters select{border-color:#d4dfd0}.form-group input:focus,.form-group select:focus,.form-group textarea:focus,.field:focus,.filters input:focus,.filters select:focus{border-color:#78a74e;box-shadow:0 0 0 3px rgba(181,223,103,.22)}
    .readonly,.detail-item{background:#f8faf6}.module-logo{background:var(--green-soft);color:var(--green)}.switch input:checked+.slider{background:var(--green)}.modal-backdrop{background:rgba(9,30,17,.72);backdrop-filter:blur(4px)}.modal{border:1px solid #e0e9dc;border-radius:23px;box-shadow:0 28px 90px rgba(2,18,7,.29)}.modal-close{background:#f4f8f1;color:var(--green)}.info-box{background:#f5faed;color:var(--ink)}.event-dot{background:var(--green);border-color:var(--green-soft)}
    /* Acceso local, basado en la lógica del Cotizador Pro */
    .login-screen{min-height:100vh;padding:28px;display:grid;place-items:center}.login-shell{width:min(980px,100%)}
    .login-brand{min-height:108px;padding:19px 25px;margin-bottom:18px;border-radius:25px;background:linear-gradient(115deg,var(--nav),var(--nav2));color:#fff;box-shadow:0 24px 54px rgba(24,53,35,.16);display:flex;align-items:center;justify-content:space-between;gap:18px}
    .login-logo{display:flex;align-items:center;gap:13px}.login-logo .brand-mark{width:61px;height:61px;font-size:31px}.login-word{font-size:30px;font-weight:850;letter-spacing:-.065em}.login-product{margin-left:8px;padding-left:20px;border-left:1px solid rgba(255,255,255,.32);font-size:14px;font-weight:600;color:#d7e8d9}
    .preview-badge{padding:8px 11px;border:1px solid rgba(197,237,86,.38);background:rgba(197,237,86,.12);color:#e6ffb3;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.055em}
    .login-card{width:min(520px,100%);margin:0 auto;padding:35px 40px 38px;border:1px solid #e4ebe0;border-radius:25px;background:#fff;box-shadow:0 19px 55px rgba(28,64,38,.07)}.login-card h1{margin:0 0 10px;font-size:30px;letter-spacing:-.04em}.login-card>p{margin:0 0 25px;color:var(--muted)}
    .login-form{display:grid;gap:16px}.login-form label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#526457}.login-form input{width:100%;border:1px solid #d4dfd0;background:#fff;color:var(--ink);border-radius:11px;padding:13px;font-size:15px;outline:none}.login-form input:focus{outline:2px solid #b5df67;outline-offset:1px;border-color:#78a74e}.login-error{min-height:19px;color:#b93838;font-size:13px}.login-submit{width:100%;min-height:48px;border:0;border-radius:12px;background:var(--green);color:#fff;font-weight:800}.login-submit:hover{background:#2f553c}.demo-users{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.demo-user{padding:11px;border:1px solid var(--line);border-radius:12px;background:#f8faf6}.demo-user small{display:block;color:var(--muted);font-size:10px}.demo-user strong{font-size:13px;color:var(--green)}
    .app-switcher{display:flex;align-items:center;gap:9px;padding:7px 9px 7px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}.app-switcher span{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.app-switcher select{border:0;background:#f4f8f1;color:var(--green);font-weight:800;border-radius:8px;padding:8px 10px;outline:none}.state-editor{margin-top:18px;padding:15px;border:1px solid var(--line);border-radius:13px;background:#f8faf6}.state-editor h3{margin:0 0 5px;font-size:14px}.state-editor p{margin:0 0 12px;color:var(--muted);font-size:12px}.state-editor-controls{display:flex;gap:9px;align-items:center}.state-editor select{flex:1;border:1px solid #d4dfd0;border-radius:10px;padding:10px;background:#fff;color:var(--ink)}.evidence-item{display:flex;align-items:center;justify-content:space-between;gap:10px}.evidence-preview{min-height:360px;display:grid;place-items:center;border:1px solid var(--line);border-radius:14px;background:#f4f8f1;overflow:hidden}.evidence-preview img{display:block;max-width:100%;max-height:65vh;object-fit:contain}.evidence-placeholder{text-align:center;padding:40px;color:var(--muted)}.evidence-placeholder b{display:block;color:var(--green);font-size:17px;margin-bottom:7px}
    @media(max-width:650px){.login-screen{padding:12px}.login-brand{min-height:92px;padding:15px;border-radius:18px;flex-wrap:wrap}.login-logo .brand-mark{width:44px;height:44px;font-size:24px}.login-word{font-size:25px}.login-product{margin-left:3px;padding-left:10px;font-size:11px}.preview-badge{font-size:9px}.login-card{padding:26px 20px 30px;border-radius:19px}.demo-users{grid-template-columns:1fr}.user-chip-copy{display:none}}
    .module-switcher{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:4px 0 18px;padding:5px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(0,0,0,.12)}
    .module-switcher button{border:0;border-radius:8px;padding:9px 6px;background:transparent;color:#c9d8cc;font-size:11px;font-weight:750}.module-switcher button.active{background:var(--green2);color:var(--nav)}
    .nav-group{margin:5px 0 8px;padding:4px;border:1px solid transparent;border-radius:13px;transition:border-color .18s ease,background .18s ease}.nav-group:has(.nav-group-toggle.open){border-color:rgba(197,237,86,.16);background:rgba(255,255,255,.035)}
    .nav-group-toggle{width:100%;border:0;background:transparent;color:#d5e1d7;display:flex;justify-content:space-between;align-items:center;padding:11px 12px;border-radius:9px;font-weight:800;text-align:left;letter-spacing:-.01em}.nav-group-toggle:hover,.nav-group-toggle.open{background:rgba(197,237,86,.09);color:#fff}.nav-group-toggle.open{color:var(--green2)}.nav-chevron{width:23px;height:23px;border-radius:7px;display:grid;place-items:center;background:rgba(255,255,255,.07);transition:.18s}.nav-group-toggle.open .nav-chevron{transform:rotate(90deg);background:rgba(197,237,86,.16)}
    .nav-children{display:grid;gap:5px;margin:4px 0 5px;padding:3px 3px 3px 6px;border-left:0}.nav-children>button{width:100%;min-height:42px;border:1px solid transparent;border-radius:10px;padding:7px 9px;background:transparent;color:#b9cabd;display:flex;align-items:center;gap:9px;text-align:left;font-size:12px;font-weight:720;transition:transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease}.nav-children>button .nav-icon{width:28px;height:28px;flex:0 0 28px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.065);color:#c9d8cc;font-size:14px}.nav-children>button:hover{transform:translateX(2px);border-color:rgba(197,237,86,.12);background:rgba(255,255,255,.055);color:#fff}.nav-children>button:hover .nav-icon{background:rgba(197,237,86,.12);color:var(--green2)}.nav-children>button.active{border-color:rgba(197,237,86,.32);background:linear-gradient(90deg,rgba(197,237,86,.18),rgba(197,237,86,.07));color:#fff;box-shadow:inset 3px 0 0 var(--green2)}.nav-children>button.active .nav-icon{background:var(--green2);color:var(--nav);box-shadow:0 5px 14px rgba(0,0,0,.18)}
    .nav-module-note{margin:5px 4px;padding:11px;border:1px solid rgba(197,237,86,.2);border-radius:10px;background:rgba(0,0,0,.08);color:#b9cabd;font-size:10px;line-height:1.45}.nav-module-note button{width:100%;margin-top:8px;padding:8px;border:0;border-radius:8px;background:var(--green2);color:var(--nav);font-weight:800}
    .distribution{display:grid;gap:13px}.dist-row{display:grid;grid-template-columns:minmax(135px,1fr) 3fr 54px;gap:12px;align-items:center;font-size:13px}.dist-row b{text-align:right}.dist-track{height:9px;border-radius:99px;background:#edf1eb;overflow:hidden}.dist-track i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--green),var(--green2))}
    .dashboard-selector{display:flex;align-items:center;gap:9px;padding:8px 10px;border:1px solid var(--line);border-radius:11px;background:#fff}.dashboard-selector span{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase}.dashboard-selector select{border:0;outline:0;font-weight:750;color:var(--green);background:#fff}
    .config-company{padding:18px;border-bottom:1px solid var(--line)}.config-company:last-child{border-bottom:0}.config-company-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.config-company h3{margin:0 0 5px}.config-company p{margin:0;color:var(--muted);font-size:12px}.config-actions{display:flex;gap:8px;flex-wrap:wrap}.module-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.module-pill{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;font-size:12px;font-weight:700}.users-compact{display:grid;gap:7px;margin-top:13px}.user-compact{display:flex;justify-content:space-between;align-items:center;padding:9px 11px;background:#f8faf6;border-radius:9px;font-size:12px}
    .repair-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.repair-check{display:flex;align-items:center;gap:9px;padding:11px;border:1px solid var(--line);border-radius:10px;background:#fafcf8;font-size:13px}
    .repair-note{padding:12px 14px;margin:9px 0;border:1px solid var(--line);border-radius:10px;background:#fbfcfa}.repair-note small{color:var(--muted)}.repair-note p{margin:7px 0 10px;white-space:pre-wrap}
    .search-action{display:flex;gap:8px;flex:1;min-width:300px}.search-action .search{min-width:0}.repair-age{font-weight:750;color:#9a6700}
    .recompra-grades{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.recompra-grade{border:1px solid var(--line);border-radius:14px;padding:15px;background:#fbfcfa;display:grid;gap:10px;cursor:pointer}.recompra-grade.active{border-color:#7fa853;background:#f3f9df;box-shadow:0 0 0 2px rgba(197,237,86,.28)}.recompra-grade-visual{height:92px;border-radius:11px;background:linear-gradient(145deg,#e7eee3,#f8faf6);display:grid;place-items:center;font-size:34px;font-weight:900;color:var(--green)}.recompra-grade h3{margin:0;font-size:15px}.recompra-grade p{margin:0;color:var(--muted);font-size:11px;min-height:48px}.recompra-grade label{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:750}
    .recompra-price-scroll{max-height:520px;overflow:auto;border:1px solid var(--line);border-radius:12px}.recompra-price-scroll .table th{position:sticky;top:0;z-index:2}.recompra-price-scroll .table{min-width:760px}.recompra-price{width:105px!important;min-height:36px!important;padding:7px 8px!important}.recompra-config-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.recompra-result{padding:18px;border-radius:14px;background:linear-gradient(135deg,var(--nav),var(--nav2));color:#fff}.recompra-result small{color:#c8dacb}.recompra-result strong{display:block;font-size:25px;margin:5px 0}.recompra-result .price{font-size:31px;color:var(--green2)}.recompra-warning{margin-top:12px;padding:12px;border-radius:10px;background:#fff7df;color:#704d00;font-size:12px}.recompra-quote-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.recompra-quote-grid .full{grid-column:1/-1}.recompra-summary{position:sticky;top:98px}.recompra-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:14px}.recompra-mini .detail-item{padding:9px}.recompra-backups{display:grid;gap:8px}.recompra-backup{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fafcf8;font-size:12px}
    .quote-flow{max-width:1120px;margin:auto}.quote-progress{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:16px}.quote-progress-step{height:6px;border-radius:999px;background:#dce7d8;transition:background .2s ease}.quote-progress-step.active{background:var(--green2)}.quote-progress-step.done{background:var(--green)}.quote-stage{padding:25px}.quote-step-label{color:var(--green);font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.quote-stage h2{margin:5px 0 6px;font-size:23px;letter-spacing:-.035em}.quote-stage>p{margin:0 0 20px;color:var(--muted);font-size:13px}.quote-panel[hidden]{display:none}.quote-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quote-card-grid.models{max-height:338px;overflow:auto;padding:3px}.quote-choice{position:relative;min-height:150px;padding:11px;border:1px solid #dce6d8;border-radius:15px;background:#fff;text-align:left;display:flex;flex-direction:column;gap:7px;color:var(--ink);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}.quote-choice:hover{transform:translateY(-2px);border-color:#9fba80;box-shadow:0 12px 28px rgba(28,64,38,.09)}.quote-choice.selected{border:2px solid var(--green);background:#f6faee;padding:10px;box-shadow:0 0 0 3px rgba(197,237,86,.23)}.quote-choice.selected:after{content:'✓';position:absolute;right:13px;top:12px;width:22px;height:22px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:900}.quote-visual{height:78px;border-radius:10px;background:linear-gradient(135deg,#edf3e9,#f8fbf5);display:grid;place-items:center;color:#537150;overflow:hidden}.quote-visual .quote-phone{width:35px;height:59px;border:2px solid #67816b;border-radius:8px;background:linear-gradient(145deg,#d7e4d2,#fff);box-shadow:5px 6px 0 rgba(34,61,44,.08);display:grid;place-items:center;font-size:17px}.quote-choice strong{font-size:13px;line-height:1.25}.quote-choice small{color:var(--muted);font-size:11px;line-height:1.3}.quote-choice.compact{min-height:108px}.quote-choice.compact .quote-visual{height:44px}.quote-card-grid.capacity{grid-template-columns:repeat(4,minmax(0,1fr))}.quote-card-grid.capacity .quote-choice{min-height:74px;justify-content:center}.quote-card-grid.capacity .quote-choice strong{font-size:15px}.quote-card-grid.capacity .quote-choice .quote-visual{display:none}.quote-subhead{font-size:13px;margin:21px 0 10px}.quote-stage .form-group{max-width:520px}.quote-stage .form-group input{width:100%}.quote-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.quote-nav .btn{min-width:124px}.quote-nav-note{color:var(--muted);font-size:12px}.quote-overview{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.quote-overview span{padding:6px 9px;border:1px solid var(--line);border-radius:999px;background:#f8faf6;color:#4b6250;font-size:11px;font-weight:750}.quote-stage #recompraLiveResult{margin-top:18px}.quote-stage .recompra-result{max-width:680px}.quote-empty{padding:16px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:12px}
    .quote-flow-pro{max-width:880px}.quote-flow-pro .quote-stage{min-height:480px}.quote-flow-pro .quote-progress{display:block;height:7px;background:#dce7d8;overflow:hidden}.quote-progress-fill{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--green),var(--green2));border-radius:999px;transition:width .28s ease}.quote-stage-content{max-width:700px;margin:0 auto}.quote-flow-pro .quote-stage h2{text-align:center;margin:14px 0 7px}.quote-flow-pro .quote-stage>p{text-align:center}.quote-step-label{display:block;text-align:center}.quote-select-wrap{max-width:530px;margin:32px auto 12px}.quote-select-wrap label{font-size:13px;font-weight:750;color:var(--ink)}.quote-select-wrap select{width:100%;min-height:54px;border:1px solid #cadac6;border-radius:13px;padding:12px 15px;background:#fff;color:var(--ink);font-weight:700;outline:none}.quote-select-wrap select:focus{border-color:#78a74e;box-shadow:0 0 0 3px rgba(181,223,103,.22)}.quote-select-wrap .quote-nav{border:0;padding-top:4px}.quote-color-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:21px auto;max-width:650px}.quote-color-choice{min-height:57px;border:1px solid #dce6d8;border-radius:12px;background:#fff;display:flex;align-items:center;gap:10px;padding:9px 12px;color:var(--ink);text-align:left;font-size:13px;font-weight:750;transition:.16s}.quote-color-choice:hover{border-color:#8daf70;transform:translateY(-1px)}.quote-color-choice.selected{border-color:var(--green);background:#f2f8e9;box-shadow:0 0 0 2px rgba(197,237,86,.24)}.quote-color-swatch{width:24px;height:24px;flex:none;border-radius:50%;background:var(--swatch,#e5ebe3);border:2px solid rgba(28,55,37,.15);box-shadow:inset 0 1px 3px rgba(0,0,0,.06)}.quote-carousel{max-width:650px;margin:0 auto}.quote-carousel-stage{height:330px;position:relative;border:1px solid #d6e3d2;border-radius:20px;background:#eaf2e7;overflow:hidden;display:grid;place-items:center;touch-action:pan-y;user-select:none}.quote-carousel-open{width:100%;height:100%;border:0;background:transparent;padding:10px;cursor:zoom-in}.quote-reference-visual{width:100%;height:100%;min-height:185px;border-radius:13px;background:radial-gradient(circle at 60% 20%,#f9fcf6,#e7f0e3 70%);display:grid;place-items:center;position:relative;color:#5c7660}.quote-reference-visual .quote-phone-outline{width:112px;height:215px;border:6px solid #809984;border-radius:24px;background:linear-gradient(140deg,#d8e9d6,#f8fcf7);box-shadow:14px 20px 25px rgba(28,64,38,.10);position:relative}.quote-reference-visual .quote-phone-outline:before{content:'';position:absolute;top:5px;left:50%;transform:translateX(-50%);width:38px;height:8px;border-radius:0 0 7px 7px;background:#809984}.quote-reference-caption{position:absolute;bottom:12px;left:12px;right:12px;text-align:center;font-size:11px;font-weight:750;color:#627d66}.quote-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:1;width:42px;height:50px;border:1px solid #d3e0d0;border-radius:12px;background:rgba(255,255,255,.94);color:var(--green);font-size:32px;line-height:1}.quote-carousel-arrow:hover{background:var(--green2)}.quote-carousel-arrow.previous{left:10px}.quote-carousel-arrow.next{right:10px}.quote-carousel-zoom{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);padding:7px 11px;border-radius:99px;background:rgba(20,43,28,.84);color:#fff;font-size:11px;font-weight:800;pointer-events:none;white-space:nowrap}.quote-carousel-meta{text-align:center;min-height:91px;padding:16px 8px 6px}.quote-carousel-meta small{color:var(--muted);font-size:12px}.quote-carousel-meta h3{margin:8px 0 4px;font-size:20px}.quote-carousel-meta p{margin:0;color:var(--muted);font-size:12px}.quote-carousel-dots{display:flex;justify-content:center;gap:8px;margin:4px 0 13px}.quote-carousel-dot{width:9px;height:9px;border:0;border-radius:99px;background:#bed1b8;padding:0}.quote-carousel-dot.active{width:27px;background:var(--green)}.quote-carousel-actions{display:flex;gap:12px;justify-content:space-between}.quote-carousel-actions .btn-primary{min-width:200px}.quote-flow-pro .quote-nav{margin-top:20px}.quote-contact{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:25px}.quote-contact .form-group{max-width:none}.quote-flow-pro .quote-stage #recompraLiveResult{margin-top:18px}.quote-viewer{position:fixed;inset:0;z-index:75;padding:16px;background:rgba(9,30,17,.72);display:grid;place-items:center;backdrop-filter:blur(4px)}.quote-viewer-box{width:min(650px,100%);padding:16px;border-radius:19px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.25)}.quote-viewer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:12px;font-weight:800}.quote-viewer-stage{height:min(58vh,520px);min-height:260px;position:relative;touch-action:pan-y}.quote-viewer-stage .quote-reference-visual{height:100%}.quote-viewer-stage .quote-carousel-arrow{top:50%}.quote-viewer-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px}.quote-viewer-foot strong{font-size:14px}.quote-viewer-foot .btn{white-space:nowrap}
    @media(max-width:760px){.quote-stage{padding:18px}.quote-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-card-grid.capacity{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-stage h2{font-size:20px}.quote-color-list{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-carousel-stage{height:min(45vh,370px);min-height:270px}.quote-contact{grid-template-columns:1fr}.quote-viewer-stage{height:min(55vh,430px)}}
    @media(max-width:480px){.quote-card-grid{gap:8px}.quote-choice{min-height:135px;padding:9px}.quote-choice.selected{padding:8px}.quote-choice strong{font-size:12px}.quote-visual{height:65px}.quote-nav-note{display:none}.quote-nav .btn{min-width:0;flex:1}}
    @media(max-width:650px){.repair-service-grid{grid-template-columns:1fr}.search-action{min-width:100%}}
    @media(max-width:980px){.recompra-grades{grid-template-columns:repeat(2,1fr)}.recompra-quote-grid{grid-template-columns:1fr}.recompra-summary{position:static}}
    @media(max-width:560px){.recompra-grades{grid-template-columns:1fr}.recompra-mini{grid-template-columns:1fr}.module-kicker{margin-bottom:6px}}
    .quote-stage-content,.quote-carousel{width:100%;min-width:0}.quote-carousel-stage{display:block}.quote-carousel-open{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0}.quote-reference-visual{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;overflow:hidden}.quote-reference-visual .quote-reference-image{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;pointer-events:none;user-select:none}.quote-viewer-stage{overflow:hidden}
    @media(hover:hover) and (pointer:fine){.quote-reference-visual .quote-reference-image{transition:transform .16s ease-out;transform-origin:var(--zoom-x,50%) var(--zoom-y,50%)}.quote-reference-visual:hover .quote-reference-image{transform:scale(2.2)}.quote-carousel-open:hover,.quote-viewer-stage .quote-reference-visual:hover{cursor:zoom-in}}
    .quote-carousel-zoom{max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis}.quote-touch-hint{display:none}@media(hover:none){.quote-desktop-hint{display:none}.quote-touch-hint{display:inline}}
  
#grintek-root{min-height:80vh}.gt-layout{display:grid;grid-template-columns:245px 1fr;min-height:80vh;background:#f4f7f1}.gt-sidebar{background:#172e22;color:white;padding:22px}.gt-sidebar button{display:block;width:100%;background:transparent;color:#d5e1d7;border:0;text-align:left;padding:12px;border-radius:9px}.gt-sidebar button.active,.gt-sidebar button:hover{background:#c5ed56;color:#172e22}.gt-content{min-width:0;padding:28px}.gt-header{font-size:26px;font-weight:800;margin-bottom:20px}.gt-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:15px}.gt-panel{padding:22px;background:#fff;border:1px solid #dce5d9;border-radius:16px;margin-bottom:15px}.gt-form{display:grid;gap:13px;max-width:650px}.gt-form label{display:grid;gap:5px;font-weight:600}.gt-form input,.gt-form select{width:100%;padding:11px;border:1px solid #ccd8c7;border-radius:9px}.gt-table{width:100%;border-collapse:collapse}.gt-table td,.gt-table th{padding:11px;border-bottom:1px solid #e5ece4;text-align:left}.gt-tablewrap{overflow:auto}.gt-btn{background:#203d2c;color:#fff;padding:10px 14px;border:0;border-radius:9px;cursor:pointer}.gt-btn.alt{background:#e8f1e1;color:#203d2c}.gt-btn:disabled{opacity:.5}.gt-error{color:#b4232b}.gt-success{color:#087f58}.gt-app{height:80vh;width:100%;border:0}.gt-brand{font-size:28px;font-weight:800;margin-bottom:24px}@media(max-width:750px){.gt-layout{display:block}.gt-sidebar{display:flex;flex-wrap:wrap;gap:6px}.gt-sidebar button{width:auto}.gt-content{padding:15px}}
.gt-flex{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.gt-modal-bg{position:fixed;inset:0;background:rgba(9,30,17,.72);backdrop-filter:blur(4px);z-index:99999;display:grid;place-items:center;padding:18px}.gt-modal{width:min(680px,100%);max-height:92vh;overflow:auto;background:#fff;border:1px solid #e0e9dc;border-radius:23px;box-shadow:0 28px 90px rgba(2,18,7,.29)}.gt-modal-head,.gt-modal-foot{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.gt-modal-head{border-bottom:1px solid #dce5d9}.gt-modal-head h2{margin:0}.gt-modal-foot{justify-content:flex-end;border-top:1px solid #dce5d9}.gt-modal-body{padding:24px}.gt-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.gt-modal-grid label{display:grid;gap:7px;font-size:13px;font-weight:750;color:#344054}.gt-modal-grid .full{grid-column:1/-1}.gt-modal-grid input,.gt-modal-grid select{width:100%;border:1px solid #d4dfd0;border-radius:10px;padding:11px 12px;min-height:44px;background:#fff}.gt-required{color:#e5484d}.gt-close{border:0;border-radius:9px;background:#f4f8f1;color:#203d2c;font-size:22px;width:35px;height:35px;cursor:pointer}.gt-app{width:100%;height:85vh;min-height:760px;border:1px solid #dce5d9;border-radius:15px;background:#f4f7f1}@media(max-width:600px){.gt-modal-grid{grid-template-columns:1fr}.gt-modal-grid .full{grid-column:auto}}

