/* Layout target: Microsoft model-driven app New Look (wave 1).
   Kruger branding stays in the app header; Fluent controls retain default colors. */
:root{--control:#0f6cbd}body{font-family:'Segoe UI',Arial,sans-serif;font-size:14px;background:#f5f5f5}body[data-surface=app] .primary{background:var(--control);border-color:var(--control)}body[data-surface=app] .link,body[data-surface=app] a{color:var(--control)}.prototype{height:34px;background:#eaeaea;color:#555;border:0;font-size:11px;padding:0 14px}.prototype strong{font-size:11px}.prototype .switch{height:26px}.prototype .switch button{font-size:11px;padding:3px 12px}.prototype .switch button.active{box-shadow:none;color:#242424}.native-top{height:48px;padding:0 16px 0 12px;gap:16px;background:#007d68}.native-top .logo{width:98px}.native-top .appname{font-size:15px;font-weight:600}.native-top .waffle{font-size:28px;line-height:1}.native-top .environment-name{margin-left:auto;font-size:11px;color:#e9f5f1}.header-help{background:none;border:0;color:white;padding:2px 8px;font-size:18px}.native-top .avatar{background:#e8f2ef;width:30px;height:30px;font-size:11px}.shell{min-height:calc(100vh - 82px)}.sidebar{width:205px;background:#f3f3f3;border-right:1px solid #e2e2e2;padding:5px 0 0}.sidebar .navlabel{font-size:12px;color:#494949;margin:16px 16px 8px;font-weight:600}.sidebar .navitem{border-radius:0;padding:9px 17px;gap:13px;font-size:13px;min-height:38px}.sidebar .navitem svg{width:17px;height:17px}.sidebar .navitem.active{background:#e6e6e6;color:#242424}.sidebar .navitem.active:before{background:var(--control);left:0;height:24px}.sidebar .menu-toggle{font-size:19px;padding:7px 19px}.sidefooter{border-top:1px solid #ddd;margin-top:45px;padding:16px;font-size:13px;color:#242424}.collapsed .sidebar{width:54px}.collapsed .sidebar .navlabel,.collapsed .sidebar .navitem span,.collapsed .sidebar .sidefooter{display:none}.commandbar{margin:12px 16px 0;min-height:43px;border:0;border-radius:6px;padding:3px 10px;background:white;box-shadow:0 1px 3px #0002;gap:3px}.commandbar button{font-size:13px;font-weight:500;padding:7px 11px;min-height:32px}.commandbar .primary{background:transparent!important;color:#242424!important}.commandbar button:hover{background:#f0f0f0!important}.commandbar .right{display:none}.content{padding:20px 16px 25px;max-width:none}.heading{margin-bottom:15px;min-height:51px;align-items:center}.heading h1{font-size:21px;font-weight:600;line-height:1.3;margin:0}.heading .subtitle{display:none}.entity-label{font-size:12px;color:#666;margin-bottom:4px}.view-select{font-size:21px;font-weight:600;border:0!important;background:transparent!important;padding:0 20px 0 0!important;height:32px;min-height:30px!important;width:auto;max-width:100%;outline-offset:3px}.native-dashboard .heading h1{font-size:23px}.dashboard-date{font-size:12px;color:#777}.system-dashboard{display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel{border:0;border-radius:6px;box-shadow:0 1px 3px #0002;background:white;margin-bottom:18px}.system-dashboard .panel{margin:0}.panelhead{padding:15px 18px;border-bottom:1px solid #eee;min-height:52px}.panelhead h2{font-size:15px;font-weight:600}.panelhead .open-grid{font-size:17px;border:0;background:transparent;padding:0 3px;color:#666}.panelbody{padding:22px}.panel h3{font-size:14px}.system-dashboard .dashboard-component{min-width:0}.chart-area{padding:18px 24px 16px;min-height:229px}.chart-axis-title{font-size:11px;color:#666;text-align:right;margin-bottom:15px}.chart-row{display:grid;grid-template-columns:133px 1fr 18px;gap:10px;align-items:center;height:31px;font-size:11px}.chart-row strong{font-weight:400}.chart-track{height:20px;background:repeating-linear-gradient(to right,transparent 0,transparent calc(33.333% - 1px),#eee calc(33.333% - 1px),#eee 33.333%);border-left:1px solid #ddd}.chart-bar{height:18px;background:#4d8ac4;min-width:0}.chart-bar.secondary{background:#7272ad}.chart-ticks{display:flex;justify-content:space-between;margin:6px 27px 0 143px;font-size:10px;color:#666}.tablewrap{background:white}table{font-size:13px}th{padding:0 12px;height:42px;background:white;border-bottom:1px solid #ddd;color:#424242;font-size:12px}td{height:43px;padding:10px 12px;font-size:13px;border-bottom:1px solid #ececec}tbody tr:hover{background:#f5f5f5}.column-sort{background:none;border:0;border-radius:0;padding:0;font-size:12px;font-weight:600;color:#444;display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;white-space:nowrap}.column-sort span{color:#777;font-size:12px}.column-sort:hover{background:none}.selection-col{width:35px;padding:0 9px;text-align:center}.selection-col input{width:14px;height:14px;accent-color:var(--control);opacity:.55}.selection-col input:checked{opacity:1}.grid-footer{min-height:35px;display:flex;justify-content:space-between;padding:8px 15px;border-top:1px solid #eee;font-size:11px;color:#666}.native-status{color:#424242;white-space:nowrap;font-size:13px;display:inline}.view-tools{display:flex;align-items:center;gap:15px;margin:6px 0 13px;justify-content:space-between}.view-tools input{width:235px;min-height:32px;font-size:12px}.filter-summary{font-size:12px;color:#666}.notice{border:0;border-left:3px solid #0f6cbd;background:#edf5fc;border-radius:0;padding:10px 13px;font-size:12px;margin-bottom:16px}.notice.warn{background:#fff8e7;border-left-color:#d79f00}.factgrid{background:white;padding:17px 20px;margin:0 0 12px;border-radius:6px;box-shadow:0 1px 3px #0001;font-size:13px}.factgrid small{font-size:11px}.tabs{background:white;margin:0 0 18px;padding:0 20px;border-bottom:1px solid #ddd;gap:25px}.tabs button{font-size:13px;padding:13px 0}.tabs button.active{border-color:var(--control);color:var(--control)}.fields{gap:18px 32px}.field{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:start;gap:10px;font-size:13px}.field label{font-weight:400;line-height:34px}.field .read{border:0;padding:8px 5px;min-height:34px;overflow-wrap:anywhere}.field input,.field select{min-height:34px;font-size:13px;background:#f5f5f5;border:1px solid transparent;border-bottom:1px solid #b3b3b3}.field small{grid-column:2}.fields .field.full{grid-column:1/-1}.record-heading{display:flex;gap:14px;align-items:center;margin-bottom:18px;min-height:65px}.record-heading h1{font-size:24px;margin:0 0 5px}.record-icon{width:45px;height:45px;display:flex;align-items:center;justify-content:center;background:#e4e4e4;border-radius:4px;color:#555}.record-icon svg{width:23px;height:23px}.record-summary{display:flex;gap:35px;margin-left:auto;font-size:13px}.record-summary small{display:block;color:#666;margin-bottom:5px;font-size:11px}.form-columns{display:grid;grid-template-columns:2fr 1fr;gap:18px}.form-columns .fields{grid-template-columns:1fr}.record-content>.panel{min-height:290px}.main .timeline{padding:0}.footnote{font-size:11px}.teamsbar{height:48px}.adaptive{border-radius:4px;box-shadow:none;padding:18px 20px}.adaptive h2{font-size:18px}.adaptive .cardbrand{display:block;margin-bottom:18px}.cardbrand strong{font-size:14px}.cardbrand span{display:block!important;margin:5px 0 0!important;padding:0!important;background:none!important;color:#666;font-size:11px!important}.adaptive .native-status{display:block;font-size:13px;font-weight:600;color:#8a5700;margin-top:12px}.adaptive .native-status.good{color:#187044}.adaptive .native-status.bad{color:#b42324}.adaptive .field{display:flex;flex-direction:column;gap:5px}.adaptive .field label{font-weight:600;line-height:1.4}.adaptive .field input,.adaptive .field select{background:white;border:1px solid #c7c7c7;width:100%;border-bottom-color:#888}.adaptive .field small{font-size:12px}.adaptive .facts{gap:7px}.adaptive .cardresult{border:0;background:#f3f3f3;color:#242424;padding:12px}.adaptive .cardresult strong{color:#187044}.adaptive .cardhelp{border-radius:0;background:#f3f3f3}.adaptive .primary{background:#5b5fc7;border-color:#5b5fc7}.teamsnav h2{font-size:17px}.teamsnav .navitem.active{background:#e6e5f3;color:#494da7}.teamsnav .navitem.active:before{background:#5b5fc7}.helptext{max-width:1000px;margin:0}.helptext .heading .subtitle{display:block;font-size:13px;margin-top:8px}.component-map td{white-space:normal}.native-top .header-help:hover{background:#ffffff20}.native-top .environment-name{white-space:nowrap}@media(max-width:1100px){.sidebar{width:180px}.system-dashboard{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.form-columns{grid-template-columns:1fr}.native-top .environment-name{font-size:9px}.record-summary{gap:16px}.chart-row{grid-template-columns:150px 1fr 20px}.chart-ticks{margin-left:160px}.dashboard-component .chart-area{min-height:215px}}@media(max-width:760px){.sidebar{width:54px}.sidebar .navlabel,.sidebar .navitem span,.sidebar .sidefooter{display:none}.sidebar .navitem{padding:11px 17px;min-height:38px}.native-top{gap:9px;padding:0 10px}.native-top .logo{width:77px}.native-top .appname{font-size:12px}.native-top .environment-name{display:none}.native-top .avatar{margin-left:auto}.native-top .waffle{font-size:23px}.native-top .header-help{display:none}.content{padding:16px 10px}.commandbar{margin:9px 10px 0}.heading{align-items:flex-start;min-height:45px}.system-dashboard{gap:13px}.heading .dashboard-date{display:none}.chart-area{padding:16px}.chart-row{grid-template-columns:110px 1fr 16px;font-size:10px}.chart-ticks{margin-left:120px}.record-summary{display:none}.record-heading h1{font-size:21px}.view-tools{align-items:flex-start;flex-direction:column;gap:7px}.view-tools input{width:100%}.field{grid-template-columns:1fr;gap:3px}.field label{line-height:1.5}.field small{grid-column:auto}.panelbody{padding:16px}.view-select{font-size:19px}.prototype>span{display:none}.prototype .quiet{font-size:10px;padding:3px 5px}.prototype .switch button{padding:3px 6px}.prototype{padding:0 7px;gap:5px}.tabs{gap:17px;overflow:auto;white-space:nowrap}.tabs button{font-size:12px}}
.lookup{position:relative;display:flex;min-width:0}.lookup input{width:100%;padding-right:30px}.lookup>button{position:absolute;right:1px;top:1px;border:0;background:none;padding:3px 9px;font-size:21px;font-weight:400;height:32px;color:#555}.lookup-options{position:absolute;top:35px;left:0;right:0;border:1px solid #ddd;background:white;box-shadow:0 3px 8px #0002;z-index:4}.lookup-options button{display:block;border:0;border-radius:0;width:100%;text-align:left;padding:9px 12px;font-size:13px;font-weight:400}.lookup-options [hidden]{display:none}.lookup-options[hidden]{display:none}.lookup-options button:hover{background:#eaf2fa}
.ac-text{font-size:13px;margin:0 0 10px}.ac-bold{font-weight:600}.ac-good{color:#187044}.ac-attention{color:#b42324}.adaptive h2.ac-text{font-size:18px;margin-top:18px}.adaptive form>.ac-text:first-child{font-size:15px}.adaptive form>.ac-text:nth-child(2){font-size:11px}.adaptive .field+ .ac-text{margin-top:15px}.adaptive .checklabel+ .ac-text{margin-top:15px}.adaptive .facts{margin:20px 0}.adaptive form>.field{margin-bottom:18px}
dialog.side-sheet{position:fixed;inset:0 0 0 auto;margin:0;width:560px;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0;box-shadow:-5px 0 24px #0002;padding:0;overflow:hidden}dialog.side-sheet[open]{display:flex;flex-direction:column}.side-sheet::backdrop{background:#0003}.side-sheet .dialoghead{flex:none;min-height:66px;padding:18px 24px;border-bottom:1px solid #ddd}.side-sheet .dialoghead h2{font-size:20px}.side-sheet .dialogbody{flex:1;overflow:auto;padding:20px 24px}.side-sheet .dialogfooter{flex:none;border-top:1px solid #ddd;padding:16px 24px;flex-wrap:wrap;background:white}.side-sheet .fields{grid-template-columns:1fr;gap:17px}.side-sheet .field{grid-template-columns:145px minmax(0,1fr)}.side-sheet .tabs{padding:0;margin:10px 0 24px}.sheet-tab{padding:10px 0;border-bottom:3px solid #0f6cbd;color:#0f6cbd;font-size:13px;font-weight:600}.sheet-entity{font-size:12px;color:#666;margin-bottom:12px}.sheet-section{border-top:1px solid #eee;margin-top:24px;padding-top:20px}.sheet-discard{padding:16px 24px;background:#fff8e7;border-top:1px solid #e0c878;flex:none}.sheet-discard[hidden]{display:none}.sheet-discard p{font-size:13px}.sheet-discard button{font-size:12px;margin:0 5px 5px 0}.side-sheet .lookup-options{max-height:170px;overflow:auto}@media(max-width:600px){dialog.side-sheet{width:100vw}.side-sheet .field{grid-template-columns:1fr}.side-sheet .dialoghead,.side-sheet .dialogbody,.side-sheet .dialogfooter{padding:16px}.side-sheet .dialogfooter button{flex:1;font-size:12px}.side-sheet .field label{line-height:1.5}}
/* Prototype navigation control; does not alter the simulated Power Apps forms. */
.language-switch{display:flex;gap:2px;margin-left:8px;flex-shrink:0;border:1px solid #c8c6c4;border-radius:3px;padding:2px;background:#fff;color:#323130}
.language-switch button{font:inherit;font-size:12px;padding:4px 9px;border:0;border-radius:2px;background:transparent;color:#323130;cursor:pointer}
.language-switch button.active{background:#007d68;color:#fff}
.language-switch button:focus-visible{outline:2px solid #007d68;outline-offset:2px}
@media(max-width:680px){.prototype{flex-wrap:wrap;height:auto;min-height:38px;gap:5px;padding:5px 8px}.language-switch{margin-left:auto}.language-switch button{padding:5px 7px}}
