/* v0.7.0 — orange/white interface, large touch targets and visible affordances */
:root{--focus-ring:0 0 0 3px #f7c79e;}
button,a.button,summary{cursor:pointer;touch-action:manipulation;}button:disabled{cursor:not-allowed;opacity:.55;}button:not(:disabled):hover,a.button:hover{filter:brightness(.96);box-shadow:0 3px 9px #92400e19;}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #bd5311;outline-offset:3px;}
.topbar{padding:12px 24px;gap:16px;flex-wrap:wrap}.top-actions{gap:10px;flex-wrap:wrap}.brand-button img{width:165px;max-height:80px;object-fit:contain}.topbar .brand-button{padding:0;box-shadow:none}main{width:100%;max-width:1920px;padding:24px;margin:auto;box-sizing:border-box}.breadcrumb{display:flex;gap:14px;align-items:center;margin:6px 0 26px;font-size:24px}.breadcrumb .crumb-home,.breadcrumb .crumb-current{display:inline-flex;align-items:center;gap:12px;padding:16px 22px;border:1px solid #eebc92;border-radius:15px;font-size:20px;font-weight:700;background:#fff6ed;color:#873b13;min-height:70px;box-sizing:border-box}.breadcrumb .crumb-home{box-shadow:0 3px 0 #efc9a5}.breadcrumb .crumb-current{background:#cd621b;color:white;border-color:#bb5313;box-shadow:0 2px 8px #73300a17}.breadcrumb small{display:block;font-size:11px;font-weight:500;max-width:150px;line-height:1.45}.crumb-home:hover{background:#ffe8d0}.tabs{flex-wrap:wrap;gap:8px}.tabs button{border:1px solid #e7c3a8;border-radius:10px;min-height:44px;font-weight:650}.tabs button.active{color:white;background:#bf5816;border-color:#ae4a10;box-shadow:0 3px 8px #97411122}.primary{box-shadow:0 3px 0 #9a461028;font-weight:700}.secondary{background:#fff8f0;min-height:40px;border:1px solid #d98d55}.form-actions{gap:10px;flex-wrap:wrap}.form-actions button,.form-actions .button{min-height:44px}.form-error{white-space:pre-line}.sort-header{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;border:0;background:transparent;padding:8px 0;font-size:inherit;text-align:left;color:inherit;white-space:nowrap;font-weight:700;box-shadow:none!important}.sort-header span:last-child{color:#b45519;font-size:15px}.sort-header:hover{color:#9b3d0a;text-decoration:underline}th[aria-sort=ascending],th[aria-sort=descending]{background:#ffe7d0}th{vertical-align:middle}.table-wrap{width:100%;overflow:auto}table td{vertical-align:middle}table tr.section-row td{background:#f8f1eb;color:#8b451b;font-weight:700;padding:12px}table tbody tr:not(.section-row):hover{background:#fffaf4}.edit-row{white-space:nowrap;font-size:12px;padding:8px 12px}.edit-dialog{border:1px solid #e2b797;border-radius:18px;padding:26px;width:min(850px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box;color:#29333a;background:#fff}.edit-dialog::backdrop{background:#1b293766;backdrop-filter:blur(2px)}.edit-dialog .combo-results{z-index:50}.edit-dialog input[readonly]{background:#f0efed;color:#59646b}.steps-inline{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.steps-inline span{background:#fff1e1;border:1px solid #f0caac;border-radius:10px;padding:10px 14px;font-size:13px;font-weight:650}.small-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.kpi{border:1px solid #e9d6c9;border-radius:12px;padding:20px;background:#fff9f2}.kpi span{display:block;font-size:12px;color:#67717b;margin-bottom:8px}.kpi strong{font-size:28px}.difference-row{background:#fff3e6}.voice-warning{background:#fff2df;color:#8e4209!important;border:1px solid #efc799;padding:12px;border-radius:10px}.voice-controls{align-items:end;gap:12px}.chat-layout{max-width:1250px}.chat-log{max-height:65vh;overflow:auto}.message p,.message-preview{white-space:pre-wrap}.message table{font-size:13px}.copyable{overflow:auto;border:1px solid #e5ccba;border-radius:8px;background:#fff7ec;padding:15px;font-size:12px}.inspection-actions{position:relative;flex-wrap:wrap;padding:12px;background:#fff3e7;border:1px solid #edceb5;border-radius:14px;margin-bottom:22px}.sticky-actions{gap:10px;flex-wrap:wrap}.permission-grid label{cursor:pointer;padding:8px;border-radius:8px}.permission-grid label:has(input:checked){background:#fff0df}.permission-grid input{width:19px;height:19px}.account:has(button:focus){outline:2px solid #db8d55}.person-line small{overflow-wrap:anywhere}#managementBody>.form-layout{align-items:start}.button{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:6px}.notice p{margin:8px 0}input[type=file]{min-height:46px;padding:10px}input[type=file]::file-selector-button{background:#cd651e;border:1px solid #ad5012;color:white;border-radius:7px;padding:9px 12px;margin-right:12px;cursor:pointer}#physicalPreview070{scroll-margin-top:110px}.form-grid .span2{min-width:0}.filters label{min-width:120px}#refSelector070{margin:18px 0}.pagination{flex-wrap:wrap}.voice-controls label{flex:1}.voice-controls select{min-width:200px}
@media(max-width:800px){main{padding:14px}.topbar{padding:10px 14px}.brand-button img{width:130px}.topbar .user-pill{font-size:11px}.breadcrumb{gap:8px}.breadcrumb .crumb-home,.breadcrumb .crumb-current{font-size:16px;padding:12px;min-height:60px;flex-wrap:wrap;gap:6px}.breadcrumb small{font-size:10px}.small-kpis{grid-template-columns:repeat(2,1fr)}.edit-dialog{padding:16px}.chat-log{max-height:55vh}.voice-controls{flex-wrap:wrap}.sticky-actions button{flex:1}.sort-header{white-space:normal;min-width:75px}.form-layout{grid-template-columns:1fr!important}}
@media print{.topbar,.tabs,.breadcrumb,.sticky-actions,.form-actions,.sort-header span:last-child{display:none!important}main{padding:0}}
