:root{--v12-blue:#2465e8;--v12-navy:#102642;--v12-ink:#18263c;--v12-muted:#69778d;--v12-border:#e3e9f2;--v12-bg:#f5f7fb;--v12-shadow:0 4px 20px #152f5610}
*{box-sizing:border-box}body.v12-shell{background:var(--v12-bg);color:var(--v12-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px}.v12-shell .shell{display:flex;min-height:100dvh}.v12-shell .sidebar{background:var(--v12-navy);width:250px;position:fixed;inset:0 auto 0 0;padding:22px 14px 12px;display:flex;flex-direction:column;border:0;overflow:auto;z-index:50;color:#fff}.v12-shell .main{margin-left:250px;width:calc(100% - 250px);min-width:0}.v12-shell .content{padding:28px 32px;max-width:1600px;margin:auto}.v12-brand{display:flex;align-items:center;gap:11px;color:white!important;padding:0 8px 20px;text-decoration:none}.v12-brand strong{display:block;font-size:21px;letter-spacing:.8px}.v12-brand small{display:block;color:#a8b9d0;font-size:10px;letter-spacing:.6px;margin-top:3px}.v12-brand-mark{width:38px;height:38px;border-radius:11px;background:#286aeb;display:grid;place-items:center}.v12-brand-mark svg{width:23px;height:23px}.v12-company{display:flex;gap:10px;background:#ffffff08;border:1px solid #ffffff10;border-radius:10px;padding:12px;margin:0 6px 12px}.v12-company img{width:32px;height:32px;object-fit:contain;background:white;border-radius:6px}.v12-company b{font-size:12px;display:block;overflow-wrap:anywhere}.v12-company small{color:#90a5c3;font-size:10px;display:block;margin-top:3px}.v12-shell .nav-group{margin:11px 0}.v12-shell .nav-group>small{padding:0 12px;margin:0 0 7px;font-size:9px;letter-spacing:1.2px;text-transform:uppercase;color:#8098ba}.v12-shell .sidebar nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;margin:2px 0;color:#b7c7dd;font-size:12px;font-weight:500;border:0;background:transparent;min-height:39px}.v12-shell .sidebar nav a:hover{background:#ffffff09;color:white}.v12-shell .sidebar nav a.active{background:#2465e8;color:white;box-shadow:0 4px 10px #00000014}.v12-shell .nav-icon{width:19px;height:19px;flex:none}.v12-shell .nav-icon svg{width:19px;height:19px}.v12-shell .sidebar-bottom{position:static;margin-top:auto;padding:16px 6px 0;border-top:1px solid #ffffff15}.v12-shell .profile-mini{color:white;text-decoration:none;margin:0}.v12-shell .profile-mini small{color:#95abc9}.v12-shell .avatar{background:#e9f0ff;color:#2665d8;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:12px;flex:none}.v12-shell .sidebar-logout{color:#9fb3cf;width:100%;padding:12px;background:none;border:0;display:flex;gap:9px;align-items:center}.v12-shell .sidebar-logout svg{width:17px}.v12-sidebar-install{margin:10px 5px 14px}.v12-sidebar-install .pwa50-sidebar-trigger{margin:0!important;width:100%;padding:10px!important}.v12-shell .topbar{background:white;border-bottom:1px solid var(--v12-border);height:72px;padding:0 32px;display:flex;gap:20px;align-items:center;position:sticky;top:0;z-index:30;box-shadow:none}.v12-topbar-title{color:var(--v12-muted);font-size:12px;white-space:nowrap}.v12-shell .global-search{max-width:400px;flex:1;margin:0}.v12-shell .global-search input{background:#f6f8fb;border:1px solid #edf0f6;font-size:12px;padding:11px 12px;min-width:0}.v12-shell .global-search button{padding:8px;border-color:#edf0f6;background:#f6f8fb}.v12-top-actions{display:flex;gap:15px;align-items:center;margin-left:auto}.v12-popover{position:relative}.v12-popover summary{list-style:none;display:flex;gap:8px;align-items:center;cursor:pointer;position:relative;padding:8px;border-radius:8px}.v12-popover summary::-webkit-details-marker{display:none}.v12-popover summary svg{width:21px;height:21px;color:#687891}.v12-popover summary i{background:var(--v12-blue);color:#fff;position:absolute;right:2px;top:2px;font-size:8px;font-style:normal;min-width:14px;height:14px;border-radius:12px;text-align:center;line-height:14px}.v12-popover-panel{position:absolute;right:0;top:calc(100% + 12px);background:#fff;border:1px solid var(--v12-border);box-shadow:0 14px 45px #18314e26;width:290px;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:10px;max-height:70dvh;overflow:auto}.v12-popover-panel>b{font-size:13px}.v12-popover-panel>small{color:var(--v12-muted);overflow-wrap:anywhere}.v12-popover-panel a{font-size:12px;padding:10px 0;border-top:1px solid var(--v12-border);display:flex;justify-content:space-between}.v12-popover-panel a svg{width:15px;height:15px}.v12-popover-panel dl{display:grid;grid-template-columns:1fr 1.3fr;gap:10px;font-size:11px;background:var(--v12-bg);padding:12px;border-radius:8px}.v12-popover-panel dt{color:var(--v12-muted)}.v12-popover-panel dd{margin:0;overflow-wrap:anywhere}.v12-user summary>span:last-child{font-size:12px;max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v12-shell .page-head{margin-bottom:24px;align-items:center}.v12-shell .page-head h1{font-size:26px;letter-spacing:-.7px;font-weight:700}.v12-shell .page-head .eyebrow{font-size:9px;letter-spacing:1.2px;color:#8b98ad;margin-bottom:7px}.v12-shell .page-head .muted{font-size:12px;line-height:1.7}.v12-shell .page-actions{gap:8px;display:flex;flex-wrap:wrap}.v12-shell .panel{background:#fff;border:1px solid var(--v12-border);border-radius:12px;padding:23px;box-shadow:var(--v12-shadow);margin-bottom:20px}.v12-shell h2{font-size:17px;letter-spacing:-.3px}.v12-shell h3{font-size:14px}.v12-shell .muted,.v12-shell .help{color:var(--v12-muted)}.v12-shell button,.v12-shell .button{border-radius:8px;font-size:12px;font-weight:600;padding:10px 14px;box-shadow:none;min-height:38px}.v12-shell button:not(.secondary):not(.nav-toggle):not(.sidebar-logout):not([data-pwa-open]),.v12-shell .button:not(.secondary){background:var(--v12-blue);border-color:var(--v12-blue);color:#fff}.v12-shell .button{display:inline-flex;gap:7px;align-items:center;text-decoration:none;white-space:nowrap}.v12-shell button svg,.v12-shell .button svg{width:16px;height:16px;flex:none}.v12-shell .secondary{background:#fff;color:#536078;border-color:var(--v12-border)}.v12-shell .small{padding:7px 10px;font-size:11px;min-height:32px}.v12-shell .danger{background:#fef2f2!important;border-color:#f7dada!important;color:#b54141!important}.v12-shell label{color:#4b5d77;font-size:12px;font-weight:500}.v12-shell input,.v12-shell select,.v12-shell textarea{border-color:#dfe6f0;border-radius:8px;background:white;min-height:41px;font-size:13px;color:var(--v12-ink);padding:10px 12px;max-width:100%}.v12-shell input:focus,.v12-shell textarea:focus,.v12-shell select:focus{outline:2px solid #2465e823;border-color:#7ca0ec}.v12-shell input[type=checkbox]{min-height:0;width:16px;height:16px;accent-color:var(--v12-blue);padding:0}.v12-shell .form-grid{gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.v12-shell .form-actions{grid-column:1/-1;padding-top:4px}.v12-shell table{font-size:12px;min-width:550px;width:100%;border-collapse:collapse}.v12-shell th{text-align:left;background:#f7f9fc;color:#8090a6;font-size:10px;text-transform:uppercase;letter-spacing:.4px;border-bottom:1px solid var(--v12-border);padding:13px 14px;white-space:nowrap}.v12-shell td{padding:15px 14px;border-bottom:1px solid #edf1f7;color:#4b5d77}.v12-shell td>b,.v12-shell td strong{font-weight:600;color:#29384e}.v12-shell td small{font-size:10px;color:#8a98ad;margin-top:5px;display:block}.v12-shell .row-actions{display:flex;gap:6px;flex-wrap:wrap}.v12-shell .row-actions form{margin:0}.v12-shell .badge{font-size:10px;border-radius:5px;padding:5px 8px;background:#f0f3f8;color:#748299;font-weight:600}.v12-shell .badge.ok{background:#eaf8f1;color:#268662}.v12-shell .badge.warn{background:#fff5e6;color:#a87a2b}.v12-shell .stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.v12-shell .stat{background:#fff;border:1px solid var(--v12-border);border-radius:12px;padding:22px;box-shadow:var(--v12-shadow);min-width:0}.v12-shell .stat>span{font-size:11px;color:var(--v12-muted)}.v12-shell .stat strong{display:block;font-size:24px;letter-spacing:-.5px;font-weight:700;margin:14px 0 7px;overflow-wrap:anywhere}.v12-shell .stat small{font-size:10px;color:#8a98ad}.v12-shell .stats.compact .stat strong{font-size:20px}.v12-welcome{display:flex;justify-content:space-between;gap:18px;align-items:center;background:#eaf0fd;border:1px solid #dce6fb;border-radius:12px;padding:23px 26px}.v12-welcome h2{font-size:23px;margin:8px 0}.v12-welcome p{color:#5d7194;font-size:12px}.v12-welcome>span{color:#5572a5;font-size:12px;white-space:nowrap}.v12-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.v12-shortcuts>a{display:flex;align-items:center;gap:11px;background:white;border:1px solid var(--v12-border);padding:16px;border-radius:10px;color:var(--v12-ink);text-decoration:none;box-shadow:var(--v12-shadow);min-width:0}.v12-shortcuts>a:hover{border-color:#95b2eb;transform:translateY(-1px)}.v12-shortcuts>a>span:first-child{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:10px;background:#edf3ff;color:var(--v12-blue)}.v12-shortcuts svg{width:20px;height:20px}.v12-shortcuts>a>svg{width:12px;flex:none;color:#afbdcf;margin-left:auto}.v12-shortcuts b{font-size:12px;display:block}.v12-shortcuts small{font-size:10px;color:#8a98ad;display:block;margin-top:4px}.v12-shell .two-column{gap:18px}.v12-list-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--v12-border);text-decoration:none;color:var(--v12-ink)}.v12-list-row b{display:block;font-size:12px}.v12-list-row small{display:block;font-size:10px;color:#8997ad;margin-top:6px}.v12-list-row>strong{font-size:12px;white-space:nowrap}.v12-tabs{display:flex;gap:20px;border-bottom:1px solid var(--v12-border);margin:18px 0 22px;overflow:auto}.v12-tabs a{color:#7e8ca2;font-size:12px;padding:10px 1px;white-space:nowrap;text-decoration:none;border-bottom:2px solid transparent}.v12-tabs a.active{border-color:var(--v12-blue);color:var(--v12-blue);font-weight:600}.v12-filter{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:0 0 18px}.v12-filter>input{flex:1;max-width:460px}.v12-filter label{min-width:140px;flex:1}.v12-filter label input,.v12-filter label select{width:100%;display:block;margin-top:8px}.v12-historic summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer}.v12-historic summary span{display:flex;gap:10px;align-items:center}.v12-historic summary svg{width:20px;color:var(--v12-blue)}.v12-historic summary small{font-size:11px;color:#8895ac}.v12-historic[open]>summary{margin-bottom:18px}.v12-receive-bar{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin-top:20px;border-top:1px solid var(--v12-border);padding-top:20px}.v12-receive-bar>strong{font-size:12px;min-width:180px;align-self:center}.v12-receive-bar label{flex:1;min-width:125px}.v12-receive-bar input,.v12-receive-bar select{width:100%;display:block;margin-top:6px}.v12-receive-bar button:disabled{opacity:.5}.v12-paid-row{background:#fbfefd}.v12-pagination{display:flex;align-items:center;justify-content:center;gap:15px;padding-top:18px;font-size:11px;color:var(--v12-muted)}.v12-shell .plan-grid{gap:17px}.v12-shell .funeral-plan-card{background:white;min-height:0}.v12-shell .funeral-plan-card>.row-actions{margin-top:20px}.v12-shell .funeral-plan-card>strong{font-size:24px;color:var(--v12-blue)}.v12-shell .funeral-plan-card>strong small{font-size:11px;color:#8796ad}.v12-footer{display:flex;justify-content:space-between;gap:15px;font-size:10px!important;color:#94a1b6;padding:20px 32px!important;background:transparent!important}.v12-shell .auth-brand{background:#102642;color:white}.v12-shell .auth-brand p{color:#b5c6e0}.v12-shell .auth-brand>img{width:180px;filter:brightness(0) invert(1)}.v12-shell .auth-content{background:#f7f9fc}.v12-shell .login-panel{border:0;box-shadow:none;background:transparent}.v12-shell .login-panel h1{font-size:28px}.v12-shell .nav-toggle{display:none}.v12-shell .notice{background:#eef5ff;border:1px solid #d4e4fa;color:#3b6593;border-radius:10px}.v12-print-models{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.v12-print-models article{margin-bottom:0!important}.v12-print-models p{font-size:12px;color:var(--v12-muted);line-height:1.6;min-height:40px}.v12-model-sheet{width:92px;height:120px;background:white;border:1px solid #d3dbe8;box-shadow:0 4px 8px #1423460d;padding:13px;margin:0 auto 20px;display:flex;flex-direction:column;gap:9px}.v12-model-sheet span{height:15px;background:#2465e8;border-radius:1px;margin-bottom:8px}.v12-model-sheet i{height:4px;background:#e2e7ef;display:block}.v12-model-sheet b{width:50%;height:8px;background:#d7e4ff;margin-top:12px;align-self:end}.v12-model-sheet.classic span{background:#333}.v12-model-sheet.two_copies{border-bottom:1px dashed #8895aa}.v12-print-toolbar{display:flex;gap:20px;align-items:end;justify-content:space-between}.v12-print-toolbar form{display:flex;gap:12px;align-items:end;flex:1}.v12-print-toolbar select{display:block;margin-top:7px;min-width:230px}.v12-print-output{max-width:790px;margin:25px auto;background:white;box-shadow:0 8px 32px #20385512;border:1px solid var(--v12-border)}.v12-a4-receipt{padding:35px;color:#26344a;position:relative;font-size:12px}.v12-a4-receipt header{display:flex;gap:15px;justify-content:space-between;align-items:start;border-bottom:2px solid #2465e8;padding-bottom:20px}.v12-a4-receipt header h2{font-size:23px;margin:6px 0}.v12-a4-receipt header p{font-size:10px;line-height:1.7;color:#67758d;margin:7px 0}.v12-receipt-logo{width:75px;height:65px;object-fit:contain}.v12-receipt-number{font-size:12px;text-align:right;white-space:nowrap}.v12-receipt-number small{display:block;font-size:9px;margin-top:7px;color:#8b97a7}.v12-receipt-meta{display:grid;grid-template-columns:2fr 1fr 1fr;gap:20px;margin:24px 0}.v12-receipt-meta small,.v12-receipt-meta span{display:block;color:#8491a5;font-size:10px;margin-bottom:6px}.v12-receipt-meta b{display:block;font-size:12px;margin-bottom:4px}.v12-receipt-declaration{font-size:11px;line-height:1.6;margin:20px 0}.v12-a4-receipt table{min-width:0!important;font-size:11px!important}.v12-a4-receipt th{font-size:9px!important}.v12-a4-receipt td{padding:10px!important}.v12-receipt-total{margin:25px 0;display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#eef3fc;border-radius:6px}.v12-receipt-total strong{font-size:23px;color:#2465e8}.v12-signatures{display:flex;justify-content:space-around;gap:50px;margin-top:65px;padding:18px 0}.v12-signatures span{border-top:1px solid #a3aebb;padding-top:8px;font-size:9px;flex:1;text-align:center}.v12-a4-receipt footer{position:static;background:none!important;display:block;text-align:center;padding:15px 0 0!important;border-top:1px solid #e0e5ed;font-size:10px!important;color:#7a889d}.v12-a4-receipt footer small{display:block;margin-top:8px;font-size:9px}.v12-void-stamp{border:2px solid #c44949;color:#c44949;padding:12px;text-align:center;font-weight:700;margin-top:20px}.template-classic header{border-color:#222}.template-classic .v12-receipt-total{background:#f5f5f5}.template-classic .v12-receipt-total strong{color:#222}.template-compact,.template-two_copies,.template-three_copies{padding:22px 28px}.template-compact .v12-signatures,.template-two_copies .v12-signatures,.template-three_copies .v12-signatures{margin-top:25px}.template-three_copies header{padding-bottom:8px}.template-three_copies header p{line-height:1.4;margin:3px 0}.template-three_copies header h2{font-size:18px}.template-three_copies .v12-receipt-meta{margin:12px 0}.template-three_copies .v12-receipt-declaration{margin:8px 0}.template-three_copies .v12-receipt-total{margin:12px 0;padding:9px 12px}.template-three_copies .v12-signatures{margin-top:15px;padding:12px 0}.template-three_copies footer{padding-top:8px!important}.two_copies .v12-a4-receipt+.v12-a4-receipt,.three_copies .v12-a4-receipt+.v12-a4-receipt{border-top:1px dashed #9eabba}.v12-document-a4{padding:35px;font-size:12px}.v12-document-a4 header{border-bottom:2px solid var(--v12-blue);padding-bottom:15px}.v12-document-a4 table{min-width:0!important}.v12-document-a4 footer{position:static;background:none!important;padding:20px 0!important;color:#8090a6;font-size:10px!important}.v12-shell [hidden]{display:none!important}
@media(max-width:1250px){.v12-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.v12-shell .content{padding:25px}.v12-topbar-title{display:none}.v12-shell .topbar{padding:0 25px}.v12-shell .stat{padding:18px}.v12-shell .stat strong{font-size:22px}.v12-print-models{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.v12-shell .sidebar{transform:translateX(-100%);transition:transform .18s}.v12-shell .shell.sidebar-open .sidebar{transform:translateX(0)}.v12-shell .main{margin:0;width:100%}.v12-shell .nav-toggle{display:flex}.v12-shell .content{padding:22px 18px}.v12-shell .topbar{padding:0 18px;gap:12px}.v12-shell .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.v12-shell .two-column{grid-template-columns:1fr}.v12-shell .page-head{align-items:start;gap:14px}.v12-shell .page-head h1{font-size:24px}.v12-shell .v12-user summary>span:last-child{display:none}}
@media(max-width:550px){.v12-shell .topbar{height:64px}.v12-shell .global-search{max-width:none}.v12-shell .global-search input{width:100%;font-size:11px}.v12-top-actions{gap:5px}.v12-top-actions>[data-pwa-open]{display:none}.v12-shell .page-head{flex-direction:column}.v12-shell .content{padding:20px 12px}.v12-shell .panel{padding:17px}.v12-shell .form-grid{grid-template-columns:1fr}.v12-shell .wide{grid-column:1}.v12-shell .stats{gap:10px}.v12-shell .stat{padding:15px}.v12-shell .stat strong{font-size:19px}.v12-welcome{padding:18px}.v12-welcome>span{display:none}.v12-shortcuts{gap:10px}.v12-shortcuts>a{padding:12px;gap:8px}.v12-shortcuts>a>span:first-child{width:29px;height:32px}.v12-shortcuts small{font-size:9px}.v12-shortcuts>a>svg{display:none}.v12-historic summary{align-items:start;flex-direction:column}.v12-print-models{grid-template-columns:1fr}.v12-print-toolbar,.v12-print-toolbar form{flex-direction:column;align-items:stretch}.v12-print-toolbar select{min-width:0;width:100%}.v12-print-output{overflow:auto}.v12-a4-receipt{min-width:560px}.v12-shell .auth-shell{grid-template-columns:1fr}.v12-shell .auth-brand{display:none}.v12-shell .auth-content{padding:25px}.v12-popover-panel{position:fixed;right:12px;left:12px;top:65px;width:auto}.v12-footer{padding:18px 12px!important}}
@page{size:A4 portrait;margin:12mm}
@media print{html,body.v12-shell{background:white!important;margin:0!important;padding:0!important;font-size:10pt!important}.v12-shell .sidebar,.v12-shell .topbar,.v12-shell .v12-footer,.v12-shell .page-head,.v12-shell .notice,.v12-shell .v12-print-toolbar,.v12-shell .v12-no-print,.v12-shell .v12-print-models,.v12-shell .v12-tabs,.v12-shell .v12-filter{display:none!important}.v12-shell .shell,.v12-shell .main,.v12-shell .content{display:block!important;position:static!important;margin:0!important;padding:0!important;width:auto!important;max-width:none!important;min-height:0!important}.v12-shell .content:has(.v12-print-output)>:not(.v12-print-output){display:none!important}.v12-print-output{width:auto!important;max-width:none!important;overflow:visible!important;box-shadow:none!important;border:0!important;margin:0!important;padding:0!important}.v12-a4-receipt{min-width:0!important;padding:5mm!important;break-inside:auto!important}.v12-a4-receipt header,.v12-receipt-meta,.v12-receipt-total,.v12-signatures{break-inside:avoid}.v12-a4-receipt th,.v12-a4-receipt td{font-size:9pt!important}.v12-a4-receipt table,.v12-document-a4 table{min-width:0!important;width:100%!important}.v12-a4-receipt thead{display:table-header-group}.v12-a4-receipt tr{break-inside:avoid}.v12-multiple-copies:not(.two_copies):not(.three_copies) .v12-a4-receipt+.v12-a4-receipt{break-before:page}.two_copies .v12-a4-receipt{padding:4mm!important;break-inside:avoid;min-height:125mm}.three_copies .v12-a4-receipt{padding:3mm!important;break-inside:avoid;min-height:85mm}.three_copies .v12-a4-receipt td,.three_copies .v12-a4-receipt th{padding:2mm!important;font-size:8pt!important}.v12-document-a4{padding:0!important}.v12-shell .panel{box-shadow:none!important;border:0!important;padding:0!important}.v12-shell .button,.v12-shell button,.v12-shell .row-actions,.v12-shell form{display:none!important}.v12-shell footer{position:static!important}}

@media print{.v12-print-output,.v12-print-output *{visibility:visible!important}.v12-print-output{break-inside:auto!important}.v12-document-a4 footer,.v12-a4-receipt footer{display:block!important}}
.v12-shell .topbar{flex-wrap:nowrap}.v12-shell .global-search{order:0}.v12-shell .pdv-service-card{background:white!important;color:#2b3b52!important;border-color:#dce5f2!important}.v12-shell .pdv-service-card b{color:#2465e8}.v12-shell .pdv-header{background:#102642!important}.v12-shell .v12-no-print>.page-actions{margin-bottom:15px}.v12-shell .document-sheet{margin-top:18px}.v12-shell .operations-strip>a{border-radius:10px;background:#edf3ff!important;border-color:#dce6f7!important;color:#315b97}.v12-shell .operations-strip strong{color:#2465e8}.v12-shell .operations-strip small,.v12-shell .operations-strip span{color:#6b82a5}
@media(max-width:720px){.v12-shell .global-search{display:flex}}

/* Keep compact receipt copies together without clipping long item lists. */
@media print {
 .v12-print-output.two_copies .v12-a4-receipt,.v12-print-output.three_copies .v12-a4-receipt{break-inside:avoid!important;page-break-inside:avoid!important}
 .v12-print-output.two_copies header h2{font-size:18px;margin:3px 0}
 .v12-print-output.two_copies header{padding-bottom:10px}
 .v12-print-output.two_copies .v12-receipt-meta{margin:12px 0;gap:10px}
 .v12-print-output.two_copies .v12-receipt-declaration{margin:10px 0}
 .v12-print-output.two_copies .v12-receipt-total{margin:12px 0;padding:10px 12px}
 .v12-print-output.two_copies .v12-signatures{margin-top:25px;padding:10px 0}
 .v12-print-output.three_copies .v12-a4-receipt{padding:2mm!important;min-height:85mm}
 .v12-print-output.three_copies header{padding-bottom:5px;gap:8px}
 .v12-print-output.three_copies header h2{font-size:14px;margin:2px 0}
 .v12-print-output.three_copies header p{font-size:8px;line-height:1.2;margin:2px 0}
 .v12-print-output.three_copies header small,.v12-print-output.three_copies .v12-receipt-number{font-size:8px}
 .v12-print-output.three_copies .v12-receipt-logo{width:45px;height:35px}
 .v12-print-output.three_copies .v12-receipt-meta{margin:7px 0;gap:8px}
 .v12-print-output.three_copies .v12-receipt-meta small,.v12-print-output.three_copies .v12-receipt-meta span{font-size:7px;margin-bottom:2px}
 .v12-print-output.three_copies .v12-receipt-meta b{font-size:9px;margin-bottom:2px}
 .v12-print-output.three_copies .v12-receipt-declaration{font-size:8px;line-height:1.3;margin:6px 0}
 .v12-print-output.three_copies th,.v12-print-output.three_copies td{font-size:6pt!important;padding:1mm!important}
 .v12-print-output.three_copies .v12-receipt-total{margin:7px 0;padding:6px 8px;font-size:8px}
 .v12-print-output.three_copies .v12-receipt-total strong{font-size:16px}
 .v12-print-output.three_copies .v12-signatures{margin-top:12px;padding:6px 0;gap:20px}
 .v12-print-output.three_copies .v12-signatures span{font-size:7px;padding-top:4px}
 .v12-print-output.three_copies footer,.v12-print-output.three_copies footer small{font-size:7px!important;padding-top:5px!important;margin-top:3px}
}

@media print {
 .v12-print-output.two_copies .v12-a4-receipt{min-height:125mm; padding:3mm!important}
 .v12-print-output.two_copies header p{font-size:9px;line-height:1.3;margin:4px 0}
 .v12-print-output.two_copies .v12-receipt-meta small,.v12-print-output.two_copies .v12-receipt-meta span{font-size:8px;margin-bottom:3px}
 .v12-print-output.two_copies .v12-receipt-meta b{font-size:10px;margin-bottom:3px}
 .v12-print-output.two_copies .v12-receipt-declaration{font-size:9px;line-height:1.4}
 .v12-print-output.two_copies th,.v12-print-output.two_copies td{font-size:7pt!important;padding:2mm!important}
 .v12-print-output.two_copies .v12-receipt-total strong{font-size:20px}
 .v12-print-output.two_copies .v12-signatures{margin-top:18px;padding:8px 0}
 .v12-print-output.two_copies footer{font-size:8px!important;padding-top:8px!important}
 .v12-print-output.two_copies footer small{font-size:7px!important}
}

.phone-fields{display:grid;grid-template-columns:5.5rem minmax(0,1fr);gap:.65rem;align-items:start}.phone-fields label{min-width:0}.phone-fields input{width:100%}.nav-copy{flex:1}.sidebar kbd{font:600 .68rem system-ui;opacity:.7;padding:.12rem .25rem;border:1px solid currentColor;border-radius:4px}.sidebar-shortcuts{padding:1rem}.shortcut-dialog{border:0;border-radius:16px;padding:1.5rem;max-width:32rem;width:calc(100% - 2rem);box-shadow:0 20px 60px #0004}.shortcut-dialog::backdrop{background:#0f244299}.shortcut-dialog dl{display:grid;grid-template-columns:4rem 1fr;gap:.6rem}.shortcut-dialog dd{margin:0}.receipt-extra{white-space:normal;overflow-wrap:anywhere}.v12-a4-receipt header{overflow-wrap:anywhere}
.v12-sidebar-new{margin:0 0 12px;display:flex;align-items:center;gap:8px;width:100%;font-size:13px;color:#fff!important}.v12-sidebar-new svg{width:18px;height:18px}.v12-sidebar-new kbd{margin-left:auto}.document-feedback{display:block;font-size:12px;margin-top:4px;line-height:1.4}.document-feedback.is-invalid{color:#a72626}.shortcut-dialog:focus{outline:2px solid #246fe5}
