/* Personalities share the same navigation and accessible interaction rules. */
#app,dialog{--module:#2157d4;--module-strong:#163f9c;--module-soft:#edf3ff;--module-ink:#122d50;--module-surface:#f3f6fb}
#app[data-module="commerce"],dialog[data-module="commerce"]{--module:#146d5c;--module-strong:#0c5144;--module-soft:#e9f5f0;--module-ink:#143d35;--module-surface:#f1f6f4}
#app[data-module="repair"],dialog[data-module="repair"]{--module:#6c4ab0;--module-strong:#503283;--module-soft:#f1edf9;--module-ink:#30214f;--module-surface:#f5f3f9}
#app[data-module="restaurant"],dialog[data-module="restaurant"]{--module:#203b60;--module-strong:#142b49;--module-soft:#edf2f8;--module-ink:#172e4c;--module-surface:#ffffff}
#app[data-module="pharmacy"],dialog[data-module="pharmacy"]{--module:#087b7b;--module-strong:#075b5e;--module-soft:#e8f6f4;--module-ink:#163d40;--module-surface:#f2f8f7}
#app[data-module="manufacturing"],dialog[data-module="manufacturing"]{--module:#376b94;--module-strong:#264e70;--module-soft:#eaf1f7;--module-ink:#1f3449;--module-surface:#f2f5f8}
#app[data-module="construction"],dialog[data-module="construction"]{--module:#8b641c;--module-strong:#654713;--module-soft:#f8f1df;--module-ink:#44351b;--module-surface:#f7f6f1}
#app[data-module]:not([data-module="neutral"]) .main{background:var(--module-surface)}
#app[data-module] .primary,dialog[data-module] .primary{background:var(--module);border-color:var(--module);box-shadow:0 3px 8px #10243a0d}
#app[data-module] .primary:hover,dialog[data-module] .primary:hover{background:var(--module-strong);border-color:var(--module-strong)}
#app[data-module] .primary:disabled{background:#dfe6e8;border-color:#dfe6e8}
#app[data-module] .profile-button.selected,#app[data-module] .nav.active{background:var(--module-soft);color:var(--module-strong);border-color:color-mix(in srgb,var(--module) 30%,white);box-shadow:inset 3px 0 var(--module)}
#app[data-module] .profile-active-dot{background:var(--module)}
#app[data-module] .eyebrow{color:var(--module)}
#app[data-module] .company-monogram{background:var(--module-soft);color:var(--module-strong)}
#app[data-module] input:focus,#app[data-module] select:focus,dialog[data-module] input:focus,dialog[data-module] select:focus,dialog[data-module] textarea:focus{border-color:var(--module);outline-color:var(--module);box-shadow:0 0 0 3px var(--module-soft)}
#app[data-module] button:focus-visible,dialog[data-module] button:focus-visible{outline:3px solid var(--module);outline-offset:3px}
.module-heading{position:relative;isolation:isolate;overflow:hidden;min-height:154px;background:#fff;border:1px solid #dce4e9;border-radius:16px;padding:25px 28px;margin-bottom:24px;gap:24px}
.module-heading-copy{position:relative;z-index:1;max-width:70%}.module-heading h1{color:var(--module-ink);font-size:30px;margin:8px 0}.module-heading p{margin:0;font-size:14px!important;max-width:560px;line-height:1.6}.module-signature{display:inline-block;color:var(--module);font-size:11px;font-weight:600;letter-spacing:.02em;margin-top:15px}.module-heading>.primary{position:relative;z-index:1;align-self:center}.module-seal{position:absolute;right:190px;top:-16px;width:190px;height:190px;color:var(--module);opacity:.055;transform:rotate(-12deg);z-index:-1;pointer-events:none}
[data-module="commerce"] .module-heading{border-left:4px solid var(--module)}
[data-module="restaurant"] .module-heading{background:#fff;border-left:4px solid var(--module)}
[data-module="pharmacy"] .module-heading{background:linear-gradient(110deg,#fff 50%,#e8f6f4)}
[data-module="manufacturing"] .module-heading{border-radius:8px;background:linear-gradient(110deg,#fff 50%,#eaf1f7)}
[data-module="construction"] .module-heading{background:linear-gradient(110deg,#fff 50%,#f8f1df);border-bottom:3px solid var(--module)}
[data-module="repair"] .module-heading{background:linear-gradient(110deg,#fff 50%,#f1edf9)}
#app[data-module] .stats{gap:14px;margin-bottom:22px}#app[data-module] .stats .stat{padding:20px;min-height:130px;border-top:0;border-left:1px solid #dce4e9;border-radius:12px;box-shadow:0 2px 5px #18304303}#app[data-module] .stat strong{font-size:28px;color:var(--module-ink)}#app[data-module] .stat p{font-size:11px;line-height:1.6}#app[data-module] .stat-top{font-size:12px}#app[data-module] .section-header h2{font-size:18px}#app[data-module] .section-header p{font-size:12px;line-height:1.6}#app[data-module] .section-header{padding:20px 22px}
#app[data-module] .card{border-color:#dce4e9}#app[data-module] .empty{padding:32px 18px}#app[data-module] .empty h3{font-size:16px}#app[data-module] .empty p{font-size:13px;max-width:390px;margin-left:auto;margin-right:auto}
#app[data-module] .sector-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}#app[data-module] .sector-actions button{margin:0;font-size:12px;min-height:38px}
.restaurant-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:22px}.restaurant-layout>*{min-width:0}.restaurant-kitchen{grid-column:1/-1;order:0}.restaurant-orders{grid-column:1/-1;order:1}.restaurant-floor{order:2;background:#fff;border:1px solid #dce4e9;border-radius:12px;padding-bottom:20px}.restaurant-menu{order:3}.restaurant-floor .dining-grid{padding:0 20px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.restaurant-floor .empty{grid-column:1/-1}.restaurant-floor .dining-table{padding:16px;box-shadow:none;background:#f8fafc}.restaurant-floor .dining-table h3{font-size:17px}.restaurant-floor .table-symbol{font-size:22px;color:var(--module)}
.restaurant-kitchen .section-header{padding-left:0!important}.kitchen-grid{gap:15px}.kitchen-column{background:#f1f4f7;border:1px solid #dce3eb;border-radius:12px;padding:16px;min-height:190px}.kitchen-column:nth-child(2){background:#f9efdf;border-color:#efdfc4}.kitchen-column:nth-child(3){background:#eaf2eb;border-color:#d5e6d8}.kitchen-column>h3{font-size:13px;color:#273b52;display:flex;justify-content:space-between;margin:0 0 16px}.kitchen-column>h3 span{background:#fff;border-radius:6px;padding:3px 8px;font-size:11px}.kitchen-column>.fine{color:#657487;font-size:12px;padding:25px 0;text-align:center}.kitchen-ticket{padding:17px!important;border-radius:9px!important;box-shadow:0 3px 6px #203b6005}.kitchen-ticket>strong{display:block;font-size:13px}.kitchen-ticket>small{float:none;display:block;margin-top:5px}.kitchen-ticket li{font-size:13px;line-height:1.8}.kitchen-ticket .row-button{color:var(--module-strong);border-color:#d3ddeb;background:#f8fafc}
.pharmacy-watch{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 26px;margin-bottom:24px;background:#e8f5f2;border:1px solid #cce5df;border-radius:12px;border-left:4px solid var(--module)}.watch-label{font-size:10px;font-weight:700;letter-spacing:.13em;color:var(--module)}.pharmacy-watch h2{font-size:20px;margin:8px 0;color:var(--module-ink)}.pharmacy-watch p{margin:0;color:#456463;font-size:13px}.watch-count{border-left:1px solid #bfded6;padding-left:28px;min-width:110px}.watch-count b{display:block;font-size:32px;color:var(--module)}.watch-count span{font-size:11px;color:#456463}.pharmacy-layout .card:first-child thead{background:#edf6f3}.pharmacy-layout .card:nth-child(2){border-left:3px solid #c5dfd9}
.production-flow{display:flex;align-items:center;gap:20px;padding:20px 26px;margin-bottom:20px;background:#233d54;border-radius:8px;color:#fff}.production-flow>div{display:flex;align-items:center;gap:13px;flex:1}.production-flow b{font-size:12px;border:1px solid #668196;color:#cce0ef;border-radius:6px;padding:8px}.production-flow span{font-size:14px;font-weight:600}.production-flow small{display:block;color:#b3c8d8;font-size:11px;font-weight:400;margin-top:5px}.production-flow i{color:#a2bfd5;font-style:normal}.manufacturing-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px}.manufacturing-layout>.card{min-width:0;border-radius:8px}.manufacturing-layout>.card:nth-child(n+3){grid-column:1/-1}.manufacturing-layout th{background:#edf2f6}.manufacturing-layout td,.manufacturing-layout th{padding:15px 16px}
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:0 22px 22px}.project-grid>.empty{grid-column:1/-1;width:100%}.project-card{background:#fff;border:1px solid #dedfd6;border-radius:10px;padding:22px}.project-card-top{display:flex;justify-content:space-between;align-items:center}.project-symbol{background:var(--module-soft);color:var(--module);padding:6px 10px;border-radius:6px;font-size:22px}.project-card h3{font-size:19px;color:var(--module-ink);margin:17px 0 6px}.project-card>p{font-size:13px;color:#637086;margin:0 0 24px}.project-progress-label{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#647078;margin-bottom:9px}.project-progress-label strong{color:var(--module-strong)}.project-card .progress-track{width:100%;height:7px;background:#eeeade}.project-card .progress-track>span{background:var(--module)}.project-card dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.project-card dt{font-size:10px;color:#6f7781;margin-bottom:6px}.project-card dd{font-size:15px;font-weight:650;margin:0;color:#34414e}.project-card dd small{font-size:10px;font-weight:400}.project-card>.row-button{width:100%;color:var(--module-strong);border-color:#ded6c3;background:#fcfaf4}
.repair-summary{display:flex;flex-wrap:wrap;gap:24px;padding:0 4px 24px;color:#6b6377;font-size:13px}.repair-summary b{color:var(--module-ink);font-size:20px;margin-right:5px}.repair-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:25px}.repair-lane{border:1px solid #e1daec;background:#eeebf4;border-radius:12px;padding:16px;min-width:0}.repair-lane:nth-child(2){background:#f1edf8}.repair-lane:nth-child(3){background:#ebf3ef;border-color:#d8e5df}.repair-lane-title{display:flex;align-items:center;gap:9px;padding-bottom:17px}.repair-lane-title>span{font-size:10px;color:#8c7ba6;font-weight:600}.repair-lane-title h2{font-size:13px;margin:0;flex:1;color:#423457}.repair-lane-title>b{font-size:11px;background:#fff;padding:4px 7px;border-radius:5px;color:#6c4ab0}.repair-job{background:#fff;border:1px solid #e3ddec;border-radius:9px;padding:17px;margin-bottom:12px;box-shadow:0 2px 5px #42206404}.repair-job-top{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}.repair-job-top strong{font-size:10px;color:#80738e}.repair-job-top .pill{font-size:9px;background:#f1edf9;color:#5d4585}.repair-job h3{font-size:16px;line-height:1.5;color:#30214f;margin:18px 0 6px}.repair-job p{font-size:12px;color:#5f556e;margin:0 0 6px}.repair-job>small{font-size:10px;color:#8b8197;overflow-wrap:anywhere}.repair-job .repair-technician{border-top:1px solid #f0edf5;margin-top:14px;padding-top:12px;font-size:10px}.repair-job .secondary{width:100%;margin-top:18px;min-height:36px;font-size:11px;background:#faf8fd;color:#5b3b8c;border-color:#e1d7f0}.lane-empty{text-align:center;padding:28px 8px}.lane-empty>span{display:inline-block;padding:8px 15px;border:1px dashed #cec4de;border-radius:8px;color:#a397b1}.lane-empty p{font-size:11px;color:#82748f;margin:14px 0}.repair-archive{margin-bottom:20px}
[data-module="commerce"] .cash-workspace{border-radius:12px}[data-module="commerce"] .cash-availability-tabs button.selected{background:var(--module-soft);color:var(--module-strong);border-color:var(--module)}[data-module="commerce"] .cash-page{background:var(--module-surface)}[data-module="commerce"] .pos-products .cash-product-info strong{color:var(--module-ink)}
@media(max-width:1100px){.repair-board{grid-template-columns:1fr}.repair-lane{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.repair-lane-title,.repair-lane>.lane-empty{grid-column:1/-1}.repair-job{margin:0}.manufacturing-layout{grid-template-columns:1fr}.manufacturing-layout>.card{grid-column:1!important}.restaurant-layout{grid-template-columns:1fr}.restaurant-layout>*{grid-column:1!important}.module-heading-copy{max-width:65%}.module-seal{right:160px}}
@media(max-width:700px){.module-heading{padding:20px;min-height:0;gap:18px}.module-heading-copy{max-width:100%}.module-heading h1{font-size:25px}.module-heading p{font-size:13px!important}.module-heading>.primary{width:100%}.module-signature{margin-top:10px}.module-seal{right:-15px;opacity:.04}.project-grid{grid-template-columns:1fr;padding:0 14px 14px}.repair-lane{display:block}.repair-job{margin-bottom:12px}.repair-summary{gap:15px;font-size:11px}.repair-summary b{font-size:17px}.production-flow{padding:16px;gap:10px;align-items:flex-start}.production-flow>div{display:block}.production-flow b{display:inline-block;margin-bottom:10px}.production-flow span{display:block;font-size:11px}.production-flow small{font-size:10px;line-height:1.5}.production-flow i{margin-top:10px}.pharmacy-watch{padding:18px;gap:16px}.pharmacy-watch h2{font-size:17px}.pharmacy-watch p{font-size:12px}.watch-count{padding-left:16px;min-width:75px}.watch-count b{font-size:27px}.watch-count span{font-size:10px}.kitchen-grid{grid-template-columns:1fr}.kitchen-column{min-height:0}.restaurant-floor .dining-grid{grid-template-columns:1fr 1fr}}
@media(prefers-reduced-motion:reduce){#app *,dialog *{scroll-behavior:auto!important;transition:none!important}}
@media print{.module-seal,.module-signature{display:none!important}.module-heading{background:#fff!important;border:0!important}.project-card,.repair-job{break-inside:avoid}.repair-board,.project-grid,.manufacturing-layout{display:block}}

/* Keep operational information visible above the fold. */
.module-heading{min-height:132px;padding:22px 26px}.module-heading h1{font-size:28px}.module-heading p{font-size:13px!important}
#app[data-module] .stats .stat{min-height:112px;padding:18px}#app[data-module] .stats .stat p{margin-bottom:0}
.pharmacy-watch.has-alert{background:#fff6e8;border-color:#edd7ae;border-left-color:#ad7418}.pharmacy-watch.has-alert .watch-label,.pharmacy-watch.has-alert .watch-count b{color:#925b09}.pharmacy-watch.has-alert h2{color:#654310}.pharmacy-watch.has-alert p,.pharmacy-watch.has-alert .watch-count span{color:#79603a}.pharmacy-watch.has-alert .watch-count{border-color:#e7ce9d}
@media(max-width:700px){.module-heading{padding:20px;min-height:0}.module-heading h1{font-size:25px}.module-heading-copy{max-width:100%}}

#app[data-module] .profile-button.selected>span:first-child,#app[data-module] .nav.active i{color:var(--module-strong)}

/* Restaurant: a compact service desk for ready meals and made-to-order dishes. */
.restaurant-service{grid-column:1/-1;order:0;overflow:hidden}
.service-header{padding:22px 24px 18px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.service-header>div>small{color:#61738b;font-weight:700;font-size:10px;letter-spacing:.12em}
.service-header h2{font-size:21px;color:#172e4c;margin:7px 0}
.service-header p{font-size:12px;color:#68778a;line-height:1.6;margin:0}
.service-open-count{font-size:11px;color:#203b60;white-space:nowrap;border:1px solid #dfe6ef;border-radius:6px;padding:7px 10px;background:#f8fafc}
.service-tabs{display:flex;gap:6px;border-bottom:1px solid #e5eaf0;padding:0 24px;background:#fff}
.service-tabs button{border:0;border-radius:0;padding:14px 13px;background:transparent;color:#65758a;font-size:12px;font-weight:600;display:flex;align-items:center;gap:8px;border-bottom:3px solid transparent;min-height:47px}
.service-tabs button.selected{color:#172e4c;border-bottom-color:#203b60}
.service-tabs button:hover{background:#f6f8fb}.service-tabs button>span{border-radius:5px;background:#f0f3f7;padding:3px 6px;font-size:10px;min-width:19px;color:#6d7d91}.service-tabs button.selected>span{background:#e6edf6;color:#203b60}
.service-order{display:grid;grid-template-columns:minmax(150px,1fr) minmax(140px,1.2fr) minmax(105px,.65fr) minmax(150px,.9fr);gap:22px;align-items:center;padding:22px 24px;border-bottom:1px solid #edf0f4;background:#fff}
.service-order:last-child{border-bottom:0}.service-order:hover{background:#fcfdff}.service-kind{font-size:9px;font-weight:700;color:#698096;letter-spacing:.09em}.service-order-identity h3{font-size:14px;line-height:1.5;margin:7px 0;color:#1d334d;overflow-wrap:anywhere}.service-order-identity>small{font-size:10px;color:#7c8999}.service-order-items p{margin:3px 0;font-size:12px;color:#53657c;line-height:1.7}.service-order-items b{color:#273d57;margin-right:5px;font-weight:600}.service-order-note{display:block;font-size:10px;color:#8d6a26;margin-top:7px;white-space:pre-wrap}.service-order-price{text-align:right}.service-order-price strong{font-size:17px;white-space:nowrap;color:#1d334d;font-variant-numeric:tabular-nums}.service-order-price>small{display:block;font-size:9px;color:#8591a0;margin-top:4px}
.service-order-actions{display:flex;flex-direction:column;gap:7px}.service-order-actions .row-button{font-size:11px;min-height:34px;margin:0;border-radius:6px;padding:7px 10px;white-space:normal}.service-order-actions [data-next="served"],.service-order-actions [data-next="paid"]{background:#203b60;color:#fff;border-color:#203b60}.service-order-actions [data-next="served"]:hover,.service-order-actions [data-next="paid"]:hover{background:#142b49}.service-order-actions [data-sector-action="order-detail"]{background:transparent;border-color:transparent;color:#718299;min-height:26px;padding:3px}.service-order-actions button:disabled{opacity:.5;cursor:not-allowed}
.service-empty{text-align:center;padding:30px 20px 34px;background:#fff}.service-empty>span{display:inline-flex;align-items:center;justify-content:center;background:#f3f6fa;width:36px;height:36px;border-radius:50%;color:#8d9bae;font-size:17px}.service-empty h3{font-size:15px;color:#2e425b;margin:12px 0 8px}.service-empty p{font-size:12px;color:#7a8797;margin:0 0 16px;line-height:1.6}.service-empty>.primary{font-size:12px;min-height:36px;padding:8px 14px}
@media(max-width:1100px){.service-order{grid-template-columns:minmax(150px,1fr) minmax(130px,1.1fr) 130px;gap:16px}.service-order-price{grid-column:3;grid-row:1;text-align:right;align-self:start}.service-order-actions{grid-column:1/-1;flex-direction:row;justify-content:flex-end;border-top:1px dashed #edf0f4;padding-top:12px}.service-order-actions .row-button{min-width:130px}.service-order-actions [data-sector-action="order-detail"]{min-width:90px}}
@media(max-width:700px){.service-header{padding:18px;align-items:flex-start;gap:12px}.service-header h2{font-size:19px}.service-header p{font-size:11px}.service-open-count{font-size:10px;padding:6px 8px}.service-tabs{padding:0 8px;gap:0}.service-tabs button{flex:1;justify-content:center;font-size:11px;padding:12px 5px;gap:6px}.service-order{grid-template-columns:minmax(0,1fr) 105px;padding:18px;gap:12px}.service-order-identity{grid-column:1;grid-row:1}.service-order-price{grid-column:2;grid-row:1}.service-order-price strong{font-size:16px}.service-order-items{grid-column:1/-1}.service-order-actions{grid-column:1/-1;flex-wrap:wrap;justify-content:flex-start}.service-order-actions .row-button{flex:1;min-width:110px}.service-order-actions [data-sector-action="order-detail"]{flex-basis:100%}}
