:root{color-scheme:light;font-family:Segoe UI,Trebuchet MS,sans-serif;line-height:1.4;font-weight:400;background:radial-gradient(circle at top left,rgba(248,113,113,.14),transparent 26%),radial-gradient(circle at top right,rgba(59,130,246,.12),transparent 24%),linear-gradient(180deg,#fbf7ef,#f3efe6);color:#14213d}*{box-sizing:border-box}body{margin:0;min-width:0;min-height:100vh;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{border:0;border-radius:999px;background:#14213d;color:#fff;cursor:pointer;padding:.8rem 1.2rem}button:disabled{cursor:default;opacity:.48;filter:grayscale(.22)}input,select,textarea{width:100%;border:1px solid rgba(20,33,61,.16);border-radius:16px;background:#ffffffe6;padding:.8rem 1rem}label{display:grid;gap:.45rem}#root{min-height:100vh;min-width:0}.shell{display:grid;gap:.9rem;padding:1rem;min-width:0}.shell--chat-screen{min-height:100dvh;padding:max(.65rem,env(safe-area-inset-top)) .55rem max(.45rem,env(safe-area-inset-bottom))}.topbar{position:relative;display:grid;grid-template-columns:minmax(15rem,.9fr) minmax(0,1.1fr) auto;justify-content:space-between;align-items:center;gap:.75rem;padding:.52rem .76rem;border:1px solid rgba(20,33,61,.1);border-radius:18px;background:#fffcf5d6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.topbar-brand{grid-column:1;grid-row:1 / 3;display:flex;align-items:baseline;gap:.55rem;min-width:0}.topbar h1,.page-header h2,.history-panel h3,.form-panel h3,.panel h3{margin:0}.topbar h1{font-size:1.18rem;line-height:1.1;white-space:nowrap}.app-version{color:#64748b;font-size:.78rem;font-weight:800}.page-header h2{font-size:1.15rem;line-height:1.12}.eyebrow{margin:0 0 .18rem;font-size:.68rem;letter-spacing:.15em;text-transform:uppercase;color:#7c6f62}.topbar-brand .eyebrow{margin:0;max-width:13rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.58rem;letter-spacing:.12em}.nav{grid-column:2;grid-row:1;display:flex;gap:.35rem;flex-wrap:wrap;min-width:0;justify-content:center}.topbar-chat-slot{grid-column:2;grid-row:2;display:flex;justify-content:flex-end;min-width:0}.nav a,.link-button,.ghost-button{border:1px solid rgba(20,33,61,.14);border-radius:999px;background:#ffffffb8;color:#14213d;padding:.38rem .66rem;font-size:.84rem;line-height:1.1}.nav a.active{background:#14213d;color:#fff}.nav a{display:inline-flex;align-items:center;justify-content:center;gap:.3rem;min-height:2.1rem;min-width:7.8rem;font-weight:760}.nav a.service-chat-nav{border-color:#10b98147;background:linear-gradient(135deg,#ecfdf5fa,#eff6fff0);color:#064e3b;font-weight:850;box-shadow:0 10px 24px #0f766e1f,inset 0 0 0 1px #ffffffb3}.nav a.service-chat-nav:before{content:"";width:.46rem;height:.46rem;border-radius:999px;background:#10b981;box-shadow:0 0 0 .18rem #10b98124}.nav a.service-chat-nav.active{border-color:#0596698a;background:linear-gradient(135deg,#047857,#0f766e);color:#fff}.nav a.service-chat-nav.active:before{background:#d1fae5;box-shadow:0 0 0 .18rem #d1fae538}.nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.1rem;padding:0 .3rem;border-radius:999px;background:#2563eb;color:#fff;font-size:.68rem;font-weight:800;line-height:1}.nav a.active .nav-badge{background:#ffffff3d}.service-chat-alert{position:fixed;right:1rem;bottom:1rem;z-index:900;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.7rem;width:min(420px,calc(100vw - 2rem));border:1px solid rgba(37,99,235,.34);border-radius:18px;background:#eff6fffa;color:#14213d;padding:.85rem .95rem;box-shadow:0 20px 48px #14213d2e,0 0 0 1px #2563eb14 inset;animation:serviceChatAlertIn .18s ease-out,serviceChatAlertBreathe 2.2s ease-in-out infinite}.service-chat-alert__pulse{width:.72rem;height:.72rem;border-radius:999px;background:#2563eb;box-shadow:0 0 #2563eb6b;animation:messageDotPulse 1.5s ease-out infinite}.service-chat-alert__body{display:grid;gap:.08rem;min-width:0}.service-chat-alert__body strong,.service-chat-alert__body span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.service-chat-alert__body strong{color:#1e3a8a;font-size:.86rem}.service-chat-alert__body span{color:#374151;font-size:.88rem}.service-chat-alert__count{display:inline-flex;align-items:center;justify-content:center;min-width:1.75rem;height:1.45rem;padding:0 .4rem;border-radius:999px;background:#2563eb;color:#fff;font-size:.76rem;font-weight:800}.floating-chat-button{position:relative;display:grid;grid-template-columns:auto minmax(0,auto) auto;align-items:center;gap:.46rem;max-width:min(76vw,260px);min-height:3.15rem;border:1px solid rgba(13,148,136,.36);border-radius:999px;background:linear-gradient(135deg,#0f766e,#2563eb);color:#fff;padding:.58rem .72rem;box-shadow:0 18px 42px #14213d47,inset 0 1px #ffffff38;touch-action:manipulation}.floating-chat-button--unread{animation:serviceChatAlertBreathe 2.2s ease-in-out infinite}.floating-chat-button__icon{position:relative;width:1.45rem;height:1.15rem;border:2px solid currentColor;border-radius:.48rem}.floating-chat-button__icon:after{content:"";position:absolute;left:.28rem;bottom:-.36rem;width:.44rem;height:.44rem;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:skew(-18deg);background:transparent}.floating-chat-button__label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:850}.floating-chat-button__badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;height:1.32rem;padding:0 .34rem;border-radius:999px;background:#ffffffeb;color:#0f766e;font-size:.72rem;font-weight:900}.floating-home-button{position:fixed;top:max(4.85rem,calc(env(safe-area-inset-top) + 4.55rem));right:max(.85rem,calc(env(safe-area-inset-right) + .65rem));z-index:950;display:inline-flex;align-items:center;gap:.42rem;min-height:2.65rem;border:1px solid rgba(20,33,61,.14);border-radius:999px;background:#fffffff0;color:#14213d;padding:.55rem .82rem;font-size:.82rem;font-weight:850;box-shadow:0 14px 34px #14213d33;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.hold-logout{position:relative;overflow:hidden;touch-action:manipulation}.hold-logout:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;width:0;background:#14213d1f;pointer-events:none}.hold-logout--active:after{width:100%;transition:width .9s linear}.floating-home-button__icon{position:relative;width:1.1rem;height:.9rem;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(135deg) translate(-1px,-1px)}.activity-notices{position:sticky;top:.65rem;z-index:40;display:grid;gap:.45rem;width:min(720px,100%)}.activity-notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.65rem;border:1px solid rgba(20,33,61,.12);border-radius:16px;background:#fffcf5f5;color:#14213d;padding:.65rem .72rem;box-shadow:0 14px 34px #14213d24}.activity-notice__dot{width:.72rem;height:.72rem;border-radius:999px;background:#2563eb;box-shadow:0 0 0 .2rem #2563eb24}.activity-notice__text{display:grid;gap:.05rem;min-width:0}.activity-notice__text strong,.activity-notice__text span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-notice__text strong{font-size:.82rem}.activity-notice__text span{color:#4b5563;font-size:.86rem}.activity-notice__close{display:inline-grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:999px;color:#64748b;font-size:1.1rem;font-weight:800}.activity-notice__close:hover,.activity-notice__close:focus-visible{background:#14213d14;outline:none}.activity-notice--chat{border-color:#10b98142;background:linear-gradient(135deg,#ecfdf5f7,#fffcf5f5)}.activity-notice--chat .activity-notice__dot{background:#10b981;box-shadow:0 0 0 .2rem #10b98129}.activity-notice--warning{border-color:#eab30857;background:#fef9c3f5}.activity-notice--warning .activity-notice__dot{background:#eab308;box-shadow:0 0 0 .2rem #eab30829}.activity-notice--danger{border-color:#ef444457;background:#fef2f2f7}.activity-notice--danger .activity-notice__dot{background:#ef4444;box-shadow:0 0 0 .2rem #ef444429}.mobile-update-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.8rem;border:1px solid rgba(13,148,136,.24);border-radius:16px;background:linear-gradient(135deg,#ccfbf1f5,#f0fdfaf5);color:#134e4a;padding:.72rem .82rem;box-shadow:0 12px 28px #0f766e1f}.mobile-update-card>div{display:grid;gap:.08rem;min-width:0}.mobile-update-card strong,.mobile-update-card span,.mobile-update-card small{min-width:0;overflow-wrap:anywhere}.mobile-update-card strong{font-size:.92rem}.mobile-update-card span{color:#0f766e;font-size:.86rem}.mobile-update-card small{color:#b91c1c;font-weight:700}.mobile-update-card button{min-height:2.4rem;padding:.55rem .9rem;background:#0f766e;white-space:nowrap}.mobile-update-card--login{margin:.65rem 0 .2rem}.mobile-update-card--required{border-color:#b91c1c47;background:#fff7ed;color:#7c2d12}.mobile-update-card--required span{color:#9a3412}.mobile-update-gate{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:max(1rem,env(safe-area-inset-top)) 1rem max(1rem,env(safe-area-inset-bottom));background:#f8fafc}.mobile-update-gate__panel{width:min(100%,460px);display:grid;gap:.85rem;border:1px solid rgba(185,28,28,.18);border-radius:8px;background:#fff;color:#14213d;box-shadow:0 18px 42px #14213d1f;padding:1rem}.mobile-update-gate__panel h1{margin:0;font-size:1.45rem;line-height:1.15}.mobile-update-gate__panel p{margin:0;color:#475569}.mobile-update-gate__meta{font-weight:700}.mobile-update-gate__error{color:#b91c1c!important;font-weight:700}.mobile-update-gate__actions{display:flex;flex-wrap:wrap;gap:.65rem}.mobile-update-gate__actions button{min-height:2.7rem}.content,.page,.admin-layout,.data-panels,.section-layout{display:grid;gap:.85rem;min-width:0}.pull-refresh{position:sticky;top:max(.35rem,env(safe-area-inset-top));z-index:80;justify-self:center;width:fit-content;max-width:min(92vw,320px);border:1px solid rgba(20,33,61,.12);border-radius:999px;background:#ffffffeb;color:#14213d;box-shadow:0 10px 24px #14213d24;padding:.42rem .85rem;font-size:.82rem;font-weight:800;text-align:center}.pull-refresh--refreshing{border-color:#10b98152;background:#ecfdf5f5;color:#065f46}.page-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding-bottom:0;min-width:0}.section-topline{display:grid;grid-template-columns:minmax(280px,auto) minmax(0,1fr);align-items:center;gap:.65rem;min-width:0}.section-topline .page-header{justify-content:flex-start}.section-topline .section-control-row{justify-self:stretch}.page-title-line{display:flex;align-items:baseline;gap:.45rem;min-width:0}.page-title-line h2{min-width:0;overflow-wrap:anywhere}.section-page-actions{display:flex;gap:.35rem;flex-wrap:wrap;justify-content:flex-end;min-width:0}.section-page-actions .ghost-button,.section-page-actions .link-button{min-height:2rem;padding:.34rem .62rem;font-size:.82rem;line-height:1.1}.page-title-line .eyebrow{margin:0}.page-title-line .eyebrow:after{content:":"}.section-grid,.equipment-grid,.equipment-group-grid{display:grid;gap:1rem}.section-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.equipment-grid,.equipment-group-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-rows:minmax(118px,auto)}.equipment-grid--s{grid-template-columns:repeat(auto-fill,minmax(126px,1fr));grid-auto-rows:minmax(104px,auto)}.equipment-grid--m{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-rows:minmax(118px,auto)}.equipment-grid--l{grid-template-columns:repeat(auto-fill,minmax(188px,1fr));grid-auto-rows:minmax(146px,auto)}.equipment-grid--layout-mode{padding:.65rem;border:1px dashed rgba(20,33,61,.22);border-radius:18px;background:#fff6}.equipment-flow{display:grid;gap:1rem;min-width:0}.equipment-flow--layout-mode{gap:1.25rem;padding:.65rem;border:1px dashed rgba(20,33,61,.22);border-radius:18px;background:#fff6}.section-equipment-area{min-width:0;overflow:auto;border-radius:18px;-webkit-overflow-scrolling:touch}@media(pointer:fine){.section-equipment-area--bulk-select{cursor:crosshair;-webkit-user-select:none;user-select:none}}.equipment-layout-canvas{position:relative;min-width:0;overflow:hidden;border:1px solid rgba(20,33,61,.08);border-radius:18px;background:#ffffff57;background-size:20px 20px}.equipment-layout-canvas--edit{border-style:dashed;cursor:grab;background-image:linear-gradient(rgba(20,33,61,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(20,33,61,.045) 1px,transparent 1px)}.equipment-layout-canvas--panning{cursor:grabbing}.equipment-layout-canvas--neutral{background-color:#ffffff57}.equipment-layout-canvas--warm{background-color:#fff9ebb8}.equipment-layout-canvas--cool{background-color:#eff6ffb8}.equipment-layout-canvas--green{background-color:#f0fdf4b8}.equipment-layout-canvas .equipment-card{position:absolute;width:var(--tile-width, 164px);min-height:var(--tile-height, 126px);height:var(--tile-height, 126px);overflow:hidden}.equipment-layout-canvas--edit .equipment-card{cursor:grab}.equipment-layout-canvas .equipment-card h3{font-size:1rem;line-height:1.18}.equipment-layout-canvas .equipment-card__actions{margin-top:auto}.equipment-layout-canvas:not(.equipment-layout-canvas--edit) .equipment-card__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:.24rem}.equipment-layout-canvas:not(.equipment-layout-canvas--edit) .equipment-card__actions button:first-child{grid-column:1 / -1}.equipment-layout-canvas:not(.equipment-layout-canvas--edit) .equipment-card__actions button{width:100%;min-width:0;min-height:26px;padding:.28rem .42rem;font-size:.68rem;line-height:1.15}.layout-canvas-resize{position:absolute;right:10px;bottom:10px;width:28px;height:28px;padding:0;border-radius:8px;border:1px solid rgba(20,33,61,.18);background:linear-gradient(135deg,transparent 45%,rgba(20,33,61,.3) 46%,rgba(20,33,61,.3) 52%,transparent 53%),linear-gradient(135deg,transparent 62%,rgba(20,33,61,.22) 63%,rgba(20,33,61,.22) 69%,transparent 70%),#ffffffdb;cursor:nwse-resize;box-shadow:0 6px 18px #14213d1f}.equipment-group{display:grid;gap:.85rem;min-width:0}.equipment-group+.equipment-group{margin-top:1.15rem}.equipment-group__aisle{display:grid;place-items:center;height:34px;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(20,33,61,.16),transparent);color:#14213d94;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.section-card,.equipment-card,.panel,.form-panel,.history-panel{border:1px solid rgba(20,33,61,.1);border-radius:26px;box-shadow:0 16px 40px #14213d14}.section-card{position:relative;overflow:hidden;display:grid;gap:.55rem;min-height:168px;padding:.9rem;background:var(--status-color, rgba(255, 252, 245, .84));color:var(--status-text-color, #14213d);transition:transform .16s ease,box-shadow .16s ease}.equipment-card{position:relative;display:flex;flex-direction:column;gap:.35rem;min-height:118px;min-width:0;isolation:isolate;overflow:hidden;contain:layout style;padding:.65rem .75rem;background:var(--status-color, rgba(255, 252, 245, .84));color:var(--status-text-color, #14213d);transition:transform .16s ease,box-shadow .16s ease;backface-visibility:hidden}.equipment-card--layout{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;outline:2px solid rgba(20,33,61,.08);outline-offset:-2px}.equipment-card--layout:active{cursor:grabbing}.equipment-card h3{font-size:1.2rem;font-weight:700;line-height:1.3;margin:0;min-width:0;word-break:break-word;overflow-wrap:anywhere}.section-card:hover,.equipment-card:hover{transform:translateY(-2px);box-shadow:0 20px 46px #14213d1f}.section-card.is-pulsing,.equipment-card.is-pulsing{animation:statusCardPulse 3.4s ease-in-out infinite}.equipment-card.is-pulsing{border-color:color-mix(in srgb,var(--pulse-color, currentColor) 28%,rgba(20,33,61,.1));animation:equipmentCardStablePulse 2.9s ease-in-out infinite}.section-card.is-pulsing:not(.section-card--message):before{content:"";position:absolute;top:-38%;right:-58%;bottom:-38%;left:-58%;z-index:0;pointer-events:none;background:linear-gradient(118deg,transparent 30%,rgba(255,255,255,.04) 41%,rgba(255,255,255,.22) 48%,rgba(255,255,255,.08) 55%,transparent 68%);filter:blur(.9px);opacity:0;transform:translate(-54%) rotate(.001deg);animation:statusGlassShine 7.8s ease-in-out infinite}.equipment-card.is-pulsing:before{content:none}.section-card.is-pulsing:not(.section-card--message)>*,.equipment-card.is-pulsing>*{position:relative;z-index:1}.equipment-card--highlight{animation:equipmentTargetBlink .72s ease-in-out 3;outline:3px solid rgba(37,99,235,.82);outline-offset:4px;z-index:5}.equipment-card--selected{outline:3px solid rgba(37,99,235,.72);outline-offset:3px;box-shadow:0 20px 46px #2563eb3d,0 0 0 1px #ffffffb8 inset}.section-card--message{border-color:#2563eb6b;box-shadow:0 18px 48px #2563eb2e,0 0 0 1px #2563eb1f inset}.section-card--message:before{content:"";position:absolute;top:-2px;right:-2px;bottom:-2px;left:-2px;pointer-events:none;background:linear-gradient(115deg,transparent 0%,transparent 34%,rgba(255,255,255,.72) 45%,transparent 58%,transparent 100%);transform:translate(-120%);animation:messageCardSweep 3.8s ease-in-out infinite}.section-card--message:after{content:"";position:absolute;top:7px;right:7px;bottom:7px;left:7px;pointer-events:none;border-radius:20px;border:1px solid rgba(37,99,235,.28);animation:messageCardRing 2.4s ease-in-out infinite}.section-card__head,.equipment-card__top,.equipment-card__actions,.modal-header,.modal-actions,.row{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.section-card__index,.section-card__count,.equipment-card__serial,.status-chip{font-size:.85rem;opacity:.78}.equipment-card__statuses{position:relative;z-index:2;display:flex;flex-direction:row-reverse;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:.34rem;margin-left:auto;min-width:0;max-width:100%;pointer-events:none}.equipment-card__statuses .status-dot,.equipment-card__statuses .status-chip,.equipment-card__top>.status-chip{display:inline-flex;align-items:center;justify-content:center;width:1.18rem;height:1.18rem;flex:0 0 1.18rem;border:1px solid rgba(20,33,61,.22);border-radius:999px;box-shadow:0 0 0 1px #ffffff7a;color:var(--dot-text-color, #111827);font-size:.48rem;font-weight:900;letter-spacing:0;line-height:1;overflow:hidden;padding:0;text-align:center;text-transform:uppercase;transform-origin:center}.equipment-card__top>.status-chip{margin-left:auto;z-index:2}.equipment-card.is-pulsing .equipment-card__statuses .status-dot{animation:statusDotBreathe 2.6s ease-in-out infinite}.equipment-card.is-pulsing .equipment-card__statuses .status-chip,.equipment-card.is-pulsing .equipment-card__top>.status-chip{animation:equipmentChipBreathe 2.9s ease-in-out infinite}.equipment-card__actions{position:relative;z-index:2}.section-card__footer{margin-top:auto;display:flex;flex-direction:column;gap:.3rem}.section-card__manager{margin:0;font-size:.88rem}.section-card__manager-label{opacity:.6;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}.section-card__message-badge{position:relative;z-index:1;display:inline-flex;align-items:center;gap:.32rem;min-width:2.15rem;justify-content:center;padding:.24rem .54rem;border-radius:999px;background:#2563eb;color:#fff;font-size:.78rem;font-weight:800;box-shadow:0 8px 20px #2563eb47;transform-origin:center;animation:messageBadgeBreathe 2.8s ease-in-out infinite}.section-card__message-dot{width:.42rem;height:.42rem;border-radius:999px;background:#bfdbfe;box-shadow:0 0 #bfdbfead;animation:messageDotPulse 1.7s ease-out infinite}.section-card__message-notice{position:relative;z-index:1;display:grid;gap:.12rem;min-width:0;padding:.48rem .62rem;border-radius:14px;background:#2563eb1a;border:1px solid rgba(37,99,235,.2);color:#1e3a8a;transform-origin:center;animation:messageNoticeBreathe 3.2s ease-in-out infinite}.section-card__message-notice strong,.section-card__message-notice span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.section-card__message-notice strong{font-size:.78rem}.section-card__message-notice span{font-size:.82rem;opacity:.82}.section-card__alert-names{font-size:.75rem;opacity:.85;word-break:break-word}.equipment-card__actions{margin-top:auto;flex-wrap:wrap;gap:.3rem}.equipment-card__select{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#ffffffb8}.equipment-card__select input{width:16px;height:16px;padding:0}.bulk-selection-box{position:fixed;z-index:1300;pointer-events:none;border:2px solid rgba(37,99,235,.92);border-radius:10px;background:#2563eb24;box-shadow:0 0 0 1px #ffffff94 inset}.equipment-card__actions button{min-height:30px;padding:.38rem .62rem;font-size:.76rem;border-radius:999px;white-space:nowrap}.equipment-card__order,.layout-drag-hint{font-size:.78rem;font-weight:700;opacity:.7}.equipment-layout-break{grid-column:1 / -1;height:22px;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(20,33,61,.18),transparent)}.layout-flow-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:.55rem;align-items:center;border:1px solid rgba(20,33,61,.1);border-radius:16px;background:#fffcf5db;box-shadow:0 6px 18px #14213d0d;padding:.55rem .75rem}.bulk-toolbar>div:first-child .eyebrow,.layout-flow-toolbar>div:first-child .eyebrow{display:inline;margin:0 .35rem 0 0}.bulk-toolbar>div:first-child .eyebrow:after,.layout-flow-toolbar>div:first-child .eyebrow:after{content:":"}.bulk-toolbar>div:first-child strong,.layout-flow-toolbar>div:first-child strong{display:inline}.layout-flow-toolbar--active{grid-template-columns:minmax(180px,.9fr) minmax(180px,1fr) auto}.layout-view-controls{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.layout-size-control,.layout-tint-control{gap:.25rem;color:#374151;font-size:.86rem;font-weight:700}.layout-size-control input,.layout-tint-control select{padding:0}.layout-tint-control select{min-height:30px;border-radius:999px;padding:.28rem .65rem}.layout-flow-toolbar__actions{display:flex;justify-content:flex-end;gap:.45rem;flex-wrap:wrap}.layout-flow-toolbar__actions button{padding:.42rem .72rem;font-size:.8rem}.ghost-button{cursor:pointer}.install-button{border-color:#2563eb47;background:#dbeafec7;color:#1e3a8a;font-weight:800}.mobile-apk-button{border-color:#16653447;background:#dcfce7c7;color:#166534;font-weight:800;text-decoration:none}.push-button{border-color:#2563eb47;background:#ffffffc7;color:#1e3a8a;font-weight:800}.push-button--enabled{background:#2563ebeb;color:#fff}.push-button--unsupported{opacity:.62;background:#f3f4f6db;color:#6b7280}.push-control{display:inline-flex;align-items:center;gap:.35rem;min-width:0}.push-control__reason{max-width:11.5rem;color:#64748b;font-size:.72rem;line-height:1.15;white-space:normal}.push-control__reason--ok{color:#166534}.push-control__reason--error{color:#991b1b}.panel,.form-panel,.history-panel{background:#fffcf5d6;padding:1.2rem}.panel-error{background:#fee2e2f0;color:#991b1b}.mobile-release-panel{display:flex;align-items:center;justify-content:space-between;gap:1rem}.mobile-release-panel p{margin:.35rem 0 0;color:#64748b}.mobile-release-panel__empty{border-radius:999px;background:#14213d0f;color:#64748b;padding:.5rem .75rem;font-size:.82rem;font-weight:800;white-space:nowrap}.section-layout{grid-template-columns:minmax(0,1fr);align-items:start}.section-layout>.section-aside{display:none}.history-list,.table-like,.modal-form{display:grid;gap:.8rem}.history-entry,.row{border:1px solid rgba(20,33,61,.08);border-radius:18px;background:#ffffffb3;padding:.9rem 1rem}.admin-layout,.data-panels{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.admin-layout--users{grid-template-columns:minmax(320px,.95fr) minmax(340px,1.05fr);align-items:start}.layout-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem}.layout-summary{color:#6b7280;font-size:.82rem;white-space:nowrap}.layout-editor{display:grid;gap:1rem}.layout-editor__head,.layout-editor__actions{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.layout-editor__actions{justify-content:flex-end}.layout-editor__actions button{padding:.55rem .9rem;font-size:.86rem}.layout-editor__body{display:grid;grid-template-columns:minmax(560px,1fr) minmax(220px,.32fr);gap:1rem;align-items:start}.layout-workspace{display:grid;gap:.75rem;min-width:0}.layout-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 74px auto;gap:.6rem;align-items:end;border:1px solid rgba(20,33,61,.08);border-radius:16px;background:#ffffff9e;padding:.75rem}.layout-toolbar label{gap:.25rem;color:#374151;font-size:.86rem;font-weight:700}.layout-toolbar input[type=range]{padding:0}.layout-toolbar input[type=number]{border-radius:12px;padding:.55rem .65rem}.layout-toolbar button{padding:.55rem .85rem;font-size:.84rem}.layout-canvas{position:relative;width:calc(1146px + 1.1rem);min-width:100%;height:680px;overflow:auto;border:1px solid rgba(20,33,61,.12);border-radius:18px;background:linear-gradient(rgba(20,33,61,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(20,33,61,.055) 1px,transparent 1px),#fff9;background-size:48px 48px,48px 48px,auto;padding:.55rem;touch-action:none}.layout-tile{position:absolute;display:grid;place-items:center;min-width:0;overflow:hidden;border:1px solid rgba(29,78,216,.28);border-radius:10px;background:#dbeafef2;color:#1e3a8a;padding:.35rem;text-align:center;font-size:.78rem;font-weight:800;line-height:1.15;word-break:break-word;cursor:grab;-webkit-user-select:none;user-select:none;box-shadow:0 6px 14px #14213d14}.layout-tile:active{cursor:grabbing}.layout-tile--selected{border-color:#14213dbd;background:#fef9c3f5;color:#713f12;box-shadow:0 0 0 2px #14213d33,0 10px 20px #14213d24}.layout-side-list{display:grid;gap:.4rem;max-height:760px;overflow:auto}.layout-side-item{display:flex;justify-content:space-between;align-items:center;gap:.65rem;width:100%;min-height:42px;border:1px solid rgba(20,33,61,.08);border-radius:12px;background:#ffffffad;color:#14213d;padding:.5rem .65rem;text-align:left}.layout-side-item strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem}.layout-side-item span{flex-shrink:0;color:#6b7280;font-size:.78rem;font-weight:700}.layout-side-item--selected{border-color:#14213d47;background:#fef9c3eb}.layout-preview-grid{display:grid;grid-template-columns:repeat(12,minmax(42px,1fr));grid-auto-rows:54px;grid-auto-flow:dense;gap:.35rem;min-height:300px;overflow:auto;border:1px solid rgba(20,33,61,.1);border-radius:18px;background:linear-gradient(rgba(20,33,61,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(20,33,61,.045) 1px,transparent 1px),#ffffff94;background-size:calc(100% / 12) 54px,calc(100% / 12) 54px,auto;padding:.55rem}.layout-preview-tile{display:grid;place-items:center;min-width:0;overflow:hidden;border:1px solid rgba(20,33,61,.14);border-radius:12px;background:#dbeafeeb;color:#1e3a8a;padding:.35rem;text-align:center;font-size:.78rem;font-weight:700;line-height:1.15;word-break:break-word}.layout-table{display:grid;gap:.45rem;max-height:520px;overflow:auto}.layout-row{display:grid;grid-template-columns:minmax(120px,1fr) repeat(4,64px);gap:.45rem;align-items:end;border:1px solid rgba(20,33,61,.08);border-radius:14px;background:#ffffffad;padding:.55rem}.layout-row strong{align-self:center;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.layout-row label{gap:.2rem;color:#6b7280;font-size:.72rem;font-weight:700}.layout-row input,.layout-fields input{border-radius:12px;padding:.45rem .5rem}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#14213d59;padding:max(.6rem,env(safe-area-inset-top)) max(.6rem,env(safe-area-inset-right)) max(.6rem,env(safe-area-inset-bottom)) max(.6rem,env(safe-area-inset-left));z-index:50}.modal-panel{width:min(560px,100%);max-height:calc(100dvh - max(1.2rem,env(safe-area-inset-top) + env(safe-area-inset-bottom)));overflow:auto;border-radius:24px;background:#fffaf0;box-shadow:0 24px 60px #14213d3d;padding:1.2rem}.history-modal{width:min(760px,100%);padding:.9rem}.history-modal__header{position:sticky;top:0;z-index:2;margin:-.9rem -.9rem 0;padding:.72rem .82rem;border-bottom:1px solid rgba(20,33,61,.08);border-radius:24px 24px 0 0;background:#fffaf0f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.history-modal__header .eyebrow{margin-bottom:.12rem;font-size:.68rem}.history-modal__header h2{margin:0;font-size:1.1rem;line-height:1.15}.history-modal__list{margin-top:.75rem;max-height:min(62vh,620px);overflow:auto;padding:.1rem .15rem .25rem 0}.history-modal__empty{margin:.9rem 0 0}.section-history-modal{width:min(980px,calc(100vw - 1rem));max-height:min(86dvh,820px);display:flex;flex-direction:column;gap:.9rem}.section-history-modal__header{align-items:flex-start}.section-history-filters{display:grid;grid-template-columns:minmax(8.5rem,.8fr) minmax(8.5rem,.8fr) minmax(12rem,1.6fr) auto auto;gap:.6rem;align-items:end;padding:.75rem;border:1px solid rgba(37,99,235,.12);border-radius:16px;background:#f8fafceb}.section-history-filters label{display:grid;gap:.28rem;min-width:0;color:#64748b;font-size:.78rem;font-weight:800}.section-history-filters input{width:100%;min-width:0;min-height:2.45rem;border-radius:12px;background:#fff;font-size:.92rem}.section-history-filters button{min-height:2.45rem;border-radius:12px;font-weight:850}.section-history-summary{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:-.35rem}.section-history-summary span{display:inline-flex;align-items:center;min-height:1.55rem;padding:.2rem .55rem;border-radius:999px;background:#dbeafedb;color:#1d4ed8;font-size:.78rem;font-weight:850}.section-history-days{display:grid;gap:.9rem;overflow:auto;padding-right:.2rem}.section-history-day{display:grid;gap:.45rem}.section-history-day h3{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin:0;padding:.42rem .62rem;border-radius:12px;background:#dbeafe;color:#1e40af;font-size:.92rem;box-shadow:0 8px 18px #2563eb1f}.section-history-day h3 small{color:#2563eb;font-size:.72rem;font-weight:900}.section-history-modal__empty{margin:0}.shift-modal{width:min(920px,100%);max-height:calc(100dvh - max(1.2rem,env(safe-area-inset-top) + env(safe-area-inset-bottom)));overflow:auto}.scenarios-modal{width:min(1120px,100%);padding:.95rem}.scenarios-modal__header{position:sticky;top:-.95rem;z-index:4;margin:-.95rem -.95rem 0;padding:.78rem .9rem;border-bottom:1px solid rgba(20,33,61,.08);border-radius:24px 24px 0 0;background:#fffaf0f5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.scenarios-modal__header h2{margin:0}.scenarios-toolbar{position:sticky;top:3.65rem;z-index:3;display:flex;justify-content:flex-end;gap:.5rem;margin:0 -.95rem;padding:.65rem .95rem;border-bottom:1px solid rgba(20,33,61,.08);background:#fffaf0f0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.scenario-table-wrap{overflow:auto;max-height:min(68dvh,720px);margin-top:.8rem;border:1px solid rgba(20,33,61,.1);border-radius:16px;background:#ffffffb8}.scenario-table{width:100%;min-width:720px;border-collapse:separate;border-spacing:0}.scenario-table th,.scenario-table td{min-width:220px;border-right:1px solid rgba(20,33,61,.08);border-bottom:1px solid rgba(20,33,61,.08);padding:.55rem;vertical-align:top}.scenario-table thead th{position:sticky;top:0;z-index:2;background:color-mix(in srgb,var(--scenario-color, #fffaf0) 48%,#fffaf0)}.scenario-table__machine{position:sticky;left:0;z-index:1;min-width:180px;max-width:240px;background:#fffaf0;text-align:left}.scenario-table thead .scenario-table__machine{z-index:3}.scenario-table tbody .scenario-table__machine{display:flex;gap:.5rem;align-items:flex-start}.scenario-table__machine span{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:1.45rem;height:1.45rem;border-radius:999px;background:#14213d14;color:#475569;font-size:.78rem}.scenario-table__machine strong{overflow-wrap:anywhere}.scenario-column-head{display:grid;grid-template-columns:minmax(130px,1fr) minmax(86px,.55fr) auto;gap:.42rem;align-items:center}.scenario-column-head input,.scenario-column-head select,.scenario-table textarea{border-radius:12px;padding:.48rem .58rem;background:#ffffffe6}.scenario-table textarea{min-height:4.1rem;resize:vertical;border-color:color-mix(in srgb,var(--scenario-color, #e0f2fe) 54%,rgba(20,33,61,.14))}.scenario-column-delete{width:2rem;height:2rem}.scenarios-modal__state{margin:.85rem 0 0}.shift-modal__range{display:block;margin-top:.25rem;color:#64748b;font-size:.86rem}.shift-block{display:grid;gap:.7rem;margin-top:.9rem}.shift-block__head{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.shift-block__head span{min-width:2rem;border-radius:999px;padding:.15rem .5rem;background:#0f172a14;color:#334155;font-weight:700;text-align:center}.shift-empty{margin:0;color:#64748b}.shift-open-list,.shift-timeline{display:grid;gap:.55rem}.shift-open-item,.shift-event{display:grid;gap:.65rem;border:1px solid rgba(20,33,61,.08);border-radius:8px;background:#ffffffb8;padding:.7rem}.shift-open-item{grid-template-columns:auto 1fr;align-items:start}.shift-open-item p,.shift-event p{margin:.2rem 0;color:#334155}.shift-open-item small,.shift-event small,.shift-event time{color:#64748b;font-size:.82rem}.shift-event{grid-template-columns:9.5rem 1fr}.shift-event__top{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem}.shift-event__body{min-width:0}.history-entry--timeline{display:grid;grid-template-columns:92px 18px minmax(0,1fr);gap:.65rem;align-items:stretch;border-radius:16px;padding:.72rem .8rem}.history-entry--compact{grid-template-columns:78px 14px minmax(0,1fr);gap:.45rem;padding:.6rem .65rem}.history-entry__time{display:grid;align-content:start;justify-items:end;gap:.1rem;padding-top:.1rem;color:#6b7280;font-size:.74rem;line-height:1.1;text-align:right}.history-entry__time strong{color:#14213d;font-size:.8rem}.history-entry__time span{font-variant-numeric:tabular-nums}.history-entry__line{position:relative;min-height:100%}.history-entry__line:before{content:"";position:absolute;top:.58rem;bottom:-1.38rem;left:50%;width:2px;transform:translate(-50%);border-radius:999px;background:#14213d1f}.history-entry:last-child .history-entry__line:before{bottom:.58rem}.history-entry__line:after{content:"";position:absolute;top:.4rem;left:50%;width:.6rem;height:.6rem;transform:translate(-50%);border-radius:999px;background:#2563eb;box-shadow:0 0 0 4px #2563eb1f,0 2px 8px #14213d29}.history-entry__body{display:grid;gap:.42rem;min-width:0}.history-entry__top{display:flex;align-items:center;gap:.45rem;min-width:0}.history-entry__status{display:inline-flex;align-items:center;max-width:100%;border-radius:999px;background:var(--history-status-bg, #dbeafe);color:var(--history-status-text, #1e3a8a);padding:.18rem .52rem;font-size:.76rem;font-weight:800;line-height:1.15}.history-entry__author{min-width:0;overflow:hidden;color:#6b7280;font-size:.76rem;text-overflow:ellipsis;white-space:nowrap}.history-entry--timeline p{margin:0;color:#14213d;line-height:1.38;word-break:break-word}.modal-note{border-radius:18px;padding:.85rem 1rem}.icon-button{width:42px;height:42px;padding:0}.status-buttons{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.5rem}.status-btn{border-radius:14px;padding:.85rem .4rem;font-weight:600;font-size:.85rem;transition:opacity .12s,outline-color .12s;outline:3px solid transparent;outline-offset:2px}.status-btn.is-selected{outline-color:#14213d;opacity:1}.status-btn:not(.is-selected){opacity:.55}.status-btn:hover:not(.is-selected){opacity:.8}.status-guide{display:grid;gap:.25rem;border:1px solid rgba(20,33,61,.1);border-radius:12px;background:#ffffff94;padding:.45rem .6rem}.status-guide__flow{display:flex;flex-wrap:wrap;gap:.3rem}.status-guide__flow span{border-radius:999px;padding:.14rem .45rem;font-size:.72rem;font-weight:700}.status-guide p{margin:0;color:#374151}.status-guide strong{display:block;margin-bottom:.2rem;color:#14213d;font-size:.86rem}.status-guide__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.status-guide__grid>div{min-width:0;border-top:1px solid rgba(20,33,61,.08);padding-top:.55rem}.status-guide small{color:#6b7280;font-size:.78rem;line-height:1.25}.status-close-list{display:grid;gap:.55rem;border:1px solid rgba(20,33,61,.1);border-radius:14px;background:#ffffffad;padding:.8rem}.status-close-list__head,.status-close-item{display:flex;align-items:center;gap:.65rem}.status-close-list__head{justify-content:space-between}.status-close-list__head span,.status-close-list p,.status-close-item small{color:#6b7280;font-size:.82rem}.status-close-list p{margin:0}.status-close-item{border:1px solid rgba(20,33,61,.08);border-radius:12px;background:#fffcf5e6;padding:.55rem .65rem}.status-close-item input{width:auto}.status-close-item>.status-chip{display:inline-flex;min-width:86px;justify-content:center;border-radius:8px;padding:.2rem .45rem;font-size:.78rem;font-weight:800;line-height:1.1}.status-close-item__body{display:grid;gap:.1rem;min-width:0}.status-close-item__body small{overflow-wrap:anywhere}.bulk-toolbar{display:grid;grid-template-columns:minmax(170px,auto) minmax(260px,1fr) auto;gap:.55rem;align-items:center;border:1px solid rgba(20,33,61,.1);border-radius:16px;background:#fffcf5db;box-shadow:0 6px 18px #14213d0d;padding:.55rem .75rem}.section-control-row{display:grid;grid-template-columns:auto auto minmax(260px,1fr);align-items:center;gap:.6rem;min-width:0}.section-tools{display:flex;align-items:center;gap:.5rem;min-width:0}.section-tools--layout{grid-column:2 / -1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.section-view-button{min-height:2.05rem;padding:.38rem .72rem;white-space:nowrap}.section-tools .layout-toolbar{grid-template-columns:repeat(4,minmax(96px,1fr)) auto;align-items:end;padding:.48rem;border-radius:14px}.section-tools .layout-toolbar label{font-size:.78rem}.section-tools .layout-toolbar input,.section-tools .layout-toolbar select{min-height:2rem;border-radius:10px;padding:.38rem .52rem}.section-tools .layout-editor__actions{flex-wrap:nowrap}.section-control-row .section-tabs{border-bottom:0;padding-bottom:0}.section-control-row .bulk-toolbar{justify-self:end;width:min(100%,1120px);border-radius:999px;padding:.38rem .55rem .38rem .7rem}.section-control-row .bulk-toolbar:not(.bulk-toolbar--active){width:auto}.bulk-toolbar:not(.bulk-toolbar--active){grid-template-columns:minmax(170px,1fr) auto}.bulk-toolbar:not(.bulk-toolbar--active) .bulk-toolbar__range{display:none}.bulk-toolbar__range{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:.5rem}.bulk-toolbar__range input{min-height:34px;border-radius:999px;padding:.42rem .75rem}.bulk-toolbar__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.45rem}.bulk-toolbar__actions button,.bulk-toolbar__range button{padding:.42rem .72rem;font-size:.8rem}.bulk-toolbar__missing{grid-column:1 / -1;margin:0;color:#991b1b;font-size:.86rem}.bulk-modal{max-height:calc(100vh - 2rem);overflow:auto}.bulk-selected-list,.bulk-skipped{display:grid;gap:.45rem;max-height:220px;overflow:auto}.bulk-selected-list span,.bulk-skipped__item,.bulk-result{display:flex;justify-content:space-between;align-items:center;gap:.75rem;border:1px solid rgba(20,33,61,.08);border-radius:14px;background:#ffffffad;padding:.55rem .7rem}.bulk-selected-list small{flex-shrink:0;border-radius:999px;padding:.14rem .45rem;font-size:.72rem;font-weight:700}.bulk-skipped__item{align-items:flex-start}.bulk-skipped__item span{color:#991b1b;font-size:.84rem;text-align:right}.bulk-status-group{display:grid;gap:.45rem;padding:.65rem;border:1px solid rgba(148,163,184,.24);border-radius:8px;background:#f8fafcc2}.bulk-status-group>strong{font-size:.92rem}.bulk-result--ok{background:#dcfce7c7;color:#14532d}@media(max-width:620px){body{min-width:0}button,.nav a,.link-button,.ghost-button{min-height:38px;padding:.5rem .7rem;font-size:.82rem;line-height:1.15}.shell{gap:.65rem;padding:max(.55rem,env(safe-area-inset-top)) max(.55rem,env(safe-area-inset-right)) max(.75rem,env(safe-area-inset-bottom)) max(.55rem,env(safe-area-inset-left))}.topbar{display:grid;grid-template-columns:1fr;align-items:start;gap:.55rem;padding:.62rem;border-radius:14px}.topbar h1{font-size:1.08rem}.eyebrow{font-size:.6rem;letter-spacing:.09em}.nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:.35rem}.nav a{justify-content:center;min-width:0;text-align:center}.topbar-user{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:.35rem;align-items:stretch;white-space:normal}.topbar-user>span:first-child{grid-column:1 / -1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-user>.ghost-button,.topbar-user>button,.topbar-user>a{justify-content:center;text-align:center;width:100%}.sound-switch{justify-content:space-between;width:100%;min-height:38px;padding:.34rem .45rem;border:1px solid rgba(20,33,61,.1);border-radius:999px;background:#ffffff80}.page{gap:.65rem}.page-header{gap:.5rem}.section-topline{grid-template-columns:1fr;gap:.5rem}.page-header h2{font-size:1rem}.section-page-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:.35rem}.section-page-actions>*{justify-content:center;min-width:0;text-align:center}.section-tabs{gap:.35rem;margin-inline:-.15rem;padding:0 .15rem .3rem}.section-control-row{grid-template-columns:1fr;gap:.45rem}.section-tools,.section-tools--layout{grid-column:auto;justify-self:stretch;grid-template-columns:1fr;width:100%}.section-view-button{width:100%;justify-content:center}.section-tools .layout-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.section-tools .layout-toolbar button,.section-tools .layout-editor__actions button{width:100%}.section-tools .layout-editor__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.section-control-row .bulk-toolbar,.section-control-row .bulk-toolbar:not(.bulk-toolbar--active){justify-self:stretch;width:100%;border-radius:16px}.section-tab{padding:.42rem .68rem;font-size:.8rem}.section-grid,.equipment-grid,.equipment-group-grid,.equipment-grid--s,.equipment-grid--m,.equipment-grid--l{grid-template-columns:1fr;gap:.55rem;grid-auto-rows:auto}.section-card{min-height:128px;border-radius:16px;padding:.75rem}.equipment-card{min-height:104px;border-radius:16px;padding:.6rem .65rem}.equipment-card h3{font-size:1.04rem;padding-right:2.2rem}.equipment-card__actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.equipment-card__actions button:first-child{grid-column:1 / -1}.equipment-card__actions button{width:100%;white-space:normal}.status-guide__grid{grid-template-columns:1fr}.equipment-card{grid-column:auto!important;grid-row:auto!important}.bulk-toolbar,.bulk-toolbar:not(.bulk-toolbar--active),.bulk-toolbar__range{grid-template-columns:1fr}.bulk-toolbar__actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch}.bulk-toolbar__actions button,.bulk-toolbar__range button{width:100%;white-space:normal}.shift-event{grid-template-columns:1fr}.page-header{align-items:flex-start}.page-title-line{flex-wrap:wrap;gap:.25rem .4rem}.equipment-card__actions button{min-height:36px;padding:.5rem .68rem;font-size:.8rem}.equipment-layout-canvas:not(.equipment-layout-canvas--edit) .equipment-card__actions button{min-height:36px;padding:.5rem .68rem;font-size:.8rem}.modal-backdrop{align-items:end;padding:max(.4rem,env(safe-area-inset-top)) max(.4rem,env(safe-area-inset-right)) max(.4rem,env(safe-area-inset-bottom)) max(.4rem,env(safe-area-inset-left))}.modal-panel{width:100%;max-height:calc(100dvh - max(.8rem,env(safe-area-inset-top) + env(safe-area-inset-bottom)));border-radius:16px;padding:.82rem}.history-modal__list{max-height:58dvh}.shift-modal{width:100%}}.is-pulsing:not(.section-card):not(.equipment-card){animation:statusPulse 2s ease-in-out infinite}@keyframes statusCardPulse{0%,to{box-shadow:0 16px 40px #14213d14,inset 0 1px #ffffff3d}45%,68%{box-shadow:0 0 0 1px color-mix(in srgb,var(--pulse-color, currentColor) 24%,transparent),0 0 10px color-mix(in srgb,var(--pulse-color, currentColor) 18%,transparent),0 16px 40px #14213d17,inset 0 1px #ffffff47}}@keyframes statusGlassShine{0%,28%{opacity:0;transform:translate(-58%) rotate(.001deg)}44%{opacity:.36}63%,to{opacity:0;transform:translate(58%) rotate(.001deg)}}@keyframes equipmentCardStablePulse{0%,to{box-shadow:0 16px 40px #14213d14,inset 0 1px #ffffff42}48%{box-shadow:0 0 0 1px color-mix(in srgb,var(--pulse-color, currentColor) 34%,transparent),0 0 16px color-mix(in srgb,var(--pulse-color, currentColor) 24%,transparent),0 16px 40px #14213d1a,inset 0 1px #ffffff52}}@keyframes statusPulse{0%,to{transform:scale(1);filter:saturate(1)}50%{transform:scale(.985);filter:saturate(1.06)}}@keyframes statusDotBreathe{0%,to{box-shadow:0 0 0 1px #ffffff7a,0 0 color-mix(in srgb,var(--dot-color, currentColor) 0%,transparent);transform:scale(1)}50%{box-shadow:0 0 0 1px #ffffff9e,0 0 0 4px color-mix(in srgb,var(--dot-color, currentColor) 22%,transparent);transform:scale(1.06)}}@keyframes equipmentChipBreathe{0%,to{box-shadow:0 0 #fff0}50%{box-shadow:0 0 10px #ffffff47}}@keyframes messageCardSweep{0%,58%{transform:translate(-120%)}78%,to{transform:translate(120%)}}@keyframes messageCardRing{0%,to{opacity:.34;transform:scale(1)}50%{opacity:.84;transform:scale(.985)}}@keyframes messageDotPulse{0%{box-shadow:0 0 #bfdbfead}70%,to{box-shadow:0 0 0 8px #bfdbfe00}}@keyframes messageBadgeBreathe{0%,to{transform:translateY(0) scale(1);box-shadow:0 8px 20px #2563eb47}50%{transform:translateY(-1px) scale(1.045);box-shadow:0 11px 26px #2563eb57}}@keyframes messageNoticeBreathe{0%,to{transform:translateY(0) scale(1);background:#2563eb1a}50%{transform:translateY(-1px) scale(1.012);background:#2563eb25}}@keyframes serviceChatAlertIn{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes serviceChatAlertBreathe{0%,to{box-shadow:0 20px 48px #14213d2e,0 0 0 1px #2563eb14 inset}50%{box-shadow:0 22px 54px #2563eb3d,0 0 0 1px #2563eb2e inset}}@media(max-width:960px){.section-layout{grid-template-columns:1fr}.equipment-layout-canvas,.equipment-layout-canvas--edit{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;overflow:visible;padding:0;border:0;background:transparent}.equipment-layout-canvas .equipment-card{position:static;width:auto;height:auto;min-height:118px}.layout-flow-toolbar,.layout-flow-toolbar--active{grid-template-columns:1fr}.layout-flow-toolbar__actions{justify-content:flex-start}}@media(max-width:380px){.shell{padding-inline:max(.38rem,env(safe-area-inset-left))}.nav,.topbar-user,.section-page-actions,.bulk-toolbar__actions{grid-template-columns:repeat(2,minmax(0,1fr))}.equipment-card__actions{grid-template-columns:1fr}.section-chat__form{grid-template-columns:2.35rem minmax(0,1fr) 2.5rem;gap:.25rem;padding:.26rem}.chat-emoji-toggle{width:2.35rem;height:2.35rem;min-width:2.35rem}.section-chat__form .chat-send-button{width:2.5rem;height:2.5rem;min-width:2.5rem}.chat-emoji-panel{grid-template-columns:repeat(4,minmax(0,1fr))}}.topbar-user{grid-column:3;grid-row:1 / 3;display:flex;align-items:center;gap:.4rem;font-size:.82rem;color:#374151;white-space:nowrap;min-width:0;flex-wrap:wrap;justify-content:flex-end}.topbar-user>.ghost-button,.topbar-user>button,.topbar-user>a,.topbar-user .push-button,.topbar-user .sound-switch{min-height:2rem;padding:.34rem .58rem;font-size:.8rem}.sound-switch{display:inline-flex;grid-template-columns:none;align-items:center;gap:.45rem;width:auto;cursor:pointer;color:#374151;font-size:.8rem;font-weight:700;-webkit-user-select:none;user-select:none}.sound-switch input{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.sound-switch__track{position:relative;width:46px;height:26px;flex:0 0 auto;border:1px solid rgba(20,33,61,.16);border-radius:999px;background:#9ca3af47;transition:background .16s ease,border-color .16s ease}.sound-switch__thumb{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:999px;background:#fff;box-shadow:0 2px 8px #14213d38;transition:transform .16s ease}.sound-switch--enabled{color:#166534}.sound-switch--enabled .sound-switch__track{border-color:#16a34a47;background:#22c55eb8}.sound-switch--enabled .sound-switch__thumb{transform:translate(20px)}.sound-switch:focus-within .sound-switch__track{outline:3px solid rgba(59,130,246,.28);outline-offset:2px}.settings-menu{position:relative;display:inline-flex;align-items:center}.settings-menu__button{display:inline-grid;place-items:center;width:2rem;min-width:2rem;padding:0;font-size:1rem;line-height:1}.settings-menu__panel{position:absolute;top:calc(100% + .45rem);right:0;z-index:1000;display:grid;gap:.48rem;width:min(88vw,280px);padding:.72rem;border:1px solid rgba(20,33,61,.14);border-radius:14px;background:#fffcf5fa;color:#14213d;box-shadow:0 20px 48px #14213d47}.settings-menu__header{display:flex;align-items:baseline;justify-content:space-between;gap:.65rem;min-width:0;padding-bottom:.36rem;border-bottom:1px solid rgba(20,33,61,.1)}.settings-menu__header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-menu__header span{color:#64748b;font-size:.78rem;font-weight:800}.settings-row,.settings-action,.settings-menu .hold-logout{width:100%;min-height:2.25rem;border-radius:10px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:.65rem;padding:.38rem .45rem;border:1px solid rgba(20,33,61,.1);background:#ffffffb8}.settings-row--select select{width:auto;min-width:7.5rem;min-height:2rem;padding:.35rem .55rem;border-radius:8px}.settings-action{display:inline-flex;align-items:center;justify-content:center;padding:.5rem .65rem;border:1px solid rgba(20,33,61,.12);background:#ffffffc7;color:#14213d;font-weight:760}.mobile-update-progress{display:grid;gap:.28rem;margin-top:.18rem;color:#0f766e;font-weight:760}.mobile-update-progress__bar{display:block;height:.48rem;overflow:hidden;border-radius:999px;background:#0f766e29}.mobile-update-progress__bar>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f766e,#22c55e);transition:width .18s ease}:root[data-theme=dark]{color-scheme:dark;background:radial-gradient(circle at top left,rgba(20,184,166,.12),transparent 28%),radial-gradient(circle at top right,rgba(59,130,246,.12),transparent 26%),linear-gradient(180deg,#111827,#172033);color:#e5e7eb}:root[data-theme=dark] body{background:transparent}:root[data-theme=dark] .topbar,:root[data-theme=dark] .panel,:root[data-theme=dark] .form-panel,:root[data-theme=dark] .history-panel,:root[data-theme=dark] .modal-panel,:root[data-theme=dark] .settings-menu__panel{border-color:#e2e8f024;background:#111827f0;color:#e5e7eb}:root[data-theme=dark] .ghost-button,:root[data-theme=dark] .link-button,:root[data-theme=dark] .nav a,:root[data-theme=dark] .settings-row,:root[data-theme=dark] .settings-action,:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{border-color:#e2e8f029;background:#1f2937e0;color:#e5e7eb}:root[data-theme=dark] .nav a.active{background:#e5e7eb;color:#111827}:root[data-theme=dark] .eyebrow,:root[data-theme=dark] .settings-menu__header span,:root[data-theme=dark] .app-version{color:#94a3b8}.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center}.login-panel{background:#fffcf5eb;border:1px solid rgba(20,33,61,.1);border-radius:24px;padding:2.5rem 3rem;width:100%;max-width:380px;box-shadow:0 8px 32px #00000014}.login-panel h1{margin:0 0 1.5rem;font-size:2rem}.login-form{display:flex;flex-direction:column;gap:1rem}.login-biometric-button{border:1px solid rgba(22,101,52,.24);background:#dcfce7eb;color:#166534}.login-error{color:#ef4444;font-size:.85rem;margin:0}.login-hint{color:#0f766e;font-size:.85rem;margin:0}.kb-form{display:flex;flex-direction:column;gap:.9rem;margin-bottom:1.5rem}.kb-form h3{margin:0 0 .25rem}.kb-form textarea{min-height:180px}.kb-form__actions{display:flex;flex-wrap:wrap;gap:.75rem}.kb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1.25rem}.kb-card{background:#fffcf5eb;border:1px solid rgba(20,33,61,.1);border-radius:18px;padding:1.5rem;display:flex;flex-direction:column;gap:.75rem;box-shadow:0 2px 12px #0000000d}.kb-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.kb-card__title{margin:0;font-size:1.05rem;font-weight:700;color:#14213d}.kb-card__actions{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:flex-end}.kb-card__actions .ghost-button{padding:.4rem .7rem;font-size:.8rem}.danger-button{color:#991b1b;border-color:#991b1b38}.kb-card__content{margin:0;font-size:.92rem;line-height:1.6;color:#374151;white-space:pre-wrap}.kb-card__photos{display:flex;flex-wrap:wrap;gap:.5rem}.kb-card__thumb{width:80px;height:80px;object-fit:cover;border-radius:10px;cursor:pointer;border:2px solid rgba(20,33,61,.08);transition:transform .15s}.kb-card__thumb:hover{transform:scale(1.06)}.kb-card__meta{font-size:.78rem;color:#9ca3af;margin-top:auto}.note-photos{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}.note-photo-thumb{width:88px;height:88px;object-fit:cover;border-radius:10px;cursor:pointer;border:2px solid rgba(20,33,61,.08);transition:transform .15s}.note-photo-thumb:hover{transform:scale(1.06)}.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000d1;display:flex;align-items:center;justify-content:center;z-index:1000;cursor:zoom-out}.lightbox__img{max-width:90vw;max-height:90vh;border-radius:12px;box-shadow:0 8px 40px #0006}.db-viewer{display:grid;grid-template-columns:200px 1fr;gap:1rem;align-items:start}.db-tables-list{padding:1rem}.db-table-view{padding:1rem;overflow:hidden}.db-table{width:100%;border-collapse:collapse;font-size:.82rem}.db-table th{background:#14213d;color:#fff;padding:.5rem .75rem;text-align:left;white-space:nowrap;font-weight:600}.db-table td{padding:.4rem .75rem;border-bottom:1px solid rgba(20,33,61,.07);max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.db-table tr:nth-child(2n) td{background:#14213d08}.db-table tr:hover td{background:#3b82f60f}.role-picker{display:grid;gap:.55rem}.role-picker__label{font-weight:600}.role-picker__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.role-option{display:grid;gap:.18rem;min-height:82px;align-content:center;text-align:left;border:1px solid rgba(20,33,61,.12);border-radius:14px;background:#ffffffa3;color:#14213d;padding:.75rem .85rem}.role-option span{color:#6b7280;font-size:.78rem;line-height:1.25}.role-option--active{border-color:#1d4ed894;background:#dbeafedb;box-shadow:inset 0 0 0 1px #1d4ed82e}.role-guide{display:grid;gap:.9rem}.role-guide__head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.role-guide__summary{margin:0;color:#374151}.role-guide__columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:1rem}.role-guide__list{display:grid;gap:.45rem;margin:.55rem 0 0;padding-left:1rem;color:#374151}.role-guide__list--muted{color:#6b7280}.role-chip{display:inline-flex;align-items:center;width:fit-content;max-width:100%;border:1px solid rgba(20,33,61,.12);border-radius:999px;padding:.22rem .6rem;background:#ffffffb3;color:#14213d;font-size:.78rem;font-weight:700;line-height:1.2}.role-chip--admin{background:#dbeafeeb;color:#1e3a8a;border-color:#1d4ed83d}.role-chip--engineer{background:#ffedd5e6;color:#9a3412;border-color:#f9731642}.role-chip--master{background:#fef9c3e6;color:#713f12;border-color:#eab3084d}.role-chip--observer{background:#dcfce7e0;color:#166534;border-color:#16a34a3d}.section-scope{display:grid;gap:.35rem;border:1px solid rgba(20,33,61,.12);border-radius:16px;padding:.8rem .9rem}.section-scope legend{padding:0 .4rem;font-size:.9rem;font-weight:600}.section-scope__item{display:flex;align-items:center;gap:.5rem;cursor:pointer}.section-scope__item input{width:auto}.section-scope__hint{margin:.35rem 0 0;color:#b45309;font-size:.82rem}.user-row{align-items:flex-start;flex-wrap:wrap}.user-list-panel{grid-column:1 / -1}.user-row__identity,.user-row__role{display:grid;gap:.16rem;min-width:160px}.user-row__identity span,.user-row__role small,.user-row__scope{color:#6b7280;font-size:.82rem}.user-row__role{min-width:190px}.user-row__scope{max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.section-block{display:flex;flex-direction:column;gap:.4rem;min-width:0}.dashboard-maint-tasks{display:grid;gap:.3rem;width:100%;min-width:0}.dashboard-maint-item{display:flex;align-items:center;gap:.5rem;width:100%;min-width:0;padding:.45rem .75rem;border-radius:12px;background:#fffcf5e6;border:1px solid rgba(20,33,61,.08);font-size:.85rem}.dashboard-maint-item.maint-urgency-overdue{background:#fee2e2cc;border-color:#ef44444d}.dashboard-maint-item.maint-urgency-soon{background:#fef9c3d9;border-color:#eab30859}.dashboard-maint-title{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-maint-date{font-size:.78rem;opacity:.55;flex-shrink:0}.section-aside{display:grid;gap:1rem;align-content:start}.maint-sidebar{padding:1.2rem}.maint-sidebar-item{padding:.6rem .8rem;border-radius:14px;background:#fff9;border:1px solid rgba(20,33,61,.07)}.maint-sidebar-item.maint-urgency-overdue{background:#fee2e2b3;border-color:#ef44444d}.maint-sidebar-item.maint-urgency-soon{background:#fef9c3cc;border-color:#eab30859}.section-tabs{display:flex;gap:.5rem;border-bottom:1px solid rgba(20,33,61,.1);padding-bottom:.3rem;min-width:0;overflow-x:auto;scrollbar-width:thin;-webkit-overflow-scrolling:touch}@keyframes equipmentTargetBlink{0%,to{transform:translateY(0);box-shadow:0 16px 40px #14213d14}45%{transform:translateY(-4px);box-shadow:0 24px 56px #2563eb57,0 0 0 8px #2563eb24}}.section-tab{position:relative;display:inline-flex;align-items:center;gap:.42rem;background:transparent;color:#7c6f62;border:1px solid transparent;border-radius:999px;padding:.42rem .9rem;font-size:.84rem;cursor:pointer;transition:background .12s,color .12s;flex:0 0 auto;white-space:nowrap}.section-tab:hover{background:#14213d0f;color:#14213d}.section-tab--active{background:#14213d;color:#fff}.section-tab--message{border-color:#2563eb52;color:#1e3a8a;background:#dbeafeb8}.section-tab--message.section-tab--active{background:#1d4ed8;color:#fff}.section-tab__badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.45rem;height:1.15rem;padding:0 .3rem;border-radius:999px;background:#2563eb;color:#fff;font-size:.7rem;font-weight:800;line-height:1}.section-tab--active .section-tab__badge{background:#ffffff38}.section-chat{display:flex;flex-direction:column;gap:.7rem;height:min(72dvh,760px);min-height:420px;min-width:0}.section-chat__head{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.section-chat__head h3{margin:0}.chat-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.45rem;align-items:center}.chat-search input{width:100%;min-width:0}.chat-search .ghost-button{min-height:2.35rem;padding:.46rem .7rem;white-space:nowrap}.chat-counter{align-self:flex-start;min-height:1.45rem;padding:.16rem .5rem;border-radius:999px;background:#dbeafee0;color:#1d4ed8;font-size:.72rem;font-weight:850;line-height:1.15}.section-chat__list{display:grid;align-content:start;gap:.42rem;flex:1 1 auto;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;touch-action:pan-y;border:1px solid rgba(20,33,61,.08);border-radius:16px;background:linear-gradient(135deg,#d2f4efd1,#ecfdf5bd),linear-gradient(180deg,#ffffff2e,#14b8a614);padding:.75rem;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}.chat-load-more{justify-self:center;min-height:2.2rem;padding:.42rem .72rem;border:1px solid rgba(15,118,110,.18);border-radius:999px;background:#ffffffe6;color:#0f766e;font-size:.78rem;font-weight:850;box-shadow:none}.section-chat__empty,.section-chat__readonly{margin:0;color:#6b7280}.section-chat__message{position:relative;display:grid;gap:.16rem;justify-self:start;max-width:min(680px,82%);min-width:min(180px,100%);border:1px solid rgba(20,33,61,.06);border-radius:16px 16px 16px 4px;background:#fffffff0;padding:.42rem .62rem .36rem;box-shadow:0 2px 9px #14213d14}.section-chat__message--mine{justify-self:end;border-color:#10b98129;border-radius:16px 16px 4px;background:linear-gradient(135deg,#ccfbf1fa,#d1fae5f0)}.section-chat__meta{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;color:#64748b;font-size:.68rem;line-height:1.15;order:2}.section-chat__meta strong{color:#0f766e;font-size:.72rem;font-weight:800}.section-chat__meta time{margin-left:auto;opacity:.72}.section-chat__message p{margin:0;white-space:pre-wrap;word-break:break-word;color:#14213d;font-size:.94rem;line-height:1.32}.chat-read-receipts{justify-self:end;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f766e;font-size:.7rem;font-weight:750;opacity:.82}.section-chat__composer{position:relative;display:grid;gap:.35rem;z-index:3;flex:0 0 auto;min-width:0}.section-chat__form{display:grid;grid-template-columns:2.55rem minmax(0,1fr) 2.75rem;gap:.38rem;align-items:end;border:1px solid rgba(15,118,110,.18);border-radius:18px;background:#ecfdf5f5;padding:.32rem;box-shadow:0 12px 28px #0f766e29}.section-chat__form textarea{min-height:2.55rem;max-height:7.5rem;border:0;border-radius:14px;background:#fffffff0;padding:.66rem .72rem;resize:none}.section-chat__form .chat-send-button{display:grid;place-items:center;width:2.75rem;height:2.75rem;min-width:2.75rem;padding:0;border-radius:999px;background:#0d9488;color:#fff;font-size:0;box-shadow:0 8px 18px #0d948847}.section-chat__form .chat-send-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.section-chat__form .chat-send-button:before{content:"";width:0;height:0;border-top:.44rem solid transparent;border-bottom:.44rem solid transparent;border-left:.78rem solid currentColor;transform:translate(.08rem)}.chat-emoji-toggle{display:grid;place-items:center;width:2.55rem;height:2.55rem;min-width:2.55rem;padding:0;border:1px solid rgba(15,118,110,.2);border-radius:999px;background:#ffffffe6;color:#0f766e;font-size:1.3rem;line-height:1}.chat-emoji-toggle--open{background:#ccfbf1;color:#115e59}.chat-emoji-panel{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.28rem;width:min(100%,420px);justify-self:start;border:1px solid rgba(15,118,110,.16);border-radius:16px;background:#f0fdfafa;padding:.42rem;box-shadow:0 12px 24px #0f766e24}.chat-emoji-panel button{display:grid;place-items:center;min-width:0;width:100%;aspect-ratio:1;padding:0;border:1px solid rgba(15,118,110,.12);border-radius:12px;background:#ffffffeb;color:#14213d;font-size:1.18rem}.service-chat-page{display:flex;flex-direction:column;max-width:860px;width:100%;margin:0 auto;height:calc(100dvh - 9.5rem);min-height:420px;min-width:0}.section-chat-page,.shell--chat-screen .service-chat-page{max-width:920px;width:min(100%,920px);margin:0 auto}.shell--chat-screen .content{min-height:0}.shell--chat-screen .service-chat-page,.section-chat-page .section-chat{height:calc(100dvh - 1.25rem);min-height:0}.chat-page-header{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.62rem}.chat-page-header h2,.chat-page-header h3{margin:0}.chat-back-button{display:grid;place-items:center;width:2.65rem;height:2.65rem;min-width:2.65rem;padding:0;border:1px solid rgba(20,33,61,.14);border-radius:999px;background:#fffffff0;color:#14213d;box-shadow:0 8px 20px #14213d1f}.chat-back-button span{width:.78rem;height:.78rem;border-left:3px solid currentColor;border-bottom:3px solid currentColor;transform:rotate(45deg) translate(2px,-2px)}.service-chat__list{display:grid;align-content:start;gap:.42rem;flex:1 1 auto;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;touch-action:pan-y;border:1px solid rgba(20,33,61,.08);border-radius:16px;background:linear-gradient(135deg,#d2f4efdb,#ecfdf5c7),linear-gradient(180deg,#ffffff2e,#14b8a614);padding:.75rem;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}.service-chat__message{position:relative;display:grid;gap:.16rem;justify-self:start;max-width:min(620px,82%);width:fit-content;min-width:min(180px,100%);border:1px solid rgba(20,33,61,.06);border-radius:16px 16px 16px 4px;background:#fffffff0;padding:.42rem .62rem .36rem;box-shadow:0 2px 9px #14213d14}.service-chat__message--mine{justify-self:end;border-color:#10b98129;border-radius:16px 16px 4px;background:linear-gradient(135deg,#ccfbf1fa,#d1fae5f0)}.service-chat__message p{margin:0;white-space:pre-wrap;word-break:break-word;color:#14213d;font-size:.94rem;line-height:1.32}.service-chat__composer{position:relative;display:grid;gap:.35rem;flex:0 0 auto;min-width:0}.service-chat__emoji-row{display:flex;gap:.35rem;overflow-x:auto;padding-bottom:.1rem}.service-chat__emoji-row button{display:grid;place-items:center;flex:0 0 auto;width:2.25rem;height:2.25rem;border:1px solid rgba(20,33,61,.1);border-radius:999px;background:#ffffffd6;color:#14213d;padding:0;font-size:1.1rem}@media(max-width:620px){.section-chat{height:calc(100dvh - 12.5rem);min-height:360px}.service-chat-page{height:calc(100dvh - 10.5rem);min-height:360px}.shell--chat-screen .service-chat-page,.section-chat-page .section-chat{height:calc(100dvh - 1.1rem);min-height:0}.section-chat__list,.service-chat__list{border-radius:18px;padding:.55rem}.chat-search,.section-history-filters{grid-template-columns:1fr}.section-chat__message,.service-chat__message{max-width:88%}.section-chat__form{grid-template-columns:2.45rem minmax(0,1fr) 2.65rem}.section-chat__composer,.service-chat__composer{padding-bottom:max(.35rem,env(safe-area-inset-bottom))}.chat-emoji-panel{grid-template-columns:repeat(8,minmax(0,1fr));width:100%}.floating-chat-button{max-width:min(82vw,230px);min-height:3rem;padding:.54rem .66rem}.floating-chat-button__label{font-size:.82rem}.floating-home-button{top:max(4.6rem,calc(env(safe-area-inset-top) + 4.35rem));min-height:2.45rem;padding:.48rem .68rem;font-size:.76rem}}.maint-tab{display:grid;gap:1rem}.maint-tab-toolbar{display:flex;justify-content:flex-end}.maint-form{display:grid;gap:.85rem}.maint-form-actions{display:flex;gap:.5rem;justify-content:flex-end;margin-top:.25rem}.maint-type-row{display:flex;gap:1.5rem}.maint-radio-label{display:flex;flex-direction:row;align-items:center;gap:.4rem;cursor:pointer}.maint-radio-label input[type=radio]{width:auto;border:none;background:none;padding:0}.maint-list{display:grid;gap:.75rem}.maint-task-card{border:1px solid rgba(20,33,61,.1);border-radius:20px;background:#fffcf5d6;padding:1rem 1.1rem;display:grid;gap:.75rem;box-shadow:0 4px 16px #14213d0f}.maint-urgency-overdue{border-color:#ef444466;background:#fee2e299;animation:statusPulse 2s ease-in-out infinite}.maint-urgency-soon{border-color:#eab30873;background:#fef9c3b3}.maint-urgency-ok{border-color:#14213d1a}.maint-urgency-done{border-color:#14213d12;background:#f3f4f699;opacity:.72}.maint-task-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.maint-task-info{display:grid;gap:.3rem;flex:1}.maint-task-title{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.maint-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.maint-dot-overdue{background:#ef4444}.maint-dot-soon{background:#eab308}.maint-dot-ok{background:#a3a3a3}.maint-dot-done{background:#6ee7b7}.maint-badge-done{font-size:.75rem;padding:.15rem .6rem;border-radius:999px;background:#d1fae5;color:#065f46;font-weight:600}.maint-task-meta{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;font-size:.85rem;color:#6b7280}.maint-meta-sep{opacity:.4}.maint-days-label{font-weight:600;font-size:.82rem}.maint-days-overdue{color:#dc2626}.maint-days-soon{color:#b45309}.maint-days-ok{color:#374151}.maint-type-badge{padding:.1rem .5rem;border-radius:999px;background:#14213d12;font-size:.78rem}.maint-task-desc{margin:.1rem 0 0;font-size:.88rem;color:#4b5563;white-space:pre-wrap}.maint-completion-summary{display:grid;gap:.25rem;padding:.65rem .75rem;border:1px solid rgba(16,185,129,.2);border-radius:8px;background:#ecfdf5b8;color:#064e3b;font-size:.88rem}.maint-completion-summary p{margin:0;color:#14532d;white-space:pre-wrap}.maint-completion-summary small{color:#047857}.maint-task-actions{display:flex;flex-direction:column;gap:.4rem;flex-shrink:0}.maint-task-actions .ghost-button{padding:.5rem .9rem;font-size:.85rem;text-align:center}.maint-delete-btn{color:#991b1b;border-color:#ef44444d!important}.maint-delete-btn:hover{background:#fee2e2b3!important}.maint-logs,.maint-notes{border-top:1px solid rgba(20,33,61,.08);padding-top:.75rem;display:grid;gap:.5rem}.maint-note-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem;align-items:end}.maint-note-form textarea{min-height:2.75rem;resize:vertical}.maint-note-form button{min-height:2.75rem}.section-card__maint-alert{display:inline-block;font-size:.75rem;font-weight:600;padding:.2rem .55rem;border-radius:999px;background:#eab30840;color:#78350f;margin-top:.2rem;border:1px solid rgba(234,179,8,.4)}.stats-page{gap:1rem}.stats-periods{display:flex;flex-wrap:wrap;gap:.45rem}.stats-period{background:#14213d14;color:#14213d;padding:.5rem 1rem}.stats-period--active{background:#1d4ed8;color:#fff;font-weight:700}.stats-grid{display:grid;gap:.75rem}.stats-grid--summary{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}.stats-grid--aging{grid-template-columns:repeat(3,minmax(160px,1fr))}.stats-grid--two{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}.stats-grid--state-flow{grid-template-columns:minmax(260px,.55fr) minmax(520px,1.45fr);align-items:stretch}.stats-card{display:grid;gap:.18rem;min-height:86px;align-content:center;border:1px solid rgba(20,33,61,.1);border-radius:14px;background:#ffffffad;padding:.78rem .95rem}.stats-card>.eyebrow{margin-bottom:.1rem}.stats-card strong{color:#14213d;font-size:1.55rem;line-height:1.05}.stats-card span{color:#6b7280;font-size:.78rem}.stats-card--danger{border-color:#ef444447;background:#fee2e285}.stats-card--warning{border-color:#eab30852;background:#fef9c38c}.stats-insights ul{display:grid;gap:.55rem;margin:.85rem 0 0;padding-left:1.1rem;color:#374151}.stats-status-list,.stats-stage-list,.stats-top-list{display:grid;gap:.55rem;margin-top:.85rem}.stats-status-row,.stats-stage-row,.stats-top-list li{display:grid;align-items:center;gap:.75rem;border:1px solid rgba(20,33,61,.08);border-radius:14px;background:#ffffff94;padding:.75rem .9rem}.stats-status-row{grid-template-columns:14px minmax(0,1fr) auto}.stats-status-dot{width:12px;height:12px;border:1px solid rgba(20,33,61,.14);border-radius:999px}.stats-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}.stats-panel-head span{color:#6b7280;font-size:.86rem}.stats-section-note{margin:.35rem 0 0;color:#6b7280;font-size:.86rem}.stats-stage-row{grid-template-columns:minmax(190px,1.2fr) minmax(140px,2fr) minmax(70px,auto)}.stats-stage-row>div:first-child{display:grid;gap:.15rem}.stats-stage-row span{color:#6b7280;font-size:.83rem}.stats-stage-meter{height:9px;overflow:hidden;border-radius:999px;background:#14213d14}.stats-stage-meter i{display:block;height:100%;min-width:9px;border-radius:inherit;background:#1d4ed8}.stats-top-list{padding-left:0;list-style:none}.stats-top-list li{grid-template-columns:minmax(0,1fr) auto}.stats-top-section{color:#6b7280;font-size:.86rem}.stats-maint-grid{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:.75rem;margin-top:.85rem}.stats-empty{min-height:120px;display:grid;place-items:center;margin:.85rem 0 0;border:1px dashed rgba(20,33,61,.16);border-radius:16px;color:#6b7280;text-align:center}.stats-chart-note{margin:.45rem 0 0;color:#6b7280;font-size:.82rem}.stats-section-load__list{display:grid;gap:.65rem;margin-top:.9rem}.stats-section-load__row{display:grid;grid-template-columns:2.2rem minmax(190px,1fr) repeat(4,minmax(72px,auto));gap:.75rem;align-items:center;border:1px solid rgba(20,33,61,.08);border-radius:14px;background:#ffffff9e;padding:.7rem .85rem}.stats-section-load__row--warning{border-color:#eab30847;background:#fffbebb8}.stats-section-load__row--danger{border-color:#ef444438;background:#fef2f2b8}.stats-section-load__rank{display:grid;place-items:center;width:2rem;height:2rem;border-radius:10px;background:#14213d14;color:#14213d;font-weight:800}.stats-section-load__main{display:grid;gap:.18rem;min-width:0}.stats-section-load__main a{color:#14213d;font-weight:800;text-decoration:none}.stats-section-load__main span,.stats-section-load__numbers span{color:#6b7280;font-size:.78rem}.stats-section-load__meter{height:7px;overflow:hidden;border-radius:999px;background:#14213d14}.stats-section-load__meter i{display:block;height:100%;min-width:7px;border-radius:inherit;background:#1d4ed8}.stats-section-load__numbers{display:grid;justify-items:end;gap:.1rem;min-width:0;text-align:right}.stats-section-load__numbers strong{color:#14213d;font-size:1.15rem}.smart-scroll{position:fixed;right:max(1.25rem,calc(env(safe-area-inset-right) + .8rem));top:50%;z-index:60;display:grid;justify-items:center;align-items:center;gap:.18rem;padding:.52rem .42rem;border:1px solid rgba(20,33,61,.08);border-radius:999px;background:#ffffffdb;box-shadow:0 20px 42px #14213d29,0 0 0 1px #ffffffb8 inset;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transform:translateY(-50%);transition:opacity .18s ease,transform .18s ease}.smart-scroll__button{display:grid;place-items:center;width:2.55rem;height:2.45rem;padding:0;border:0;border-radius:999px;background:transparent;color:#14213d;box-shadow:none;transition:transform .16s ease,background-color .16s ease,color .16s ease,opacity .16s ease}.smart-scroll__button:hover{background:#14213d14;transform:translateY(-1px)}.smart-scroll__button:disabled{opacity:.3}.smart-scroll__button:disabled:hover{background:transparent;transform:none}.smart-scroll__button:active{transform:translateY(1px)}.smart-scroll__button--middle{width:2.2rem;height:2.1rem}.smart-scroll__mark{display:grid;place-items:center;width:1.34rem;height:1.34rem;border-top:2px solid rgba(20,33,61,.68);border-bottom:2px solid rgba(20,33,61,.68)}.smart-scroll__mark:before{content:"";width:.44rem;height:.44rem;border-radius:999px;background:#14213d}.smart-scroll__icon{width:.72rem;height:.72rem;border-right:3px solid currentColor;border-bottom:3px solid currentColor}.smart-scroll__icon--up{transform:translateY(.16rem) rotate(225deg)}.smart-scroll__icon--down{transform:translateY(-.16rem) rotate(45deg)}@media(max-width:720px){.shell{padding:1rem}.topbar,.page-header{align-items:start;flex-direction:column}.topbar-user{flex-wrap:wrap;align-items:flex-start;width:100%;white-space:normal}.admin-layout--users,.role-guide__columns,.role-picker__grid{grid-template-columns:1fr}.user-row__scope{max-width:100%;white-space:normal}.stats-stage-row,.stats-grid--aging,.stats-grid--state-flow,.stats-maint-grid,.stats-section-load__row{grid-template-columns:1fr}.stats-section-load__rank,.stats-section-load__numbers{justify-items:start;text-align:left}.push-control{align-items:flex-start;flex-direction:column}.push-control__reason{max-width:min(100%,14rem)}.mobile-release-panel{align-items:flex-start;flex-direction:column}.mobile-release-panel__empty{white-space:normal}.mobile-update-card{grid-template-columns:1fr}.mobile-update-card button{width:100%}.smart-scroll{right:max(.85rem,calc(env(safe-area-inset-right) + .65rem));top:auto;bottom:max(4.15rem,calc(env(safe-area-inset-bottom) + 4.15rem));padding:.34rem .28rem;gap:.08rem;opacity:0;pointer-events:none;transform:translate(.55rem) scale(.8)}.smart-scroll:hover,.smart-scroll:focus-within,.smart-scroll.smart-scroll--visible{opacity:.92;pointer-events:auto;transform:translate(0) scale(.92)}.smart-scroll__button{width:2.12rem;height:2.02rem}.smart-scroll__button--middle{width:1.92rem;height:1.82rem}.smart-scroll__mark{width:1.08rem;height:1.08rem}.smart-scroll__mark:before{width:.34rem;height:.34rem}.layout-fields,.layout-editor__body,.layout-row,.layout-toolbar{grid-template-columns:1fr}.layout-canvas{width:100%;height:min(520px,62dvh)}.layout-preview-grid{grid-template-columns:repeat(6,minmax(34px,1fr))}.layout-side-list{max-height:38dvh}}.topbar{grid-template-columns:minmax(12.5rem,auto) auto minmax(9.5rem,auto) auto;gap:.5rem;padding:.34rem .58rem;min-height:3.05rem}.topbar-brand,.topbar .nav,.topbar-chat-slot,.topbar-user{grid-row:1}.topbar-brand{align-items:center;grid-column:1}.topbar h1{font-size:.96rem}.topbar-brand .eyebrow{max-width:10.6rem;font-size:.48rem;letter-spacing:.08em}.topbar .nav{grid-column:2;gap:.3rem}.topbar-chat-slot{grid-column:3;justify-content:center}.topbar-user{grid-column:4;justify-content:flex-end}.topbar .nav a,.topbar-user>.ghost-button,.topbar-user>button,.topbar-user>a,.topbar-user .push-button,.topbar-user .sound-switch{min-height:1.9rem;padding:.3rem .52rem;font-size:.78rem;line-height:1.05}.topbar .nav a{min-width:5.4rem;border-radius:999px}.topbar .floating-chat-button{min-height:2.2rem;max-width:10.5rem;padding:.34rem .58rem;gap:.34rem}.topbar .floating-chat-button__icon{width:1.05rem;height:.84rem;border-width:2px}.topbar .floating-chat-button__icon:after{left:.2rem;bottom:-.3rem;width:.34rem;height:.34rem}.topbar .floating-chat-button__label{font-size:.74rem}.topbar-user{gap:.3rem}.topbar-user .sound-switch{gap:.32rem}.topbar-user .sound-switch__track{width:34px;height:20px}.topbar-user .sound-switch__thumb{width:14px;height:14px}.topbar-user .sound-switch--enabled .sound-switch__thumb{transform:translate(14px)}@media(max-width:620px){.topbar{grid-template-columns:1fr auto;gap:.42rem;padding:.5rem}.topbar-brand{grid-column:1 / 2;grid-row:1;align-items:center;gap:.38rem}.topbar h1{font-size:1.08rem}.topbar-brand .eyebrow{max-width:7.8rem;font-size:.5rem}.topbar .nav{grid-column:1 / -1;grid-row:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem}.topbar-chat-slot{grid-column:2 / -1;grid-row:3;justify-content:flex-end}.topbar .nav a,.topbar-user>.ghost-button,.topbar-user>button,.topbar-user>a,.topbar-user .push-button,.topbar-user .sound-switch{min-height:1.75rem;padding:.25rem .38rem;font-size:.73rem}.topbar .nav a{min-width:0;width:100%;min-height:2.05rem;font-size:.82rem}.topbar-user{grid-column:1 / -1;grid-row:4;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.25rem}.topbar-user>span:first-child{grid-column:1 / 2;align-self:center}}.settings-menu{position:relative;z-index:1220}.settings-menu__backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;width:auto;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:#0f172a38;color:transparent;box-shadow:none;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.settings-menu__panel{position:fixed;top:max(3.85rem,calc(env(safe-area-inset-top) + 3.55rem));right:max(.7rem,env(safe-area-inset-right));z-index:1210;display:grid;gap:.5rem;width:min(92vw,300px);max-height:calc(100dvh - 4.8rem - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;padding:.72rem;border:1px solid rgba(20,33,61,.16);border-radius:14px;background:#fffcf5;color:#14213d;box-shadow:0 26px 64px #0f172a57,0 0 0 1px #ffffffb8 inset;isolation:isolate;-webkit-backdrop-filter:none;backdrop-filter:none}.topbar-user .settings-menu .settings-row,.topbar-user .settings-menu .settings-action,.topbar-user .settings-menu .hold-logout{width:100%;min-height:2.42rem;padding:.48rem .58rem;border:1px solid rgba(20,33,61,.12);border-radius:10px;background:#fff;color:#14213d;font-size:.84rem;line-height:1.12;box-shadow:none}.topbar-user .settings-menu .settings-row{display:flex;align-items:center;justify-content:space-between;gap:.65rem}.topbar-user .settings-menu .settings-row--select select{width:auto;min-width:7.2rem;min-height:2.05rem;padding:.35rem .55rem;border-radius:8px}.topbar-user .settings-menu .sound-switch{min-height:2.42rem;gap:.65rem;font-weight:800}.topbar-user .settings-menu .sound-switch__track{width:46px;height:26px}.topbar-user .settings-menu .sound-switch__thumb{width:20px;height:20px}.topbar-user .settings-menu .sound-switch--enabled .sound-switch__thumb{transform:translate(20px)}:root[data-theme=dark] .settings-menu__backdrop{background:#02061785}:root[data-theme=dark] .settings-menu__panel{border-color:#e2e8f029;background:#111827;color:#e5e7eb;box-shadow:0 26px 64px #00000080,0 0 0 1px #ffffff0f inset}:root[data-theme=dark] .topbar-user .settings-menu .settings-row,:root[data-theme=dark] .topbar-user .settings-menu .settings-action,:root[data-theme=dark] .topbar-user .settings-menu .hold-logout{border-color:#e2e8f029;background:#1f2937;color:#e5e7eb}@media(max-width:620px){.settings-menu{position:static}.settings-menu__panel{top:auto;right:max(.55rem,env(safe-area-inset-right));bottom:max(.55rem,env(safe-area-inset-bottom));left:max(.55rem,env(safe-area-inset-left));width:auto;max-height:min(74dvh,430px);padding:.62rem;border-radius:18px}}
