/* Feature layout migrated from style.css; common component skin excluded. */
body.duralux-native .sidebar-bottom{margin-top:auto;font-size:11px;padding:14px}
body.duralux-native .sidebar-bottom strong{display:block;font-size:13px}
body.duralux-native .workspace{min-width:0}
body.duralux-native .demo{padding:8px 34px;font-size:12px}
body.duralux-native .eyebrow{font-size:11px;letter-spacing:2px}
body.duralux-native .metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}
body.duralux-native .metric{padding:18px 22px}
body.duralux-native .metric strong{display:block;font-size:31px;margin-top:5px}
body.duralux-native .metric em{font-size:12px;font-style:normal;margin-left:8px}
body.duralux-native .grid{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}
body.duralux-native .table-wrap{overflow-x:auto}
body.duralux-native .task{display:flex;gap:14px;padding:17px 22px;align-items:center}
body.duralux-native .task-check{width:25px;height:25px;padding:0;flex-shrink:0}
body.duralux-native .task-main{flex:1}
body.duralux-native .task-main small{display:block}
body.duralux-native .late{font-size:11px}
body.duralux-native .date-label{font-size:11px}
body.duralux-native .empty{padding:26px;text-align:center}
body.duralux-native .toolbar{display:flex;gap:12px;padding:18px 22px}
body.duralux-native .toolbar input{flex:1}
body.duralux-native .timeline{padding:15px 0}
body.duralux-native .pre{white-space:pre-wrap;overflow-wrap:anywhere}
body.duralux-native .actions{display:flex;gap:8px;flex-wrap:wrap}
body.duralux-native .detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
body.duralux-native .detail-meta small{display:block}
body.duralux-native .login{min-height:100vh;display:grid;place-items:center;padding:30px}
body.duralux-native .login-card{width:min(490px,100%);padding:46px}
body.duralux-native .login-card h1{margin:25px 0 15px}
body.duralux-native .login-card button{margin-top:25px;width:100%}
body.duralux-native .notice{padding:13px 16px;font-size:12px}
body.duralux-native .import-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
body.duralux-native .import-grid .full{grid-column:1/-1}
body.duralux-native #fields{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}
body.duralux-native #fields .wide{grid-column:1/-1}
body.duralux-native #formError{font-size:12px}
body.duralux-native #toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 24px;display:none;z-index:10}
body.duralux-native .footer-note{font-size:11px;margin-top:15px}
body.duralux-native .subheading{margin:26px 0 12px}
body.duralux-native details summary{cursor:pointer}
body.duralux-native .mobile-brand{display:none}
@media(max-width:1050px){body.duralux-native .grid{grid-template-columns:1fr}body.duralux-native .metrics{grid-template-columns:repeat(2,1fr)}body.duralux-native .demo{padding-left:20px;padding-right:20px}}
@media(max-width:700px){body.duralux-native .sidebar-bottom{display:none}body.duralux-native .demo{padding:8px 15px}body.duralux-native .metrics{gap:10px}body.duralux-native .metric{padding:14px}body.duralux-native .metric strong{font-size:26px}body.duralux-native .toolbar{flex-direction:column}body.duralux-native .detail-meta,body.duralux-native .import-grid,body.duralux-native #fields{grid-template-columns:1fr}body.duralux-native .detail-meta{gap:12px}body.duralux-native #fields .wide{grid-column:auto}body.duralux-native .login-card{padding:28px}}
/* Feature layout migrated from business.css; common component skin excluded. */
/* Compact business workspace: uses wide displays without shrinking type. */
body.duralux-native .sidebar-bottom{padding:10px}
body.duralux-native .demo{padding:5px 24px;font-size:12px}
body.duralux-native .eyebrow{font-size:10px;letter-spacing:1px}
body.duralux-native .toolbar{padding:12px 16px;align-items:center;flex-wrap:wrap}
body.duralux-native .toolbar input{max-width:560px}
body.duralux-native .metrics{gap:12px;margin-bottom:16px}
body.duralux-native .metric{padding:12px 16px}
body.duralux-native .metric strong{font-size:26px;margin-top:2px}
body.duralux-native .grid{gap:16px;grid-template-columns:minmax(0,2fr) minmax(330px,1fr)}
body.duralux-native .task{padding:12px 16px;gap:11px;min-width:0}
body.duralux-native .task-main{min-width:0;overflow-wrap:anywhere}
body.duralux-native .table-wrap{width:100%}
body.duralux-native .timeline{padding:10px 0}
body.duralux-native .button-link{padding:8px 14px;white-space:nowrap}
body.duralux-native .button-link{display:inline-flex;align-items:center}
body.duralux-native .button-link:hover{text-decoration:none}
body.duralux-native .actions{align-items:center}
body.duralux-native .master-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}
body.duralux-native .master-info div{min-width:0}
body.duralux-native .master-info dt{font-size:12px}
body.duralux-native .master-info dd{margin:4px 0 0;overflow-wrap:anywhere}
body.duralux-native .master-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px}
body.duralux-native .destination-list article{padding:12px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.duralux-native .destination-list h3 small{font-size:12px}
body.duralux-native .destination-list article div{min-width:0;overflow-wrap:anywhere}
body.duralux-native #fields{gap:10px 18px;margin-top:12px}
body.duralux-native .form-group{grid-column:1/-1;margin:0 0 8px}
body.duralux-native .group-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
body.duralux-native .span-all,body.duralux-native .group-grid .wide{grid-column:1/-1}
body.duralux-native .lookup-box{padding:8px 12px}
body.duralux-native .lookup-diffs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.duralux-native .lookup-diffs label,body.duralux-native .diff-choice{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px}
body.duralux-native .lookup-diffs small{flex-basis:100%;overflow-wrap:anywhere}
body.duralux-native .mail-form-grid,body.duralux-native .mapping-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
body.duralux-native .mapping-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0}
body.duralux-native .mail-form-grid textarea[readonly]{height:135px}
body.duralux-native .enclosure-row{display:grid;grid-template-columns:1fr 130px auto;gap:12px;align-items:center}
body.duralux-native .eight-diffs{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.duralux-native .eight-row .mail-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
body.duralux-native .eight-diffs fieldset{min-width:0}
body.duralux-native .diff-choice{overflow-wrap:anywhere}
body.duralux-native .print-sheet{width:210mm;min-height:297mm;margin:22px auto;padding:18mm;font-size:11pt;line-height:1.65;overflow-wrap:anywhere}
body.duralux-native .letter-date{text-align:right;margin-bottom:7mm}
body.duralux-native .postal-recipient{font-size:12pt;line-height:1.65;break-inside:avoid;overflow-wrap:anywhere}
body.duralux-native .sender{text-align:right;margin:6mm 0;break-inside:avoid}
body.duralux-native .letter-subject{text-align:center;font-size:18pt;margin:10mm 0 7mm}
body.duralux-native .letter-greeting{orphans:3;widows:3}
body.duralux-native .letter-record{text-align:center;font-size:12pt;margin:5mm 0}
body.duralux-native .align-right{text-align:right}
body.duralux-native .enclosure-table{min-width:0;width:100%;table-layout:fixed;break-inside:auto}
body.duralux-native .enclosure-table th,body.duralux-native .enclosure-table td{font-size:11pt;white-space:normal;overflow-wrap:anywhere;padding:3mm}
body.duralux-native .enclosure-table th:last-child{width:24mm}
body.duralux-native .enclosure-table tr{break-inside:avoid}
body.duralux-native .enclosure-table thead{display:table-header-group}
body.duralux-native .label-sheet .postal-recipient{width:135mm;max-width:100%;padding-top:12mm;font-size:15pt}
body.duralux-native .mail-controls{max-width:1600px}
@media(min-width:2200px){body.duralux-native .grid{grid-template-columns:minmax(0,2.2fr) minmax(460px,1fr)}body.duralux-native .master-info{grid-template-columns:repeat(4,minmax(0,1fr))}body.duralux-native .metrics{max-width:1600px}body.duralux-native .master-columns{grid-template-columns:1fr 1fr}body.duralux-native .mail-controls{max-width:none}body.duralux-native .mail-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){body.duralux-native .grid,body.duralux-native .master-columns{grid-template-columns:1fr}body.duralux-native .master-info{grid-template-columns:1fr 1fr}body.duralux-native .mapping-grid{grid-template-columns:1fr 1fr}body.duralux-native .eight-row .mail-form-grid{grid-template-columns:1fr}}
@media(max-width:700px){body.duralux-native .demo{padding:6px 15px}body.duralux-native .metrics{gap:9px}body.duralux-native .master-info,body.duralux-native .mail-form-grid,body.duralux-native .group-grid,body.duralux-native .lookup-diffs,body.duralux-native .eight-diffs{grid-template-columns:1fr}body.duralux-native .mapping-grid{grid-template-columns:1fr 1fr}body.duralux-native .print-sheet{width:100%;min-height:0;padding:20px;font-size:12px}body.duralux-native .enclosure-row{grid-template-columns:1fr 75px auto}body.duralux-native .label-sheet .postal-recipient{font-size:14px}body.duralux-native .print-sheet .letter-subject{font-size:20px}body.duralux-native .master-info dd{font-size:14px}}
@media print{body.duralux-native .workspace{display:block;max-width:none;width:auto;padding:0;margin:0;overflow:visible}body.duralux-native .demo,body.duralux-native .mail-controls,body.duralux-native #toast{display:none}body.duralux-native .print-sheet{display:block;width:auto;min-height:0;margin:0;padding:0;font-size:11pt;overflow:visible}body.duralux-native .print-sheet h1{font-size:18pt}body.duralux-native .print-sheet h2{font-size:12pt}body.duralux-native .enclosure-table{min-width:0;width:100%}body.duralux-native .postal-recipient,body.duralux-native .sender,body.duralux-native .letter-subject{break-inside:avoid}body.duralux-native .letter-subject{break-after:avoid}body.duralux-native .label-sheet .postal-recipient{font-size:15pt;width:135mm;max-width:100%}}
/* Compact, single-column master editing. */
body.duralux-native #editor{width:min(680px,94vw)}
body.duralux-native #editor #fields,body.duralux-native #editor .group-grid{grid-template-columns:minmax(0,1fr);gap:6px}
body.duralux-native #editor form{padding:16px}
body.duralux-native #editor label{margin:5px 0}
/* Feature layout migrated from documents.css; common component skin excluded. */
body.duralux-native #documentForm h3,body.duralux-native .document-conversion h3{margin-top:28px}
body.duralux-native #documentLines input{min-width:70px;width:100%}
body.duralux-native #documentLines td:first-child{min-width:220px}
body.duralux-native #documentLines td:nth-child(2){max-width:110px}
body.duralux-native .document-conversion{margin-top:24px;padding-top:12px}
body.duralux-native #documentForm input[type=checkbox],body.duralux-native .document-conversion input[type=checkbox],body.duralux-native #confirmDocumentExport{width:auto;margin-right:8px}
body.duralux-native .mail-draft-body{white-space:pre-wrap;overflow-wrap:anywhere}
body.duralux-native #documentAdmin table{min-width:640px}
body.duralux-native #documentAdmin .panel-body{overflow-x:auto}
body.duralux-native #documentCover{margin-top:16px}
/* Paper-oriented editing: simple fields, persistent labels, no animated panels. */
body.duralux-native #documentForm{overflow:visible;max-width:1250px;margin-inline:auto}
body.duralux-native #documentForm h3{margin:0 0 10px;padding-bottom:6px}
body.duralux-native #documentForm label{font-size:13px;margin:8px 0}
body.duralux-native #documentForm input,body.duralux-native #documentForm select,body.duralux-native #documentForm textarea{padding:7px 9px}
body.duralux-native #documentForm textarea{resize:vertical;min-height:64px;field-sizing:content;max-height:420px}
body.duralux-native #documentForm input[type=date]{max-width:210px}
body.duralux-native .doc-paper{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 36px}
body.duralux-native .doc-paper>h2{text-align:center;grid-column:1/-1}
body.duralux-native .doc-paper>section,body.duralux-native .doc-paper>details{min-width:0}
body.duralux-native .doc-options{grid-column:1/-1;padding-bottom:10px}
body.duralux-native .doc-recipient{grid-column:1;grid-row:3/5}
body.duralux-native .doc-info{grid-column:2;grid-row:3}
body.duralux-native .doc-issuer{grid-column:2;grid-row:4;display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
body.duralux-native .doc-issuer h3,body.duralux-native .doc-issuer label:has([name=issuer_name]),body.duralux-native .doc-issuer label:has([name=issuer_street]),body.duralux-native .doc-issuer label:has([name=issuer_registrationNumber]){grid-column:1/-1}
body.duralux-native .doc-subject,body.duralux-native .doc-lines,body.duralux-native .doc-payment,body.duralux-native .doc-extra,body.duralux-native .doc-cover,body.duralux-native .doc-city{grid-column:1/-1}
body.duralux-native .doc-subject{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}
body.duralux-native .doc-subject h3,body.duralux-native .doc-subject label:has([name=title]){grid-column:1/-1}
body.duralux-native .doc-totals{grid-column:2;justify-self:stretch}
body.duralux-native .doc-two{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
body.duralux-native .doc-payment label:has([name=notes]){grid-column:1/-1}
body.duralux-native .settings-one{display:grid;grid-template-columns:minmax(0,1fr);max-width:600px;gap:6px}
body.duralux-native .settings-one h4{margin:20px 0 0}
body.duralux-native .settings-one button{justify-self:start}
body.duralux-native .doc-paper summary{cursor:pointer;padding:8px 0}
body.duralux-native .tax-mode{padding:0;display:flex;gap:20px;align-items:center}
body.duralux-native .tax-mode label{display:inline-flex;flex-direction:row;align-items:center}
body.duralux-native .tax-mode input{width:auto}
body.duralux-native #documentLines td{padding:7px;vertical-align:top}
body.duralux-native #documentLines th{padding:7px}
body.duralux-native #documentLines textarea{width:100%;min-width:260px}
body.duralux-native #documentLines td:first-child{width:42%}
body.duralux-native #documentLines input{min-width:58px}
body.duralux-native .line-internal{font-size:12px}
body.duralux-native .line-internal summary{font-size:12px}
body.duralux-native .line-profit{display:block}
body.duralux-native .line-total{display:block;text-align:right;white-space:nowrap;margin-top:5px}
body.duralux-native .doc-totals dl{display:grid;grid-template-columns:1fr auto;gap:8px;margin:0;padding-top:8px}
body.duralux-native .doc-totals dd{margin:0;text-align:right}
body.duralux-native .document-savebar{position:sticky;bottom:0;padding:12px 0;z-index:3}
body.duralux-native .doc-paper[data-layout=city-general]{grid-template-columns:1fr}
body.duralux-native .doc-paper[data-layout=city-general]>section,body.duralux-native .doc-paper[data-layout=city-general]>details{grid-column:1;grid-row:auto}
body.duralux-native .doc-paper[data-layout=city-general] .doc-info{grid-row:4}
body.duralux-native .doc-paper[data-layout=city-general] .doc-totals{grid-row:3}
body.duralux-native .doc-paper[data-layout=city-water] .doc-totals{grid-row:5}
body.duralux-native #editor{width:min(660px,calc(100vw - 24px));max-height:92vh}
body.duralux-native #editor #fields,body.duralux-native #editor .form-group-fields,body.duralux-native #editor .form-group,body.duralux-native #editor .form-grid{grid-template-columns:minmax(0,1fr)}
body.duralux-native #editor #fields{display:grid}
body.duralux-native #editor label{grid-column:1}
body.duralux-native #editor footer{position:sticky;bottom:0;padding:12px 0}
body.duralux-native #editor header{position:sticky;top:0;z-index:2}
@media(max-width:850px){body.duralux-native .doc-paper{display:flex;flex-direction:column;gap:16px}body.duralux-native .doc-two,body.duralux-native .doc-subject{grid-template-columns:1fr}body.duralux-native .doc-issuer{grid-template-columns:1fr}body.duralux-native .doc-issuer label{grid-column:1}body.duralux-native .tax-mode{flex-wrap:wrap;gap:8px}body.duralux-native .doc-totals{width:100%}body.duralux-native .document-savebar{flex-wrap:wrap}}
@media print{body.duralux-native .internal-only,body.duralux-native .doc-options,body.duralux-native #inlinePreferences,body.duralux-native .document-savebar{display:none}}
body.duralux-native .doc-issuer>details,body.duralux-native .doc-issuer>p{grid-column:1/-1}
body.duralux-native .doc-issuer>details{max-width:480px}
body.duralux-native .doc-issuer>details label{display:flex}
body.duralux-native #editor .group-grid{grid-template-columns:minmax(0,1fr)}
body.duralux-native #accountingForm input[type=checkbox],body.duralux-native #accountingPreview input[type=checkbox]{width:auto;margin-right:8px}
body.duralux-native #accountingForm .settings-one label:has(input[type=checkbox]),body.duralux-native #accountingPreview label{display:block}
/* Compact business editing, with always-visible private line calculations. */
body.duralux-native main .panel-body{padding:16px}
body.duralux-native main .panel{margin-bottom:12px}
body.duralux-native main .toolbar{margin-bottom:12px}
body.duralux-native main label{margin:7px 0;gap:3px}
body.duralux-native main input,body.duralux-native main select,body.duralux-native main button{min-height:34px}
body.duralux-native main h2{margin-top:8px;margin-bottom:12px}
body.duralux-native #documentForm{max-width:1900px;padding:16px}
body.duralux-native #documentForm h3{margin:0 0 5px;padding-bottom:4px}
body.duralux-native #documentForm label{margin:4px 0;gap:3px}
body.duralux-native #documentForm input,body.duralux-native #documentForm select,body.duralux-native #documentForm textarea{padding:5px 7px;font-size:14px}
body.duralux-native #documentForm input:not([type=radio]):not([type=checkbox]),body.duralux-native #documentForm select{min-height:34px}
body.duralux-native .doc-paper{gap:12px 20px}
body.duralux-native .doc-paper>h2{margin:0}
body.duralux-native .doc-paper summary{padding:5px 0}
body.duralux-native .doc-paper p{margin:5px 0}
body.duralux-native .doc-info{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
body.duralux-native .doc-info h3,body.duralux-native .doc-info label:has([name=number]){grid-column:1/-1}
body.duralux-native .doc-issuer{gap:0 12px}
body.duralux-native .doc-issuer label:has([name=issuer_name]){grid-column:auto}
body.duralux-native .doc-totals{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px 24px}
body.duralux-native .doc-totals>h3{grid-column:1/-1}
body.duralux-native .doc-totals dl{gap:4px}
body.duralux-native .profit-summary h4{margin:0 0 6px}
body.duralux-native .profit-summary p{font-size:12px}
body.duralux-native .document-savebar{padding:8px 0}
body.duralux-native .tax-mode{gap:12px;margin:0}
body.duralux-native .line-scroll-hint{font-size:12px}
body.duralux-native .compact-lines-scroll{overflow-x:auto;scrollbar-gutter:stable}
body.duralux-native .compact-lines-scroll table{width:100%;min-width:1430px;table-layout:fixed}
body.duralux-native .compact-lines-scroll th{white-space:normal;font-size:12px;padding:6px}
body.duralux-native .compact-lines-scroll th:nth-child(1){width:260px}
body.duralux-native .compact-lines-scroll th:nth-child(2){width:72px}
body.duralux-native .compact-lines-scroll th:nth-child(3){width:60px}
body.duralux-native .compact-lines-scroll th:nth-child(4){width:105px}
body.duralux-native .compact-lines-scroll th:nth-child(5){width:95px}
body.duralux-native .compact-lines-scroll th:nth-child(6){width:90px}
body.duralux-native .compact-lines-scroll th:nth-child(7){width:110px}
body.duralux-native .compact-lines-scroll th:nth-child(8){width:175px}
body.duralux-native .compact-lines-scroll th:nth-child(9){width:145px}
body.duralux-native .compact-lines-scroll th:nth-child(10){width:175px}
body.duralux-native .compact-lines-scroll th:nth-child(11){width:70px}
body.duralux-native #documentLines td{padding:5px;white-space:normal;vertical-align:top}
body.duralux-native #documentLines td:first-child{width:auto;min-width:0}
body.duralux-native #documentLines textarea{min-width:0;min-height:64px;resize:vertical}
body.duralux-native #documentLines input{min-width:0}
body.duralux-native #documentLines select{width:100%;min-width:0}
body.duralux-native .cost-tax{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:4px}
body.duralux-native .line-profit{white-space:pre-line;font-size:12px;line-height:1.65}
body.duralux-native .line-total{margin:6px 0;text-align:right;font-variant-numeric:tabular-nums}
body.duralux-native .supplier-link{display:block;font-size:12px}
body.duralux-native .settings-one{gap:4px}
body.duralux-native .settings-one h4{margin:12px 0 3px}
body.duralux-native #inlinePreferences>.settings-one{max-width:1000px;grid-template-columns:1fr 1fr;gap:4px 16px}
body.duralux-native #inlinePreferences h4,body.duralux-native #inlinePreferences button,body.duralux-native #preferenceError,body.duralux-native #inlinePreferences label:has([name=editBank]),body.duralux-native #inlinePreferences label:has([name=editNote]),body.duralux-native #inlinePreferences label:has([name=note_body]){grid-column:1/-1}
@media(max-width:850px){body.duralux-native #documentForm{padding:12px}body.duralux-native .doc-totals{display:block}body.duralux-native .profit-summary{margin-top:12px}body.duralux-native .doc-info{display:block}body.duralux-native #inlinePreferences>.settings-one{grid-template-columns:1fr}body.duralux-native .doc-paper{gap:12px}}
/* Line order controls and accessible compact contextual help. */
{position:relative;display:inline-flex;vertical-align:middle;font-size:14px;line-height:1.6}
body.duralux-native .info-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;min-height:30px;padding:0;font-size:19px}
{position:absolute;top:100%;left:0;width:min(340px,75vw);z-index:20;padding:10px 12px;white-space:normal;visibility:hidden;opacity:0;pointer-events:none}
{visibility:visible;opacity:1;pointer-events:auto}
body.duralux-native .doc-lines h3{display:flex;align-items:center;gap:3px}
body.duralux-native .line-movers{display:flex;flex-direction:column;align-items:center;gap:2px}
body.duralux-native .line-movers>div{display:flex;gap:0}
body.duralux-native .line-movers button,body.duralux-native #documentLines .line-delete{display:inline-flex;align-items:center;justify-content:center;width:32px;min-height:32px;height:32px;padding:0}
body.duralux-native .line-grip{cursor:grab;font-size:24px;touch-action:pan-y}
body.duralux-native .line-grip:active{cursor:grabbing}
body.duralux-native #documentLines .line-delete{width:34px;height:34px}
body.duralux-native #documentLines tr.dragging{opacity:.5}
body.duralux-native .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
body.duralux-native .compact-lines-scroll table{min-width:1490px}
body.duralux-native .compact-lines-scroll th:nth-child(1){width:72px}
body.duralux-native .compact-lines-scroll th:nth-child(2){width:260px}
body.duralux-native .compact-lines-scroll th:nth-child(3){width:72px}
body.duralux-native .compact-lines-scroll th:nth-child(4){width:60px}
body.duralux-native .compact-lines-scroll th:nth-child(5){width:105px}
body.duralux-native .compact-lines-scroll th:nth-child(6){width:95px}
body.duralux-native .compact-lines-scroll th:nth-child(7){width:90px}
body.duralux-native .compact-lines-scroll th:nth-child(8){width:110px}
body.duralux-native .compact-lines-scroll th:nth-child(9){width:175px}
body.duralux-native .compact-lines-scroll th:nth-child(10){width:145px}
body.duralux-native .compact-lines-scroll th:nth-child(11){width:175px}
body.duralux-native .compact-lines-scroll th:nth-child(12){width:50px}
body.duralux-native #documentLines td:nth-child(2){max-width:none}
body.duralux-native #documentLines .line-order{padding:4px 0;vertical-align:top}
@media print{body.duralux-native .line-order,body.duralux-native .line-delete{display:none}}
body.duralux-native .document-heading{display:flex;align-items:center;gap:5px}
body.duralux-native .document-heading h1{margin:0}
@media(pointer:coarse){body.duralux-native .info-button{width:44px;height:44px;min-height:44px}body.duralux-native .line-movers button,body.duralux-native #documentLines .line-delete{width:44px;height:44px;min-height:44px}body.duralux-native .compact-lines-scroll th:first-child{width:96px}body.duralux-native .compact-lines-scroll th:last-child{width:54px}}
body.duralux-native .document-list-toolbar{display:flex;align-items:end;gap:16px}
body.duralux-native .document-list-toolbar label{max-width:320px}
body.duralux-native .document-list-toolbar input{min-width:240px}
body.duralux-native .document-detail-toolbar{justify-content:space-between}
body.duralux-native .pdf-issue-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 0}
body.duralux-native .document-confirm{display:flex;align-items:center;gap:6px;font-size:13px}
body.duralux-native .document-confirm input{width:auto;min-height:0}
body.duralux-native .document-pdf-workspace iframe,body.duralux-native .editor-preview iframe{width:100%;height:820px}
body.duralux-native .document-review,body.duralux-native .document-output-history{margin:12px 0;padding:10px 0}
body.duralux-native .document-review summary,body.duralux-native .document-output-history summary{cursor:pointer}
body.duralux-native .document-excel-actions{margin-top:12px}
body.duralux-native .document-conversion{margin-top:16px}
body.duralux-native #pdfResult{display:flex;gap:18px;padding:8px 0 14px}
body.duralux-native .editor-preview{margin:16px 0}
body.duralux-native .recipient-address-fields{display:grid;grid-template-columns:120px minmax(180px,1fr);gap:10px;grid-column:1/-1}
body.duralux-native .recipient-address-fields label{min-width:0}
body.duralux-native .doc-options[open]>.doc-two{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:6px 16px}
body.duralux-native .document-savebar{position:sticky;bottom:0;z-index:5;padding:12px 0}
body.duralux-native .document-list-toolbar label:has(#documentSearch){flex:1;max-width:480px}
@media(max-width:850px){body.duralux-native .document-list-toolbar{flex-wrap:wrap}body.duralux-native .document-pdf-workspace iframe,body.duralux-native .editor-preview iframe{height:650px}body.duralux-native .recipient-address-fields{grid-template-columns:1fr}body.duralux-native .doc-options[open]>.doc-two{grid-template-columns:1fr}body.duralux-native .pdf-issue-bar{align-items:stretch;flex-direction:column}}
body.duralux-native .doc-format-bar{grid-column:1/-1;display:grid;grid-template-columns:160px minmax(200px,1fr);gap:16px;padding-bottom:12px}
body.duralux-native .show-pdf-preview .doc-paper>:not(.doc-format-bar):not(h2){display:none}
body.duralux-native .show-pdf-preview .editor-preview{margin-top:8px}
body.duralux-native .show-pdf-preview .doc-paper{gap:8px}
body.duralux-native #documentForm .doc-format-bar label{margin:0}
@media(max-width:650px){body.duralux-native .doc-format-bar{grid-template-columns:1fr}}
body.duralux-native #documentArea .document-confirm,body.duralux-native #documentArea .document-conversion label:has(input[type=checkbox]){display:flex;flex-direction:row;align-items:center;gap:8px}
body.duralux-native #documentArea input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0 6px 0 0}
@media(max-width:650px){body.duralux-native #documentArea .document-list-table{display:block;min-width:0;width:100%}body.duralux-native #documentArea .document-list-table thead{display:none}body.duralux-native #documentRows{display:grid;gap:12px}body.duralux-native #documentRows tr{display:grid;grid-template-columns:1fr 1fr;padding:8px}body.duralux-native #documentRows td{display:block;padding:6px;white-space:normal;overflow-wrap:anywhere}body.duralux-native #documentRows td:first-child,body.duralux-native #documentRows td:last-child{grid-column:1/-1}body.duralux-native #documentRows td:last-child{display:flex;align-items:center;gap:16px}body.duralux-native #documentRows td:nth-child(2)::before{content:'宛先';display:block;font-size:12px}body.duralux-native #documentRows td:nth-child(3)::before{content:'発行日';display:block;font-size:12px}body.duralux-native #documentRows td:nth-child(4)::before{content:'合計（税込）';display:block;font-size:12px}body.duralux-native #documentRows td:nth-child(5)::before{content:'状態';display:block;font-size:12px}}
/* Feature layout migrated from workspace-ui.css; common component skin excluded. */
/* Workspace navigation and compact home, adapted to the supplied reference. */
body.duralux-native .workspace{min-width:0}
body.duralux-native .workspace-search{position:relative;display:flex;align-items:center;gap:8px;padding:0 12px;max-width:470px;width:46%}
body.duralux-native .workspace-search input{width:100%;min-width:0;padding:11px 2px}
body.duralux-native #workspaceResults{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;max-height:340px;overflow:auto}
body.duralux-native #workspaceResults a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;text-decoration:none}
body.duralux-native #workspaceResults p{padding:12px}
body.duralux-native #workspaceResults small{white-space:nowrap}
body.duralux-native .section-caption{display:flex;align-items:center;gap:14px;margin:0 0 12px}
body.duralux-native .section-caption h2{font-size:16px;margin:0}
body.duralux-native .section-caption>span{font-size:12px}
body.duralux-native .feature-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
body.duralux-native .feature-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:128px;padding:16px 10px;text-align:center;text-decoration:none;transition:border-color .15s,box-shadow .15s}
body.duralux-native .feature-tile strong{font-size:14px}
body.duralux-native .feature-tile small{font-size:11px}
body.duralux-native .feature-icon{display:flex;align-items:center;justify-content:center;width:43px;height:43px;margin-bottom:4px}
body.duralux-native .feature-icon svg{width:26px;height:26px}
body.duralux-native .recent-features{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:16px 0 24px;min-height:32px}
body.duralux-native .recent-features h2{font-size:12px;margin:0 5px 0 0}
body.duralux-native .recent-features a{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;font-size:12px;text-decoration:none}
body.duralux-native .recent-features svg{width:16px;height:16px}
body.duralux-native .recent-features .muted{font-size:12px}
body.duralux-native .daily-caption{padding-top:18px}
body.duralux-native .daily-caption button{margin-left:auto}
body.duralux-native .home-daily-grid,body.duralux-native .home-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.duralux-native .home-daily-grid .panel{height:calc(100% - 16px)}
body.duralux-native .home-daily-grid .panel-head,body.duralux-native .home-context-grid .panel-head{padding:12px 15px}
body.duralux-native .home-daily-grid .task{padding:12px 15px}
body.duralux-native .home-daily-grid .task-main strong{font-size:13px}
body.duralux-native .home-context-grid table{min-width:0}
body.duralux-native .home-context-grid td,body.duralux-native .home-context-grid th{padding:10px 12px;font-size:12px}
body.duralux-native .home-more{margin:0 0 12px;padding:0 14px}
body.duralux-native .home-more>summary{cursor:pointer;padding:13px 0;font-size:13px}
body.duralux-native .home-more[open]>summary{margin-bottom:8px}
body.duralux-native .choice-native{position:absolute;width:1px;height:1px;padding:0;opacity:0;clip-path:inset(50%);pointer-events:none}
body.duralux-native .customer-choice{position:relative;min-width:0;width:100%}
body.duralux-native .choice-control{display:flex;min-width:0;align-items:center}
body.duralux-native .choice-control input{flex:1;min-width:0;width:100%;font-size:14px;margin:0;padding:9px 10px}
body.duralux-native .choice-control button{padding:4px 9px;min-width:28px;line-height:24px}
body.duralux-native .choice-control button:disabled{opacity:.4;cursor:default}
body.duralux-native .choice-popup{position:relative;z-index:20;margin-top:4px}
body.duralux-native .choice-popup [role=listbox]{max-height:216px;overflow:auto;overscroll-behavior:contain}
body.duralux-native .choice-popup [role=option]{padding:9px 12px;cursor:pointer;overflow-wrap:anywhere;font-size:14px}
body.duralux-native .choice-status{font-size:11px;margin:0;padding:8px 12px}
body.duralux-native #editor{width:min(680px,94vw)}
body.duralux-native #editor #fields{grid-template-columns:minmax(0,1fr)}
body.duralux-native #editor .customer-choice{grid-column:1/-1}
@media(max-width:1200px){body.duralux-native .feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.duralux-native .feature-tile{min-height:112px}body.duralux-native .home-context-grid{grid-template-columns:1fr}}
@media(max-width:760px){body.duralux-native .workspace-search{width:100%;max-width:none;order:2}body.duralux-native .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}body.duralux-native .feature-tile{min-height:112px}body.duralux-native .section-caption{flex-wrap:wrap;gap:8px}body.duralux-native .section-caption>span{font-size:11px}body.duralux-native .home-daily-grid{grid-template-columns:1fr}body.duralux-native .recent-features{margin-bottom:18px}body.duralux-native .daily-caption button{margin-left:0}body.duralux-native .home-context-grid .table-wrap{overflow:auto}body.duralux-native .home-context-grid table{min-width:510px}body.duralux-native .choice-control input{font-size:16px}}
@media print{body.duralux-native .home-features,body.duralux-native .workspace-search,body.duralux-native .choice-popup{display:none}}
/* Compact launchers; the task table is the primary workspace. */
body.duralux-native .feature-tile{min-height:76px;padding:12px;display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:10px;row-gap:1px;text-align:left}
body.duralux-native .feature-icon{grid-row:1/3;width:32px;height:36px;margin:0}
body.duralux-native .feature-icon svg{width:23px;height:23px}
body.duralux-native .feature-tile strong{font-size:13px;align-self:end}
body.duralux-native .feature-tile small{font-size:10px;align-self:start}
body.duralux-native .recent-features{margin:12px 0 16px}
body.duralux-native .home-daily-grid{grid-template-columns:minmax(0,1fr);gap:0}
body.duralux-native .home-daily-grid .panel{height:auto}
body.duralux-native .focus-task-panel details>summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:12px 15px}
body.duralux-native .focus-task-panel details>summary:before{content:'▸'}
body.duralux-native .focus-task-panel details[open]>summary:before{content:'▾'}
body.duralux-native .focus-task-panel details>summary h2{font-size:14px;margin:0}
body.duralux-native .focus-task-panel details>summary span{font-size:11px;padding:2px 7px}
body.duralux-native .focus-task-table{min-width:640px;width:100%;table-layout:fixed}
body.duralux-native .focus-task-table th{font-size:11px;padding:9px 15px}
body.duralux-native .focus-task-table td{padding:12px 15px;font-size:13px;overflow-wrap:anywhere}
body.duralux-native .focus-task-table th:first-child{width:54px}
body.duralux-native .focus-task-table th:nth-child(2){width:36%}
body.duralux-native .focus-task-table th:nth-child(4){width:116px}
body.duralux-native .focus-task-table th:last-child{width:75px}
body.duralux-native .focus-task-table .task-check{width:22px;height:22px;min-height:22px;padding:0}
body.duralux-native .focus-task-table td small{font-size:11px;margin-top:3px}
body.duralux-native .focus-task-table .ghost{padding:4px 8px}
body.duralux-native .focus-empty{padding:15px;margin:0;font-size:12px}
body.duralux-native .sidebar-projects{padding:8px 15px}
body.duralux-native .sidebar-projects h2{font-size:11px;margin:4px 0 8px}
body.duralux-native .sidebar-projects a{display:block;padding:6px 0;font-size:11px;overflow-wrap:anywhere;line-height:1.5}
body.duralux-native .sidebar-projects a:before{content:'▪';margin-right:6px}
body.duralux-native .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:760px){body.duralux-native .feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.duralux-native .feature-tile{display:flex;flex-direction:column;min-height:72px;gap:4px;padding:9px 4px;text-align:center}body.duralux-native .feature-tile small{display:none}body.duralux-native .feature-tile strong{font-size:11px;align-self:center}body.duralux-native .feature-icon{width:29px;height:29px}body.duralux-native .sidebar-projects{display:none}body.duralux-native .focus-task-panel .table-wrap{overflow-x:auto}body.duralux-native .focus-task-table{min-width:590px}body.duralux-native .home-daily-grid{gap:0}}
/* Feature layout migrated from duralux-adapter.css; common component skin excluded. */
/* Local Duralux integration. Component rules precede these application adapters. */
body.duralux-native #editor{padding:0;width:min(660px,94vw);max-height:92vh}
body.duralux-native #editor .modal-content{padding:0;display:block}
body.duralux-native #editor .modal-header{padding:16px 20px;position:sticky;top:0;z-index:3}
body.duralux-native #editor .modal-body{padding:12px 20px}
body.duralux-native #editor .modal-footer{padding:12px 20px;margin:0;position:sticky;bottom:0}
body.duralux-native #editor #formError{padding-inline:20px}
body.duralux-native #editor label{font-size:12px;margin:7px 0}
body.duralux-native #documentForm{padding:0;overflow:visible}
body.duralux-native .doc-paper{gap:14px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.duralux-native #documentForm .invoice-section,body.duralux-native #documentForm .invoice-lines{display:block;padding:0;margin:0;overflow:visible}
body.duralux-native #documentForm .card-header h3{margin:0;padding:0;font-size:13px}
body.duralux-native #documentForm .card-header{padding:11px 14px}
body.duralux-native #documentForm .card-body{padding:10px 14px}
body.duralux-native .doc-info>.card-body,body.duralux-native .doc-issuer>.card-body,body.duralux-native .doc-subject>.card-body,body.duralux-native .doc-totals>.card-body{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px}
body.duralux-native .doc-info label:has([name=number]),body.duralux-native .doc-subject label:has([name=title]),body.duralux-native .doc-issuer details,body.duralux-native .doc-issuer p{grid-column:1/-1}
body.duralux-native .doc-totals{grid-column:1/-1}
body.duralux-native .line-scroll-hint{margin:8px 14px}
body.duralux-native .document-savebar{padding:10px 14px;z-index:10}
{font-size:12px}
@media(max-width:900px){body.duralux-native .doc-paper{display:flex;flex-direction:column}body.duralux-native .doc-totals>.card-body{grid-template-columns:1fr}}
@media(max-width:550px){body.duralux-native .doc-info>.card-body,body.duralux-native .doc-issuer>.card-body,body.duralux-native .doc-subject>.card-body{grid-template-columns:1fr}}
/* Explicit layout boundaries for the original theme's deeply nested selectors. */
{display:none}
{display:block}
@media(max-width:550px){{width:180px}}
/* Compact, keyboard and touch accessible document actions. */
body.duralux-native .action-icon{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:36px;min-height:36px;padding:8px;flex-shrink:0;vertical-align:middle}
body.duralux-native .action-icon svg{width:18px;height:18px;flex-shrink:0;pointer-events:none}
body.duralux-native .document-detail-toolbar{justify-content:flex-start;padding:10px 12px;margin-bottom:16px;gap:8px}
body.duralux-native #documentForm .document-editor-toolbar{position:sticky;top:66px;bottom:auto;z-index:40;margin-bottom:14px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:8px}
body.duralux-native .document-list-toolbar{display:grid;grid-template-columns:auto minmax(200px,1fr) 150px auto auto;gap:12px;align-items:end;margin:18px 0 12px;padding:14px}
body.duralux-native .document-list-toolbar label{margin:0;font-size:12px}
body.duralux-native #documentSearch{width:100%;max-width:none}
body.duralux-native .conversion-dialog{width:min(620px,94vw);padding:0}
body.duralux-native .conversion-dialog .document-conversion{margin:0;padding:20px}
body.duralux-native .conversion-dialog .mail-form-grid{grid-template-columns:1fr 1fr}
body.duralux-native .conversion-dialog label{font-size:12px}
body.duralux-native .conversion-dialog input,body.duralux-native .conversion-dialog select{width:100%;min-height:36px;padding:7px 10px}
body.duralux-native .conversion-dialog input[type=checkbox]{width:18px;min-height:18px}
body.duralux-native .line-movers{display:flex;align-items:center;flex-wrap:wrap;gap:2px;justify-content:center}
body.duralux-native .line-movers button{width:30px;min-height:30px;height:30px;padding:3px}
body.duralux-native .line-grip{font-size:16px}
body.duralux-native .line-movers>div{display:flex;gap:2px}
body.duralux-native .document-excel-actions:empty{display:none}
body.duralux-native .document-pdf-workspace{margin:0 0 12px;padding:0}
body.duralux-native #previewStatus{font-size:12px}
@media(max-width:700px){body.duralux-native .document-list-toolbar{grid-template-columns:1fr 1fr}body.duralux-native .document-list-toolbar label:has(#documentSearch){grid-column:1/-1}body.duralux-native #documentForm .document-editor-toolbar{top:0;position:sticky}body.duralux-native .conversion-dialog .mail-form-grid{grid-template-columns:1fr}body.duralux-native .document-detail-toolbar{gap:6px}body.duralux-native .action-icon{min-height:40px;min-width:40px}}
body.duralux-native .postal-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.duralux-native .postal-form>.card:nth-of-type(3){grid-column:1/-1}
body.duralux-native .postal-actions,body.duralux-native #mailErrors{grid-column:1/-1}
body.duralux-native .postal-form .mail-form-grid{grid-template-columns:1fr 1fr}
body.duralux-native .postal-form .span-all{grid-column:1/-1}
body.duralux-native .postal-form #recipientText{height:120px;resize:none}
body.duralux-native .postal-form .card-title{font-size:15px}
body.duralux-native .postal-form details{margin-top:14px}
@media(max-width:800px){body.duralux-native .postal-form{grid-template-columns:1fr}body.duralux-native .postal-form .mail-form-grid{grid-template-columns:1fr}}