/* LOR Design System v1 · Figma cQoJS3QSD7p06Q6Sf1jNjp, aprovado 14/11/2026.
   Folha compartilhada por todas as rotas e diálogos. Regras de negócio ficam nos módulos. */
@font-face{font-family:'Familjen Grotesk';src:url('../assets/fonts/FamiljenGrotesk-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Familjen Grotesk';src:url('../assets/fonts/FamiljenGrotesk-Medium.woff2') format('woff2');font-weight:500 600;font-style:normal;font-display:swap}
:root{--lor-canvas:#f6f6f6;--lor-surface:#fff;--lor-soft:#f2f2f2;--lor-hover:#eaeaea;--lor-ink:#202020;--lor-secondary:#626262;--lor-line:#dedede;--lor-success:#286647;--lor-success-bg:#edf5ef;--lor-warning:#80540e;--lor-warning-bg:#fbf2de;--lor-danger:#9d3834;--lor-danger-bg:#f9eeed;--lor-space-4:4px;--lor-space-8:8px;--lor-space-12:12px;--lor-space-16:16px;--lor-space-24:24px;--lor-space-32:32px;--lor-radius:6px;--lor-control:36px;--lor-font:'Familjen Grotesk',Helvetica,Arial,sans-serif;--canvas:var(--lor-canvas);--surface:var(--lor-surface);--sidebar:var(--lor-surface);--ink:var(--lor-ink);--secondary:var(--lor-secondary);--muted:var(--lor-secondary);--line:var(--lor-line);--hover:var(--lor-hover);--radius:8px;--font-ui:var(--lor-font);--sidebar-width:216px;font-family:var(--lor-font);font-size:14px;line-height:1.45}
body :is(#app,dialog[open]){font-family:var(--lor-font)}
body :is(#app,dialog[open]) :is(h1,h2,h3,strong,b){font-weight:500}
body #app h1{font-size:26px;line-height:32px;letter-spacing:-.5px}
body #app h2{font-size:16px;line-height:22px}
body #app h3{font-size:14px;line-height:20px}
body #app main{padding:28px;max-width:1680px;min-width:0}
body #app .oc-center{max-width:none;min-width:0}
body #app .page-heading{gap:16px;margin-bottom:24px;align-items:center}
body #app .page-heading>div:first-child{min-width:0}
body #app .page-heading p{font-size:12px;line-height:18px;margin-top:4px;color:var(--secondary);max-width:80ch}
body #app .page-actions{flex-wrap:wrap;gap:8px;max-width:100%}
body :is(#app,dialog[open]) :is(.button,.icon-button){min-height:var(--lor-control);border-radius:var(--lor-radius);font-size:13px;font-weight:500;box-shadow:none;line-height:18px}
body :is(#app,dialog[open]) .button{padding:8px 12px;white-space:normal}
body :is(#app,dialog[open]) .icon-button{width:36px;height:36px;min-width:36px;padding:0;flex-shrink:0}
body :is(#app,dialog[open]) .button .icon{width:18px;height:18px;flex-shrink:0}
body :is(#app,dialog[open]) .field{gap:4px;font-size:12px;line-height:16px;min-width:0}
body :is(#app,dialog[open]) .field>span{font-size:12px;font-weight:400;color:var(--secondary)}
body :is(#app,dialog[open]) .field :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select,textarea){min-height:var(--lor-control);border:1px solid var(--line);border-radius:var(--lor-radius);padding:8px 10px;font-size:14px;line-height:18px;background:var(--surface);width:100%;max-width:100%}
body :is(#app,dialog[open]) .field textarea{min-height:96px;line-height:20px}
body :is(#app,dialog[open]) .field small{font-size:12px;line-height:16px;color:var(--secondary)}
body :is(#app,dialog[open]) :is(.oc-badge,.badge){font-size:12px;line-height:16px;border-radius:4px;padding:3px 8px;white-space:normal;overflow-wrap:anywhere;max-width:100%}
body #app .panel{border-radius:8px;box-shadow:none;border-color:var(--line)}
body #app .oc-panel{padding:16px}
body #app .topbar{height:60px;min-height:60px;padding:0 28px;border-bottom:0;gap:16px}
body #app .topbar-crumb{font-size:12px}
body #app .global-search{margin-left:auto;height:36px;max-width:360px;background:#fff;font-size:14px}
body #app .topbar-tools{margin-left:0}
body #app .demo-banner{padding:6px 28px;font-size:11px;line-height:16px;background:var(--lor-soft)}
body #app .sidebar{background:#fff}
body #app .sidebar-content{padding:24px 12px 12px}
body #app .brand{padding:0 12px;gap:6px;flex-direction:column;align-items:flex-start}
body #app .brand img{filter:none}
body #app .brand-symbol{width:64px;height:36px}
body #app .brand-wordmark{width:96px;height:auto}
body #app :is(.nav-link,.nav-group-unified){font-size:13px;min-height:36px;padding:8px;border-radius:6px;gap:10px;font-weight:500}
body #app .nav-subitem{font-size:13px;min-height:32px;padding-top:6px;padding-bottom:6px}
body #app .nav-link.active,body #app .nav-subitem.active{background:var(--lor-hover);font-weight:500}
body #app .metric{min-height:104px;padding:16px;border:0;border-radius:8px;box-shadow:none}
body #app .metric-value{font-size:30px;line-height:36px;margin-top:8px}
body #app .metric-comparison{font-size:12px;line-height:16px;white-space:normal;margin-top:4px}
body #app .metric>span:first-child{font-size:12px}
/* Mesmo FilterHeader em todas as áreas; os filtros avançados mantêm seus controles reais. */
body #app .lor-filter-header{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:8px;margin:0 0 20px;min-width:0;grid-template-columns:none}
body #app .lor-filter-header>.field{flex:1 1 150px;min-width:0;margin:0}
body #app .lor-filter-header>.field:has(input[type=search]){flex:2 1 280px}
body #app .lor-filter-header :is(input,select){height:36px;min-height:36px;font-size:14px}
body #app .lor-filter-header>.lor-filter-more{flex:0 1 auto;min-width:0}
.lor-filter-more>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:8px;min-height:36px;border:1px solid var(--line);border-radius:6px;padding:8px 12px;cursor:pointer;font-size:13px}
.lor-filter-more>summary::-webkit-details-marker{display:none}
.lor-filter-more[open]{flex:1 0 100%!important}
.lor-filter-more[open]>summary{width:max-content;margin-left:auto}
.lor-filter-extra{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;padding-top:12px}
.lor-filter-extra>.field{margin:0}
body #app :is(.lg-tabs,.pc-tabs){gap:8px;margin-bottom:20px;overflow-x:auto;white-space:nowrap}
body #app :is(.lg-tab,.pc-tab){font-size:13px;padding:10px 12px;min-height:36px}
body #app :is(.lg-chips,.pc-chips){gap:8px;margin:0 0 16px;flex-wrap:wrap}
body #app :is(.lg-chip,.pc-chip){padding:6px 10px;font-size:12px;min-height:32px;border-radius:6px}
body :is(#app,dialog[open]) .lor-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:16px 0 0;padding:12px 0 0;font-size:12px;color:var(--secondary);border-top:1px solid var(--line)}
.lor-pagination-total{margin-right:auto}
body :is(#app,dialog[open]) .lor-page-button{width:36px;min-width:36px;height:36px;padding:0;flex:0 0 36px}
body #app :is(.oc-table,.home-table){font-size:13px;line-height:18px}
body #app :is(.oc-table,.home-table) th{font-size:12px;font-weight:400;color:var(--secondary)}
body #app .oc-table :is(th,td){padding:12px}
body #app .oc-table td small{font-size:12px;line-height:16px}
body #app .oc-table .text-link{font-size:13px}
body #app .oc-section-title{margin-bottom:16px;gap:12px;flex-wrap:wrap}
body #app .product-thumbnail{width:30px;min-width:30px;max-width:30px;height:40px}
body #app .product-thumbnail img{width:100%;height:100%;object-fit:cover}
body #app .pc-row{padding:10px 12px;gap:12px}
body #app .pc-row .pc-photo{width:36px;height:48px}
body #app .pc-row .pc-main strong{font-size:13px}
body #app .pc-row .pc-main :is(span,small){font-size:12px}
body #app .workspace-footer{font-size:12px;padding:12px 28px 24px}
body #app .lg-facts{gap:0 24px}
body #app .lg-facts>div{padding:12px 0;min-width:0}
body #app .lg-facts dt{font-size:12px}
body #app .lg-facts dd{font-size:14px;overflow-wrap:anywhere}
body :is(#app,dialog[open]) :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media(max-width:1000px){:root{--sidebar-width:0px}body #app main{padding:24px}body #app .topbar{padding:0 20px}body #app .demo-banner{padding:6px 20px}}
@media(max-width:700px){:root{--lor-control:44px}body #app main{padding:20px 16px}body #app h1{font-size:22px;line-height:28px}body #app .page-heading{align-items:flex-start;flex-wrap:wrap;gap:12px;margin-bottom:20px}body #app .page-heading p{font-size:12px;line-height:16px}body #app .page-actions{width:100%;flex-shrink:1}body #app .page-actions .button{flex:0 1 auto}body #app .topbar{height:56px;min-height:56px;padding:0 16px;gap:8px}body #app .global-search{margin-left:0;width:36px;max-width:36px}body #app .topbar-tools{margin-left:auto}body #app .demo-banner{padding:6px 16px}body #app .demo-banner a{display:none}body #app .oc-panel{padding:12px}body #app .lor-filter-header{padding:12px;gap:8px;margin-bottom:16px}body #app .lor-filter-header>.field{flex-basis:calc(50% - 8px)}body #app .lor-filter-header>.field:has(input[type=search]){flex-basis:100%}body #app .lor-filter-header :is(input,select){height:44px;min-height:44px;font-size:16px}body #app .lor-filter-header>.lor-filter-more{flex:1 1 100%}.lor-filter-more>summary{min-height:44px}.lor-filter-extra{grid-template-columns:repeat(2,minmax(0,1fr))}body :is(#app,dialog[open]) .lor-pagination{flex-wrap:wrap;gap:8px}body :is(#app,dialog[open]) .lor-page-button{width:44px;height:44px;min-width:44px;flex-basis:44px}body #app .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body #app .metric{padding:12px;min-height:100px}body #app .metric-value{font-size:26px;line-height:32px}body #app .oc-table :is(th,td){padding:8px 10px}body #app .workspace-footer{padding:12px 16px 80px}body :is(#app,dialog[open]) .field :is(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]),select,textarea){font-size:16px}body #app :is(.lg-chip,.pc-chip){min-height:40px}body #app .pc-row{gap:8px}body #app .lg-facts{grid-template-columns:1fr}body #app .page-actions .button .icon{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Topbar mobile unificada; substitui a antiga grade de 120 px. */
@media(max-width:700px){body #app .topbar{display:flex;min-height:56px;height:56px}body #app .topbar-tools{display:flex;gap:4px}body #app .topbar>.mobile-menu,body #app .topbar>.global-search,body #app .topbar-tools>.icon-button{width:44px;min-width:44px;height:44px;min-height:44px;padding:0}body #app .topbar>.global-search>span{display:none}body #app .topbar-tools>.avatar{width:36px;height:36px;min-width:36px}body #app .topbar-tools>.assistant-button{display:none}body #app .lor-filter-header .field :is(input,select){min-height:44px}body #app .rl-table .lor-clickable-row td{min-width:0}}
.rl-piece{display:flex;gap:10px;align-items:center}.rl-piece>div{min-width:0}
body #app .rl-table{min-width:720px}
body #app .rl-table td:nth-child(4){min-width:100px}
body #app .rl-table td:last-child>.icon{width:16px;height:16px;float:right}
@media(max-width:700px){body #app .rl-table{min-width:0}body #app .rl-table td:nth-child(2),body #app .rl-table td:nth-child(4){min-width:0}}

body #app .assistant-fab.icon-button{width:48px;height:48px;min-width:48px;min-height:48px;border-radius:12px}
body #app.sidebar-collapsed .brand{padding:0;align-items:center}
body #app.sidebar-collapsed .brand-symbol{width:36px;height:26px}

body #app .rl-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px 16px;margin:0 0 16px}
body #app .rl-summary>div{padding:8px 0}
@media(max-width:700px){body #app .rl-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}body #app .rl-summary dd{font-size:13px}}

body :is(#app,dialog[open]) .field :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),select){min-height:var(--lor-control);height:var(--lor-control)}

/* Controles compostos têm uma única borda. Checkbox e arquivo são controles próprios. */
body :is(#app,dialog[open]) .field .price-input-wrap{padding:0;border:1px solid var(--line);border-radius:var(--lor-radius);color:var(--ink)}
body :is(#app,dialog[open]) .field .price-input-wrap input{border:0;border-radius:0;background:transparent;box-shadow:none;min-width:0}
body :is(#app,dialog[open]) .field .price-input-wrap input:focus-visible{outline:0;border:0;box-shadow:none}
body :is(#app,dialog[open]) .field .price-input-wrap:focus-within{outline:2px solid var(--ink);outline-offset:2px;box-shadow:none}
body :is(#app,dialog[open]) .field input[type=file]{height:auto;min-height:var(--lor-control);padding:4px;width:100%;font-size:13px;line-height:24px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
body :is(#app,dialog[open]) input[type=file]::file-selector-button{font:inherit;line-height:20px;padding:6px 10px;margin:0 10px 0 0;border:0;border-radius:4px;background:var(--lor-soft);color:var(--ink);cursor:pointer}
body :is(#app,dialog[open]) :is(input[type=checkbox],input[type=radio]){width:18px;height:18px;min-width:18px;min-height:18px;padding:0;flex:none;accent-color:var(--ink)}
body :is(#app,dialog[open]) .oc-check{align-items:center;min-height:36px;gap:8px}
body #app .ag-day>.oc-check{flex:0 0 auto;margin:0;align-self:center}
body #app .topbar{border-bottom:1px solid var(--line);background:var(--surface)}
body #app :is(.lg-alert,.lg-ok,.oc-notice,.readonly-notice){margin-top:0;margin-bottom:16px}
body #app .panel+.lor-filter-header,body #app :is(.lg-alert,.lg-ok,.oc-notice)+.lor-filter-header{margin-top:16px}
body #app .team-table td{vertical-align:middle}
body #app .team-table td:last-child{width:56px;text-align:right}
body #app .oc-table tbody tr:nth-child(odd)>td{background:#fff}
body #app .oc-table tbody tr:nth-child(even)>td{background:var(--lor-soft)}
body #app .oc-table tbody tr:is([data-report-href],[data-pd-row]):hover>td{background:var(--lor-hover)}
body #app .pc-row:nth-child(odd){background:#fff}
body #app .pc-row:nth-child(even){background:var(--lor-soft)}
body #app .pc-history .oc-badge{display:inline-flex;align-self:start;width:max-content;max-width:100%;margin-top:4px;font-size:11px;line-height:14px;padding:2px 6px}
/* O menu de avisos usa linhas próprias, sem os cards da página inicial. */
body dialog.avisos-dialog .dialog-heading{padding:16px 18px}
body dialog.avisos-dialog .dialog-heading p{display:none}
body dialog.avisos-dialog .dialog-body{padding:4px 18px 16px;max-height:calc(100dvh - 160px);overflow:auto}
.af-notice-heading{font-size:11px;font-weight:500;color:var(--secondary);margin:16px 0 6px}
.af-notice-list{display:grid}
.af-notice{display:grid;grid-template-columns:minmax(0,1fr) 16px;align-items:center;gap:10px;padding:12px;border-radius:6px;color:var(--ink);text-decoration:none;min-height:52px}
.af-notice.with-count{grid-template-columns:28px minmax(0,1fr) 16px}
.af-notice:nth-child(even){background:var(--lor-soft)}
.af-notice:hover{background:var(--lor-hover)}
.af-notice>div{min-width:0}
.af-notice strong{display:block;font-size:13px;font-weight:500;line-height:18px}
.af-notice small{display:block;font-size:11px;color:var(--secondary);line-height:16px;margin-top:3px}
.af-notice>.icon{width:16px;height:16px;color:var(--secondary)}
.af-notice-count{display:grid;place-items:center;min-width:28px;min-height:28px;border-radius:6px;background:#efefef;font-size:12px;font-variant-numeric:tabular-nums}
.af-footer-link{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;min-height:36px;margin-top:10px;font-size:12px;color:var(--ink)}
.af-footer-link .icon{width:14px;height:14px}
body dialog.avisos-dialog .af-push{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
body dialog.avisos-dialog .af-push .button{width:auto;min-width:0;min-height:34px;height:auto;font-size:12px;padding:6px 10px}
body dialog.avisos-dialog [data-push-note]{flex-basis:100%;font-size:11px;line-height:16px;margin:0}
body dialog.avisos-dialog [data-push-note]:empty{display:none}
@media(max-width:700px){body #app .team-table td:last-child{width:auto}body #app .oc-table.lg-ledger tbody tr:nth-child(odd){background:#fff}body #app .oc-table.lg-ledger tbody tr:nth-child(even){background:var(--lor-soft)}body #app .oc-table.lg-ledger tbody tr>td{background:transparent}body :is(#app,dialog[open]) input[type=file]::file-selector-button{min-height:36px}}

/* Legenda descreve períodos; não são filtros. */
.ag-legend-title{font-size:12px;font-weight:600;margin:16px 0 8px}
.ag-legend{gap:8px!important;margin-top:0!important}
.ag-legend li{gap:7px;padding:5px 8px;border-radius:5px;background:#f4f4f5;font-size:12px;color:#30343a}
.ag-legend .ag-tag{position:static;display:inline-block;flex:0 0 10px;width:10px;height:10px;border-radius:3px}
.ag-legend .ag-reserva{background:#2563eb}.ag-legend .ag-transito{background:#a16207}.ag-legend .ag-preparacao{background:#16a34a}.ag-legend .ag-retencao{background:#7c3aed}.ag-legend .ag-atraso{background:#dc2626}.ag-legend .ag-bloqueio{background:#475569}
.pd-next-step{margin-top:20px;padding:16px;background:var(--lor-soft);border-radius:8px;font-size:13px}.pd-next-step p{margin:8px 0 12px;max-width:80ch;line-height:1.5}
.profile-avatar-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:12px 0}.profile-avatar-options button{padding:3px;border:2px solid transparent;border-radius:50%;background:transparent;cursor:pointer;aspect-ratio:1}.profile-avatar-options img{width:100%;display:block}.profile-avatar-options [aria-pressed=true]{border-color:var(--lor-ink)}.profile-avatar-options button:focus-visible{outline:2px solid var(--lor-ink);outline-offset:2px}

/* Biblioteca de mídia, compartilhada entre Arquivos, Fotos e a ficha. */
.media-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.media-card{position:relative;display:block;min-width:0;overflow:hidden;text-align:left;color:var(--lor-ink);background:white;border:1px solid var(--lor-line);border-radius:8px;padding:0;font:inherit}.media-card img,.media-card video{display:block;width:100%;height:170px;object-fit:contain;background:#f4f4f5}.media-card>button,.media-card>a{display:block}.media-caption{display:grid;gap:4px;padding:10px}.media-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:500}.media-caption small{font-size:11px;color:var(--lor-secondary);overflow-wrap:anywhere}.media-hint{font-size:12px;color:var(--lor-secondary);line-height:1.5;margin:12px 0}.media-progress{font-size:13px;margin:10px 0;min-height:0}.media-progress:empty{display:none}.media-picker-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.media-picker-actions>span{font-size:12px;color:var(--lor-secondary)}.media-check{position:absolute;top:8px;right:8px;background:#fff;border-radius:50%;width:22px;height:22px;display:grid;place-items:center}.media-card.selected{border:2px solid var(--lor-ink)}.media-card.selected .media-check{color:white;background:var(--lor-ink)}.media-card:focus-visible{outline:2px solid var(--lor-ink);outline-offset:2px}.media-library-links{margin-top:20px;font-size:13px}.media-dialog{width:min(1000px,calc(100vw - 32px));max-width:1000px}.media-dialog .dialog-body{max-height:65dvh;overflow:auto}.media-dialog .dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid var(--lor-line)}.media-dialog .dialog-actions>span{margin-right:auto;font-size:12px}.media-upload{position:relative;cursor:pointer}.media-upload:focus-within{outline:2px solid var(--lor-ink);outline-offset:3px}.media-upload[aria-disabled=true]{opacity:.5;cursor:wait}
@media(max-width:1100px){.media-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:767px){.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.media-card img,.media-card video{height:150px}.media-dialog .dialog-body{padding:16px}.media-dialog .dialog-actions{padding:12px;gap:8px;flex-wrap:wrap}.media-picker-actions{align-items:start;flex-direction:column}.media-dialog .dialog-actions>span{width:100%}}


body :is(#app,dialog[open]) .field .price-input-wrap input{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important}

@media(max-width:767px){
 body #app .team-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto 40px;gap:4px 10px;padding:12px}
 body #app .team-table tbody td{display:block!important;min-width:0;padding:0!important;border:0!important;width:auto!important;text-align:left!important}
 body #app .team-table tbody td:before{display:none!important}
 body #app .team-table tbody td:nth-child(1){grid-column:1;grid-row:1}
 body #app .team-table tbody td:nth-child(2){grid-column:1 / -1;grid-row:2;color:var(--lor-secondary);font-size:11px;padding-left:38px!important}
 body #app .team-table tbody td:nth-child(2):before{display:inline!important;content:'Último acesso: ';font-size:11px;float:none;width:auto;margin-right:4px}
 body #app .team-table tbody td:nth-child(3){grid-column:2;grid-row:1;align-self:center}
 body #app .team-table tbody td:nth-child(4){grid-column:3;grid-row:1;align-self:center}
 body #app .team-table .team-avatar{width:28px;height:28px;min-width:28px;font-size:11px}
 body #app .team-table td .oc-badge{display:inline-flex;width:auto;padding:2px 6px;font-size:11px}
 body #app .team-table td:first-child small{overflow-wrap:anywhere;font-size:11px}
}

/* Pedido: dados da locação à esquerda, valores e decisões à direita. */
.pd-workspace{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:22px;align-items:start}
.pd-main-column,.pd-side-column{display:grid;gap:20px;min-width:0}
body #app .pd-workspace .panel{margin:0;min-width:0;scroll-margin-top:88px}
.pd-notices:empty{display:none}
.pd-jump-nav{display:none}
.pd-item{padding:16px 0;border-bottom:1px solid var(--line)}
.pd-item:first-child{padding-top:0}.pd-item:last-child{padding-bottom:0;border-bottom:0}
.pd-item-heading{display:flex;align-items:center;gap:12px}.pd-item-heading>div{min-width:0}
.pd-item-heading strong,.pd-item-heading small{display:block}.pd-item-heading strong{font-size:14px;margin:4px 0}.pd-item-heading small{font-size:12px;color:var(--secondary)}
body #app .pd-item .product-thumbnail{width:48px;min-width:48px;max-width:48px;height:64px}
.pd-item-dates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.pd-item-dates dt,.pd-payment-facts dt,.pd-costs dt{font-size:12px;color:var(--secondary)}
.pd-item-dates dd{margin:4px 0 0;font-size:13px;white-space:nowrap}
.pd-reservation{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--secondary)}
body #app .pd-client-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
body #app .pd-address{grid-template-columns:minmax(0,1fr)}
.pd-documents{padding-top:14px;margin-top:10px;border-top:1px solid var(--line)}
.pd-documents p{font-size:12px;line-height:18px;color:var(--secondary);margin:6px 0}
.pd-documents .text-link{display:inline-flex;margin-top:8px}
.pd-extra{border-top:1px solid var(--line);margin-top:16px;padding-top:12px;font-size:12px}
.pd-extra summary{cursor:pointer;min-height:32px;line-height:20px;padding:6px 0;color:var(--ink)}
.pd-costs{margin:0}.pd-costs>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0}
.pd-costs dd{margin:0;font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
.pd-costs .pd-total{border-top:1px solid var(--line);margin-top:6px;padding-top:16px}.pd-costs .pd-total dt{color:var(--ink);font-size:13px}.pd-costs .pd-total dd{font-size:24px;font-weight:500}
.pd-payment-facts{display:grid;gap:10px;margin:16px 0 0}.pd-payment-facts>div{display:flex;justify-content:space-between;gap:12px}.pd-payment-facts dd{margin:0;font-size:12px;text-align:right}
.pd-payments{list-style:none;padding:0;margin:6px 0 0}.pd-payments li{padding:12px 0;border-bottom:1px solid var(--line)}.pd-payments li:last-child{border:0}.pd-payments li>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.pd-payments small{display:block;margin-top:4px;color:var(--secondary);font-size:12px}
body #app .pd-side-column .lg-actions{display:grid;gap:8px}body #app .pd-side-column .lg-actions .button{width:100%;min-width:0}
body #app .pd-side-column .lg-alert,body #app .pd-side-column .lg-ok{font-size:12px;line-height:18px;padding:12px;margin:12px 0}
body #app .pd-messages{width:100%;min-width:0;table-layout:fixed}body #app .pd-messages td{overflow-wrap:anywhere}body #app .pd-messages th:first-child{width:50%}
@media(max-width:1100px){.pd-item-dates{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-workspace{gap:16px}body #app .pd-client-facts{grid-template-columns:1fr}}
@media(max-width:800px){.pd-workspace{grid-template-columns:1fr}.pd-jump-nav{display:flex;gap:8px;margin:0 0 16px}.pd-jump-nav button{flex:1;min-height:44px;border:1px solid var(--line);border-radius:6px;background:white;font:inherit;font-size:12px;cursor:pointer}.pd-extra summary{min-height:44px}.pd-messages tr{min-width:0}.pd-payment-facts>div{flex-wrap:wrap}}
