:root{--navy:#182c3b;--ink:#172733;--yellow:#f4c400;--paper:#fff;--mist:#f4f3ef;--line:#dce1de;--muted:#69756f;--green:#425a4e;--danger:#b42332;--radius:12px}
.note-row{align-items:stretch}.note-number{display:inline-flex;order:0;align-items:center;justify-content:center;align-self:flex-start;width:27px;height:27px;margin-top:7px;border-radius:50%;background:#f4c400;color:#253740;font-size:11px;font-weight:900}.note-row textarea{order:1}.note-order{display:grid;order:2;align-content:center;gap:1px}.note-row>.delete{order:3;align-self:center}.note-order .icon-button.move{min-width:28px;padding:2px 5px}.manual-notes-label{padding-top:4px}
.item-table th:last-child,.item-table td.item-actions{width:97px!important}.item-actions{white-space:nowrap;text-align:right!important}.icon-button.move{min-width:25px;padding:4px 5px;color:#526a76;font-size:17px;font-weight:800}.icon-button.move:hover{background:#fff3b3;color:#4b3d00}.icon-button.move:disabled{cursor:not-allowed;color:#d4dbd7}.icon-button.move:disabled:hover{background:transparent;color:#d4dbd7}
.modal-backdrop[hidden]{display:none!important}
*{box-sizing:border-box}
body{margin:0;background:var(--mist);color:var(--ink);font:14px/1.45 Arial,Helvetica,sans-serif}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
.topbar{height:86px;position:sticky;top:0;z-index:20;background:linear-gradient(100deg,#fff 0%,#fcfcf9 68%,#f8f8f3 100%);border-bottom:1px solid #d7ddd9;box-shadow:0 3px 14px #182c3b0a;backdrop-filter:blur(10px)}
.topbar::after{content:'';position:absolute;right:0;bottom:-1px;left:0;height:3px;background:linear-gradient(90deg,var(--yellow) 0 18%,#f7d846 38%,transparent 74%);opacity:.9}
.topbar-inner{height:100%;max-width:1680px;margin:auto;padding:0 32px;display:flex;align-items:center;gap:18px}
.brand{width:232px;height:66px;display:flex;align-items:center;flex-shrink:0}
.brand img{display:block;width:100%;height:100%;max-height:66px;object-fit:contain;object-position:left}
.topbar-divider{height:43px;width:2px;background:linear-gradient(180deg,transparent,#f4c400 20%,#d8dddc 80%,transparent)}
.app-label{display:grid;gap:1px}
.app-label span,.eyebrow{margin:0;color:#74817b;font-weight:700;font-size:10px;letter-spacing:.16em;text-transform:uppercase}
.app-label strong{font-size:15px;letter-spacing:-.01em}
.top-actions{margin-left:auto;display:flex;align-items:center;gap:7px}
.logout-form{margin:0}
.text-button{border:0;border-radius:7px;background:transparent;color:#596661;font-weight:700;padding:8px 10px}
.text-button:hover{background:#eef1ee;color:var(--ink)}
.button{appearance:none;border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;font-weight:700;white-space:nowrap}
.button.primary{background:var(--yellow);color:var(--ink);box-shadow:0 2px 0 #d9ad00}
.button.primary:hover,.button.yellow:hover{background:#e2b500}
.button.dark{background:var(--navy);color:#fff}
.button.dark:hover{background:#243f52}
.button.danger{border-color:#9f2432;background:#b42332;color:#fff;box-shadow:0 2px 0 #831b27}
.button.danger:hover{border-color:#811c27;background:#981f2b}
.button.yellow{background:var(--yellow);color:var(--ink)}
.button.outline{border-color:#cbd3ce;background:white;color:var(--ink)}
.button.wide{width:100%}
.shell{max-width:1680px;margin:auto;display:grid;grid-template-columns:300px minmax(0,1fr);min-height:calc(100vh - 86px)}
.sidebar{background:#fff;border-right:1px solid var(--line);padding:20px}
.archive-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:14px}
.archive-head strong{display:block;font-size:14px;margin-top:2px}
.count-pill{padding:3px 8px;border-radius:999px;background:#edf0ed;color:#61706b;font-weight:700;font-size:12px}
.offers-list{display:grid;gap:4px}
.offer-tab-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:3px}
.offer-tab{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:10px;padding:10px 8px;border-radius:8px;text-align:left}
.offer-tab:hover{background:#f4f6f3}
.offer-tab.active{background:#fff3b3}
.doc-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:7px;background:#edf0ed;color:#63716b;font-size:18px;flex-shrink:0}
.offer-tab.active .doc-icon{background:var(--navy);color:var(--yellow)}
.offer-tab-text{min-width:0;flex:1;display:grid}
.offer-tab-text b,.offer-tab-text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.offer-tab-text b{font-size:13px}
.offer-tab-text small{color:#6e7974;font-size:11px}
.status{padding:3px 6px;border-radius:99px;font-size:9px;font-weight:700;white-space:nowrap}
.status.rozpracovana{background:#f0f1f0;color:#65706b}
.status.poslana{background:#eaf3ff;color:#2663a3}
.status.vyslo{background:#e8f7ee;color:#1d7b49}
.status.nevyslo{background:#fff0f1;color:#ad3341}
.offer-sort-actions{display:grid;grid-template-rows:1fr 1fr;gap:2px;padding:3px 0}.offer-sort-actions button{width:25px;border:1px solid #dbe2de;border-radius:5px;background:#fff;color:#526a76;font-size:13px;font-weight:900;line-height:1}.offer-sort-actions button:hover{border-color:#d2ac00;background:#fff3b3;color:#4b3d00}.offer-sort-actions button:disabled{cursor:not-allowed;border-color:#edf0ee;background:#fafbfa;color:#ccd3cf}
.quick-help{border-top:1px solid #e2e6e3;margin-top:26px;padding:18px 2px;color:#65706d;font-size:12px;line-height:1.55}
.quick-help strong{color:var(--ink)}
.quick-help p{margin:7px 0}
.empty-archive{padding:16px;border:1px dashed #cbd3ce;border-radius:9px;color:#68746e;font-size:13px}
.empty-archive button{display:block;border:0;background:transparent;padding:8px 0 0;color:#203744;font-weight:700}
.workspace{min-width:0;padding:28px}
.start-screen{max-width:1000px;margin:0 auto}
.start-hero{background:var(--navy);color:#fff;padding:38px;border-radius:16px}
.start-hero .eyebrow{color:var(--yellow)}
.start-hero h1{font-size:38px;line-height:1.1;letter-spacing:-.03em;max-width:560px;margin:11px 0}
.start-hero p:not(.eyebrow){max-width:560px;color:#d7e0dc;margin:0 0 23px;line-height:1.6}
.recent{margin-top:28px}
.section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}
.section-title h2{margin:0;font-size:16px}
.section-title span{font-size:12px;color:#718078}
.recent-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.recent-offer{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;box-shadow:0 1px 3px #182c3b0b}
.recent-offer:hover{border-color:#e0b600;transform:translateY(-1px)}
.doc-icon.large{width:40px;height:40px;background:#fff4bb;color:#6a5300}
.recent-offer span:nth-child(2){display:grid;min-width:0;flex:1}
.recent-offer b,.recent-offer small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recent-offer small{color:#6c7872;margin-top:2px}
.recent-offer i{font-size:24px;color:#829089;font-style:normal}
.editor{max-width:1300px;margin:0 auto}
.editor-actions{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px}
.editor-actions>div{display:flex;gap:8px}
.editor-actions .back{margin-left:-8px}
.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 314px;align-items:start;gap:24px}
.editor-main{min-width:0;display:grid;gap:18px}
.offer-details,.offer-section,.notes,.offer-summary{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:white;box-shadow:0 1px 3px #182c3b0b}
.yellow-line{height:6px;background:var(--yellow)}
.details-inner{padding:23px 25px}
.headline-row{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:20px;align-items:start}
.offer-title-input{width:100%;border:1px dashed transparent;border-radius:6px;padding:3px 6px 4px;margin-left:-6px;color:var(--ink);font-size:29px;font-weight:800;letter-spacing:-.03em;outline:none;transition:border-color .15s,background .15s}.offer-title-input:hover{border-color:#d7c366;background:#fffdf2}.offer-title-input:focus{border-color:#e9bd00;background:#fff9d8;box-shadow:0 0 0 2px #f4c4002e}.offer-title-hint{display:block;margin-top:6px;color:#68766f;font-size:11px;line-height:1.4}
.status-select span,.field>span{display:block;margin:0 0 6px;color:#708078;font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.status-select select,.field input,.field textarea,.section-header select,.cell-input,.link-input{width:100%;border:1px solid #d9dfdb;border-radius:6px;background:#fff;padding:9px;color:var(--ink);outline:none}
.status-select select:focus,.field input:focus,.field textarea:focus,.section-header select:focus,.cell-input:focus,.link-input:focus{border-color:#e9bd00;box-shadow:0 0 0 2px #f4c4002e}
.fields-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:25px}
.intro-field{margin-top:18px}
.field textarea{height:76px;resize:vertical}
.section-header{min-height:56px;display:flex;align-items:center;gap:10px;padding:11px 16px;background:#f8f9f6;border-bottom:1px solid #e0e5e2}
.letter{display:inline-flex;align-items:center;justify-content:center;width:27px;height:27px;border-radius:4px;background:var(--navy);color:var(--yellow);font-size:12px;font-weight:800}
.section-title-input{border:0;background:transparent;min-width:150px;flex:1;padding:4px 0;color:var(--ink);font-size:16px;font-weight:700;outline:0}
.section-header select{width:auto;min-height:32px;padding:4px 7px;font-size:12px}
.icon-button{border:0;border-radius:5px;background:transparent;color:#89938e;font-size:22px;line-height:1;padding:4px 7px}
.icon-button:hover{background:#f1f3f1;color:var(--ink)}
.icon-button.delete:hover{background:#fff0f1;color:var(--danger)}
.table-wrap{overflow-x:auto}
.item-table{width:100%;min-width:700px;border-collapse:collapse}
.item-table th{padding:10px 9px;color:#78837e;text-align:left;font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.item-table th:first-child,.item-table td:first-child{padding-left:20px}
.item-table th:last-child,.item-table td:last-child{padding-right:10px;width:36px}
.item-table th:nth-child(2){width:84px;text-align:right}
.item-table th:nth-child(3){width:78px}
.item-table th:nth-child(4),.item-table th:nth-child(5){width:125px;text-align:right}
.item-table td{border-top:1px solid #edf0ee;padding:8px 9px;vertical-align:top}
.cell-input{border:0;background:transparent;padding:5px 0;box-shadow:none!important}
.cell-input.description{font-weight:500}
.cell-input.numeric{text-align:right}
.unit-input{max-width:64px}
.link-input{display:block;max-width:360px;border:0;background:transparent;padding:4px 0 0;color:#6b7770;font-size:11px;box-shadow:none!important}
.link-input::before{content:'↗'}
.money-cell{text-align:right;white-space:nowrap;font-weight:700;color:#233641}
.item-table tfoot{background:#fafbf9}
.item-table tfoot td{border-top:2px solid #d9e0dc;padding-top:11px;padding-bottom:11px;text-align:right;color:#65716b;font-size:11px;font-weight:700;letter-spacing:.08em}
.item-table tfoot .money-cell{font-size:15px;color:var(--ink);letter-spacing:0}
.offer-section footer{border-top:1px solid #e9eeeb;padding:10px 20px}
.add-row{border:0;background:transparent;padding:4px 0;color:var(--green);font-weight:700}
.add-row:hover{color:var(--navy)}
.add-section{border:1px dashed #b9c4be;border-radius:12px;background:#ffffff9f;color:#53635b;padding:14px;width:100%;font-weight:700}
.add-section:hover{border-color:#efc200;background:#fffdf4}
.notes{padding:20px}
.notes header{display:grid;gap:2px;margin-bottom:14px}
.notes header b{font-size:15px}
.notes header small{color:#68746e}
.note-row{display:flex;gap:8px;margin:8px 0}
.note-row textarea{min-height:54px;flex:1;border:1px solid #d9dfdb;border-radius:6px;padding:8px;resize:vertical;outline:none}
.note-row textarea:focus{border-color:#e9bd00}
.summary-column{position:sticky;top:96px;display:grid;gap:14px}
.summary-header{display:grid;gap:1px;padding:16px 19px;background:var(--navy);color:white}
.summary-header span{font-size:10px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--yellow)}
.summary-header b{font-size:17px}
.summary-body{padding:17px}
.summary-row{display:flex;justify-content:space-between;gap:9px;padding:6px 0;color:#5d6964}
.summary-row b{color:#21333d;white-space:nowrap}
.summary-row.divide{border-top:1px solid #e3e7e4;margin-top:6px;padding-top:12px}
.summary-total{display:grid;gap:4px;margin-top:9px;padding:10px;border-radius:7px;background:#fff3b3;color:#695400;text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:.08em}
.summary-total b{color:var(--ink);font-size:23px;letter-spacing:-.03em;text-transform:none}
.calculation-help{padding:14px;border:1px solid #d8dfda;border-radius:12px;background:#fbfbf8;color:#65716b;font-size:12px;line-height:1.55}
.calculation-help b{color:#273942}
.calculation-help p{margin:7px 0 0}
.sanitary-vat-control{display:grid;gap:9px;padding:14px;border:1px solid #dccb77;border-radius:12px;background:#fff9df;color:#5f5831;font-size:12px;line-height:1.5}
.sanitary-vat-control>b{color:#273942}
.sanitary-vat-control label{display:grid;gap:5px;color:#7a6a20;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.sanitary-vat-control select{width:100%;border:1px solid #d5bd4d;border-radius:6px;background:#fff;padding:8px;color:var(--ink);font:inherit;font-size:12px;font-weight:700;letter-spacing:normal;text-transform:none;outline:none}
.sanitary-vat-control select:focus{border-color:#be9800;box-shadow:0 0 0 2px #f4c40042}
.sanitary-vat-control p{margin:0}
.modal-backdrop{position:fixed;inset:0;z-index:100;background:#14232e75;display:grid;place-items:center;padding:18px}
.modal{position:relative;width:min(620px,100%);border:1px solid #d7dcda;border-radius:14px;background:#fbfbf8;padding:27px;box-shadow:0 18px 50px #14232e59}
.modal h2{margin:4px 0;font-size:23px}
.modal .muted{margin-top:4px}
.modal-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:28px;color:#74817b}
.new-offer-form{display:grid;gap:14px;margin-top:20px}
.new-offer-form label:not(.template-choice){display:grid;gap:6px;color:#708078;font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.new-offer-form input{border:1px solid #d9dfdb;border-radius:6px;background:#fff;padding:9px;color:var(--ink);text-transform:none;letter-spacing:normal;font-weight:400}
.new-offer-form fieldset{border:0;margin:4px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.new-offer-form legend{grid-column:1/-1;margin-bottom:7px;color:#68736f;font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.template-choice{display:grid;gap:3px;border:1px solid #d9dfdb;border-radius:8px;background:#fff;padding:13px;cursor:pointer}
.template-choice.active{border-color:#e8be00;background:#fff8d6;box-shadow:inset 0 0 0 1px #f0c300}
.template-choice input{position:absolute;opacity:0;pointer-events:none}
.template-choice b{font-size:14px}
.template-choice span{font-size:12px;color:#68746e;line-height:1.4}
.company-template-choices{grid-column:1/-1;display:contents}
.company-template-choice-title{grid-column:1/-1;margin-top:6px;color:#68736f;font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.company-template-choice-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.company-template-choice{border-color:#c9d9df;background:#f9fcfd}
.company-template-choice.active{border-color:#37738b;background:#edf8fb;box-shadow:inset 0 0 0 1px #4d91a8}
.modal-or{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin:18px 0 10px;color:#78847e;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.modal-or::before,.modal-or::after{height:1px;background:#dce2de;content:""}
.legacy-import-button{width:100%;border:1px dashed #c3a400;border-radius:8px;background:#fffcef;padding:12px;color:#253947;font-weight:800;cursor:pointer}.legacy-import-button:hover{border-style:solid;background:#fff4bf}
.legacy-import-modal{width:min(680px,100%);max-height:calc(100vh - 36px);overflow:auto}.legacy-file-picker{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center;margin-top:21px;border:1px dashed #bea400;border-radius:10px;background:#fffcef;padding:15px;cursor:pointer}.legacy-file-picker:hover{border-style:solid;background:#fff8d9}.legacy-file-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.legacy-file-icon{grid-row:1/3;display:grid;place-items:center;width:35px;height:35px;border-radius:8px;background:#f4c800;color:#152d3e;font-size:22px;font-weight:900}.legacy-file-picker b{font-size:14px}.legacy-file-picker small{color:#65716b;font-size:12px;line-height:1.4}.legacy-import-status{margin-top:14px;border-radius:7px;background:#edf4f1;padding:10px 12px;color:#35594a;font-size:13px;line-height:1.45}.legacy-import-status.error{background:#fff0f0;color:#9b3333}.legacy-import-preview{display:grid;gap:14px;margin-top:18px}.legacy-preview-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.legacy-preview-head .eyebrow{display:block;margin:0 0 3px}.legacy-preview-head b{display:block;font-size:14px}.legacy-ready{border-radius:999px;background:#e7f3ec;padding:5px 9px;color:#24734e;font-size:11px;font-weight:800;white-space:nowrap}.legacy-import-sections{display:grid;gap:7px}.legacy-import-section{display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:center;border:1px solid #dce3df;border-radius:8px;background:#fff;padding:9px 10px}.legacy-import-letter{display:grid;place-items:center;width:26px;height:26px;border-radius:5px;background:#183446;color:#f7cf00;font-size:12px;font-weight:900}.legacy-import-section b{display:block;font-size:13px}.legacy-import-section small{color:#69766f;font-size:12px}.legacy-import-section strong{font-size:13px;white-space:nowrap}.legacy-import-warnings{display:grid;gap:5px;border-left:3px solid #f1c400;background:#fffaf0;padding:10px 12px;color:#52615a;font-size:12px;line-height:1.45}.legacy-import-warnings p{margin:0}.legacy-import-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.legacy-import-fields label:first-child{grid-column:1/-1}.legacy-import-fields label{display:grid;gap:6px;color:#708078;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.legacy-import-fields small{text-transform:none;letter-spacing:0;font-weight:400}.legacy-import-fields input{border:1px solid #d9dfdb;border-radius:6px;background:#fff;padding:9px;color:var(--ink);letter-spacing:normal;text-transform:none;font-weight:400}
.notice{position:fixed;right:22px;bottom:22px;z-index:110;max-width:380px;padding:12px 15px;border-radius:8px;background:#273942;color:#fff;box-shadow:0 9px 25px #14232e40;font-weight:700}
.notice.error{background:#9f2835}
.login-body{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#f5f4ef,#e7eae6)}
.login-card,.install-card{width:min(420px,100%);border:1px solid #d9dfdb;border-radius:16px;background:#fff;padding:34px;box-shadow:0 16px 45px #182c3b1c}
.install-card{width:min(680px,100%)}
.login-logo{display:block;width:270px;max-width:100%;max-height:78px;object-fit:contain;object-position:left;margin:0 0 24px}
.login-card h1,.install-card h1{margin:5px 0;font-size:27px;letter-spacing:-.03em}
.muted{color:#65716b;line-height:1.55}
.login-form,.install-form{display:grid;gap:14px;margin-top:23px}
.login-form label,.install-form label{display:grid;gap:6px;color:#708078;font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.login-form input,.install-form input{width:100%;border:1px solid #d9dfdb;border-radius:6px;padding:10px;color:var(--ink);font-size:14px;letter-spacing:normal;text-transform:none;font-weight:400}
.login-form input:focus,.install-form input:focus{border-color:#e9bd00;outline:2px solid #f4c4002e}
.login-help{margin:18px 0 0;color:#73807a;font-size:12px;text-align:center}
.message{margin:16px 0;padding:10px 12px;border-radius:7px;font-size:13px}
.message.error{background:#fff0f1;border:1px solid #ffd3d7;color:#9f2835}
.requirements{display:grid;gap:6px;margin:19px 0;padding:13px;border-radius:8px;background:#f5f7f5;font-size:12px}
.requirements strong{color:var(--ink);margin-bottom:2px}
.requirements .ok{color:#217248}
.requirements .bad{color:#b42332}
.install-form h2{font-size:16px;margin:10px 0 -4px}
.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}

@media (max-width:1050px){.shell{grid-template-columns:250px minmax(0,1fr)}
.editor-grid{grid-template-columns:minmax(0,1fr)}
.summary-column{position:static;grid-template-columns:1fr 1fr}
.fields-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){.topbar-inner{padding:0 14px;gap:10px}
.brand{width:205px}
.topbar-divider,.app-label,.logout-form{display:none}
.shell{display:block}
.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:14px}
.offers-list{display:flex;overflow:auto}
.offer-tab{min-width:225px}
.quick-help{display:none}
.workspace{padding:15px}
.start-hero{padding:25px}
.start-hero h1{font-size:30px}
.recent-grid{grid-template-columns:1fr}
.section-title span{display:none}
.editor-actions{align-items:start;gap:8px}
.editor-actions>div{display:grid}
.button{min-height:37px}
.headline-row{grid-template-columns:1fr}
.offer-title-input{font-size:25px}
.fields-grid{grid-template-columns:1fr}
.details-inner{padding:18px}
.section-header{flex-wrap:wrap}
.section-header select{flex:1}
.summary-column{grid-template-columns:1fr}
.modal{padding:22px}
.new-offer-form fieldset,.two-fields{grid-template-columns:1fr}
.legacy-import-fields{grid-template-columns:1fr}.legacy-import-section{grid-template-columns:28px 1fr}.legacy-import-section strong{grid-column:2}
.print-header,.print-title,.quote-meta{grid-template-columns:1fr!important;display:grid!important}
.company{text-align:left}
.print-header img{max-width:100%!important}
.print-actions{right:10px!important;top:10px!important}
.quote{margin:0!important}
.quote-inner{padding:17px!important}
}

.new-offer-form fieldset[hidden]{display:none!important}
.archive-group{display:grid;gap:3px;margin:0 0 18px}
.archive-group-title{display:flex;justify-content:space-between;align-items:center;padding:5px 3px 4px;color:#718078;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.archive-group-title b{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;border-radius:99px;background:#edf0ed;color:#61706b;font-size:10px;letter-spacing:0}
.archive-complete{padding-top:14px;border-top:1px solid #e2e6e3}
.archive-empty{margin:0;padding:5px 3px;color:#83908a;font-size:12px;line-height:1.45}
.status.hotova,.status.ceka{background:#fff4bb;color:#6b5500}
.offer-stage{display:grid;gap:2px;padding:10px 12px;border:1px solid #e1e6e2;border-radius:8px;background:#f8faf8;color:#63716b}
.offer-stage span{font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.offer-stage b{color:#1f3541;font-size:14px}
.offer-stage small{font-size:11px;line-height:1.35}
.final-view{max-width:1120px;margin:0 auto}
.final-hero{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;padding:31px;border-radius:15px;background:var(--navy);color:#fff}
.final-hero .eyebrow{color:var(--yellow)}
.final-hero h1{margin:7px 0 5px;font-size:33px;line-height:1.1;letter-spacing:-.035em}
.final-hero p:not(.eyebrow){margin:0;color:#d7e0dc}
.final-price{display:grid;gap:4px;min-width:230px;text-align:right}
.final-price span{color:#d7e0dc;font-size:11px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.final-price b{color:var(--yellow);font-size:29px;letter-spacing:-.04em}
.final-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;margin-top:18px}
.outcome-card,.final-summary,.locked-note{border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 1px 3px #182c3b0b}
.outcome-card{padding:23px}
.outcome-card h2{margin:4px 0;font-size:24px;letter-spacing:-.02em}
.outcome-card p:not(.eyebrow){margin:0;color:#65716b;line-height:1.55}
.outcome-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:19px}
.button.success{border-color:#b9e2c9;background:#e9f8ef;color:#176c3d}
.button.success.selected{border-color:#217248;background:#217248;color:#fff}
.button.decline{border-color:#ffd0d5;background:#fff0f1;color:#a92938}
.button.decline.selected{border-color:#b42332;background:#b42332;color:#fff}
.button.outline.selected{border-color:#cda900;background:#fff3b3;color:#6b5500}
.final-summary{padding:19px}
.final-summary>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;color:#5d6964}
.final-summary>div b{color:#1f3541;white-space:nowrap}
.final-summary .final-total{margin-top:6px;padding:12px;background:#fff3b3;border-radius:7px;color:#6b5500;font-weight:800;text-transform:uppercase;font-size:11px;letter-spacing:.06em}
.final-summary .final-total b{color:#172733;font-size:17px;letter-spacing:-.02em;text-transform:none}
.locked-note{display:grid;gap:4px;margin-top:18px;padding:17px 20px;border-style:dashed;background:#fbfbf8;color:#65716b}
.locked-note b{color:#273942}
.document-preview-card{display:grid;grid-template-columns:168px minmax(0,1fr);align-items:center;gap:22px;width:100%;margin-top:18px;padding:18px;border:1px solid #d8e1dc;border-radius:12px;background:#fbfcfa;color:var(--ink);text-align:left;cursor:pointer;box-shadow:0 1px 3px #182c3b0b;transition:transform .15s,border-color .15s,box-shadow .15s}.document-preview-card:hover{border-color:#ddba00;box-shadow:0 8px 20px #182c3b14;transform:translateY(-1px)}.document-preview-sheet{display:grid;align-content:start;gap:7px;min-height:190px;border:1px solid #d8dedb;background:#fff;padding:12px 13px;box-shadow:5px 5px 0 #eef0ed}.document-preview-sheet-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #183446;padding-bottom:6px}.document-preview-sheet-top b{padding:2px 4px;background:#f4c400;color:#172d3b;font-size:11px}.document-preview-sheet-top i{width:48px;height:4px;background:#e1e6e2}.document-preview-sheet-head{margin-top:3px;color:#1b3444;font-size:12px;font-weight:900;letter-spacing:-.04em}.document-preview-sheet-subject{max-height:31px;overflow:hidden;background:#f4c400;padding:4px 6px;font-size:7px;font-weight:800;line-height:1.25;text-transform:uppercase}.document-preview-sheet-rule{height:1px;background:#dce2df;margin:3px 0}.document-preview-sheet-row{display:grid;grid-template-columns:1fr .45fr;gap:9px}.document-preview-sheet-row i{height:4px;background:#e5e9e6}.document-preview-sheet-row.short i:first-child{width:68%}.document-preview-sheet-total{margin-top:auto;background:#f4c400;padding:7px;color:#172d3b;font-size:12px;font-weight:900;text-align:right}.document-preview-copy{display:grid;gap:5px;max-width:510px}.document-preview-copy .eyebrow{margin:0;color:#80742d}.document-preview-copy>b{font-size:21px;letter-spacing:-.03em}.document-preview-copy small{max-width:430px;color:#65716b;font-size:13px;line-height:1.5}.document-preview-copy strong{margin-top:6px;color:#183d50;font-size:13px}.document-preview-copy em{color:#c39b00;font-size:18px;font-style:normal}
.inline-document-preview{margin-top:10px;overflow:hidden;border:1px solid #d8e1dc;border-radius:12px;background:#e9eeeb}.inline-document-preview[hidden]{display:none}.inline-document-preview-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 15px;border-bottom:1px solid #d8e1dc;background:#fff}.inline-document-preview-head span{display:grid;gap:2px}.inline-document-preview-head b{font-size:13px}.inline-document-preview-head small{color:#68766f;font-size:11px}.inline-document-preview-head .text-button{padding:6px;color:#315266;white-space:nowrap}.inline-document-frame{display:block;width:100%;min-height:850px;border:0;background:#fff}html.embedded-preview .print-actions{display:none!important}html.embedded-preview body{background:#fff!important}html.embedded-preview .quote{margin:0 auto!important;box-shadow:none!important}
@media (max-width:760px){.final-hero,.final-grid{display:grid;grid-template-columns:1fr}.final-hero{padding:23px}.final-price{text-align:left}.final-hero h1{font-size:27px}.outcome-actions{display:grid}.outcome-actions .button{width:100%}.document-preview-card{grid-template-columns:112px minmax(0,1fr);gap:15px;padding:14px}.document-preview-sheet{min-height:140px;padding:9px}.document-preview-sheet-head{font-size:9px}.document-preview-sheet-subject{font-size:6px}.document-preview-sheet-total{font-size:10px}.document-preview-copy>b{font-size:17px}.document-preview-copy small{font-size:12px}.document-preview-copy strong{font-size:12px}}

.account-button{white-space:nowrap}
.settings-modal{max-width:520px}
.team-modal{max-width:760px;max-height:calc(100vh - 46px);overflow:auto}
.account-form,.team-create-form{display:grid;gap:13px;margin-top:19px}
.account-form label,.team-create-form label,.team-account label{display:grid;gap:6px;color:#64716c;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.account-form label small,.team-account label small{font-size:9px;font-weight:600;letter-spacing:0;text-transform:none}
.account-form input,.team-create-form input,.team-create-form select,.team-account input,.team-account select{width:100%;border:1px solid #d9dfdb;border-radius:6px;background:#fff;padding:10px;color:var(--ink);font:inherit;font-size:14px;letter-spacing:normal;text-transform:none;font-weight:400}
.account-form input:focus,.team-create-form input:focus,.team-create-form select:focus,.team-account input:focus,.team-account select:focus{border-color:#e9bd00;outline:2px solid #f4c4002e}
.new-team-account{margin-top:20px;padding:17px;border:1px solid #e0e6e2;border-radius:10px;background:#f8faf8}
.new-team-account h3,.team-list-section h3{margin:0;color:#213743;font-size:15px}
.team-list-section{margin-top:22px}
.team-accounts{display:grid;gap:10px;margin-top:10px}
.team-account{display:grid;gap:11px;padding:15px;border:1px solid #e0e6e2;border-radius:10px;background:#fff}
.team-account.self{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f5f7f5;color:#68756f;font-size:12px}
.team-account.self>div{display:grid;gap:2px;color:#203440}
.team-account.self small{color:#68756f;font-size:11px}
.team-account-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.team-account-head>div{display:grid;gap:2px}
.team-account-head small{color:#6e7b75;font-size:11px}
.account-state{padding:4px 7px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.account-state.active{background:#e9f8ef;color:#176c3d}
.account-state.disabled{background:#fff0f1;color:#a92938}
.team-account-actions{display:flex;flex-wrap:wrap;gap:8px}
.quick-items-panel{padding:17px;border:1px solid #e0e6e2;border-radius:12px;background:#fff}
.quick-items-panel>b{font-size:13px;color:#203440}
.quick-items-panel p{margin:6px 0 12px;color:#68756f;font-size:12px;line-height:1.45}
.quick-items-panel>div{display:flex;flex-wrap:wrap;gap:7px}
.quick-items-panel button{border:1px solid #ded2a0;border-radius:6px;background:#fff9de;color:#665300;padding:7px 8px;font-size:11px;font-weight:700}
.quick-items-panel button:hover{border-color:#d6af00;background:#fff1a8}
.note-template-picker{margin:0 0 16px;padding:14px;border:1px solid #e1e5e2;border-radius:9px;background:#f8faf8}
.note-template-picker-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}
.note-template-picker-head b{font-size:13px;color:#203440}
.note-template-picker-head small{color:#6e7a74;font-size:11px}
.note-template-grid{display:grid;gap:7px}
.note-template-option{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:start;padding:9px 10px;border:1px solid #e0e5e1;border-radius:7px;background:#fff;color:#45564f;font-size:13px;line-height:1.45;cursor:pointer}
.note-template-option:hover{border-color:#d8b515;background:#fffdf3}
.note-template-option input{width:16px;height:16px;margin:2px 0 0;accent-color:#d4a900}
.note-template-empty{margin:0;color:#748079;font-size:12px;line-height:1.45}
.note-template-manage{border:0;background:transparent;padding:0;color:#526a76;font-size:11px;font-weight:700;text-decoration:underline;cursor:pointer}
.manual-notes-label{margin:17px 0 7px;color:#68746e;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.note-templates-modal{width:min(790px,100%);max-height:calc(100vh - 40px);overflow:auto}
.note-templates-form{display:grid;gap:14px;margin-top:20px}
.note-templates-editor{display:grid;gap:10px}
.note-template-editor-row{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid #dfe5e1;border-radius:9px;background:#fff}
.note-template-editor-row textarea{flex:1;min-height:76px;border:1px solid #d4dcd7;border-radius:6px;padding:9px;resize:vertical;color:var(--ink);font:inherit;font-size:14px;line-height:1.45}
.note-template-editor-row textarea:focus{border-color:#e9bd00;outline:2px solid #f4c4002e}
.company-templates-modal{width:min(720px,100%);max-height:calc(100vh - 40px);overflow:auto}
.company-templates-admin-list{display:grid;gap:10px;margin-top:21px}
.company-template-admin-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px;border:1px solid #dce4df;border-radius:9px;background:#fff}
.company-template-admin-row>div{display:grid;gap:4px;min-width:0}
.company-template-admin-row b{font-size:15px}
.company-template-admin-row small{color:#66756e;font-size:12px;line-height:1.4}
.company-template-admin-row .button{flex:0 0 auto}
@media (max-width:760px){.account-button{display:none}.team-account.self{display:grid}.team-account-actions{display:grid}.team-account-actions .button{width:100%}.team-modal{padding:20px}.quick-items-panel{display:none}.company-template-choice-grid{grid-template-columns:1fr}.company-template-admin-row{align-items:stretch;flex-direction:column;gap:11px}.company-template-admin-row .button{width:100%}}

/* Zákaznický přehled: úvod systému už není seznam souborů, ale jedna karta
   pro každého člověka a všechny dokumenty k jeho zakázce. */
.customer-search{display:flex;align-items:center;gap:7px;margin:0 0 11px;padding:8px 10px;border:1px solid #dbe2de;border-radius:8px;background:#fff;color:#718078}
.customer-search span{font-size:18px;line-height:1}
.customer-search input{width:100%;min-width:0;border:0;background:transparent;color:var(--ink);font:inherit;outline:0}
.customer-search:focus-within{border-color:#e6bd00;box-shadow:0 0 0 2px #f4c4002e}
.customer-list{display:grid;gap:4px}
.customer-list-empty{margin:4px 1px;color:#78847e;font-size:12px;line-height:1.5}
.customer-tab{display:flex;align-items:center;gap:9px;width:100%;min-width:0;border:0;border-radius:9px;background:transparent;padding:8px;text-align:left;cursor:pointer}
.customer-tab:hover{background:#f1f4f1}.customer-tab.active{background:#fff3b3}
.customer-avatar,.customer-hero-avatar{display:inline-grid;flex:0 0 auto;place-items:center;border-radius:50%;background:#e7ece8;color:#2b4540;font-weight:900}
.customer-avatar{width:32px;height:32px;font-size:13px}.customer-tab.active .customer-avatar{background:var(--navy);color:var(--yellow)}
.customer-tab-copy{display:grid;min-width:0;flex:1;gap:1px}.customer-tab-copy b,.customer-tab-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-tab-copy b{font-size:13px}.customer-tab-copy small{color:#718078;font-size:10.5px}
.customer-tab i{color:#d2a800;font-size:11px;font-style:normal}
.customer-start-screen{max-width:1050px}.customer-start-screen .start-hero{margin-bottom:17px}
.customer-start-tip{display:flex;align-items:center;gap:13px;padding:17px 20px;border:1px solid #dce4df;border-radius:12px;background:#fff;box-shadow:0 1px 3px #182c3b0b}.customer-start-tip>span{display:grid;width:40px;height:40px;place-items:center;border-radius:9px;background:#fff3b3;color:#645100;font-size:19px;font-weight:900}.customer-start-tip div{display:grid;gap:3px}.customer-start-tip small{color:#6b7972}
.customer-overview{max-width:1220px;margin:0 auto}.customer-overview-actions{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px}
.customer-hero{display:flex;align-items:center;gap:19px;padding:27px 30px;border-radius:14px;background:var(--navy);color:#fff}.customer-hero-avatar{width:60px;height:60px;background:var(--yellow);color:#1e3440;font-size:25px}.customer-hero h1{margin:3px 0;color:#fff;font-size:31px;letter-spacing:-.04em}.customer-hero>div:last-child>p:not(.eyebrow){margin:4px 0 0;color:#d5e0da}.customer-hero .eyebrow{color:var(--yellow)}
.customer-counters{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}.customer-counters span{padding:4px 8px;border:1px solid #ffffff3d;border-radius:999px;color:#eef4f0;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.customer-overview-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;align-items:start;gap:18px;margin-top:18px}.customer-documents,.customer-note-card{border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 1px 3px #182c3b0b}.customer-documents{padding:22px}.customer-documents>header{margin-bottom:14px}.customer-documents h2,.customer-note-card h2{margin:3px 0 5px;color:#1b3340;font-size:20px;letter-spacing:-.02em}.customer-documents header p:not(.eyebrow),.customer-note-card>p:not(.eyebrow){margin:0;color:#697870;font-size:12px;line-height:1.5}.customer-documents-empty{margin:0;padding:18px;border:1px dashed #d5ded9;border-radius:8px;color:#77837d;text-align:center}
.customer-document{border-top:1px solid #e3e9e5}.customer-document:last-child{border-bottom:1px solid #e3e9e5}.customer-document-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;width:100%;border:0;background:transparent;padding:14px 4px;text-align:left;cursor:pointer}.customer-document-main:hover{background:#fbfcfa}.customer-document-icon{display:grid;width:35px;height:35px;place-items:center;border-radius:8px;background:#e9efec;color:#3d5951;font-size:16px;font-weight:900}.customer-document-icon.offer{background:#fff3b3;color:#665200}.customer-document-icon.contract{background:#e7efff;color:#315a91}.customer-document-icon.invoice{background:#e7f6ed;color:#27734a}.customer-document-copy{display:grid;min-width:0;gap:2px}.customer-document-copy small{color:#74817b;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.customer-document-copy b{overflow:hidden;color:#203640;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.customer-document-copy span{overflow:hidden;color:#6d7b74;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.customer-document-side{display:grid;justify-items:end;gap:3px}.customer-document-side em{color:#63736b;font-size:10px;font-style:normal;font-weight:800}.customer-document-side strong{color:#203743;font-size:13px;white-space:nowrap}.customer-document-main>i{color:#8a968f;font-size:19px;font-style:normal}
.customer-document-preview{margin:0 0 14px;padding:14px;border:1px solid #dce4df;border-radius:9px;background:#f8faf8}.customer-document-preview-head{display:flex;justify-content:space-between;gap:12px;align-items:start;margin-bottom:11px}.customer-document-preview-head span{display:grid;gap:2px}.customer-document-preview-head b{font-size:13px}.customer-document-preview-head small{color:#6f7d77;font-size:11px}.customer-document-preview iframe{display:block;width:100%;min-height:790px;border:1px solid #d5ded9;border-radius:5px;background:#fff}.customer-document-preview .button{margin-top:10px}
.customer-note-card{position:sticky;top:94px;padding:20px}.customer-note-card textarea{width:100%;min-height:235px;margin:10px 0;border:1px solid #d6ded9;border-radius:7px;padding:10px;resize:vertical;color:var(--ink);font:inherit;font-size:13px;line-height:1.5;outline:0}.customer-note-card textarea:focus{border-color:#e5bb00;box-shadow:0 0 0 2px #f4c4002e}
@media (max-width:900px){.customer-overview-grid{grid-template-columns:1fr}.customer-note-card{position:static}.customer-document-preview iframe{min-height:620px}}
@media (max-width:760px){.customer-list{display:flex;overflow:auto;padding-bottom:3px}.customer-tab{min-width:228px}.customer-overview-actions{gap:9px;align-items:flex-start}.customer-hero{align-items:flex-start;padding:21px;gap:13px}.customer-hero-avatar{width:48px;height:48px;font-size:20px}.customer-hero h1{font-size:25px}.customer-documents{padding:16px}.customer-document-main{grid-template-columns:auto minmax(0,1fr) auto;gap:9px}.customer-document-side{display:none}.customer-document-preview{padding:10px}.customer-document-preview-head{display:grid}.customer-document-preview iframe{min-height:520px}.customer-start-tip{align-items:flex-start}.customer-overview-actions .back{padding-left:0}}



/* v56 — distinct quotes tab, private nicknames and trusted devices. */
.offers-nav{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 15px;border:1px solid #5b3fd6;border-radius:9px;background:#5b3fd6;color:#fff!important;text-decoration:none;font-weight:800;white-space:nowrap;box-shadow:0 3px 8px #5b3fd624}
.offers-nav:hover{background:#4930bb;border-color:#4930bb}.offers-nav.is-active{outline:3px solid #e4dfff;outline-offset:2px}
.offers-nav:focus-visible,.quote-overview-card:focus-visible{outline:3px solid #d09e00;outline-offset:3px}
.overview-nav{text-decoration:none;white-space:nowrap}.overview-nav[aria-current=page]{background:#e9eeeb;color:var(--navy)}
.topbar{height:auto;min-height:86px}.topbar-inner{min-height:86px;padding-block:12px;flex-wrap:wrap}.top-actions{flex-wrap:wrap;justify-content:flex-end}.top-actions a{text-decoration:none}.app-label{white-space:nowrap}
.quote-sidebar-filters{display:flex;gap:4px;flex-wrap:wrap;margin:0 0 14px}.quote-sidebar-filters button{border:1px solid #e0dcef;border-radius:7px;background:#fff;padding:7px 8px;font-size:11px;color:#625a75;font-weight:700}.quote-sidebar-filters button.active{background:#eee9ff;border-color:#bdb0f2;color:#4b31b6}
.quote-archive-list{display:grid;gap:5px}.quote-archive-list .offer-tab.active{background:#eee9ff}.quote-archive-list .offer-tab.active .doc-icon{background:#5b3fd6;color:#fff}.quote-archive-list .offer-tab{gap:7px;padding-inline:5px}.quote-archive-list .doc-icon{width:26px;height:29px;font-size:15px}.quote-archive-list .offer-sort-actions button{width:21px}
.quotes-overview{max-width:1200px;margin:0 auto}.quotes-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:17px;padding:32px;background:#182c3b;color:#fff;border-top:4px solid #8873ec}.quotes-hero .eyebrow{color:#c9bfff}.quotes-hero h1{margin:8px 0;font-size:32px;line-height:1.12;letter-spacing:-.025em}.quotes-hero p{margin:8px 0 16px;color:#dbe3e9}.quotes-counts{display:flex;gap:8px;flex-wrap:wrap}.quotes-counts span{border:1px solid #455466;background:#233a4b;padding:6px 10px;border-radius:7px;font-size:12px}.quotes-counts b{margin-right:4px;color:#ffe060}
.quotes-results-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:25px 0 14px}.quotes-results-head h2{font-size:18px;margin:0}.quotes-results-head>span{color:#69756f;font-size:12px}.quotes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.quote-overview-card{display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:1px solid #dde0e1;border-radius:13px;padding:21px;background:#fff;text-align:left;min-width:0;color:var(--ink);box-shadow:0 3px 10px #182c3b06}.quote-overview-card:hover{border-color:#a99ae8;box-shadow:0 5px 18px #5b3fd612}.quote-card-top{display:flex;width:100%;align-items:center;justify-content:space-between;margin-bottom:12px;gap:10px}.quote-card-top>small{font-size:11px;color:#77817c}.quote-overview-card>strong{font-size:21px;line-height:1.2;overflow-wrap:anywhere}.quote-card-client{font-size:14px;font-weight:600}.quote-card-title,.quote-card-place{font-size:12px;color:#6a7973;overflow-wrap:anywhere}.quote-card-place{margin-bottom:13px}.quote-card-price{width:100%;display:flex;align-items:center;justify-content:space-between;padding-top:13px;border-top:1px solid #edf0ef;margin-top:auto;gap:10px}.quote-card-price>b{font-size:19px}.quote-card-price>span{font-weight:700;font-size:12px;color:#5b3fd6}.internal-mark{font-size:10px!important;color:#745bb8!important;font-weight:700;line-height:1.5}.customer-nicknames{display:block;color:#6a4fc1;font-size:11px;font-weight:700;white-space:normal;overflow-wrap:anywhere;line-height:1.3;margin:3px 0}.quotes-empty{padding:25px;border:1px dashed #c7c1da;border-radius:12px;grid-column:1/-1}.quotes-empty h2{margin:0}
.internal-nickname-panel{display:flex;align-items:center;gap:18px;background:#f1edff;border:1px solid #dcd3fb;border-radius:11px;padding:17px 20px;margin-bottom:20px}.internal-nickname-panel label{display:grid;gap:7px;flex:1;min-width:0}.internal-nickname-panel label>span{font-size:13px;font-weight:800}.internal-nickname-panel em{display:inline-block;font-size:10px;font-style:normal;background:#e3dbff;color:#533da1;border-radius:5px;padding:3px 6px;margin-left:5px}.internal-nickname-panel input{width:100%;border:1px solid #c8bce9;border-radius:7px;padding:9px 11px;background:#fff;color:var(--ink)}.internal-nickname-panel small{font-size:11px;color:#675884}.internal-nickname-panel .button{flex-shrink:0}
.remember-login{display:flex!important;gap:11px;align-items:flex-start;margin:4px 0 10px}.remember-login input{width:20px!important;height:20px;min-height:20px;margin-top:2px;flex-shrink:0;accent-color:#5b3fd6}.remember-login span{display:grid;gap:4px}.remember-login b{font-size:13px}.remember-login small{font-size:11px;font-weight:400;color:#68766e;line-height:1.5}
.devices-panel{margin-top:25px;padding-top:15px;border-top:1px solid #dfe3e1}.devices-panel h3{margin:0 0 8px}.ph-device-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #e4e7e5}.ph-device-row span{display:grid;gap:3px;min-width:0}.ph-device-row b{font-size:12px}.ph-device-row small{font-size:11px;color:#68766e}.ph-device-revoke{background:#fff4f4;border:1px solid #f0cdcd;color:#91202e;border-radius:6px;font-size:12px;padding:7px 10px;cursor:pointer}.devices-panel>[data-revoke-other-devices]{margin-top:14px}.device-password-field{display:grid;gap:5px;margin-top:16px;font-size:12px}.device-password-field input{border:1px solid #cbd2cf;border-radius:6px;padding:9px}
@media(min-width:1100px) and (max-width:1900px){.topbar-inner{gap:10px}.brand{width:205px}.top-actions{gap:5px;flex:1 1 850px}.top-actions .text-button{padding:8px;font-size:12px}.top-actions .button,.offers-nav{font-size:12px;padding-inline:11px}.topbar-divider{display:none}}
@media(max-width:1099px){.topbar-inner{gap:10px}.top-actions{flex-basis:100%;justify-content:flex-start}.quotes-hero{padding:24px}.quotes-hero h1{font-size:27px}.quotes-grid{grid-template-columns:1fr}}
@media(max-width:760px){.topbar-inner{padding:8px 14px}.brand{height:48px;width:180px}.top-actions{flex-wrap:wrap;gap:6px}.offers-nav{font-size:12px;min-height:36px;padding:7px 10px}.overview-nav{font-size:12px}.top-actions>.button{font-size:12px;min-height:36px;padding-inline:10px}.quote-archive-list{display:flex;overflow:auto;max-height:200px}.quote-archive-list .offer-tab-row{min-width:270px}.quotes-hero{align-items:flex-start;flex-direction:column;gap:12px}.quotes-results-head>span{display:none}.internal-nickname-panel{align-items:stretch;flex-direction:column;gap:12px;padding:15px}.internal-nickname-panel .button{align-self:flex-start}.ph-device-row{align-items:flex-start}}
@media print{.internal-nickname-panel,.customer-nicknames,.internal-mark,.devices-panel{display:none!important}}

body .summary-column,body .customer-note-card,body .contract-summary-column,body .invoice-summary-column,body .protocol-summary-column{top:calc(var(--ph-header-height,86px) + 12px)}
