/* Home launcher based on the observed Odoo home, with the agreed app scope. */
.launcher-page{min-height:100vh;background:linear-gradient(135deg,transparent 38%,#ffffff20 38%,transparent 67%),linear-gradient(150deg,#d8d5e4,#e9e8ee);color:#374151}
.launcher-page header{background:transparent;border:0;padding:12px 24px}
.launcher-page header nav{visibility:hidden}
.launcher-page .brand{font-weight:500}
.launcher-page .brandmark{background:#714b67}
.launcher-page .environment{background:#ffffff55;letter-spacing:.5px}
.launcher-page main{max-width:900px;padding-top:42px;min-height:calc(100vh - 155px)}
.launcher-page .page-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.launcher-page .app-grid{display:grid;grid-template-columns:repeat(4,136px);justify-content:center;gap:30px 0;margin:0}
.launcher-app{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px 4px;min-height:126px;text-align:center;border-radius:8px;font-size:14px}
.launcher-icon{display:block;width:70px;height:70px;background:#fff;border:1px solid #dad9df;border-radius:5px;box-shadow:0 3px 6px #00000018;transition:transform .15s,box-shadow .15s}
.launcher-icon img{width:100%;height:100%;object-fit:contain}
.launcher-app:hover .launcher-icon,.launcher-app:focus-visible .launcher-icon{transform:translateY(-3px);box-shadow:0 5px 12px #00000025}
.launcher-app:focus-visible{outline:2px solid #714b67;outline-offset:2px}
.launcher-page footer{background:transparent;border:0}
@media(max-width:760px){
 .launcher-page header{padding:12px 16px;flex-wrap:nowrap}.launcher-page header nav{display:none}
 .launcher-page main{padding:32px 12px;min-height:calc(100dvh - 190px)}
 .launcher-page .app-grid{grid-template-columns:repeat(3,minmax(0,136px));row-gap:22px}
 .launcher-app{font-size:13px;gap:12px;min-height:122px}.launcher-icon{width:66px;height:66px}
}
@media(max-width:370px){.launcher-page .app-grid{grid-template-columns:repeat(2,minmax(0,136px))}}
@media(prefers-reduced-motion:reduce){.launcher-icon{transition:none}}

#application-menus{align-items:center;overflow:visible;position:relative;z-index:5}#application-menus details{position:relative}#application-menus summary{cursor:pointer;padding:12px}#configuration-options{position:absolute;top:100%;left:0;min-width:250px;padding:8px;background:white;box-shadow:0 5px 20px #0002;border:1px solid #dce4e5;border-radius:6px}#configuration-options button{display:block;text-align:left;width:100%;padding:10px;white-space:normal}#configuration-options button:hover{background:#edf2f3}#application-menus{flex-wrap:wrap}

@media(min-width:761px){.launcher-page .app-grid{grid-template-columns:repeat(4,136px)}}

@media(min-width:1100px){.launcher-page .app-grid{grid-template-columns:repeat(6,136px)}}

/* Compact read-only imported details; long values remain fully readable. */
.related-link,.related-chip{display:inline-block;padding:3px 7px;margin:2px;border:1px solid var(--line);border-radius:4px;background:#f4f1f5;font-size:12px;color:var(--teal)}
.related-row{margin:10px 0}.related-row strong{font-size:12px}
.related-section,.historical-files{border-top:1px solid var(--line);padding:12px 0;white-space:normal}
.related-section h3,.historical-files h3{font-size:15px}
.related-dialog{width:min(900px,94vw);max-height:90vh}
.related-body{padding:12px 20px}.related-body .fields{padding:0}
.priority-controls{display:flex;align-items:center;gap:2px}
.priority-controls button{font-size:26px;background:transparent;border:0;color:#8c8261;min-width:36px;min-height:40px;padding:2px}
.priority-controls button.priority-clear{font-size:12px;color:var(--teal);padding:6px;margin-left:8px}
.priority-controls button:focus-visible{outline:2px solid var(--teal)}
.source-stages button{padding:7px 13px;background:#e9eaed;border:0;border-radius:0;font-size:13px}
.source-stages button.current{background:#e5f1f0;outline:1px solid #78a7a5}
.source-stages button:disabled{cursor:default;opacity:.7}
.operation-status{font-size:12px;color:var(--teal);margin:8px 0}
.operation-original{font-size:13px;border-bottom:1px solid var(--line);margin-bottom:12px}
.operation-original p{white-space:pre-wrap}
#sheet-panel textarea{min-height:110px;margin-bottom:10px}
#sheet-panel ul{padding-left:20px;white-space:normal}
#sheet-panel li{margin:10px 0}
.compact-source .modal-head{padding:16px 24px}
.compact-source .fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;padding:16px 24px}
.compact-source .source-notice{margin:0 0 4px;font-size:12px;line-height:1.4}
.compact-source .source-field{min-width:0}
.compact-source .source-label{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.compact-source .source-label small{font-size:10px}
.compact-source .source-value{margin-top:4px;padding:7px 9px;min-height:32px;border:1px solid var(--line);border-radius:4px;font-size:13px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
.compact-source .modal-actions{padding:12px 24px}
@media(max-width:760px){
 .compact-source .fields{grid-template-columns:minmax(0,1fr);padding:12px 16px;gap:10px}
 .compact-source .modal-head,.compact-source .modal-actions{padding:12px 16px}
 .compact-source .source-value{font-size:15px}
}
.record-edit-dialog{width:min(900px,94vw);max-height:92vh}.record-edit-dialog h2{font-size:18px}.record-edit-dialog .notice,.record-edit-dialog [role=status]{margin:12px 24px}
.relation-options{max-height:45vh;overflow:auto;border:1px solid var(--line);padding:8px}.fields .relation-choice{display:flex;gap:10px;align-items:center;padding:7px;font-size:14px}.fields .relation-choice input{width:20px;height:20px;min-height:20px;margin:0}.modal-actions{flex-wrap:wrap}
.user-login{display:block}
