:root{--navy:#102a43;--blue:#1769aa;--cyan:#39a9db;--green:#168363;--bg:#f3f6f9;--card:#fff;--text:#172b3a;--muted:#6b7c8a;--line:#dce5ec;--danger:#b42318;--shadow:0 12px 32px rgba(16,42,67,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}a{color:var(--blue);text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.1;letter-spacing:-.035em}h2{font-size:1.2rem}button,input,select,textarea{font:inherit}.topbar{height:68px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - 1320px)/2));box-shadow:0 4px 15px rgba(0,0,0,.12);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800}.brand span,.login-brand span{display:grid;place-items:center;background:linear-gradient(135deg,var(--cyan),var(--green));color:#fff;border-radius:11px;width:40px;height:40px}.topbar nav{display:flex;align-items:center;gap:20px}.topbar nav a,.link-button{color:#d9e9f5;background:none;border:0;padding:0;cursor:pointer}.topbar form{margin:0}.shell{max-width:1320px;margin:0 auto;padding:34px 20px 70px}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top right,#d7eef8,transparent 38%),linear-gradient(135deg,#eef5f9,#f8fafb)}.login-card{background:#fff;width:min(460px,100%);padding:42px;border-radius:24px;box-shadow:0 24px 60px rgba(16,42,67,.15)}.login-brand{margin-bottom:24px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:800;color:var(--green);margin-bottom:8px}.muted,.hint{color:var(--muted)}.hint{font-size:.85rem}.page-heading,.project-heading,.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:26px}.project-heading{background:linear-gradient(120deg,var(--navy),#184c70);color:#fff;border-radius:22px;padding:30px;box-shadow:var(--shadow)}.project-heading p{color:#d8e9f3}.project-heading .eyebrow{color:#78d4c1}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:18px}.project-card,.panel,.empty,.stats article{background:var(--card);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.project-card{padding:22px;color:var(--text);transition:.18s ease}.project-card:hover{transform:translateY(-3px);border-color:#a7c9dd}.project-card>div,.project-card footer{display:flex;justify-content:space-between;align-items:center;gap:10px}.project-card h2{font-size:1.35rem;margin:24px 0 8px}.project-card p{color:var(--muted);min-height:48px}.project-card footer{border-top:1px solid var(--line);padding-top:16px;font-size:.9rem}.project-number{font-size:.8rem;font-weight:800;color:var(--muted)}.panel{padding:24px;margin-bottom:20px}.narrow{max-width:820px}.empty{text-align:center;padding:70px 24px}.two-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.6fr);gap:20px}.wide-left{grid-template-columns:minmax(0,1.6fr) minmax(300px,.6fr)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.stats article{padding:20px}.stats span{display:block;color:var(--muted);font-size:.85rem}.stats strong{font-size:2rem}.tabs{display:flex;gap:5px;overflow:auto;margin:18px 0 24px;padding:5px;background:#e7edf2;border-radius:13px}.tabs a{white-space:nowrap;padding:10px 15px;border-radius:9px;color:#476070;font-size:.9rem;font-weight:700}.tabs a.active{background:#fff;color:var(--navy);box-shadow:0 2px 8px rgba(16,42,67,.08)}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800;letter-spacing:.02em;background:#e9eef2;color:#405564}.badge-status{background:#e1f2ed;color:#0e684f}.badge-role{background:#e4f0fa;color:#145b8d}.badge-commercial{background:#fff1d6;color:#8c5a00}.badge-secret{background:#fde8e7;color:#9d1c17}.badge-technical{background:#e4f0fa;color:#145b8d}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:#fff;color:var(--navy);padding:10px 15px;border-radius:10px;font-weight:750;cursor:pointer}.button-primary{background:var(--blue);border-color:var(--blue);color:#fff}.button-wide{width:100%}.button-small{padding:6px 9px;font-size:.8rem}.stack{display:grid;gap:15px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.span-2{grid-column:span 2}label{display:grid;gap:7px;font-size:.86rem;font-weight:700;color:#405564}input,select,textarea{width:100%;border:1px solid #cbd8e1;border-radius:9px;background:#fff;padding:11px 12px;color:var(--text)}input:focus,select:focus,textarea:focus{outline:3px solid rgba(57,169,219,.18);border-color:var(--cyan)}textarea{resize:vertical}.section-title{border-bottom:1px solid var(--line);padding:18px 0 8px;margin:0}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:10px}.alert{padding:13px 16px;border-radius:10px;margin-bottom:18px}.alert-success{background:#dff5eb;color:#105d48}.alert-error{background:#fee9e7;color:var(--danger)}.list-row,.document-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 0;border-bottom:1px solid var(--line)}.list-row:last-child,.document-row:last-child{border:0}.list-row small,.document-row small{display:block;color:var(--muted);margin-top:3px}.document-row>div:last-child{text-align:right;white-space:nowrap}.pdf-preview{width:100%;height:480px;border:1px solid var(--line);border-radius:12px;margin:10px 0 24px}.timeline-item{display:grid;grid-template-columns:16px 1fr auto;gap:14px;padding:0 0 24px}.timeline-item>span{width:12px;height:12px;border-radius:50%;background:var(--cyan);margin-top:5px;box-shadow:0 0 0 4px #e0f3fb}.timeline-item p{margin:5px 0;color:var(--muted)}.messages{display:grid;gap:12px;max-height:600px;overflow:auto;padding:10px 0 24px}.messages article{max-width:80%;background:#edf3f7;border-radius:14px 14px 14px 3px;padding:13px 15px}.messages article.own{justify-self:end;background:#dff2ec;border-radius:14px 14px 3px 14px}.messages header{display:flex;gap:14px;justify-content:space-between;font-size:.8rem}.messages header span,.messages small{color:var(--muted)}.messages p{margin:8px 0 0}.message-form{display:grid;grid-template-columns:220px 1fr auto;gap:12px;align-items:end;border-top:1px solid var(--line);padding-top:20px}
@media(max-width:900px){.two-column,.wide-left{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.message-form{grid-template-columns:1fr}.topbar nav a{display:none}}
@media(max-width:600px){.shell{padding:22px 12px 60px}.topbar{padding:0 14px}.brand{font-size:.9rem}.login-card{padding:28px 22px}.page-heading,.project-heading{display:block}.page-heading .button{margin-top:12px}.project-heading>div:last-child{margin-top:18px}.form-grid{grid-template-columns:1fr}.span-2{grid-column:span 1}.stats{grid-template-columns:1fr 1fr}.panel{padding:18px}.document-row{align-items:flex-start;display:block}.document-row>div:last-child{text-align:left;margin-top:10px;white-space:normal}.messages article{max-width:94%}.pdf-preview{height:360px}}

/* MS Instal branding */
.brand{min-width:0;height:68px;overflow:hidden}.brand img{width:145px;height:auto;max-width:none;filter:drop-shadow(0 3px 8px rgba(0,0,0,.24))}.brand b{font-size:.94rem;white-space:nowrap}.brand>span{display:none}.login-brand{width:100%;height:86px;margin-bottom:15px;overflow:hidden}.login-brand img{display:block;width:285px;height:auto;max-width:none;margin-top:-24px;margin-left:-29px}.login-brand span{display:none}.login-shell{justify-items:end;padding:40px max(24px,8vw);background:linear-gradient(90deg,rgba(3,10,33,.18),rgba(3,10,33,.48)),url("msinstal-hero.webp") center/cover no-repeat fixed}.login-card{background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.58)}

/* Premium questionnaire */
.questionnaire-hero{position:relative;isolation:isolate;min-height:420px;display:flex;align-items:center;overflow:hidden;margin:0 0 22px;border-radius:28px;color:#fff;background:#06122d;box-shadow:0 28px 70px rgba(4,19,54,.25)}
.questionnaire-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,12,38,.98) 0%,rgba(3,15,47,.93) 36%,rgba(3,16,49,.35) 69%,rgba(3,16,49,.08) 100%),radial-gradient(circle at 28% 22%,rgba(31,168,255,.24),transparent 36%)}
.questionnaire-hero-art{position:absolute;z-index:-2;inset:0;background:url("msinstal-hero.webp") center right/cover no-repeat;transform:scale(1.015)}
.questionnaire-hero-copy{width:min(690px,66%);padding:52px 58px}.questionnaire-hero h2{font-size:clamp(2.35rem,5vw,4.7rem);line-height:.98;letter-spacing:-.055em;margin:14px 0 22px}.questionnaire-hero h2 em{font-style:normal;color:#46d6ff;text-shadow:0 0 28px rgba(41,184,255,.35)}.questionnaire-hero-copy>p:not(.eyebrow){max-width:600px;color:#ccdaed;font-size:1.04rem}.questionnaire-hero .eyebrow{color:#71e6c8}.q-brand-mark{display:flex;align-items:center;gap:9px;font-size:.72rem;letter-spacing:.18em;color:#dcecff}.q-brand-mark span{width:29px;height:29px;border-radius:9px;background:linear-gradient(135deg,#21b7f3,#15c899);box-shadow:0 0 24px rgba(33,183,243,.5);position:relative}.q-brand-mark span:before{content:"MS";position:absolute;inset:0;display:grid;place-items:center;font-size:.57rem;font-weight:900;letter-spacing:0;color:#fff}.q-hero-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:27px}.q-hero-meta span{display:flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.07);backdrop-filter:blur(12px);padding:9px 12px;border-radius:12px;color:#c7d7ea;font-size:.78rem}.q-hero-meta b{color:#fff;font-size:.9rem}

.questionnaire-wizard{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:start;gap:20px}.q-sidebar{position:sticky;top:88px;max-height:calc(100vh - 105px);overflow:auto;border:1px solid #dbe5ee;background:rgba(255,255,255,.96);border-radius:22px;padding:14px;box-shadow:0 18px 50px rgba(16,42,67,.08);scrollbar-width:thin}.q-progress-card{display:grid;grid-template-columns:74px 1fr;align-items:center;gap:13px;padding:12px 10px 17px;border-bottom:1px solid #e6edf3;margin-bottom:8px}.q-progress-card strong{display:block;font-size:.86rem}.q-progress-card small{display:block;color:#7a8b98;font-size:.72rem;margin-top:3px}.q-progress-ring{--progress:0;width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#1caf96 calc(var(--progress)*1%),#e5edf2 0);position:relative}.q-progress-ring:after{content:"";position:absolute;inset:6px;background:#fff;border-radius:50%}.q-progress-ring span{position:relative;z-index:1;font-size:.72rem;color:#738493}.q-progress-ring b{font-size:1.18rem;color:#12344e}
.q-step-nav{display:grid;gap:3px}.q-step-nav button{appearance:none;border:0;width:100%;display:grid;grid-template-columns:37px 1fr 7px;gap:10px;align-items:center;text-align:left;padding:9px;border-radius:13px;background:transparent;cursor:pointer;color:#4d6272;transition:.18s ease}.q-step-nav button:hover{background:#f1f6f9}.q-step-nav button.active{background:linear-gradient(115deg,#edf8ff,#ecfaf5);color:#102a43;box-shadow:inset 0 0 0 1px #c9e8e1}.q-step-nav button.done i{background:#16a37d;color:#fff;border-color:#16a37d}.q-step-nav i{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d6e1e8;border-radius:10px;background:#fff;font-style:normal;font-weight:850;font-size:.68rem;color:#6b8090}.q-step-nav span{min-width:0}.q-step-nav b{display:block;font-size:.8rem}.q-step-nav small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8494a0;font-size:.65rem;margin-top:1px}.q-step-nav u{width:6px;height:6px;border-radius:50%;background:#dce5eb;text-decoration:none}.q-step-nav button.active u{background:#19ae88;box-shadow:0 0 0 4px rgba(25,174,136,.12)}

.q-workspace{min-width:0}.q-step{--accent:#1c8ccc;display:none;min-height:630px;border:1px solid #dbe5ed;border-radius:24px;background:linear-gradient(145deg,#fff,#fbfdfe);box-shadow:0 18px 50px rgba(16,42,67,.07);overflow:hidden;animation:qReveal .32s ease}.q-step.active{display:block}.q-accent-ocean{--accent:#159fc7}.q-accent-violet{--accent:#7957d5}.q-accent-indigo{--accent:#4663d7}.q-accent-emerald{--accent:#159f75}.q-accent-amber{--accent:#e79d19}.q-accent-rose{--accent:#df5578}.q-accent-sky{--accent:#308ed2}.q-accent-orange{--accent:#e37036}.q-accent-lime{--accent:#69a92f}.q-accent-red{--accent:#d84945}.q-accent-blue{--accent:#2670ca}.q-accent-fuchsia{--accent:#b94cc5}.q-accent-teal{--accent:#149f9a}.q-accent-slate{--accent:#4b6376}@keyframes qReveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.q-step-header{display:flex;gap:18px;align-items:center;padding:31px 34px;border-bottom:1px solid #e3eaf0;background:radial-gradient(circle at 8% 20%,color-mix(in srgb,var(--accent) 12%,transparent),transparent 35%),#fff;position:relative}.q-step-header:after{content:"";position:absolute;left:0;bottom:-1px;width:150px;height:2px;background:linear-gradient(90deg,var(--accent),transparent)}.q-step-header>span{flex:0 0 auto;display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,var(--accent),color-mix(in srgb,var(--accent) 70%,#081f43));color:#fff;font-size:1.05rem;font-weight:900;box-shadow:0 12px 28px color-mix(in srgb,var(--accent) 28%,transparent)}.q-step-header p{margin:0;color:var(--accent);text-transform:uppercase;letter-spacing:.12em;font-size:.68rem;font-weight:850}.q-step-header h3{font-size:1.65rem;letter-spacing:-.025em;margin:2px 0}.q-step-header small{display:block;color:#738493;font-size:.88rem}.q-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px;padding:34px}.q-field{min-width:0;align-self:start}.q-field-wide{grid-column:1/-1}.q-label,.q-choice-field legend{display:flex;align-items:center;gap:8px;color:#304b5d;font-weight:780;font-size:.83rem;margin-bottom:8px}.q-required{display:inline-flex;background:#edf7ff;color:#2475a8;padding:3px 6px;border-radius:6px;font-size:.55rem;text-transform:uppercase;letter-spacing:.05em}.q-control{display:block;position:relative}.q-control input,.q-control select,.q-control textarea{min-height:48px;border:1px solid #cfdae3;border-radius:12px;background:#fff;padding:12px 14px;box-shadow:0 3px 10px rgba(16,42,67,.025);transition:.18s ease}.q-control textarea{min-height:105px}.q-control input:hover,.q-control select:hover,.q-control textarea:hover{border-color:#a8bfce}.q-control input:focus,.q-control select:focus,.q-control textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 12%,transparent);outline:0}.q-control.has-suffix input{padding-right:58px}.q-control>b{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:.7rem;color:#7b8d99;background:#eef3f6;border-radius:7px;padding:4px 7px}.q-choice-field{border:0;margin:0;padding:0}.q-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.q-choice{display:block}.q-choice input{position:absolute;opacity:0;pointer-events:none}.q-choice span{display:flex;align-items:center;gap:9px;min-height:46px;border:1px solid #d7e0e7;border-radius:12px;background:#fff;padding:10px 11px;color:#536b7a;font-size:.78rem;font-weight:650;cursor:pointer;transition:.16s ease}.q-choice span:hover{border-color:#9fbccc;transform:translateY(-1px)}.q-choice i{width:18px;height:18px;border:1.5px solid #bbcbd5;border-radius:6px;position:relative;flex:0 0 auto}.q-choice input:checked+span{color:#153d56;border-color:color-mix(in srgb,var(--accent) 55%,#fff);background:color-mix(in srgb,var(--accent) 8%,#fff);box-shadow:0 6px 18px color-mix(in srgb,var(--accent) 11%,transparent)}.q-choice input:checked+span i{border-color:var(--accent);background:var(--accent)}.q-choice input:checked+span i:after{content:"";position:absolute;left:5px;top:2px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.q-field[hidden]{display:none!important}

.q-room-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px 30px}.q-room-intro strong{font-size:1rem}.q-room-intro p{margin:4px 0 0;color:#748693;font-size:.82rem}.q-add-room{border-color:#b8ddd3;color:#116d55;background:#eefaf6}.q-room-scroll{overflow:auto;border-top:1px solid #e6edf2;border-bottom:1px solid #e6edf2;scrollbar-width:thin}.q-room-table{width:max(100%,1660px);border-collapse:separate;border-spacing:0;font-size:.72rem}.q-room-table th{position:sticky;top:0;z-index:2;background:#f2f6f8;color:#607785;padding:10px 7px;text-align:left;border-bottom:1px solid #d9e3e9;white-space:nowrap}.q-room-table th:first-child,.q-room-table td:first-child{position:sticky;left:0;z-index:1;background:#fbfdfe}.q-room-table th:first-child{z-index:3;background:#edf3f6;min-width:150px}.q-room-table td{padding:5px;border-bottom:1px solid #e7edf1;background:#fff}.q-room-table input{min-width:68px;border:1px solid transparent;background:transparent;border-radius:7px;padding:8px;font-size:.74rem}.q-room-table td:first-child input{min-width:145px;font-weight:750}.q-room-table td:last-of-type input{min-width:190px}.q-room-table input:hover,.q-room-table input:focus{background:#f4f9fb;border-color:#bcd1dc;outline:0}.q-room-table tfoot td{background:#102c44;color:#fff;border:0;font-weight:800;padding:10px 12px}.q-room-table tfoot td:first-child{background:#102c44}.q-remove-room{border:0;background:#fff0ef;color:#b6312d;width:28px;height:28px;border-radius:8px;cursor:pointer;font-size:1rem}.q-empty-rooms{text-align:center;padding:76px 20px}.q-empty-rooms.hidden{display:none}.q-empty-rooms span{display:grid;place-items:center;width:70px;height:70px;border-radius:23px;background:#e9f8f4;color:#14876a;font-size:2rem;margin:0 auto 16px}.q-empty-rooms strong{font-size:1.15rem}.q-empty-rooms p{max-width:520px;margin:6px auto 18px;color:#778996;font-size:.86rem}
.q-table-guide{display:flex;justify-content:space-between;gap:16px;padding:10px 30px;border-top:1px solid #e8eef2;background:#f8fbfc;color:#617987;font-size:.7rem}.q-table-guide span:before{content:"↔";display:inline-block;margin-right:7px;color:#1689b7;font-weight:900}.q-table-guide b{color:#476272;font-weight:700}.q-lighting-builder{border-top:1px solid #e2eaf0;background:#fbfdfe}.q-detail-scroll{overflow:auto;border-top:1px solid #e6edf2;border-bottom:1px solid #e6edf2;scrollbar-width:thin}.q-detail-table{width:max(100%,1580px);border-collapse:separate;border-spacing:0;font-size:.72rem}.q-detail-table th{position:sticky;top:0;z-index:2;background:#f2f6f8;color:#607785;padding:10px 7px;text-align:left;border-bottom:1px solid #d9e3e9;white-space:nowrap}.q-detail-table td{position:relative;padding:6px;border-bottom:1px solid #e7edf1;background:#fff;vertical-align:top}.q-detail-table input,.q-detail-table select{min-width:112px;border:1px solid transparent;background:transparent;border-radius:7px;padding:8px;font-size:.72rem}.q-detail-table select{min-width:165px}.q-detail-table td:nth-child(2) input{min-width:150px}.q-detail-table td:nth-child(5) select{min-width:190px}.q-detail-table td:nth-child(7) input{min-width:58px;width:58px}.q-detail-table td:nth-child(9) input{min-width:190px}.q-detail-table input:hover,.q-detail-table input:focus,.q-detail-table select:hover,.q-detail-table select:focus{background:#f4f9fb;border-color:#bcd1dc;outline:0}.q-ai-badge{display:inline-flex;margin:4px 0 0 7px;padding:3px 6px;border-radius:6px;background:#e9f7f3;color:#118267;font-weight:850;font-size:.58rem}.q-empty-detail{text-align:center;padding:46px 20px 55px}.q-empty-detail.hidden{display:none}.q-empty-detail>span{display:grid;place-items:center;width:68px;height:68px;border-radius:22px;background:linear-gradient(145deg,#e6f6ff,#e8faf4);color:#157ba6;font-weight:900;font-size:.82rem;margin:0 auto 14px}.q-empty-detail strong{display:block;font-size:1.08rem}.q-empty-detail p{max-width:620px;margin:6px auto 17px;color:#778996;font-size:.82rem}

.q-summary-step{--accent:#18a581}.q-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:30px 30px 18px}.q-summary-grid article{position:relative;overflow:hidden;border:1px solid #dce6ec;border-radius:16px;background:#fff;padding:18px;box-shadow:0 8px 24px rgba(16,42,67,.05)}.q-summary-grid article:after{content:"";position:absolute;width:60px;height:60px;border-radius:50%;right:-22px;bottom:-28px;background:#e6f8f3}.q-summary-grid i{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#e9f7f3;color:#148b6c;font-style:normal}.q-summary-grid span{display:block;color:#728591;font-size:.7rem;margin:12px 0 2px}.q-summary-grid strong{font-size:1.65rem;color:#123148}.q-summary-callout{display:flex;align-items:center;gap:17px;margin:4px 30px 18px;padding:20px;border:1px solid #bfdff0;border-radius:18px;background:linear-gradient(120deg,#ecf8ff,#effbf7)}.q-summary-callout p,.q-confirmation p{margin:3px 0 0;color:#67808f;font-size:.8rem}.q-ai-orb{display:grid;place-items:center;flex:0 0 auto;width:54px;height:54px;border-radius:18px;background:linear-gradient(145deg,#176ec1,#16b293);color:#fff;font-weight:900;box-shadow:0 10px 24px rgba(23,110,193,.22)}.q-confirmation{display:flex;align-items:center;gap:13px;margin:0 30px 28px;padding:15px 18px;border-radius:15px;background:#f4f7f9}.q-confirmation>span{width:21px;height:21px;border-radius:50%;background:#19a67f;position:relative}.q-confirmation>span:after{content:"";position:absolute;left:7px;top:4px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.q-wizard-footer{display:flex;align-items:center;gap:10px;margin-top:14px;padding:14px 18px;border:1px solid #dce5ec;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 14px 35px rgba(16,42,67,.07);position:sticky;bottom:12px;z-index:6}.q-wizard-footer .q-next,.q-wizard-footer .q-save{margin-left:auto;min-width:142px}.q-footer-position{position:absolute;left:50%;transform:translateX(-50%);font-size:.75rem;font-weight:800;color:#758794}.q-save{background:linear-gradient(115deg,#1283c1,#12a77e);border:0;box-shadow:0 9px 22px rgba(18,131,193,.2)}.hidden{display:none!important}

@media(max-width:1100px){.questionnaire-wizard{grid-template-columns:1fr}.q-sidebar{position:static;max-height:none;overflow:hidden}.q-progress-card{display:none}.q-step-nav{display:flex;overflow:auto;padding-bottom:3px}.q-step-nav button{min-width:170px;grid-template-columns:34px 1fr 6px}.q-step-nav small{max-width:105px}.questionnaire-hero-copy{width:74%}.q-summary-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.login-shell{justify-items:center;padding:24px;background-position:62% center}.questionnaire-hero{min-height:500px;align-items:flex-end}.questionnaire-hero:after{background:linear-gradient(0deg,rgba(3,12,38,.99) 0%,rgba(3,15,47,.88) 54%,rgba(3,16,49,.18) 100%)}.questionnaire-hero-art{background-position:63% center}.questionnaire-hero-copy{width:100%;padding:34px 25px}.questionnaire-hero h2{font-size:2.55rem}.questionnaire-hero-copy>p:not(.eyebrow){font-size:.9rem}.q-hero-meta span{font-size:.68rem}.q-step{min-height:580px}.q-step-header{padding:23px 20px}.q-step-header>span{width:48px;height:48px;border-radius:15px}.q-step-header h3{font-size:1.35rem}.q-step-header small{font-size:.76rem}.q-fields{grid-template-columns:1fr;padding:23px 18px}.q-field-wide{grid-column:auto}.q-choice-grid{grid-template-columns:1fr}.q-room-intro{align-items:flex-start;padding:20px;flex-direction:column}.q-summary-grid{grid-template-columns:repeat(2,1fr);padding:20px}.q-summary-callout,.q-confirmation{margin-left:20px;margin-right:20px}.q-wizard-footer{bottom:6px}.q-footer-position{display:none}.brand b{display:none}.brand img{width:132px}.topbar nav{gap:12px}}

/* Login composition: the card sits over the calm, dark part of the hero and never covers the tablet logo. */
.login-shell{justify-items:start;align-items:center;padding:40px max(24px,7vw);background-position:center center}
.login-card{width:min(500px,100%);box-shadow:0 30px 90px rgba(0,5,28,.38)}

/* Project intelligence and estimation workbench */
.estimate-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:34px;margin-bottom:18px;padding:38px 42px;border-radius:25px;color:#fff;background:radial-gradient(circle at 76% 15%,rgba(42,204,255,.3),transparent 26%),linear-gradient(125deg,#06142f 0%,#0b3561 60%,#0c766f 120%);box-shadow:0 25px 65px rgba(6,29,61,.22)}
.estimate-hero:after{content:"";position:absolute;right:-70px;top:-110px;width:360px;height:360px;border:1px solid rgba(87,220,255,.25);border-radius:50%;box-shadow:0 0 0 38px rgba(87,220,255,.04),0 0 0 76px rgba(87,220,255,.025);pointer-events:none}
.estimate-hero>div{position:relative;z-index:1}.estimate-hero h2{font-size:clamp(2rem,4vw,3.65rem);line-height:1;letter-spacing:-.045em;margin:6px 0 17px}.estimate-hero h2 em{font-style:normal;color:#55ddff}.estimate-hero p:not(.eyebrow){max-width:680px;margin:0;color:#cfdeee}.estimate-hero .eyebrow{color:#6cf1ce}
.estimate-hero-flow{display:flex;align-items:center;gap:9px;white-space:nowrap;padding-bottom:5px}.estimate-hero-flow span{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);border-radius:10px;font-size:.72rem;color:#e6f4ff;backdrop-filter:blur(10px)}.estimate-hero-flow b{display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#25b8df;color:#fff}.estimate-hero-flow i{width:18px;height:1px;background:rgba(255,255,255,.28)}
.estimate-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 20px}.estimate-stats article{position:relative;overflow:hidden;padding:19px 21px;border:1px solid #dce7ee;background:#fff;border-radius:16px;box-shadow:0 12px 35px rgba(16,42,67,.06)}.estimate-stats article:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(#20b9e8,#20bd98)}.estimate-stats article.needs-review:before{background:#f0a728}.estimate-stats span,.estimate-stats small{display:block;color:#728494}.estimate-stats span{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.estimate-stats strong{display:block;margin:3px 0;font-size:2rem;color:#102a43}.estimate-stats small{font-size:.74rem}
.estimate-intake{margin-bottom:20px}.estimate-upload{background:linear-gradient(145deg,#fff,#f8fbfd)}.estimate-ai-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;color:#fff;font-size:1.1rem;font-weight:900;letter-spacing:-.06em;background:linear-gradient(135deg,#16aee8,#13b78f);box-shadow:0 10px 24px rgba(21,173,184,.25)}.estimate-checklist{display:flex;flex-wrap:wrap;gap:8px}.estimate-checklist span{padding:7px 9px;border-radius:8px;background:#e9f6f3;color:#16725f;font-size:.75rem;font-weight:750}.estimate-rules{color:#d5e5f1;border:0;background:linear-gradient(145deg,#102a43,#153f5e)}.estimate-rules h2{color:#fff}.estimate-rules .eyebrow{color:#62ddbd}.estimate-rules p{font-size:.88rem}.estimate-rules ul{margin:18px 0 0;padding-left:20px;color:#c2d7e6;font-size:.8rem}.estimate-rules li{margin:8px 0}.estimate-rules strong{color:#fff}
.estimate-empty{text-align:center;padding:34px 18px;border:1px dashed #c8d8e3;border-radius:14px;background:#f8fbfc}.estimate-empty.compact{padding:23px}.estimate-empty p{margin:7px auto 15px;color:#718493;font-size:.85rem}.estimate-empty.compact p{margin-bottom:0}
.analysis-jobs{display:grid;gap:8px}.analysis-jobs article{display:grid;grid-template-columns:12px minmax(0,1fr) auto auto;align-items:center;gap:13px;padding:13px 15px;border:1px solid #e0e9ef;border-radius:12px;background:#fbfdfe}.analysis-jobs small{display:block;color:#7a8b98}.analysis-jobs>b{font-size:.74rem;color:#466174}.analysis-actions{display:flex;align-items:center;gap:7px}.analysis-actions form{margin:0}.analysis-status{width:10px;height:10px;border-radius:50%;background:#98a8b3;box-shadow:0 0 0 4px #edf1f4}.status-queued{background:#e5a32a;box-shadow:0 0 0 4px #fff3dc}.status-processing{background:#27aee1;box-shadow:0 0 0 4px #e3f5fc}.status-review{background:#ec7e2e;box-shadow:0 0 0 4px #fff0e4}.status-completed{background:#20b38e;box-shadow:0 0 0 4px #e0f6ef}.status-failed{background:#d84545;box-shadow:0 0 0 4px #fde8e8}
.estimate-register{padding:0;overflow:hidden}.estimate-register>.panel-heading{padding:24px 25px 10px}.count-pill{white-space:nowrap;padding:7px 11px;border-radius:999px;background:#e7f2f8;color:#285d7b;font-size:.75rem;font-weight:800}.estimate-table-wrap{width:100%;overflow:auto;border-top:1px solid #e4ecf1}.estimate-table{width:100%;min-width:1080px;border-collapse:collapse}.estimate-table th{padding:11px 10px;background:#f5f8fa;color:#6b7d8b;text-align:left;text-transform:uppercase;letter-spacing:.055em;font-size:.65rem}.estimate-table td{padding:9px 10px;border-top:1px solid #e8eef2;vertical-align:top}.estimate-table input,.estimate-table select{min-width:92px;padding:8px 9px;border-radius:7px;font-size:.78rem}.estimate-table td:first-child input,.estimate-table td:nth-child(2) input{display:block;margin-bottom:5px}.estimate-table td small{display:block;margin-top:4px;color:#7b8c99;font-size:.67rem}.estimate-add{margin:18px 24px 24px;border:1px solid #d8e4eb;border-radius:13px;background:#fafcfd}.estimate-add summary{padding:13px 15px;cursor:pointer;color:#176d91;font-weight:800;font-size:.84rem}.estimate-add form{padding:6px 16px 17px;border-top:1px solid #e3ebef}
code{padding:2px 5px;border-radius:5px;background:#edf2f5;color:#24485d}

@media(max-width:1050px){.estimate-hero{grid-template-columns:1fr}.estimate-hero-flow{overflow:auto;padding-bottom:5px}.estimate-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.login-shell{justify-items:center;padding:24px;background-position:61% center}.estimate-hero{padding:30px 22px}.estimate-hero-flow{margin:0 -8px}.estimate-hero-flow i{display:none}.estimate-stats{grid-template-columns:1fr 1fr}.estimate-intake{grid-template-columns:1fr}.analysis-jobs article{grid-template-columns:10px 1fr auto}.analysis-jobs article .button{grid-column:2/4}.estimate-register>.panel-heading{display:block}.count-pill{display:inline-flex;margin-top:8px}.estimate-add form{grid-template-columns:1fr}.estimate-add .span-2{grid-column:auto}}

/* Ukryte pola kart wyboru nie mogą poszerzać strony. */
.q-choice{position:relative;overflow:hidden}
.q-choice input{left:0;top:0;width:1px;height:1px}

@media(max-width:760px){
  .q-table-guide{display:block;padding:10px 20px}.q-table-guide b{display:block;margin-top:3px}
  .q-room-scroll,.q-detail-scroll{overflow:visible;border:0;padding:0 14px 22px}
  .q-room-table,.q-detail-table{display:block;width:100%;min-width:0}
  .q-room-table thead,.q-room-table tfoot,.q-detail-table thead{display:none}
  .q-room-table tbody,.q-detail-table tbody{display:grid;gap:14px}
  .q-room-table tr,.q-detail-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;border:1px solid #dce6ec;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(16,42,67,.06)}
  .q-room-table td,.q-detail-table td,.q-room-table td:first-child{display:block;position:static!important;min-width:0;padding:0;border:0;background:transparent}
  .q-room-table td:before,.q-detail-table td:before{content:attr(data-label);display:block;margin:0 0 4px;color:#708491;font-size:.63rem;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
  .q-room-table input,.q-detail-table input,.q-detail-table select,.q-room-table td:first-child input,.q-detail-table td:nth-child(2) input,.q-detail-table td:nth-child(5) select,.q-detail-table td:nth-child(7) input,.q-detail-table td:nth-child(9) input{width:100%;min-width:0;border-color:#d5e0e7;background:#fbfdfe;font-size:.78rem}
  .q-room-table td:first-child,.q-room-table td[data-label="Uwagi"],.q-detail-table td[data-label="Sterowanie / technologia"],.q-detail-table td[data-label="Uwagi"]{grid-column:1/-1}
  .q-action-cell{grid-column:1/-1;text-align:right}.q-action-cell:before{display:none!important}
  .q-remove-room{width:auto;height:auto;padding:7px 11px;font-size:.72rem}.q-remove-room:after{content:" Usuń"}
  .q-ai-badge{margin-left:0}
}

.offer-import-actions {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 12px;
}

/* 2026 visual system — MS Instal command center */
:root{--navy:#071a33;--navy-2:#0d2e50;--blue:#087fc3;--cyan:#25c7f2;--green:#52cc57;--bg:#eef3f7;--card:#fff;--text:#12283b;--muted:#708391;--line:#d8e3ea;--shadow:0 18px 48px rgba(11,38,67,.09)}
body{background:radial-gradient(circle at 82% -10%,rgba(37,199,242,.09),transparent 27%),linear-gradient(180deg,#f5f8fa 0,#eef3f7 320px);min-height:100vh}
body:has(.login-layout){background:#061229}
.topbar{height:78px;padding:0;background:rgba(7,26,51,.97);border-bottom:1px solid rgba(91,199,235,.16);box-shadow:0 10px 34px rgba(3,18,39,.18);backdrop-filter:blur(16px)}
.topbar-inner{width:min(1460px,100%);height:100%;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:minmax(230px,auto) 1fr auto;align-items:center;gap:30px}
.brand{height:78px;overflow:visible;gap:12px}.brand img{width:125px;filter:drop-shadow(0 5px 12px rgba(0,0,0,.3))}.brand .brand-copy{display:flex;width:auto;height:auto;flex-direction:column;gap:0;padding-left:12px;border-left:1px solid rgba(255,255,255,.14);border-radius:0;background:none;color:inherit;line-height:1.05}.brand-copy b{font-size:.8rem;letter-spacing:.02em}.brand-copy small{margin-top:4px;color:#5ce0bd;font-size:.59rem;font-weight:900;letter-spacing:.18em}
.topbar .topnav{justify-self:center;display:flex;align-items:center;gap:4px}.topnav a{position:relative;display:flex!important;align-items:center;min-height:42px;padding:0 15px!important;border-radius:11px;color:#b9cbda!important;font-size:.82rem;font-weight:750;transition:.18s ease}.topnav a:hover{color:#fff!important;background:rgba(255,255,255,.07)}.topnav a.active{color:#fff!important;background:linear-gradient(135deg,rgba(22,157,211,.24),rgba(31,184,139,.15));box-shadow:inset 0 0 0 1px rgba(83,207,230,.18)}.topnav a.active:after{content:"";position:absolute;left:15px;right:15px;bottom:-18px;height:2px;border-radius:3px;background:linear-gradient(90deg,#26c8f2,#55d47e)}
.account-nav{display:flex;align-items:center;gap:10px;min-width:0}.account-avatar{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(93,219,240,.36);border-radius:12px;background:linear-gradient(145deg,#0d5684,#13a27b);color:#fff;font-size:.7rem;font-weight:900;box-shadow:0 7px 20px rgba(0,0,0,.19)}.account-copy{display:flex;flex-direction:column;min-width:0;line-height:1.15}.account-copy b{max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:.72rem}.account-copy small{margin-top:3px;color:#77cfba;font-size:.6rem}.account-nav .link-button{padding:7px 9px;border:1px solid rgba(255,255,255,.1);border-radius:9px;color:#b8cad8;font-size:.7rem}.account-nav .link-button:hover{color:#fff;border-color:rgba(255,255,255,.22)}
.shell{max-width:1460px;padding:34px 24px 80px}

.login-shell{display:block;padding:34px max(24px,6vw);background:linear-gradient(90deg,rgba(3,10,33,.86) 0%,rgba(3,10,33,.63) 34%,rgba(3,10,33,.06) 72%),url("msinstal-hero.webp") 64% center/cover no-repeat fixed}
.login-layout{width:min(560px,100%);min-height:calc(100vh - 68px);display:flex;flex-direction:column;justify-content:center;gap:20px}
.login-intro{color:#fff;padding:0 8px}.login-intro-badge{display:inline-flex;padding:7px 10px;border:1px solid rgba(80,219,242,.28);border-radius:999px;background:rgba(15,129,170,.13);color:#67e5c3;font-size:.64rem;font-weight:900;letter-spacing:.16em}.login-intro h2{margin:15px 0 12px;font-size:clamp(2.25rem,4.2vw,4rem);line-height:.95;letter-spacing:-.055em}.login-intro h2 em{font-style:normal;color:#47d5ff;text-shadow:0 0 30px rgba(52,201,244,.22)}.login-intro>p{max-width:515px;margin-bottom:17px;color:#c4d4e4;font-size:.9rem}.login-benefits{display:flex;flex-wrap:wrap;gap:8px}.login-benefits span{display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid rgba(255,255,255,.12);border-radius:9px;background:rgba(255,255,255,.055);color:#d4e2ee;font-size:.68rem;backdrop-filter:blur(8px)}.login-benefits b{color:#62ddbd;font-size:.59rem}
.login-card{width:min(470px,100%);padding:28px 32px 24px;border-radius:24px;background:rgba(251,253,255,.96);border:1px solid rgba(255,255,255,.65);box-shadow:0 35px 95px rgba(0,5,28,.44);backdrop-filter:blur(20px)}.login-brand{height:57px;margin:0 0 8px}.login-brand img{width:220px;margin:-22px 0 0 -24px}.login-card h1{margin-bottom:8px;font-size:2rem}.login-card .muted{margin-bottom:19px;font-size:.85rem}.login-card label{color:#365064;font-size:.76rem}.login-card input{min-height:48px;border-radius:12px;background:#fff}.login-card .button-primary{min-height:49px;gap:12px;margin-top:2px;border:0;border-radius:12px;background:linear-gradient(110deg,#087fc3,#0cae98);box-shadow:0 12px 24px rgba(8,127,195,.2);transition:.18s ease}.login-card .button-primary:hover{transform:translateY(-1px);box-shadow:0 16px 30px rgba(8,127,195,.28)}.login-security{display:flex;align-items:center;justify-content:center;gap:7px;margin:15px 0 0;color:#758795;font-size:.65rem}.login-security span{display:grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#e1f6ee;color:#15805f;font-weight:900}

.dashboard-hero{position:relative;isolation:isolate;min-height:340px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 410px;align-items:center;gap:30px;padding:48px 54px;margin-bottom:18px;border-radius:30px;color:#fff;background:radial-gradient(circle at 78% 25%,rgba(38,201,242,.25),transparent 27%),linear-gradient(120deg,#06152e 0%,#0b345a 58%,#0b746d 125%);box-shadow:0 28px 70px rgba(7,30,61,.22)}.dashboard-hero:before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(90deg,#000,transparent 82%)}.dashboard-hero-copy{position:relative;z-index:2}.dashboard-hero .eyebrow{color:#63e4c1}.dashboard-hero h1{margin:9px 0 18px;font-size:clamp(2.45rem,4.5vw,4.8rem);line-height:.95;letter-spacing:-.055em}.dashboard-hero h1 em{font-style:normal;color:#48d6ff}.dashboard-hero-copy>p:not(.eyebrow){max-width:690px;color:#c9d9e7;font-size:.95rem}.dashboard-actions{display:flex;gap:10px;margin-top:24px}.dashboard-actions .button{min-height:45px;padding:0 18px;border-radius:12px}.button-ghost{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.07);color:#fff;backdrop-filter:blur(10px)}.button-ghost:hover{background:rgba(255,255,255,.12)}
.dashboard-orbit{position:relative;justify-self:center;width:310px;height:310px;border:1px solid rgba(95,222,242,.21);border-radius:50%;box-shadow:0 0 0 38px rgba(80,215,236,.035),0 0 0 76px rgba(80,215,236,.02)}.dashboard-orbit:before,.dashboard-orbit:after{content:"";position:absolute;left:50%;top:50%;background:rgba(100,223,242,.25);transform-origin:left center}.dashboard-orbit:before{width:150px;height:1px;transform:rotate(26deg)}.dashboard-orbit:after{width:150px;height:1px;transform:rotate(153deg)}.orbit-core{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:100px;height:100px;border:1px solid rgba(126,236,247,.48);border-radius:30px;background:linear-gradient(145deg,#0c4f7f,#0ca180);color:#fff;font-size:1.9rem;font-weight:950;box-shadow:0 0 40px rgba(44,202,239,.32)}.orbit-node{position:absolute;z-index:3;padding:8px 10px;border:1px solid rgba(255,255,255,.17);border-radius:9px;background:rgba(5,31,60,.82);color:#dbeef7;font-size:.58rem;font-style:normal;font-weight:900;letter-spacing:.08em;box-shadow:0 10px 25px rgba(0,0,0,.18)}.node-project{left:-16px;top:70px}.node-quote{right:-18px;top:78px}.node-home{left:102px;bottom:-13px;color:#66e8c3}
.dashboard-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:34px}.dashboard-metrics article{position:relative;overflow:hidden;padding:19px 21px;border:1px solid #dbe6ed;border-radius:17px;background:rgba(255,255,255,.92);box-shadow:0 12px 34px rgba(16,42,67,.06)}.dashboard-metrics article:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(#23c5ef,#4dcf73)}.dashboard-metrics span,.dashboard-metrics small{display:block;color:#718592}.dashboard-metrics span{font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.dashboard-metrics strong{display:block;margin:3px 0;color:#0c2a44;font-size:2rem}.dashboard-metrics small{font-size:.68rem}
.dashboard-section-heading{align-items:end;margin-bottom:18px}.dashboard-section-heading h2{margin:0;font-size:1.7rem;letter-spacing:-.03em}.projects-count{padding:7px 11px;border:1px solid #d8e4eb;border-radius:999px;background:#fff;color:#607786;font-size:.7rem;font-weight:800}.project-grid{gap:16px}.project-card{position:relative;overflow:hidden;min-height:260px;padding:21px;border-radius:20px;background:linear-gradient(150deg,#fff,#fbfdfe);box-shadow:0 15px 42px rgba(14,42,70,.07)}.project-card:before{content:"";position:absolute;right:-48px;top:-58px;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,rgba(37,199,242,.13),transparent 68%)}.project-card:hover{transform:translateY(-5px);border-color:#9ed2df;box-shadow:0 23px 50px rgba(10,51,78,.12)}.project-type-icon{display:grid;place-items:center;width:45px;height:45px;margin-top:24px;border:1px solid #cfe5eb;border-radius:14px;background:linear-gradient(145deg,#eef9fc,#eefaf5);color:#0a789b;font-size:1.35rem}.project-card h2{margin:17px 0 7px;font-size:1.28rem}.project-card p{font-size:.82rem}.project-card footer{margin-top:auto}.project-card footer strong{display:flex;align-items:center;gap:7px;color:#0d6f91;font-size:.73rem}.project-card footer i{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#e8f5f8;font-style:normal}.badge{border:1px solid transparent}.badge-status{background:#e4f6ef;border-color:#c9eadc;color:#107052}
.panel,.stats article,.empty{border-color:#dbe5ec;border-radius:19px;box-shadow:0 16px 42px rgba(13,40,67,.07)}.project-heading{border-radius:26px;padding:34px 36px;background:radial-gradient(circle at 85% 12%,rgba(38,201,242,.22),transparent 27%),linear-gradient(120deg,#071a34,#0f4c72);box-shadow:0 24px 60px rgba(7,34,64,.18)}.tabs{padding:6px;border:1px solid #dbe5eb;border-radius:15px;background:rgba(227,235,241,.86)}.tabs a{padding:10px 16px;border-radius:10px}.tabs a.active{color:#0a6487;box-shadow:0 5px 15px rgba(19,58,85,.08)}

@media(max-width:1100px){.topbar-inner{grid-template-columns:auto 1fr auto;gap:12px}.brand-copy,.account-copy{display:none!important}.dashboard-hero{grid-template-columns:1fr 300px;padding:42px}.dashboard-orbit{width:260px;height:260px}.dashboard-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.topbar{height:auto;position:relative}.topbar-inner{min-height:74px;grid-template-columns:1fr auto;grid-template-areas:"brand account" "nav nav";padding:0 14px 10px}.brand{grid-area:brand;height:68px}.account-nav{grid-area:account}.topnav{grid-area:nav!important;justify-self:stretch!important;overflow:auto}.topnav a.active:after{display:none}.shell{padding:20px 14px 60px}.dashboard-hero{grid-template-columns:1fr;padding:34px 28px}.dashboard-orbit{display:none}.login-intro h2{font-size:2.7rem}}
@media(max-width:600px){.login-shell{padding:22px 14px;background:linear-gradient(180deg,rgba(3,10,33,.72),rgba(3,10,33,.92)),url("msinstal-hero.webp") 64% center/cover no-repeat fixed}.login-layout{justify-content:flex-start;padding-top:20px}.login-intro>p,.login-benefits{display:none}.login-intro h2{margin-bottom:2px;font-size:2.15rem}.login-card{padding:25px 21px}.dashboard-hero{min-height:auto;padding:30px 22px;border-radius:22px}.dashboard-hero h1{font-size:2.5rem}.dashboard-actions{flex-direction:column}.dashboard-metrics{grid-template-columns:1fr 1fr}.dashboard-metrics article{padding:16px}.dashboard-section-heading{display:flex}.project-grid{grid-template-columns:1fr}.topnav a{padding:0 12px!important}.account-avatar{display:none}}

/* Sales, RMS catalogs and quotation workbench */
.module-missing{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:25px;min-height:260px;padding:42px;border:1px solid #cfe1e8;border-radius:26px;background:radial-gradient(circle at 88% 14%,rgba(36,199,241,.13),transparent 28%),#fff;box-shadow:var(--shadow)}.module-missing>span{display:grid;place-items:center;width:82px;height:82px;border-radius:24px;background:linear-gradient(145deg,#0b5790,#0ba682);color:#fff;font-size:1.15rem;font-weight:950;box-shadow:0 16px 34px rgba(14,115,144,.22)}.module-missing h1{margin-bottom:10px}.module-missing p{margin-bottom:0;color:var(--muted)}
.offers-heading,.catalog-heading{align-items:end}.offers-heading .muted,.catalog-heading .muted{margin:8px 0 0}.sales-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.sales-overview article{padding:18px 20px;border:1px solid #dae5eb;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(14,42,69,.055)}.sales-overview span{display:block;color:#748692;font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em}.sales-overview strong{display:block;margin-top:3px;font-size:1.8rem;color:#0d2c47}.offer-board{display:grid;grid-template-columns:repeat(5,minmax(250px,1fr));gap:12px;overflow:auto;padding:2px 2px 18px}.offer-column{min-height:420px;border:1px solid #d9e4ea;border-radius:18px;background:#e8eef2}.offer-column>header{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;color:#385266;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.055em}.offer-column>header b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#fff;color:#557080}.offer-column-body{display:grid;align-content:start;gap:9px;padding:0 9px 10px}.column-empty{margin:20px 0;text-align:center;color:#92a1ab;font-size:.75rem}.offer-card{display:block;padding:15px;border:1px solid #dce6eb;border-radius:14px;background:#fff;color:var(--text);box-shadow:0 8px 22px rgba(20,48,74,.06);transition:.16s ease}.offer-card:hover{transform:translateY(-2px);border-color:#add4df}.offer-card small{color:#159e7c;font-size:.63rem;font-weight:900;letter-spacing:.07em}.offer-card h2{margin:8px 0 6px;font-size:1rem;line-height:1.25}.offer-card p{min-height:36px;margin-bottom:13px;color:#71838f;font-size:.72rem}.offer-card>div{display:flex;justify-content:space-between;gap:8px;padding-top:10px;border-top:1px solid #e8eef2;font-size:.66rem;color:#7c8c97}.offer-card strong{color:#0c5d7e;font-size:.7rem}
.premium-form-panel{padding:30px}.catalog-count{padding:8px 12px;border:1px solid #d6e3e9;border-radius:999px;background:#fff;color:#5b7484;font-size:.72rem;font-weight:850}.catalog-tabs{display:flex;gap:8px;margin-bottom:18px}.catalog-tabs a{display:flex;align-items:center;gap:9px;padding:10px 15px;border:1px solid #d8e4ea;border-radius:12px;background:#fff;color:#526a79;font-size:.78rem;font-weight:800}.catalog-tabs a span{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#edf3f6;color:#557181;font-size:.68rem}.catalog-tabs a.active{border-color:#9dd8d0;background:linear-gradient(120deg,#edf9fd,#ecfaf5);color:#0b5570;box-shadow:0 9px 24px rgba(17,94,112,.09)}.catalog-tabs a.active span{background:linear-gradient(145deg,#159fd1,#13ad83);color:#fff}.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:18px;align-items:start}.catalog-register{padding:0;overflow:hidden}.catalog-register>.panel-heading{padding:23px 25px 5px}.catalog-sidebar{display:grid;gap:0}.compact-form{gap:11px}.compact-form label{font-size:.72rem}.compact-form input,.compact-form select,.compact-form textarea{padding:9px 10px;border-radius:9px;font-size:.78rem}.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.inline-create{display:flex;gap:8px;align-items:end}.inline-create input,.inline-create select{min-width:0}.category-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}.category-chips span{padding:6px 8px;border-radius:8px;background:#edf5f7;color:#547080;font-size:.66rem;font-weight:750}.commercial-table-wrap{width:100%;overflow:auto}.commercial-table{width:100%;min-width:760px;border-collapse:collapse;font-size:.75rem}.commercial-table th{padding:10px 12px;background:#f2f6f8;color:#6b7d89;text-align:left;text-transform:uppercase;letter-spacing:.055em;font-size:.61rem;white-space:nowrap}.commercial-table td{padding:12px;border-top:1px solid #e5ecef;vertical-align:top}.commercial-table tbody tr:hover{background:#f8fbfc}.commercial-table td small{display:block;margin-top:3px;color:#80909b;font-size:.64rem}.commercial-table td strong{color:#15344a}
.offer-hero{display:flex;justify-content:space-between;gap:30px;align-items:end;padding:31px 35px;border-radius:25px;color:#fff;background:radial-gradient(circle at 85% 10%,rgba(45,204,244,.22),transparent 28%),linear-gradient(120deg,#071b36,#0c4b70);box-shadow:0 22px 56px rgba(7,32,61,.18)}.offer-hero .eyebrow{color:#64e6c3}.offer-hero h1{margin:7px 0 10px}.offer-hero p{margin:0;color:#c8d9e6}.offer-hero-meta{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.offer-hero-meta span{padding:8px 10px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:rgba(255,255,255,.08);color:#dcebf4;font-size:.68rem;font-weight:750}.offer-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:0;margin:16px 0;padding:5px;border:1px solid #d8e3e9;border-radius:15px;background:#e7edf1}.offer-steps a{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 8px;border-radius:10px;color:#687d8b;font-size:.7rem;font-weight:800}.offer-steps b{display:grid;place-items:center;width:24px;height:24px;border:1px solid #cbd8df;border-radius:8px;background:#fff;font-size:.64rem}.offer-steps a.active{background:#fff;color:#0d6585;box-shadow:0 5px 14px rgba(17,49,74,.08)}.offer-steps a.active b{border:0;background:linear-gradient(145deg,#17a7d7,#12ad83);color:#fff}.quote-summary-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:17px}.quote-summary-strip article{padding:15px 17px;border:1px solid #dbe5ea;border-radius:14px;background:#fff}.quote-summary-strip span{display:block;color:#778995;font-size:.61rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.quote-summary-strip strong{display:block;margin-top:4px;color:#13344b;font-size:1rem}.quote-summary-strip .profit{border-color:#c8e8dc;background:#effaf6}.quote-summary-strip .profit strong{color:#0d7859}.quote-workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:17px;align-items:start}.quote-section{padding:0;overflow:hidden}.quote-section>header{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:18px 21px;background:linear-gradient(120deg,#f9fcfd,#f2f8f9);border-bottom:1px solid #e2eaee}.quote-section>header small{color:#159c7b;font-size:.57rem;font-weight:900;letter-spacing:.09em}.quote-section>header h2{margin:2px 0 0}.quote-section>header>strong{color:#0c5d7d}.quote-items-table{min-width:850px}.rms-badge{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;font-size:.65rem;font-weight:950}.rms-labour{background:#e7f2fb;color:#136499}.rms-material{background:#e7f7ef;color:#137052}.rms-equipment{background:#fff0dc;color:#9a5b08}.margin-cell{color:#147255;font-weight:800}.quote-add-section{padding:0}.quote-add-section summary{padding:14px 17px;cursor:pointer;color:#116d8d;font-size:.78rem;font-weight:850}.quote-add-section form{padding:0 15px 15px}.quote-item-editor{position:sticky;top:96px}.quote-item-editor h2{margin-bottom:17px}
@media(max-width:1180px){.catalog-layout,.quote-workspace{grid-template-columns:1fr}.catalog-sidebar{grid-template-columns:1fr 1fr;gap:14px}.quote-item-editor{position:static}.quote-summary-strip{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.sales-overview{grid-template-columns:1fr 1fr}.offer-board{grid-template-columns:repeat(5,260px)}.catalog-sidebar{grid-template-columns:1fr}.offer-hero{display:block;padding:26px 23px}.offer-hero-meta{justify-content:flex-start;margin-top:17px}.offer-steps{display:flex;overflow:auto}.offer-steps a{min-width:125px}.quote-summary-strip{grid-template-columns:1fr 1fr}.module-missing{grid-template-columns:1fr;padding:28px}.module-missing>span{width:62px;height:62px;border-radius:18px}.catalog-tabs{overflow:auto}.catalog-tabs a{white-space:nowrap}}
@media(max-width:560px){.sales-overview,.quote-summary-strip{grid-template-columns:1fr 1fr}.sales-overview article{padding:14px}.catalog-heading{display:flex}.mini-grid{grid-template-columns:1fr}.inline-create{align-items:stretch;flex-direction:column}.offer-hero h1{font-size:2rem}.offer-steps span{font-size:.64rem}.quote-summary-strip article{padding:13px}.quote-summary-strip strong{font-size:.85rem}}

.catalog-thumb{display:block;width:52px;height:42px;object-fit:contain;border:1px solid #dfe8ed;border-radius:9px;background:#fff}.catalog-thumb-empty{display:grid;place-items:center;color:#9aa9b3}.quote-item-name{display:flex;align-items:center;gap:10px;min-width:250px}.quote-item-name>div{min-width:0}.quote-item-name .catalog-thumb{flex:0 0 auto}
.offer-pdf-link{display:inline-flex;align-items:center;padding:8px 12px;border:1px solid rgba(109,231,205,.5);border-radius:9px;background:linear-gradient(135deg,rgba(27,185,214,.25),rgba(32,189,133,.28));color:#fff;font-size:.68rem;font-weight:850}.offer-pdf-link:hover{border-color:#7be8d0;background:linear-gradient(135deg,rgba(27,185,214,.4),rgba(32,189,133,.42));color:#fff}

/* Prywatne centrum ofertowania MS Instal */
.sales-app{display:grid;grid-template-columns:235px minmax(0,1fr);gap:24px;align-items:start}.sales-content{min-width:0}.sales-sidebar{position:sticky;top:100px;overflow:hidden;border:1px solid #d5e2e9;border-radius:20px;background:#fff;box-shadow:0 18px 48px rgba(10,42,69,.08)}.sales-sidebar-brand{display:flex;align-items:center;gap:11px;padding:19px;background:linear-gradient(135deg,#071d39,#0c4d6d);color:#fff}.sales-sidebar-brand>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,#1ba4d0,#12aa7f);font-weight:950}.sales-sidebar-brand b,.sales-sidebar-brand small{display:block}.sales-sidebar-brand b{font-size:.9rem}.sales-sidebar-brand small{margin-top:2px;color:#83e4d2;font-size:.62rem}.sales-sidebar nav{display:grid;padding:12px}.sales-sidebar nav p{margin:12px 9px 5px;color:#91a1ac;font-size:.58rem;font-weight:950;letter-spacing:.11em;text-transform:uppercase}.sales-sidebar nav a{display:grid;grid-template-columns:31px 1fr;align-items:center;gap:9px;padding:9px;border-radius:11px;color:#526a79;font-size:.75rem}.sales-sidebar nav a>span{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#edf3f6;color:#547080;font-size:.58rem;font-weight:950}.sales-sidebar nav a:hover{background:#f2f7f9;color:#123c57}.sales-sidebar nav a.active{background:linear-gradient(120deg,#e9f7fb,#eaf9f3);color:#075b77}.sales-sidebar nav a.active>span{background:linear-gradient(145deg,#1aa6d2,#12ad82);color:#fff}.sales-sidebar nav a b{font-weight:800}.offer-column.is-dragover{outline:2px solid #1ab18a;outline-offset:-2px;background:#def4ec}.offer-card[draggable=true]{cursor:grab}.offer-card.is-dragging{opacity:.42;transform:rotate(1deg)}.offer-board.is-saving{pointer-events:none;opacity:.7}.offer-stage-message{position:fixed;right:22px;bottom:22px;z-index:50;padding:12px 16px;border-radius:12px;background:#092e4b;color:#fff;box-shadow:0 15px 40px rgba(7,31,54,.28);font-size:.76rem;font-weight:800}.offer-stage-message.error{background:#a52b2b}.offer-create-panel{position:relative}.offer-create-modes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 10px;padding:0;border:0}.offer-create-modes legend{grid-column:1/-1;margin-bottom:2px;font-size:.72rem;font-weight:850}.offer-create-choice{display:flex;align-items:center;gap:12px;margin:0;padding:15px;border:1px solid #d5e2e9;border-radius:14px;background:#f7fafb;cursor:pointer}.offer-create-choice.active{border-color:#25b899;background:#effaf6;box-shadow:0 0 0 2px rgba(25,179,148,.08)}.offer-create-choice input{position:absolute;opacity:0;pointer-events:none}.offer-create-choice>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#dfe9ee;color:#547080;font-size:1.35rem;font-weight:800}.offer-create-choice.active>span{background:#12a982;color:#fff}.offer-create-choice b,.offer-create-choice small{display:block}.offer-create-choice small{margin-top:2px;color:#6b7f8b}.offer-create-panel label small{display:block;margin-top:5px;color:#7e8e98;font-weight:500}.category-tree{display:grid;gap:5px;margin-top:14px}.category-tree span{display:block;padding:7px 9px;border-radius:8px;font-size:.68rem}.category-tree .root{background:#eaf2f6;color:#214a62;font-weight:850}.category-tree .child{margin-left:16px;border-left:2px solid #35b99d;background:#f4f8f9;color:#5a7180}.sales-list-panel{padding:8px}.sales-record{display:grid;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;border-bottom:1px solid #e5ecef;color:#17364b}.sales-record:last-child{border-bottom:0}.sales-record:hover{border-radius:12px;background:#f3f8fa}.record-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e5f6f4;color:#08785f;font-size:.66rem;font-weight:950}.sales-record small,.sales-record strong,.sales-record p{display:block}.sales-record small{color:#0aa17b;font-size:.61rem;font-weight:900}.sales-record strong{margin-top:2px}.sales-record p{margin:2px 0 0;color:#7b8c97;font-size:.7rem}.sales-record>b{padding:7px 9px;border-radius:999px;background:#edf3f6;color:#557080;font-size:.66rem}.contractors-layout{grid-template-columns:minmax(0,1fr) 330px}
@media(max-width:760px){.offer-create-modes{grid-template-columns:1fr}}
@media(max-width:1050px){.sales-app{grid-template-columns:1fr}.sales-sidebar{position:static}.sales-sidebar-brand{display:none}.sales-sidebar nav{display:flex;overflow:auto;padding:8px}.sales-sidebar nav p{display:none}.sales-sidebar nav a{flex:0 0 auto}.contractors-layout{grid-template-columns:1fr}}

/* Kalkulacja rozdziałowa — układ zgodny z codzienną pracą ofertową */
.quote-calculation-layout{display:grid;grid-template-columns:175px minmax(0,1fr);gap:16px;align-items:start}.quote-department-nav{position:sticky;top:96px;padding:13px}.quote-department-nav .eyebrow{margin:3px 7px 10px}.quote-department-nav a{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;padding:10px 8px;border-radius:10px;color:#567080;font-size:.7rem}.quote-department-nav a:hover{background:#edf6f7;color:#075c78}.quote-department-nav a>span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#e7f3f5;color:#0b6d85;font-size:.62rem;font-weight:950}.quote-department-nav a b{color:#173d54}.quote-department-nav a small{display:grid;place-items:center;min-width:21px;height:21px;border-radius:999px;background:#eef3f5;color:#6e818c;font-size:.58rem;font-weight:850}.quote-department{scroll-margin-top:90px}.quote-department+.quote-department{margin-top:22px}.quote-department-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 9px;padding:0 4px}.quote-department-heading small{color:#13a07d;font-size:.58rem;font-weight:950;letter-spacing:.1em}.quote-department-heading h2{margin:2px 0 0;font-size:1.22rem}.quote-section{margin-bottom:14px}.quote-section>header{padding:14px 18px}.quote-section>header h2{font-size:1.05rem}.quote-section-values{text-align:right}.quote-section-values span,.quote-section-values small{display:block;color:#738691;font-size:.57rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.quote-section-values strong{display:block;margin:2px 0;color:#0b6382}.quote-rms-tabs{display:flex;gap:0;padding:0 15px;border-bottom:1px solid #dee7eb;background:#fff}.quote-rms-tabs button{display:flex;align-items:center;gap:7px;padding:12px 13px;border:0;border-bottom:3px solid transparent;background:transparent;color:#71838f;font:inherit;font-size:.69rem;font-weight:800;cursor:pointer}.quote-rms-tabs button:hover{color:#0b6c86}.quote-rms-tabs button.active{border-bottom-color:#19af89;color:#0b607d}.quote-rms-tabs b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#edf3f5;color:#66808e;font-size:.57rem}.quote-rms-tabs button.active b{background:#dff6ed;color:#087256}.quote-rms-panel{background:#fff}.quote-description-panel{padding:20px}.quote-description-panel>p{margin:0;color:#536b79;line-height:1.65}.quote-description-panel details{margin-top:15px}.quote-description-panel summary{cursor:pointer;color:#0b6684;font-size:.72rem;font-weight:850}.quote-description-panel form{max-width:720px;margin-top:13px}.quote-line-head,.quote-line>summary{display:grid;grid-template-columns:35px minmax(225px,2fr) 45px 54px 62px 62px 102px 65px 105px 112px;gap:7px;align-items:center}.quote-line-head{padding:9px 12px;background:#f3f6f7;color:#72848e;font-size:.55rem;font-weight:900;text-transform:uppercase;letter-spacing:.045em}.quote-line{border-bottom:1px solid #e2e9ec}.quote-line>summary{min-height:57px;padding:7px 12px;color:#334f61;font-size:.66rem;cursor:pointer;list-style:none}.quote-line>summary::-webkit-details-marker{display:none}.quote-line>summary:hover{background:#f7fbfc}.quote-line[open]>summary{background:#edf7f8;box-shadow:inset 3px 0 #1eb397}.quote-line-title{display:flex;align-items:center;gap:9px;min-width:0}.quote-line-title .catalog-thumb{width:42px;height:38px}.quote-line-title b{overflow:hidden;color:#112f45;font-size:.72rem;text-overflow:ellipsis}.quote-line>summary>strong{text-align:right;color:#0b5f7d}.quote-type-empty{padding:22px;text-align:center;color:#70838e}.quote-type-empty strong{color:#294a5e}.quote-type-empty p{margin:5px 0 0;font-size:.72rem}.quote-line-editor{display:grid;grid-template-columns:repeat(8,minmax(85px,1fr));gap:9px;padding:16px 18px 8px;border-top:1px dashed #cbdde3;background:#f8fbfc}.quote-line-editor label{color:#607885;font-size:.61rem;font-weight:800}.quote-line-editor input,.quote-line-editor textarea{margin-top:4px;padding:8px;border-radius:8px;background:#fff;font-size:.72rem}.quote-line-editor .span-4{grid-column:span 4}.quote-line-editor .span-all{grid-column:1/-1}.quote-line-editor .check-inline{display:flex;align-items:center;gap:7px;padding-top:18px}.quote-line-editor .check-inline input{width:auto;margin:0}.quote-editor-actions{display:flex;justify-content:flex-end}.quote-line-delete{display:flex;justify-content:flex-end;padding:0 18px 15px;background:#f8fbfc}.button-danger{border-color:#ebc4c4!important;background:#fff3f3!important;color:#9d2d2d!important}.quote-inline-add{display:grid;grid-template-columns:minmax(185px,1.6fr) minmax(220px,2fr) 62px 62px 62px 90px 65px 98px auto;gap:7px;align-items:end;padding:13px 12px 15px;background:#f4f8f9}.quote-inline-add label{min-width:0;color:#657b88;font-size:.55rem;font-weight:850}.quote-inline-add label>span{display:block;height:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-inline-add input,.quote-inline-add select{width:100%;min-width:0;padding:7px 8px;border-radius:7px;background:#fff;font-size:.65rem}.quote-inline-add button{min-height:35px;padding:8px 12px}.quote-add-section{margin-top:12px}.quote-add-section .inline-create{display:grid;grid-template-columns:220px 1fr auto}.quote-lines:empty{display:none}
.quote-parity-alert{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:14px;padding:16px 18px;border-left:4px solid #f5b400;background:#fffaf0}.quote-parity-alert .eyebrow{margin:0 0 3px}.quote-parity-alert strong{display:block;color:#17384d}.quote-parity-alert p{margin:4px 0 0;color:#647985;font-size:.72rem}.quote-parity-alert form{flex:0 0 auto}.quote-add-department{margin-top:10px;border-top:1px solid #e2eaed;padding:10px 6px 2px}.quote-add-department>summary{cursor:pointer;color:#0a6885;font-size:.68rem;font-weight:900}.quote-add-department form{margin-top:10px}.quote-department-totals{display:flex;align-items:center;gap:18px}.quote-department-totals span{display:grid;gap:2px;color:#788a94;font-size:.55rem;font-weight:800;text-align:right;text-transform:uppercase}.quote-department-totals b{color:#14384f;font-size:.78rem}.quote-empty-department{padding:22px;text-align:center}.quote-empty-department p{margin:5px 0 14px;color:#728590;font-size:.72rem}.quote-empty-department .inline-create{display:grid;grid-template-columns:1fr auto;gap:8px;max-width:620px;margin:auto}.catalog-heading-actions form{margin:0}
@media(max-width:1450px){.quote-line-head,.quote-line>summary{grid-template-columns:30px minmax(190px,2fr) 38px 48px 52px 52px 84px 55px 88px 96px}.quote-inline-add{grid-template-columns:minmax(155px,1.4fr) minmax(180px,1.8fr) 54px 54px 54px 78px 55px 84px auto}}
@media(max-width:1180px){.quote-calculation-layout{grid-template-columns:1fr}.quote-department-nav{position:static;display:flex;gap:6px;overflow:auto}.quote-department-nav .eyebrow{display:none}.quote-department-nav a{flex:0 0 auto}.quote-rms-panel{overflow:auto}.quote-line-head,.quote-line>summary{min-width:940px}.quote-inline-add{min-width:990px}.quote-line-editor{min-width:900px}}
@media(max-width:700px){.quote-rms-tabs{overflow:auto;padding:0 7px}.quote-rms-tabs button{flex:0 0 auto;padding:10px}.quote-section>header{align-items:flex-start}.quote-section-values{min-width:120px}.quote-add-section .inline-create{grid-template-columns:1fr}}
.offer-board{grid-template-columns:repeat(4,minmax(250px,1fr))}
@media(max-width:820px){.offer-board{grid-template-columns:repeat(4,260px)}}

/* Kartoteki RMS — układ kategorii i kart produktów */
.catalog-heading-actions{display:flex;align-items:center;gap:10px}.catalog-new-item{position:relative}.catalog-new-item>summary{list-style:none;cursor:pointer}.catalog-new-item>summary::-webkit-details-marker{display:none}.catalog-new-item>form{position:absolute;right:0;top:calc(100% + 9px);z-index:30;width:390px;padding:19px;border:1px solid #d3dfe5;border-radius:15px;background:#fff;box-shadow:0 24px 65px rgba(8,39,65,.2)}
.heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.heading-actions form{margin:0}.project-offers-panel{margin-bottom:18px}.project-offers-panel .panel-heading{align-items:center}.project-offer-list{display:grid;gap:9px;margin-top:14px}.project-offer-list>a{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:14px 16px;border:1px solid #d5e2e8;border-radius:13px;background:#f9fcfd;color:#17384d;text-decoration:none;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.project-offer-list>a:hover{border-color:#20b7ae;box-shadow:0 10px 28px rgba(16,83,105,.1);transform:translateY(-1px)}.project-offer-list>a>div{display:grid;gap:3px}.project-offer-list>a>div:last-child{text-align:right}.project-offer-list small{color:#008f7d;font-size:.65rem;font-weight:900;letter-spacing:.04em}.project-offer-list strong{color:#0d2940}.project-offer-list span{color:#728692;font-size:.72rem}.project-offer-list b{color:#158775;font-size:.65rem;text-transform:uppercase}
.catalog-browser-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}.catalog-category-panel{position:sticky;top:94px;padding:0;overflow:visible;border-radius:3px;background:#fffdf8}.catalog-category-panel>header{display:flex;justify-content:space-between;align-items:center;padding:20px 15px 9px;text-transform:uppercase}.catalog-category-panel>header strong{font-size:.8rem}.catalog-category-panel>header a{color:#086bd8;font-size:.72rem;text-transform:none}.category-back{display:flex;justify-content:space-between;padding:0 15px 18px;color:#263c4a;font-size:.73rem}.category-back b{color:#086bd8}.category-back.active{padding-top:3px;color:#086bd8}.catalog-category-panel h3{margin:17px 15px 10px;font-size:.78rem;text-transform:uppercase}.subcategory-scroll{display:grid;gap:4px;max-height:430px;padding:0 12px;overflow:auto}.subcategory-scroll.roots{max-height:535px}.category-menu-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;min-height:46px;border-left:3px solid transparent;background:#fbfaf6}.category-menu-row.root{background:#edf1f3}.category-menu-row.active{border-left-color:#14b899;background:#eaf8f4}.category-menu-row>a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:12px 6px 12px 13px;color:#213746}.category-menu-row>a b,.category-menu-row>a span{overflow:hidden;text-overflow:ellipsis}.category-menu-row>a b{font-size:.72rem;text-transform:uppercase}.category-menu-row>a span{color:#6c7880;font-size:.72rem;text-transform:uppercase}.category-menu-row>a small{display:grid;place-items:center;min-width:23px;height:23px;border-radius:999px;background:#fff;color:#617786;font-size:.59rem}.category-menu-row details{position:relative}.category-menu-row summary{display:grid;place-items:center;width:28px;height:42px;cursor:pointer;list-style:none;color:#9aaab4;font-weight:900}.category-menu-row summary::-webkit-details-marker{display:none}.category-menu-row details form{position:absolute;right:0;top:42px;z-index:15;display:grid;grid-template-columns:1fr auto;width:245px;padding:9px;border:1px solid #d5e0e5;border-radius:10px;background:#fff;box-shadow:0 15px 35px rgba(9,42,66,.18)}.category-menu-row details input{min-width:0;padding:8px;border:1px solid #cbd8df}.category-menu-row details button{border:0;background:#0b6f92;color:#fff}.category-add-box{margin:14px}.category-add-box>summary{padding:12px;border:1px solid #d3d5d2;border-radius:7px;list-style:none;text-align:center;color:#213746;cursor:pointer;font-size:.72rem;font-weight:850}.category-add-box>summary::-webkit-details-marker{display:none}.category-add-box>form{margin-top:9px;padding:13px;border:1px solid #dce5e9;border-radius:10px;background:#fff}
.catalog-product-list{display:grid;gap:12px;min-width:0}.catalog-product-card{display:grid;grid-template-columns:155px minmax(0,1fr) 295px;min-height:224px;overflow:hidden;border:1px solid #dce5e8;border-radius:15px;background:#fff;box-shadow:0 9px 28px rgba(14,48,72,.06);cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.catalog-product-card:hover,.catalog-product-card:focus{transform:translateY(-2px);border-color:#95cfc2;box-shadow:0 16px 36px rgba(11,48,73,.11);outline:0}.catalog-product-media{display:grid;place-items:center;padding:18px;background:#fbfcfc}.catalog-product-media img{width:118px;height:155px;object-fit:contain}.catalog-product-media span{display:grid;place-items:center;width:108px;height:108px;border:1px dashed #cad7dd;border-radius:16px;color:#95a5ae;text-align:center;font-size:.68rem}.catalog-product-copy{min-width:0;padding:22px 18px}.catalog-product-copy h2{margin:0 0 4px;color:#101e2a;font-size:1.08rem}.catalog-breadcrumb{display:inline-block;margin-bottom:13px;color:#006ee6;font-size:.72rem}.catalog-product-copy>p{margin:0 0 16px;color:#2e414e;font-size:.74rem;line-height:1.55}.catalog-product-copy dl{display:grid;gap:6px;margin:0}.catalog-product-copy dl>div{display:grid;grid-template-columns:115px minmax(0,1fr);gap:8px}.catalog-product-copy dt{color:#87949b;font-size:.66rem;text-transform:uppercase}.catalog-product-copy dd{min-width:0;margin:0;color:#172d3b;font-size:.68rem;font-weight:800;overflow-wrap:anywhere}.catalog-product-copy dd a{color:#006ee6}.catalog-product-price{display:flex;flex-direction:column;padding:20px;background:#f7f9fa}.catalog-product-price>.currency-flag{align-self:flex-start;margin-bottom:3px;padding:3px 6px;border-left:18px solid #dc143c;background:#fff;color:#80909a;font-size:.55rem}.catalog-product-price>small,.catalog-product-price>div small{display:block;color:#85949d;font-size:.59rem;text-transform:uppercase}.catalog-product-price>strong{display:block;margin:2px 0 12px;color:#102234;font-size:1.22rem}.catalog-product-price>strong em{margin-left:4px;color:#74858f;font-size:.7rem;font-style:normal;font-weight:500}.catalog-product-price>div{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:14px}.catalog-product-price>div b{display:block;margin-top:3px;color:#203746;font-size:.72rem}.catalog-edit-button{display:block;margin-top:auto;padding:11px;border-radius:4px;background:#ffc400;color:#17212a!important;text-align:center;font-size:.74rem;font-weight:900}.catalog-edit-button:hover{background:#ffd02e}.catalog-edit-panel{padding:24px}.catalog-edit-form{display:grid;grid-template-columns:250px minmax(0,1fr);gap:26px;align-items:start}.catalog-edit-media{display:grid;gap:12px}.catalog-edit-media>img,.catalog-edit-media>span{display:grid;place-items:center;width:100%;height:230px;object-fit:contain;border:1px solid #dbe5ea;border-radius:14px;background:#fbfcfc}.catalog-edit-media>span{color:#94a4ad}.catalog-edit-media label{font-size:.7rem;font-weight:800}.catalog-edit-media input[type=file]{width:100%;margin-top:6px}.catalog-edit-media small{color:#7e8f98}.catalog-edit-fields{margin:0}.check-line{display:flex;align-items:center;gap:7px}.check-line input{width:auto}
@media(max-width:1180px){.catalog-product-card{grid-template-columns:130px minmax(0,1fr) 250px}.catalog-product-media img{width:100px}.catalog-product-copy dl>div{grid-template-columns:95px minmax(0,1fr)}}
@media(max-width:950px){.catalog-browser-layout{grid-template-columns:1fr}.catalog-category-panel{position:static}.subcategory-scroll,.subcategory-scroll.roots{max-height:300px}.catalog-product-card{grid-template-columns:130px minmax(0,1fr)}.catalog-product-price{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr 1fr 180px;align-items:center;gap:12px}.catalog-product-price>strong,.catalog-product-price>div{margin:0}.catalog-edit-form{grid-template-columns:1fr}.catalog-edit-media{max-width:320px}}
@media(max-width:650px){.catalog-heading-actions,.heading-actions{align-items:stretch;flex-direction:column}.heading-actions .button{width:100%}.catalog-new-item>form{position:fixed;left:12px;right:12px;top:100px;width:auto;max-height:calc(100vh - 120px);overflow:auto}.catalog-product-card{grid-template-columns:92px minmax(0,1fr)}.catalog-product-media{padding:10px}.catalog-product-media img{width:75px;height:110px}.catalog-product-copy{padding:16px 12px}.catalog-product-copy dl>div{grid-template-columns:1fr}.catalog-product-price{display:grid;grid-template-columns:1fr 1fr;padding:15px}.catalog-product-price>.currency-flag{display:none}.catalog-product-price>div{grid-template-columns:1fr 1fr}.catalog-edit-button{grid-column:1/-1}.catalog-edit-panel{padding:16px}.project-offer-list>a{align-items:flex-start;flex-direction:column}.project-offer-list>a>div:last-child{text-align:left}}

/* Pełny edytor kartoteki RMS */
.catalog-edit-button{width:100%;border:0;cursor:pointer}.catalog-item-dialog{width:min(1250px,calc(100vw - 38px));max-width:none;height:min(790px,calc(100vh - 38px));max-height:none;padding:0;overflow:hidden;border:0;border-radius:10px;background:#fff;box-shadow:0 36px 110px rgba(0,0,0,.48)}.catalog-item-dialog::backdrop{background:rgba(20,22,23,.78);backdrop-filter:blur(2px)}.catalog-item-editor{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;height:100%;margin:0}.catalog-editor-head{display:flex;align-items:flex-start;justify-content:space-between;min-height:105px;padding:22px 24px 14px;border-bottom:1px solid #e1e4e5;background:#fff}.catalog-editor-head small{display:block;color:#8d989e;font-size:.57rem;font-weight:850;text-transform:uppercase}.catalog-editor-head h2{margin:3px 0 8px;color:#142438;font-size:1.25rem}.catalog-editor-head p{display:flex;gap:15px;margin:0;color:#7c8990;font-size:.64rem}.catalog-editor-head p b{color:#24394b}.catalog-editor-head>button{width:40px;height:40px;border:0;background:transparent;color:#9aa5aa;font-size:2rem;line-height:1;cursor:pointer}.catalog-editor-tabs{display:flex;min-height:49px;padding:0 23px;border-bottom:1px solid #dce1e3;background:#fff}.catalog-editor-tabs button{position:relative;padding:0 20px;border:0;background:transparent;color:#90999f;font-size:.68rem;font-weight:850;text-transform:uppercase;cursor:pointer}.catalog-editor-tabs button:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:transparent}.catalog-editor-tabs button.active{color:#172d40}.catalog-editor-tabs button.active:after{background:#f4bf00}.catalog-editor-tabs span{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:4px;border-radius:9px;background:#eef1f2;font-size:.57rem}.catalog-editor-scroll{min-height:0;overflow:auto;background:#fff}.catalog-editor-pane{padding:17px 23px 25px}.catalog-editor-pane[hidden]{display:none}.catalog-editor-primary{display:grid;grid-template-columns:minmax(0,1fr) 475px;gap:30px}.catalog-editor-main-fields,.catalog-editor-side{display:grid;align-content:start;gap:14px}.catalog-editor-name-row{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:10px}.catalog-item-editor label{display:grid;gap:5px;color:#7e898f;font-size:.65rem;font-weight:850;text-transform:uppercase}.catalog-item-editor input,.catalog-item-editor select,.catalog-item-editor textarea{width:100%;padding:10px 11px;border:1px solid #d8dddf;border-radius:2px;background:#fafafa;color:#172c3b;font:inherit;font-size:.75rem;text-transform:none}.catalog-item-editor input:focus,.catalog-item-editor select:focus,.catalog-item-editor textarea:focus{border-color:#12a7c7;background:#fff;outline:2px solid rgba(18,167,199,.12)}.catalog-editor-main-fields textarea{min-height:96px;resize:vertical}.catalog-editor-price-title{display:flex;align-items:flex-end;justify-content:space-between;margin-top:5px;padding-bottom:7px;border-bottom:2px solid #f3bf00}.catalog-editor-price-title h3,.catalog-editor-side h3{margin:0;color:#182b3c;font-size:.88rem;text-transform:uppercase}.catalog-editor-price-title span{color:#89959b;font-size:.58rem;text-transform:uppercase}.catalog-editor-price-title b{display:block;margin-top:2px;color:#172c3d;font-size:.85rem}.catalog-editor-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px 18px}.catalog-editor-gross{display:flex;flex-direction:column;justify-content:end;padding:7px 0}.catalog-editor-gross small{color:#8b969c;font-size:.57rem;text-transform:uppercase}.catalog-editor-gross strong{margin-top:5px;color:#173149;font-size:1rem}.catalog-editor-side{padding-left:3px}.catalog-image-drop{position:relative;display:grid;place-items:center;min-height:185px;overflow:hidden;border:1px solid #ccd4d8;border-radius:5px;background:#fff;cursor:pointer;transition:.16s ease}.catalog-image-drop:hover,.catalog-image-drop.dragging{border-color:#f0ba00;background:#fffdf6;box-shadow:inset 0 0 0 2px rgba(240,186,0,.18)}.catalog-image-drop>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.catalog-image-drop>img{width:100%;height:185px;object-fit:contain;padding:10px}.catalog-image-drop>div{display:grid;place-items:center;gap:5px;color:#8d9599;text-align:center}.catalog-image-drop>div b{font-size:.78rem;text-transform:uppercase}.catalog-image-drop>div span{font-size:.66rem}.catalog-image-drop>div strong{padding:8px 13px;border-radius:3px;background:#8e9294;color:#fff;font-size:.68rem}.catalog-image-drop>div small{margin-top:4px;font-size:.57rem}.catalog-image-remove{justify-self:end;margin-top:-8px;padding:5px 8px;border:0;background:transparent;color:#d44c47;font-size:.63rem;font-weight:800;cursor:pointer}.catalog-editor-side-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.catalog-editor-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:980px}.catalog-editor-detail-grid .span-2{grid-column:1/-1}.catalog-editor-empty-pane{display:grid;place-items:center;align-content:center;min-height:400px;text-align:center}.catalog-editor-empty-pane>span{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;background:#edf4f6;color:#158aac;font-size:1rem;font-weight:950}.catalog-editor-empty-pane h3{margin:15px 0 6px}.catalog-editor-empty-pane p{max-width:540px;margin:0;color:#7a8c96;font-size:.75rem}.catalog-editor-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 23px;border-top:1px solid #dce2e4;background:#fafbfb}.catalog-editor-actions .button{min-width:120px;border-radius:4px}.catalog-editor-actions .button-primary{background:#f4bf00;color:#202527}.catalog-editor-cancel{border:0;background:#ea5e59;color:#fff}
@media(max-width:980px){.catalog-item-dialog{width:100vw;height:100vh;border-radius:0}.catalog-editor-primary{grid-template-columns:1fr}.catalog-editor-side{padding:0}.catalog-editor-tabs{overflow:auto}.catalog-editor-tabs button{flex:0 0 auto}.catalog-editor-name-row{grid-template-columns:1fr}.catalog-editor-price-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.catalog-editor-head{min-height:90px;padding:15px}.catalog-editor-head p{flex-wrap:wrap}.catalog-editor-tabs{padding:0 8px}.catalog-editor-tabs button{padding:0 11px}.catalog-editor-pane{padding:14px}.catalog-editor-price-grid,.catalog-editor-side-grid,.catalog-editor-detail-grid{grid-template-columns:1fr}.catalog-editor-detail-grid .span-2{grid-column:auto}.catalog-editor-actions{padding:10px}.catalog-editor-actions .button{min-width:0;flex:1}}

/* Pełny proces ofertowy — ekran bazowy, katalog w rozdziale i kontrola dokumentu */
.offer-workflow-head{display:grid;grid-template-columns:minmax(260px,1fr) minmax(620px,2fr);gap:28px;align-items:end;padding:18px 4px 12px;border-bottom:1px solid #d9e2e7}.offer-workflow-title p{display:flex;align-items:center;gap:10px;margin:0;color:#79909e;font-size:.62rem;text-transform:uppercase}.offer-workflow-title p b{color:#0c8d71}.offer-workflow-title h1{margin:5px 0 0;font-size:1.75rem}.offer-workflow-meta{display:grid;grid-template-columns:repeat(7,minmax(75px,1fr));gap:12px;margin:0}.offer-workflow-meta div{min-width:0}.offer-workflow-meta dt{color:#8797a0;font-size:.52rem;text-transform:uppercase}.offer-workflow-meta dd{overflow:hidden;margin:3px 0 0;color:#18364a;font-size:.63rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.quote-workflow-steps{margin:12px 0 20px}.quote-workflow-steps a{color:#6d7f89}.quote-workflow-steps a.active{color:#112e42}
.quote-workspace-layout{display:grid;grid-template-columns:215px minmax(0,1fr);gap:20px;align-items:start}.quote-basics-nav{position:sticky;top:96px;padding:0;overflow:hidden;border-radius:4px}.quote-basics-nav>p{margin:0;padding:16px;border-bottom:2px solid #f8bf00;color:#152f42;font-size:.75rem;font-weight:950;text-transform:uppercase}.quote-basics-nav a{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:10px 13px;border-left:3px solid transparent;color:#74858e;font-size:.7rem}.quote-basics-nav a:hover{background:#f5f7f8;color:#173f57}.quote-basics-nav a.active{border-left-color:#f4be00;background:#edf1f3;color:#122e41;font-weight:900}.quote-basics-content{min-width:0}.quote-page-heading{margin:0 0 17px}.quote-page-heading p{margin:0 0 4px;color:#12a17e;font-size:.62rem;font-weight:950;letter-spacing:.11em}.quote-page-heading h2{margin:0;font-size:1.6rem}.quote-page-heading span{display:block;margin-top:5px;color:#738792;font-size:.75rem}.quote-editor-card{padding:21px;border:1px solid #d9e3e8;border-radius:5px;background:#fff;box-shadow:0 10px 28px rgba(17,47,70,.06)}.quote-editor-card h3{margin:0 0 15px;padding-bottom:9px;border-bottom:2px solid #f6bf00;font-size:.9rem;text-transform:uppercase}.quote-cover-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:15px}.quote-cover-grid.wide-left{grid-template-columns:minmax(0,2fr) minmax(260px,.8fr)}.quote-image-drop{position:relative;display:grid;place-items:center;min-height:180px;overflow:hidden;border:1px solid #dce3e6;background:#fff}.quote-image-drop.cover{background:#f2f5f6}.quote-image-drop img{width:100%;height:170px;object-fit:contain}.quote-image-drop.cover img{object-fit:cover}.quote-image-drop label{position:absolute;inset:auto 10px 10px;display:block;padding:8px;border-radius:5px;background:rgba(8,31,53,.88);color:#fff;text-align:center;font-size:.64rem;cursor:pointer}.quote-image-drop input{position:absolute;width:1px;height:1px;opacity:0}.quote-offer-description{display:grid;gap:13px}.quote-offer-description label,.quote-annotation-form label,.quote-details-form label{color:#657985;font-size:.68rem;font-weight:800}.quote-offer-description input,.quote-offer-description textarea,.quote-annotation-form input,.quote-annotation-form textarea{margin-top:5px}.quote-title-input{font-size:1.25rem!important;font-weight:850}.quote-rich-toolbar{display:flex;gap:2px;margin-top:5px;padding:5px;border:1px solid #d8e0e4;border-bottom:0;background:#f3f5f6}.quote-rich-toolbar>*{display:inline-flex;align-items:center;min-height:27px;padding:0 8px;border-right:1px solid #d9e0e3;color:#647681;font-size:.64rem}.quote-brand-picker>p{font-size:.69rem}.quote-brand-list{display:grid;gap:5px;max-height:485px;overflow:auto}.quote-brand-list label{display:flex;align-items:center;gap:8px;padding:7px;border:1px solid #e1e6e8;border-radius:5px;color:#536976;font-size:.68rem}.quote-brand-list input{width:auto}.quote-save-button{margin-top:0}.quote-details-form{display:grid;gap:14px}.quote-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quote-details-form input,.quote-details-form select,.quote-details-form textarea{margin-top:5px}.quote-wide-field{display:block}.quote-annotation-form{display:grid;gap:14px}.quote-check{display:flex!important;align-items:center;gap:8px}.quote-check input{width:auto;margin:0}.quote-section-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.quote-section-gallery img{width:100%;height:230px;object-fit:cover;border-radius:8px}.quote-section-image-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quote-section-image-fields label>span{display:flex;align-items:center;gap:6px;margin-top:6px}.quote-section-image-fields input[type=checkbox]{width:auto}.quote-current-item-image{display:flex;align-items:center;gap:9px;margin-top:6px}.quote-current-item-image img{width:80px;height:60px;object-fit:contain;border:1px solid #d9e4e9;background:#fff}.quote-current-item-image input{width:auto}.quote-open-catalog{width:100%;border-color:#a9cfc4;background:#eff8f4;color:#0b6954}.quote-inline-add.catalog-selection-ready{box-shadow:inset 4px 0 #14ad83}
.quote-analysis-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.quote-analysis-card{padding:20px;border:1px solid #d9e4e9;border-radius:12px;background:#fff}.quote-analysis-card>span{color:#718590;font-size:.66rem;font-weight:900;text-transform:uppercase}.quote-analysis-card>b{display:block;margin:4px 0 13px;color:#16364a}.quote-analysis-card dl{display:grid;gap:6px;margin:0}.quote-analysis-card dl div{display:flex;justify-content:space-between;gap:12px}.quote-analysis-card dt,.quote-analysis-card dd{font-size:.69rem}.quote-analysis-card dd{margin:0;font-weight:850}.quote-analysis-table{overflow:auto}.quote-analysis-table header{padding:18px}.quote-analysis-table table{width:100%;border-collapse:collapse}.quote-analysis-table th,.quote-analysis-table td{padding:11px;border-top:1px solid #e2e9ed;text-align:right;font-size:.7rem}.quote-analysis-table th:first-child,.quote-analysis-table td:first-child{text-align:left}.profit-text{color:#098060;font-weight:900}.quote-document-preview{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:35px}.quote-document-cover{min-height:500px;padding:45px;background:linear-gradient(145deg,#071c38,#0e5474);color:#fff}.quote-document-cover img{width:230px;max-height:95px;object-fit:contain;object-position:left}.quote-document-cover p{margin-top:80px;color:#63e4c2;font-weight:900;text-transform:uppercase}.quote-document-cover h2{font-size:2.3rem}.quote-document-summary h3{margin-bottom:18px}.quote-document-summary>div,.quote-document-summary footer{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #dce5e9;font-size:.76rem}.quote-document-summary footer{margin-top:20px;border-top:2px solid #122f43;border-bottom:0}.quote-document-summary footer strong{font-size:1.15rem}.quote-share-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.quote-download-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.quote-download-card>span{color:#11a27e;font-size:.62rem;font-weight:950;letter-spacing:.1em}.quote-download-card h3{margin-top:8px}.quote-download-card .button{margin:20px 0 8px}
.quote-catalog-dialog{width:min(1280px,calc(100vw - 32px));max-width:none;height:min(800px,calc(100vh - 32px));padding:0;border:0;border-radius:10px;background:#fff;box-shadow:0 34px 100px rgba(0,0,0,.45)}.quote-catalog-dialog::backdrop{background:rgba(12,18,25,.68);backdrop-filter:blur(2px)}.quote-catalog-shell{display:grid;grid-template-rows:auto auto minmax(0,1fr);height:100%}.quote-catalog-shell>header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #dce3e7}.quote-catalog-shell>header p{margin:0;color:#10a37d;font-size:.58rem;font-weight:950;letter-spacing:.1em}.quote-catalog-shell>header h2{margin:3px 0 0;font-size:1.35rem;text-transform:uppercase}.quote-catalog-shell>header button{width:38px;height:38px;border:0;background:transparent;color:#84949e;font-size:1.8rem;cursor:pointer}.quote-catalog-tools{display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center;padding:11px 20px;border-bottom:1px solid #e0e6e9}.quote-catalog-tools input{padding:11px}.quote-catalog-tools span{color:#738590;font-size:.68rem}.quote-catalog-body{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:0}.quote-catalog-body>aside{overflow:auto;padding:17px;border-right:1px solid #dce3e7;background:#fafbfb}.quote-catalog-body>aside>b{display:block;margin-bottom:9px;font-size:.72rem;text-transform:uppercase}.quote-catalog-body>aside button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:9px 7px;border:0;border-left:3px solid transparent;background:transparent;color:#6d7d86;text-align:left;font-size:.67rem;cursor:pointer}.quote-catalog-body>aside button:hover,.quote-catalog-body>aside button.active{border-left-color:#f6bf00;background:#eceff1;color:#132f42}.quote-catalog-body>aside small{display:grid;place-items:center;min-width:22px;height:22px;border-radius:50%;background:#fff}.quote-catalog-body>main{overflow:auto;padding:18px}.quote-catalog-result{display:grid;grid-template-columns:115px minmax(0,1fr) 210px;gap:18px;padding:15px;border-bottom:1px solid #dde5e9}.quote-catalog-result[hidden]{display:none}.quote-catalog-image{display:grid;place-items:center}.quote-catalog-image img{width:100px;height:130px;object-fit:contain}.quote-catalog-image span{display:grid;place-items:center;width:76px;height:76px;border-radius:18px;background:#edf4f6;color:#6b818e;font-weight:900}.quote-catalog-copy h3{margin:0 0 4px;font-size:.95rem}.quote-catalog-copy>a{color:#0772d9;font-size:.65rem}.quote-catalog-copy>p{margin:9px 0;color:#344d5d;font-size:.7rem;line-height:1.55}.quote-catalog-copy dl{display:grid;gap:3px}.quote-catalog-copy dl div{display:flex;gap:10px}.quote-catalog-copy dt{width:90px;color:#84929a;font-size:.58rem;text-transform:uppercase}.quote-catalog-copy dd{margin:0;font-size:.63rem;font-weight:850}.quote-catalog-long{margin-top:10px;padding:10px;background:#f2f6f7;color:#415a68;font-size:.68rem;line-height:1.6}.quote-catalog-price{display:flex;flex-direction:column;align-items:flex-start;padding-left:15px;border-left:1px solid #e0e7ea}.quote-catalog-price>span{color:#82929b;font-size:.56rem;text-transform:uppercase}.quote-catalog-price>strong{margin:4px 0;color:#112c40;font-size:1.05rem}.quote-catalog-price>strong small{color:#72848e;font-size:.65rem}.quote-catalog-price>p{font-size:.64rem}.quote-catalog-price .button{width:100%;margin-top:7px}.quote-catalog-empty{padding:50px;text-align:center;color:#778b96}
@media(max-width:1150px){.offer-workflow-head{grid-template-columns:1fr}.offer-workflow-meta{grid-template-columns:repeat(4,1fr)}.quote-workspace-layout{grid-template-columns:1fr}.quote-basics-nav{position:static;display:flex;overflow:auto}.quote-basics-nav>p{display:none}.quote-basics-nav a{flex:0 0 auto}.quote-catalog-body{grid-template-columns:210px minmax(0,1fr)}.quote-catalog-result{grid-template-columns:90px minmax(0,1fr) 180px}.quote-catalog-image img{width:80px}.quote-analysis-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.offer-workflow-meta{grid-template-columns:repeat(2,1fr)}.quote-cover-grid,.quote-cover-grid.wide-left,.quote-form-grid,.quote-document-preview,.quote-share-layout,.quote-analysis-grid{grid-template-columns:1fr}.quote-catalog-dialog{width:100vw;height:100vh;border-radius:0}.quote-catalog-body{grid-template-columns:1fr}.quote-catalog-body>aside{display:flex;gap:4px;overflow:auto;border-right:0;border-bottom:1px solid #dce3e7}.quote-catalog-body>aside>b{display:none}.quote-catalog-body>aside button{flex:0 0 180px}.quote-catalog-result{grid-template-columns:75px minmax(0,1fr)}.quote-catalog-price{grid-column:1/-1;padding:12px 0 0;border-left:0;border-top:1px solid #e0e7ea}.quote-section-gallery,.quote-section-image-fields{grid-template-columns:1fr}}

.quote-upgrade-alert{display:flex;align-items:center;justify-content:space-between;gap:18px}.quote-upgrade-alert form{flex:0 0 auto;margin:0}.quote-upgrade-alert .button{white-space:nowrap}
@media(max-width:760px){.quote-upgrade-alert{align-items:stretch;flex-direction:column}.quote-upgrade-alert .button{width:100%}}

/* Pełnoekranowy moduł ofertowania — większy obszar roboczy na komputerze */
body.route-sales .topbar-inner{width:100%;max-width:none;padding-inline:clamp(16px,1.6vw,34px)}
body.route-sales .shell{width:100%;max-width:none;margin:0;padding:24px clamp(14px,1.35vw,28px) 80px}
body.route-sales .sales-app{grid-template-columns:220px minmax(0,1fr);gap:18px}
body.route-sales .sales-sidebar{top:96px}

@media(min-width:1600px){
body.route-sales .catalog-product-card{grid-template-columns:170px minmax(0,1fr) 315px}
body.route-sales .catalog-product-copy{padding:24px 22px}
body.route-sales .catalog-product-copy h2{font-size:1.18rem}
body.route-sales .catalog-product-copy>p{font-size:.8rem}
body.route-sales .catalog-product-copy dt{font-size:.7rem}
body.route-sales .catalog-product-copy dd{font-size:.74rem}
body.route-sales .catalog-product-price>strong{font-size:1.35rem}
body.route-sales .catalog-product-price>div b{font-size:.78rem}
body.route-sales .quote-line-head,body.route-sales .quote-line>summary{grid-template-columns:42px minmax(280px,2.25fr) 50px 64px 70px 70px 120px 78px 122px 130px;gap:9px}
body.route-sales .quote-line>summary{font-size:.73rem}
body.route-sales .quote-line-title b{font-size:.8rem}
body.route-sales .quote-inline-add{grid-template-columns:minmax(220px,1.7fr) minmax(270px,2fr) 70px 70px 70px 105px 78px 112px auto;gap:9px}
body.route-sales .offer-workflow-title h1{font-size:2rem}
body.route-sales .offer-workflow-meta dd{font-size:.7rem}
}

@media(max-width:1050px){body.route-sales .sales-app{grid-template-columns:1fr}}
@media(max-width:820px){body.route-sales .topbar-inner{padding-inline:14px}body.route-sales .shell{padding:20px 12px 60px}}

/* v10.2: SCCOT-style chapter totals with an editable VAT rate. */
body.route-sales .quote-section>header{align-items:center;gap:24px}
body.route-sales .quote-section-values{display:flex;align-items:flex-end;justify-content:flex-end;gap:18px;min-width:min(100%,470px);margin-left:auto;text-align:right}
body.route-sales .quote-section-values>span{display:grid;gap:2px;white-space:nowrap}
body.route-sales .quote-section-values small{font-size:.62rem;line-height:1;text-transform:uppercase;letter-spacing:.06em;color:#8190a2}
body.route-sales .quote-section-values strong{font-size:1.12rem;line-height:1.15;color:#10273e}
body.route-sales .quote-section-vat-form{margin:0}
body.route-sales .quote-section-vat-form label{display:grid;gap:3px;text-align:left}
body.route-sales .quote-section-vat-form select{width:72px;min-height:34px;padding:5px 22px 5px 8px;border:1px solid #d8e0e6;border-radius:4px;background:#f6f7f8;color:#10273e;font-weight:800}
body.route-sales .quote-section-vat-form select:disabled{opacity:.65}
@media(max-width:900px){body.route-sales .quote-section-values{flex-wrap:wrap;min-width:0;gap:12px}body.route-sales .quote-section>header{align-items:flex-start;flex-direction:column}}

/* v10.3 — kalkulacja jako szeroki, zwarty arkusz ofertowy MS Instal. */
body.route-offer-calculate{--quote-accent:#f5bd00;--quote-paper:#fbf9f4;background:#f5f3ed;color:#172635}
body.route-offer-calculate .topbar{height:62px;padding:0;background:#303234;box-shadow:none}
body.route-offer-calculate .topbar-inner{height:62px;padding-inline:15px 25px}
body.route-offer-calculate .brand{height:62px}
body.route-offer-calculate .brand img{width:116px}
body.route-offer-calculate .brand-copy{display:none}
body.route-offer-calculate .topnav{margin-left:25px;margin-right:auto}
body.route-offer-calculate .topnav a{font-size:.74rem}
body.route-offer-calculate .shell{padding:0 0 70px;background:var(--quote-paper)}
body.route-offer-calculate .sales-app{grid-template-columns:56px minmax(0,1fr);gap:0}
body.route-offer-calculate .sales-sidebar{top:62px;min-height:calc(100vh - 62px);overflow:visible;border:0;border-right:1px solid #474a4c;border-radius:0;background:#343638;box-shadow:none}
body.route-offer-calculate .sales-sidebar-brand{justify-content:center;padding:10px 6px;background:#292b2d}
body.route-offer-calculate .sales-sidebar-brand>span{width:38px;height:38px;border-radius:5px;background:#10a9a0;font-size:.68rem}
body.route-offer-calculate .sales-sidebar-brand>div,body.route-offer-calculate .sales-sidebar nav p,body.route-offer-calculate .sales-sidebar nav a b{display:none}
body.route-offer-calculate .sales-sidebar nav{gap:5px;padding:8px 6px}
body.route-offer-calculate .sales-sidebar nav a{display:grid;place-items:center;padding:4px;border-radius:3px}
body.route-offer-calculate .sales-sidebar nav a>span{width:38px;height:38px;border-radius:3px;background:#3c3e40;color:#b7bec4}
body.route-offer-calculate .sales-sidebar nav a.active>span{background:var(--quote-accent);color:#282a2c}
body.route-offer-calculate .sales-content{min-width:0}
body.route-offer-calculate .offer-workflow-head{grid-template-columns:minmax(330px,.9fr) minmax(720px,1.6fr);gap:24px;align-items:end;padding:16px 30px 10px;background:#fbf9f4;border-bottom:1px solid #e0ddd5}
body.route-offer-calculate .offer-workflow-title p{font-size:.52rem}
body.route-offer-calculate .offer-workflow-title h1{margin-top:3px;font-size:1.42rem;line-height:1.05;letter-spacing:-.025em}
body.route-offer-calculate .offer-workflow-title form{display:inline-flex;margin-top:4px}
body.route-offer-calculate .offer-workflow-title .button-danger{padding:5px 8px;border:0!important;background:transparent!important;color:#9e4c45!important;font-size:.57rem}
body.route-offer-calculate .offer-workflow-meta{grid-template-columns:repeat(7,minmax(80px,1fr));gap:14px}
body.route-offer-calculate .offer-workflow-meta dt{font-size:.46rem}
body.route-offer-calculate .offer-workflow-meta dd{font-size:.59rem}
body.route-offer-calculate .quote-workflow-steps{height:43px;margin:0;padding:0 30px;border:0;border-bottom:1px solid #dedbd4;border-radius:0;background:#f2f0eb}
body.route-offer-calculate .quote-workflow-steps a{position:relative;justify-content:flex-start;min-width:155px;padding:8px 19px;border-radius:0;color:#7a7e80;font-size:.66rem;text-transform:uppercase}
body.route-offer-calculate .quote-workflow-steps a b{width:19px;height:19px;border:0;border-radius:50%;background:#aeb2b3;color:#fff}
body.route-offer-calculate .quote-workflow-steps a.active{background:var(--quote-accent);color:#161819;box-shadow:none}
body.route-offer-calculate .quote-workflow-steps a.active b{background:#1d2327;color:#fff}
body.route-offer-calculate .quote-summary-strip{display:none}
body.route-offer-calculate .quote-calculation-layout{grid-template-columns:216px minmax(0,1fr);gap:0;align-items:start}
body.route-offer-calculate .quote-department-nav{top:105px;min-height:calc(100vh - 105px);margin:0;padding:19px 12px;border:0;border-right:1px solid #d6d2c9;border-radius:0;background:#f7f4ed;box-shadow:none}
body.route-offer-calculate .quote-department-nav .eyebrow{margin:0 5px 14px;color:#25313a;font-size:.68rem}
body.route-offer-calculate .quote-department-nav .eyebrow:before{content:"DZIAŁY KALKULACYJNE";font-size:.72rem;letter-spacing:0}
body.route-offer-calculate .quote-department-nav .eyebrow{font-size:0}
body.route-offer-calculate .quote-department-nav a{grid-template-columns:24px 1fr auto;gap:5px;min-height:43px;padding:6px 7px;border-left:3px solid transparent;border-radius:0;color:#6a7074;font-size:.7rem;text-transform:uppercase}
body.route-offer-calculate .quote-department-nav a:hover{border-left-color:var(--quote-accent);background:#ece9e3;color:#171b1e}
body.route-offer-calculate .quote-department-nav a>span{width:24px;height:24px;border-radius:0;background:transparent;color:#9ca2a5;font-size:.5rem}
body.route-offer-calculate .quote-department-nav a b{color:inherit}
body.route-offer-calculate .quote-department-nav a small{background:#fff;color:#7a8084}
body.route-offer-calculate .quote-add-department{border-top:1px solid #d7d3ca}
body.route-offer-calculate .quote-register{min-width:0;padding:12px 18px 40px;background:var(--quote-paper)}
body.route-offer-calculate .quote-department+.quote-department{margin-top:25px}
body.route-offer-calculate .quote-department-heading{min-height:48px;margin:0 0 10px;padding:3px 8px 5px;border-bottom:1px solid #cfcac0;background:transparent}
body.route-offer-calculate .quote-department-identity,body.route-offer-calculate .quote-section-identity{display:flex;align-items:center;min-width:0;gap:9px}
body.route-offer-calculate .quote-drag-handle{color:#9da5aa;font-size:.69rem;letter-spacing:-.16em}
body.route-offer-calculate .quote-collapse-mark{color:#27343c;font-size:1rem}
body.route-offer-calculate .quote-department-heading small{color:#81878a;font-size:.66rem;letter-spacing:.02em;white-space:nowrap}
body.route-offer-calculate .quote-department-heading h2{width:min(620px,58vw);margin:0;padding:5px 10px;border:1px solid #dedad3;border-radius:3px;background:#fff;color:#17222b;font-size:1rem;line-height:1.1}
body.route-offer-calculate .quote-department-totals{gap:20px;margin-left:auto}
body.route-offer-calculate .quote-department-totals span{font-size:.48rem}
body.route-offer-calculate .quote-department-totals b{font-size:1.02rem}
body.route-offer-calculate .quote-department-totals i{color:#858b8f;font-style:normal}
body.route-offer-calculate .quote-section{margin:0 0 18px;overflow:visible;border:0;border-radius:2px;background:#fff;box-shadow:0 3px 12px rgba(49,45,35,.10)}
body.route-offer-calculate .quote-section>header{min-height:58px;padding:9px 14px;border:0;border-bottom:2px solid var(--quote-accent);background:#fff}
body.route-offer-calculate .quote-section-identity{flex:1 1 auto}
body.route-offer-calculate .quote-section-identity small{color:#767c80;font-size:.65rem;letter-spacing:.02em;white-space:nowrap}
body.route-offer-calculate .quote-section-identity h2{width:min(600px,48vw);margin:0;padding:5px 10px;border:1px solid #dfdce0;border-radius:3px;background:#faf9fb;color:#17222b;font-size:.98rem;line-height:1.1}
body.route-offer-calculate .quote-section-values{gap:13px;min-width:455px}
body.route-offer-calculate .quote-section-values small{font-size:.49rem;color:#899093}
body.route-offer-calculate .quote-section-values strong{font-size:1rem;color:#17222b}
body.route-offer-calculate .quote-section-vat-form select{width:66px;min-height:29px;padding:3px 20px 3px 6px;border-radius:2px;background:#f5f4f2;font-size:.67rem}
body.route-offer-calculate .quote-rms-tabs{align-items:flex-end;min-height:46px;padding:0 14px;border-bottom:1px solid #d8d6d1;background:#fff}
body.route-offer-calculate .quote-rms-tabs button{min-height:45px;padding:12px 15px 9px;border-bottom-width:1px;color:#747a7d;font-size:.66rem;text-transform:uppercase}
body.route-offer-calculate .quote-rms-tabs button.active{border:1px solid #d7d4ce;border-bottom-color:#fff;color:#171d20}
body.route-offer-calculate .quote-rms-tabs b{height:18px;border-radius:2px;background:transparent;color:#8c9295}
body.route-offer-calculate .quote-bulk-actions{align-self:center;margin-left:auto;padding:5px 10px;border:1px solid #d4d0c7;border-radius:2px;color:#27333a;font-size:.6rem;font-weight:850}
body.route-offer-calculate .quote-rms-panel{overflow-x:auto}
body.route-offer-calculate .quote-line-head,body.route-offer-calculate .quote-line>summary{grid-template-columns:40px minmax(250px,2.3fr) 50px 68px 64px 64px 118px 84px 118px 122px 22px;gap:7px;min-width:1100px}
body.route-offer-calculate .quote-line-head{height:32px;padding:6px 10px;border-bottom:1px solid #d9d6d0;background:#fff;color:#7c8285;font-size:.51rem;text-align:center}
body.route-offer-calculate .quote-line>summary{min-height:47px;padding:6px 10px;color:#2b3338;font-size:.65rem}
body.route-offer-calculate .quote-line>summary:hover{background:#fffdf8}
body.route-offer-calculate .quote-line[open]>summary{background:#fffaf0;box-shadow:inset 3px 0 var(--quote-accent)}
body.route-offer-calculate .quote-line>summary>span:not(:first-child),body.route-offer-calculate .quote-line>summary>strong{min-height:29px;padding:6px 7px;border-radius:4px;background:#f7f7f7;text-align:right}
body.route-offer-calculate .quote-line>summary>span:nth-child(2){border-bottom:1px solid #d9c4eb;background:#f9f7fb;text-align:left}
body.route-offer-calculate .quote-line-title{gap:7px}
body.route-offer-calculate .quote-line-title .catalog-thumb{width:31px;height:27px;border:0;background:transparent}
body.route-offer-calculate .quote-line-title b{font-size:.68rem}
body.route-offer-calculate .quote-line-menu{color:#9da2a5;font-style:normal;text-align:center}
body.route-offer-calculate .quote-type-empty{min-height:108px;padding:27px;background:#fff}
body.route-offer-calculate .quote-type-empty:before{content:"↖";display:inline-block;margin-right:15px;color:#1d2326;font-size:2.2rem;transform:rotate(-8deg)}
body.route-offer-calculate .quote-type-empty strong{font-size:.75rem}
body.route-offer-calculate .quote-inline-add{grid-template-columns:minmax(175px,1.35fr) minmax(220px,2fr) 68px 64px 64px 104px 80px 112px auto;gap:6px;min-width:1080px;padding:9px 10px 12px;border-top:1px solid #e1dfda;background:#fff}
body.route-offer-calculate .quote-inline-add label{font-size:.49rem;text-transform:uppercase}
body.route-offer-calculate .quote-inline-add input,body.route-offer-calculate .quote-inline-add select{min-height:29px;padding:5px 7px;border-color:#e1dfe1;border-radius:4px;background:#fafafa;font-size:.62rem}
body.route-offer-calculate .quote-inline-add .quote-open-catalog{min-height:29px;padding:5px 8px;border-color:#d4cfb5;border-radius:3px;background:#f3f1e4;color:#33382e;font-size:.6rem}
body.route-offer-calculate .quote-inline-add .button-primary{min-height:29px;padding:5px 11px;border-color:#d3a800;border-radius:3px;background:var(--quote-accent);color:#1f2325;font-size:.62rem}
body.route-offer-calculate .quote-add-section{margin:5px 0;border:1px solid #d6d2c9;border-radius:2px;background:#fff;box-shadow:none}
body.route-offer-calculate .quote-add-section summary{padding:10px 14px;color:#2c353a;font-size:.66rem}
@media(max-width:1350px){body.route-offer-calculate .offer-workflow-head{grid-template-columns:1fr}body.route-offer-calculate .offer-workflow-meta{grid-template-columns:repeat(7,minmax(70px,1fr))}body.route-offer-calculate .quote-calculation-layout{grid-template-columns:190px minmax(0,1fr)}body.route-offer-calculate .quote-section-values{min-width:410px}}
@media(max-width:1050px){body.route-offer-calculate .sales-app{grid-template-columns:1fr}body.route-offer-calculate .sales-sidebar{display:none}body.route-offer-calculate .quote-calculation-layout{grid-template-columns:1fr}body.route-offer-calculate .quote-department-nav{position:static;display:flex;min-height:0;overflow:auto;border-right:0;border-bottom:1px solid #d6d2c9}body.route-offer-calculate .quote-department-nav a{flex:0 0 180px}}

/* v10.5 - administracja projektami */
.project-heading-actions{display:flex;align-items:flex-end;flex-direction:column;gap:14px}
.project-edit-button{border-color:rgba(255,255,255,.42);background:rgba(255,255,255,.1);color:#fff}
.project-edit-button:hover{background:#fff;color:#0c3451}
.project-edit-layout{grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr)}
.project-danger-panel{border-color:#efd2cf;background:linear-gradient(180deg,#fff,#fff8f7)}
.project-danger-panel .eyebrow{color:#a7352e}
.project-danger-panel p:not(.eyebrow){color:#6d5a57;font-size:.88rem;line-height:1.65}
.sales-project-record{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border-bottom:1px solid #e5ecef}
.sales-project-record:last-child{border-bottom:0}
.sales-project-record .sales-record{border-bottom:0}
.sales-project-record>.button{margin-right:14px}
@media(max-width:760px){.project-heading-actions{align-items:flex-start;margin-top:18px}.project-edit-layout{grid-template-columns:1fr}.sales-project-record{grid-template-columns:1fr}.sales-project-record>.button{margin:0 14px 14px}}

/* v10.6 - profesjonalny edytor treści oferty; kalkulacja zachowuje stary styl */
.quote-rich-editor{margin-top:6px;overflow:hidden;border:1px solid #cfd9df;border-radius:6px;background:#fff;box-shadow:inset 0 1px 2px rgba(15,43,61,.04)}
.quote-rich-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0;padding:7px;border:0;border-bottom:1px solid #d7e0e5;background:#f3f4f5}
.quote-rich-toolbar>*{min-height:32px;margin:0;padding:0 10px;border:1px solid #d5dee3!important;border-radius:4px;background:#fff;color:#334a59;font:700 .72rem/1 "Segoe UI",Arial,sans-serif;cursor:pointer}
.quote-rich-toolbar select{min-width:155px;padding-right:30px}
.quote-rich-toolbar .quote-rich-toolbar-group{display:flex;min-height:32px;padding:0;overflow:hidden;border-radius:4px;background:#fff}
.quote-rich-toolbar .quote-rich-toolbar-group button{min-width:34px;min-height:31px;margin:0;padding:0 9px;border:0!important;border-right:1px solid #dce3e7!important;border-radius:0;background:#fff;color:#53636e;font:700 .84rem/1 "Segoe UI",Arial,sans-serif;cursor:pointer}
.quote-rich-toolbar .quote-rich-toolbar-group button:last-child{border-right:0!important}
.quote-rich-toolbar button:hover,.quote-rich-toolbar select:hover{border-color:#16aa87!important;background:#eef9f6;color:#08785f}
.quote-rich-toolbar button:focus-visible,.quote-rich-toolbar select:focus-visible{outline:3px solid rgba(22,170,135,.2);outline-offset:1px}
.quote-rich-surface{min-height:310px;padding:22px 24px;color:#1b2831;font:400 .98rem/1.65 "Segoe UI",Arial,sans-serif;outline:0}
.quote-rich-surface[contenteditable=true]:focus{box-shadow:inset 4px 0 #17aa87}
.quote-rich-surface:empty:before{content:attr(data-placeholder);color:#96a5ae;pointer-events:none}
.quote-rich-surface h2,.quote-rich-surface h3,.quote-rich-surface h4{margin:1.35em 0 .5em;color:#10283b;font-weight:800;line-height:1.2}
.quote-rich-surface h2:first-child,.quote-rich-surface h3:first-child,.quote-rich-surface h4:first-child{margin-top:0}
.quote-rich-surface h2{font-size:1.55rem}.quote-rich-surface h3{font-size:1.2rem}.quote-rich-surface h4{font-size:1rem}
.quote-rich-surface p{margin:0 0 .85em}.quote-rich-surface ul,.quote-rich-surface ol{margin:.35em 0 1em;padding-left:1.65em}.quote-rich-surface li{margin:.25em 0}
.quote-rich-surface blockquote{margin:1em 0;padding:12px 16px;border-left:4px solid #16aa87;background:#eef8f5;color:#34524a}
.quote-rich-surface a{color:#075fd8;text-decoration:underline}.quote-rich-surface table{width:100%;margin:14px 0;border-collapse:collapse}.quote-rich-surface th,.quote-rich-surface td{padding:9px 10px;border:1px solid #cfd9df;text-align:left}.quote-rich-surface th{background:#eef3f5;color:#17354a;font-weight:850}
.quote-rich-source{display:none!important}
.quote-offer-description .quote-rich-surface{min-height:220px}
.quote-preview-rich{font:400 .88rem/1.55 "Segoe UI",Arial,sans-serif}.quote-preview-rich p{margin:0 0 .7em}.quote-preview-rich ul,.quote-preview-rich ol{padding-left:1.35em}
@media(max-width:760px){.quote-rich-surface{min-height:240px;padding:18px}.quote-rich-toolbar select{min-width:130px}}

/* v10.7 - opis i galeria rozdziału w układzie zgodnym z procesem ofertowania */
.quote-description-panel.is-editable{padding:0}
.quote-section-content-editor{display:grid;grid-template-columns:minmax(420px,1.15fr) minmax(390px,1fr);gap:18px;padding:18px 20px 16px}
.quote-section-copy-editor,.quote-section-media-editor{min-width:0}
.quote-section-copy-editor>h3,.quote-section-media-editor>h3{display:flex;align-items:center;gap:7px;margin:0 0 8px;color:#172632;font-size:.74rem;text-transform:uppercase}
.quote-editor-info{display:inline-grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#98a5ae;color:#fff;font-size:.56rem;font-weight:900;text-transform:none}
.quote-section-name-field{display:grid;gap:5px;color:#667c89;font-size:.62rem;font-weight:850;text-transform:uppercase}
.quote-section-name-field input{padding:9px 11px;background:#fff;font-size:.82rem;font-weight:800;text-transform:none}
.quote-section-content-editor .quote-rich-editor{margin:0;border-radius:2px}
.quote-section-content-editor .quote-rich-surface{min-height:190px;max-height:290px;overflow:auto;padding:14px 12px;font-family:"Arial Narrow","Roboto Condensed","Segoe UI",Arial,sans-serif;font-size:.82rem;line-height:1.55}
.quote-section-content-editor .quote-rich-toolbar{padding:5px}
.quote-section-content-editor .quote-rich-toolbar>*{min-height:29px;padding-inline:8px}
.quote-section-media-slots{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.quote-section-image-slot{position:relative;display:flex;min-height:244px;align-items:center;justify-content:center;overflow:hidden;border:1px solid #d6dde1;border-radius:12px;background:#fff;cursor:pointer}
.quote-section-image-slot.is-dragover{border-color:#15af89;background:#edf9f5;box-shadow:inset 0 0 0 3px rgba(21,175,137,.13)}
.quote-section-image-slot>img{width:100%;height:244px;object-fit:contain}
.quote-section-image-slot>input[type=file]{position:absolute;width:1px;height:1px;opacity:0}
.quote-section-image-slot>b{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);min-width:165px;padding:8px 10px;border-radius:3px;background:rgba(59,61,63,.78);color:#fff;text-align:center;font-size:.61rem;text-transform:uppercase}
.quote-image-placeholder{color:#81898e;text-align:center;font-size:.8rem;font-weight:850;text-transform:uppercase}
.quote-image-placeholder small{font-weight:600;text-transform:none}
.quote-remove-image{position:absolute;top:8px;right:8px;padding:6px 8px;border-radius:999px;background:rgba(255,255,255,.94);color:#bb2828;font-size:.56rem;font-weight:800}
.quote-remove-image input{width:auto;margin:0 4px 0 0}
.quote-section-content-editor>footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:2px}
.quote-section-content-editor>footer small{color:#798994;font-size:.62rem}
.quote-section-content-editor>footer .button{min-width:190px}
@media(max-width:1180px){.quote-section-content-editor{grid-template-columns:1fr}.quote-section-media-slots{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.quote-section-content-editor{padding:13px}.quote-section-media-slots{grid-template-columns:1fr}.quote-section-content-editor>footer{align-items:stretch;flex-direction:column}.quote-section-content-editor>footer .button{width:100%}}

/* Project workspace 10.8 */
.project-upgrade-alert{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px}.project-upgrade-alert form{margin:0}.project-upgrade-alert span{font-size:.84rem}
.dashboard-project-columns{align-items:start}.project-overview-side{display:grid;gap:20px}.project-overview-side>.panel{margin:0}.milestone-overview{padding-bottom:12px}.milestone-quick-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid var(--line)}.milestone-quick-row:last-child{border-bottom:0}.milestone-check{display:flex;align-items:center;gap:11px;cursor:pointer}.milestone-check input{position:absolute;width:1px;height:1px;opacity:0}.milestone-check span,.milestone-state{flex:0 0 auto;width:22px;height:22px;border:2px solid #a9bcc8;border-radius:7px;background:#fff}.milestone-check input:checked+span,.milestone-state.done{border-color:#13a77f;background:#13a77f;box-shadow:inset 0 0 0 5px #fff}.milestone-check input:checked~b{text-decoration:line-through;color:#748792}.milestone-date{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:7px;color:#7c8d98;font-size:.66rem}.milestone-date input{padding:7px;font-size:.72rem}.milestone-quick-row.readonly{grid-template-columns:22px 1fr auto}.milestone-quick-row time{color:var(--muted);font-size:.78rem}
.project-qr-card{text-align:center;background:radial-gradient(circle at 50% 35%,#ebfbf7,#fff 63%)}.project-qr-card h2{margin-bottom:7px}.project-qr{display:grid;place-items:center;width:204px;height:204px;margin:18px auto 8px;padding:14px;border:1px solid #d2e0e7;border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(9,42,66,.12)}.project-qr img,.project-qr canvas{max-width:100%;height:auto}.project-qr-url{display:block;margin:0 0 16px;font-size:.76rem;font-weight:850}
.project-qr-actions{display:flex;justify-content:center;gap:8px;margin-top:10px}.project-qr-actions form{margin:0}.document-share-toggle{margin:8px 0 14px;padding:9px 11px;border-radius:9px;background:#edf8f5;color:#176d5c;font-size:.74rem;font-weight:800}.document-share-toggle input{width:auto;margin-right:6px}.analysis-file-set{display:grid;gap:6px;padding:13px;border:1px solid #d7e4ea;border-radius:12px;background:#f8fbfc}.analysis-file-set strong{color:#0b3654}.analysis-file-set span{padding-left:12px;color:#5f7482;font-size:.76rem}.analysis-file-set span:before{content:"PDF";display:inline-block;margin-right:8px;padding:2px 5px;border-radius:4px;background:#dfeef4;color:#0d6686;font-size:.56rem;font-weight:900}.estimate-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.document-groups{display:grid;gap:20px}.document-group{margin:0}.document-empty{padding:26px;border:1px dashed #cbd9e1;border-radius:12px;color:#83939e;text-align:center}.document-card+.document-card{margin-top:18px;padding-top:5px;border-top:1px solid var(--line)}.document-card .pdf-preview{height:390px;margin-bottom:6px}.document-upload-panel{position:sticky;top:94px}
.milestone-editor{padding:22px}.milestone-edit-card{position:relative;display:grid;grid-template-columns:44px minmax(260px,1fr) minmax(270px,.8fr);gap:15px;margin:0 0 14px;padding:17px;border:1px solid #dce6ec;border-radius:15px;background:#fbfdfe}.milestone-edit-card.is-done{border-color:#b9e4d7;background:#f2fbf7}.milestone-number{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e6f1f6;color:#0b6382;font-size:.72rem;font-weight:950}.milestone-edit-main,.milestone-edit-meta{display:grid;gap:9px}.milestone-edit-meta{grid-template-columns:1fr 1fr}.milestone-edit-meta .button{grid-column:1/-1}.milestone-edit-card textarea{min-height:58px}.milestone-edit-card label{font-size:.69rem}
.project-change-list{display:grid;gap:14px}.project-change-card{position:relative;border:1px solid #dce5eb;border-left:5px solid #19a5cc;border-radius:14px;background:#fbfdfe;padding:17px}.project-change-card.status-in_progress{border-left-color:#e4a900}.project-change-card.status-done{border-left-color:#13a77f}.project-change-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.project-change-form small{color:var(--muted)}.project-change-delete{position:absolute;right:17px;bottom:20px}.link-danger{border:0;background:none;color:#bd312c;font-size:.74rem;font-weight:800;cursor:pointer}.project-change-card.readonly{display:flex;justify-content:space-between;gap:18px}.project-change-card.readonly p{margin:8px 0;color:var(--muted)}.panel-subtitle{margin:28px 0 5px;padding-top:20px;border-top:1px solid var(--line)}
.contractor-editor{max-height:calc(100vh - 120px);overflow:auto}.contractor-delete-form{margin-top:12px}.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.brand{width:auto;clip-path:none}.brand img{width:142px!important;margin:0!important}.brand .brand-copy{margin-left:0}.login-brand{height:auto;overflow:visible}.login-brand img{width:250px;margin:0}.route-offer-calculate .brand img{width:116px!important;margin:0!important}
@media(max-width:1100px){.estimate-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.milestone-edit-card{grid-template-columns:42px 1fr}.milestone-edit-meta{grid-column:2}.document-upload-panel{position:static}.project-upgrade-alert{align-items:stretch;flex-direction:column}.project-upgrade-alert .button{width:100%}}
@media(max-width:620px){.estimate-stats{grid-template-columns:1fr}.milestone-quick-row{grid-template-columns:1fr}.milestone-date{padding-left:33px}.milestone-edit-card{grid-template-columns:1fr}.milestone-number,.milestone-edit-main,.milestone-edit-meta{grid-column:1}.milestone-edit-meta,.project-change-form,.mini-grid{grid-template-columns:1fr}.project-change-form .span-2{grid-column:1}.project-change-delete{position:static;margin-top:8px}.project-qr-actions{flex-direction:column}.project-qr-actions .button{width:100%}}
@media print{body *{visibility:hidden}.project-qr-card,.project-qr-card *{visibility:visible}.project-qr-card{position:absolute;inset:0;width:100%;height:100%;display:grid;place-content:center;border:0;box-shadow:none}.project-qr-card .button{display:none}.project-qr{width:260px;height:260px}.project-qr-card h2{font-size:28px}.project-qr-card p{max-width:480px}}

/* v11.0 - konta, dokumenty, kolejka AI i spĂłjne pola wyboru */
input[type="checkbox"]{-webkit-appearance:none;appearance:none;display:inline-grid!important;place-content:center;width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;margin:0;padding:0!important;border:2px solid #9eb3c0;border-radius:5px;background:#fff;vertical-align:middle;cursor:pointer;transition:.14s ease}
input[type="checkbox"]:before{content:"";width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg) scale(0);transition:.12s ease}
input[type="checkbox"]:checked{border-color:#0aa18e;background:#0aa18e;box-shadow:0 0 0 3px rgba(10,161,142,.12)}
input[type="checkbox"]:checked:before{transform:translateY(-1px) rotate(45deg) scale(1)}
input[type="checkbox"]:focus-visible{outline:3px solid rgba(17,164,204,.22);outline-offset:2px}
.document-share-toggle label,label.checkbox,.quote-check,.checkbox-line{display:flex!important;align-items:flex-start;gap:10px}
.document-share-toggle input[type="checkbox"],label.checkbox input[type="checkbox"],.quote-check input[type="checkbox"],.checkbox-line input[type="checkbox"]{flex:0 0 20px}

.user-admin-layout{align-items:start;grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr)}
.user-admin-list{display:grid;gap:16px}
.user-admin-card{margin:0;padding:20px 22px}
.user-admin-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.user-admin-card>header h2{margin:0 0 4px}.user-admin-card>header p{margin:0;color:var(--muted);font-size:.82rem}
.user-account-meta{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px;text-align:right}
.user-account-meta small{display:block;width:100%;color:var(--muted);font-size:.68rem}
.user-account-form{display:grid;grid-template-columns:1fr 1.15fr .8fr auto;align-items:end;gap:10px}
.user-account-form label{font-size:.7rem}.user-account-form .button{min-height:44px}
.user-account-form .form-actions{grid-column:1/-1}
.user-form-info{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:3px;padding-top:10px;border-top:1px dashed #d7e2e8}
.user-form-info small{color:var(--muted)}
.user-password-panel{margin-top:14px;border:1px solid #d9e4ea;border-radius:11px;background:#f8fbfc}
.user-password-panel summary{padding:11px 13px;color:#0b5773;font-size:.76rem;font-weight:850;cursor:pointer}
.user-password-panel form{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:10px;padding:0 13px 13px}.user-password-panel form .form-actions{grid-column:1/-1}
.user-project-panel{margin-top:10px;border:1px solid #d9e4ea;border-radius:11px;background:#f8fbfc}.user-project-panel>summary{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;color:#0b5773;font-size:.76rem;font-weight:850;cursor:pointer}.user-project-panel>summary span{display:grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:#dff3ef;color:#087c6e}.user-project-memberships{display:grid;gap:9px;padding:0 13px 13px}.user-project-membership{display:grid;grid-template-columns:minmax(180px,1fr) minmax(300px,1.4fr) auto;align-items:end;gap:9px;padding:10px;border:1px solid #dce7eb;border-radius:10px;background:#fff}.user-project-membership>a{display:grid;gap:2px;color:var(--ink)}.user-project-membership>a small{color:#078f80}.user-project-role-form{display:flex;align-items:end;gap:7px}.user-project-role-form label{flex:1;font-size:.67rem}.user-project-role-form select{min-width:210px}.user-project-remove-form{margin:0 0 10px}.user-project-assign-form{display:grid;grid-template-columns:1.4fr 1fr auto;align-items:end;gap:8px;margin-top:4px;padding-top:12px;border-top:1px dashed #cedce2}.user-project-assign-form label{font-size:.67rem}.user-account-actions{display:flex;align-items:center;gap:18px;margin-top:11px}.user-account-actions form{margin:0}
.user-status-form{margin:0}.user-status-form .button{border-color:#ecd2cf;color:#a8322d}
.user-admin-card.is-disabled{border-style:dashed;background:#f6f8f9;box-shadow:none}.user-admin-card.is-disabled>header h2{color:#6e7e88}
.user-create-panel{position:sticky;top:94px}

.project-member-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(310px,.85fr) auto;align-items:end;gap:14px}
.project-member-row>div:first-child{align-self:center}
.member-role-form{display:flex;align-items:end;gap:8px;margin:0}.member-role-form label{flex:1}.member-role-form select{min-width:220px}.member-remove-form{margin:0}.member-remove-form .button{border-color:#eccfcd;color:#a8322d}

.document-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding:8px;border:1px solid #d8e4ea;border-radius:13px;background:#edf3f6}
.document-filters a{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:9px;color:#49606f;font-size:.76rem;font-weight:850}
.document-filters a:hover{background:#fff;color:#0a6382}.document-filters a.active{background:#0a6687;color:#fff;box-shadow:0 5px 13px rgba(10,102,135,.16)}
.document-edit-panel{margin:8px 0 15px;border:1px solid #d8e4ea;border-radius:11px;background:#f8fbfc}
.document-edit-panel summary{padding:10px 12px;color:#0a6687;font-size:.74rem;font-weight:850;cursor:pointer}
.document-edit-form{display:grid;grid-template-columns:minmax(170px,1.2fr) minmax(150px,.75fr) minmax(150px,.75fr) auto;align-items:end;gap:9px;padding:0 12px 12px}
.document-edit-form label{font-size:.68rem}.document-edit-form .button{min-height:43px}
.document-upload-panel input[type="file"]{padding:11px;background:#fff}
.analysis-job-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.analysis-job-actions form{margin:0}
.analysis-job-actions .button{border-color:#edcfcc;color:#ac312b;background:#fff8f7}
.analysis-error-details{max-width:720px;margin-top:6px;color:#9d2e27}.analysis-error-details summary{font-size:.69rem;font-weight:850;cursor:pointer}.analysis-error-details code{display:block;margin-top:6px;padding:9px 10px;border:1px solid #efcbc7;border-radius:8px;background:#fff5f3;color:#7c2823;font-size:.68rem;line-height:1.45;white-space:pre-wrap;word-break:break-word}.analysis-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}.analysis-actions form{margin:0}

body:has(.login-layout) .login-shell{padding-block:18px}
.login-layout{gap:13px;min-height:calc(100vh - 36px)}
.login-intro{padding-inline:4px}.login-intro h2{margin:10px 0 7px;font-size:clamp(2.15rem,3.8vw,3.75rem)}.login-intro>p{margin-bottom:11px}.login-benefits span{padding:6px 9px}
.login-card{padding:22px 29px 21px}.login-brand{height:52px;margin-bottom:4px}.login-brand img{width:214px;margin:-20px 0 0 -21px}.login-card h1{margin-bottom:5px;font-size:1.85rem}.login-card .muted{margin-bottom:12px}.login-card .stack{gap:10px}.login-card input{min-height:44px}.login-card .button-primary{min-height:45px}.login-security{margin-top:10px}

@media(max-width:1050px){.user-admin-layout{grid-template-columns:1fr}.user-create-panel{position:static}.user-account-form{grid-template-columns:1fr 1fr}.user-account-form .button{width:100%}.project-member-row{grid-template-columns:1fr}.member-role-form{max-width:520px}.user-project-membership{grid-template-columns:1fr}.user-project-role-form{max-width:560px}.user-project-assign-form{grid-template-columns:1fr 1fr auto}}
@media(max-width:720px){.user-account-form,.user-password-panel form,.document-edit-form,.user-project-assign-form{grid-template-columns:1fr}.user-form-info{align-items:stretch;flex-direction:column}.user-status-form .button,.document-edit-form .button{width:100%}.user-admin-card>header{flex-direction:column}.user-account-meta{justify-content:flex-start;text-align:left}.project-member-row{display:block}.member-role-form{margin-top:12px}.member-remove-form{margin-top:8px}.document-filters{overflow:auto;flex-wrap:nowrap}.document-filters a{white-space:nowrap}.user-project-role-form{display:grid;grid-template-columns:1fr}.user-project-role-form select{min-width:0}.user-account-actions{align-items:flex-start;flex-direction:column;gap:8px}}
