/* Independent Kystkontroll shell; existing operational screens keep their IDs. */
body.kyst-modern{display:block;--kyst-muted:#66758b;--kyst-border:#dfe7ef}
.kyst-modern aside,.kyst-modern .entityhead,.kyst-modern .menuToggle{display:none!important}
body.kyst-modern main,body.kyst-modern.navClosed main{margin:0!important;padding:0 42px 48px;max-width:1600px;margin-inline:auto!important;min-width:0}
.kyst-modern .top{display:flex;align-items:center;flex-wrap:wrap;gap:16px;min-height:88px;border:0;padding:18px 0}
.kyst-modern .top>span,.kyst-modern .top>.pill{display:none}.kyst-modern .top>div:not(.toptools){max-width:none;display:flex;align-items:center;gap:12px}
.kyst-modern .top #vesselPicker{margin-left:auto}.kyst-modern .top select{padding:9px 12px;border-radius:9px;min-height:40px;max-width:210px;font-size:13px}
.kyst-modern .top button:not(.kyst-brand){min-height:38px}.kyst-modern .toptools{margin-left:0}.kyst-modern .top a{font-size:12px}
.kyst-modern button.kyst-brand{padding:13px 19px;background:#162249;border:0;border-radius:12px;margin-right:auto;flex-shrink:0}.kyst-brand .brand-logo{width:205px;height:auto}
.kyst-navigation{display:flex;gap:8px;border-bottom:1px solid var(--kyst-border);padding:0 0 16px;margin-bottom:18px;position:relative;z-index:15;align-items:center}
.kyst-navigation>button,.kyst-navigation>details>summary{padding:10px 15px;border-radius:9px;border:0;background:transparent;font-size:14px;font-weight:600;min-height:42px;list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px}
.kyst-navigation details{position:relative;border:0;margin:0;padding:0}.kyst-navigation details>summary:before{display:none}.kyst-navigation details>summary:after{content:'⌄';font-size:15px}.kyst-navigation details>div{position:absolute;top:calc(100% + 6px);left:0;min-width:240px;border:1px solid var(--kyst-border);border-radius:13px;padding:8px;background:#fff;box-shadow:0 15px 40px #16224918}.kyst-navigation details>div button{display:block;width:100%;text-align:left;background:none;border:0;padding:12px;border-radius:7px;color:inherit;font-size:14px}
html:not(.night-mode) .kyst-navigation button:hover,html:not(.night-mode) .kyst-navigation details[open]>summary{background:#e4edf6;color:#162249}
.kyst-modern .cloud-status{border:1px solid var(--kyst-border);border-radius:10px;margin:0 0 20px;padding:10px 14px;font-size:12px}.kyst-modern .cloud-status .secondary{font-size:12px;padding:6px 9px}
.kyst-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:22px 0 30px}.kyst-kicker{font-size:10px!important;letter-spacing:1.8px;font-weight:700;margin:0 0 12px!important;color:var(--kyst-muted)}
.kyst-hero h1{font-size:42px;text-transform:none;font-weight:700;letter-spacing:-1.5px;margin:0 0 9px;line-height:1.1}.kyst-hero p{margin:0;font-size:14px;color:var(--kyst-muted)}.kyst-hero-divider{padding:0 10px;color:#aeb9c6}.kyst-vessel-state{display:flex;gap:14px;align-items:center;font-size:12px}.kyst-vessel-state>span{font-weight:600}.kyst-vessel-state .secondary{background:#fff;border:1px solid var(--kyst-border);border-radius:9px;padding:11px 13px}
.kyst-modules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start;margin-bottom:24px}.kyst-module{margin:0;padding:0;border:1px solid var(--kyst-border);border-radius:17px;overflow:hidden;background:#fff;box-shadow:0 5px 20px #16224904}
.kyst-module>summary{padding:26px 22px;display:flex;align-items:flex-start;gap:14px;background:transparent!important;border:0;min-height:170px;cursor:pointer;color:inherit}.kyst-module>summary:before{display:none}.kyst-module-icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;flex-shrink:0;background:#edf4fc;color:#204e84}.kyst-module:nth-child(2) .kyst-module-icon{background:#e5f4ee;color:#287963}.kyst-module:nth-child(3) .kyst-module-icon{background:#f4edfc;color:#7150a2}
.kyst-icon{width:24px;height:24px;display:inline-block;flex-shrink:0;vertical-align:middle}.kyst-module-copy{display:flex;flex-direction:column;gap:9px;min-width:0}.kyst-module-copy>strong{font-size:19px;color:#162249;line-height:1.2}.kyst-module-copy small{font-size:12px;color:var(--kyst-muted);line-height:1.5}.kyst-expand{margin-left:auto;font-size:22px;font-weight:400;color:#8392a6}.kyst-module[open] .kyst-expand{transform:rotate(45deg)}
.kyst-status{font-size:11px;border-radius:20px;padding:6px 9px;width:fit-content;margin-top:6px;font-weight:600}.kyst-status.overdue{background:#fff0ed;color:#a03c2d}.kyst-status.upcoming{background:#fff5dc;color:#8a6111}.kyst-status.neutral{background:#eff3f8;color:#66758b}
.kyst-module-links{padding:0 14px 14px}.kyst-module-links button{display:flex;justify-content:space-between;align-items:center;background:transparent;border:0;border-top:1px solid var(--kyst-border);padding:13px 9px;width:100%;text-align:left;font-size:14px;color:#204e84}.kyst-module-links .kyst-icon{width:17px;height:17px}
.kyst-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 38px}.kyst-quick-action{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid var(--kyst-border);background:#fff;border-radius:13px;padding:18px;color:#162249;min-width:0}.kyst-quick-action>span{display:flex;flex-direction:column;gap:5px;flex:1}.kyst-quick-action strong{font-size:14px}.kyst-quick-action small{font-size:11px;color:var(--kyst-muted)}.kyst-quick-action .passenger-front-count{min-width:40px;padding:9px 12px;border-radius:10px;background:#dff3fe;color:#162249;font-size:20px;text-align:center}
.kyst-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.kyst-section-head h2{font-size:24px;letter-spacing:-.5px;margin:0}.kyst-section-head>span{font-size:12px;color:var(--kyst-muted)}.kyst-modern .hub-due{border-radius:16px;box-shadow:none;padding:24px;border:1px solid var(--kyst-border)}.kyst-modern .mini-tabs{gap:5px;flex-wrap:wrap;border:0}.kyst-modern .mini-tabs button{border:0;border-radius:8px;padding:10px 14px;background:transparent}.kyst-modern .mini-tabs button.selected{background:#e7f0fa;color:#162249}.kyst-modern .hub-due-filters{gap:15px;margin-top:20px}.kyst-modern th{background:#f5f7fa;font-size:11px;text-transform:uppercase;letter-spacing:.5px;padding:14px 12px}.kyst-modern td{padding:14px 12px}.kyst-modern .card{border-radius:13px;box-shadow:none}.kyst-modern .primary,.kyst-modern .secondary{border-radius:8px}.kyst-modern .intro h1{font-size:28px;font-weight:600;text-transform:none;letter-spacing:-.6px}.kyst-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:22px 0;color:var(--kyst-muted);font-size:12px}.kyst-breadcrumb button{background:none;border:0;padding:0;color:#204e84;font-size:12px}.kyst-modern dialog{border-radius:16px;border-width:1px;padding:25px}.kyst-modern dialog h2{font-weight:600;text-transform:none}.kyst-modern dialog form{border-radius:10px}.kyst-bottom{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}.kyst-information{border:1px solid var(--kyst-border);border-radius:12px;margin:0;align-self:start;overflow:hidden}.kyst-information>summary{padding:17px;background:transparent;border:0;font-weight:600;font-size:13px}.kyst-information .card{border:0;padding:16px}.kyst-information .hubbar{flex-wrap:wrap;margin:0;padding:14px}.kyst-information .hubbar>*{flex:auto}.kyst-modern main>.notice{display:none}
html:not(.night-mode) .kyst-modern .kyst-module:hover,html:not(.night-mode) .kyst-quick-action:hover{border-color:#a5bdd5;box-shadow:0 7px 24px #16224909}html:not(.night-mode) body.kyst-modern{background:#f5f7fb}
@media(min-width:851px){.kyst-modern .top>div:not(.toptools){max-width:none}}
@media(max-width:1100px){body.kyst-modern main{padding:0 24px 35px}.kyst-module>summary{padding:20px 16px;gap:10px}.kyst-module-copy>strong{font-size:17px}.kyst-module-icon{width:35px;height:35px}.kyst-navigation{gap:2px}.kyst-navigation>button,.kyst-navigation>details>summary{padding:10px}.kyst-vessel-state{flex-direction:column;align-items:end}.kyst-quick-action{padding:15px;gap:9px}}
@media(max-width:760px){body.kyst-modern main{padding:0 16px 30px}.kyst-modern .top{gap:10px}.kyst-brand .brand-logo{width:165px}.kyst-modern button.kyst-brand{padding:12px 14px}.kyst-modern .top select{max-width:170px}.kyst-modern .top>div:not(.toptools){flex-wrap:wrap}.kyst-navigation{flex-wrap:wrap;gap:3px}.kyst-navigation>button,.kyst-navigation>details>summary{font-size:12px;padding:8px 10px}.kyst-navigation details>div{min-width:210px;max-width:calc(100vw - 32px)}.kyst-navigation details:nth-last-child(-n+2)>div{left:auto;right:0}.kyst-hero{padding:18px 0 25px;align-items:start}.kyst-hero h1{font-size:34px}.kyst-hero p{font-size:12px}.kyst-vessel-state{font-size:11px}.kyst-vessel-state .secondary{font-size:11px}.kyst-modules{grid-template-columns:1fr;gap:12px}.kyst-module>summary{min-height:0;padding:20px}.kyst-module-copy{gap:5px}.kyst-module-copy>strong{font-size:19px}.kyst-module-icon{width:42px;height:42px}.kyst-status{margin-top:5px}.kyst-quick{grid-template-columns:1fr;margin-bottom:28px;gap:10px}.kyst-bottom{grid-template-columns:1fr}.kyst-section-head{align-items:start;flex-direction:column;gap:8px}.kyst-modern .hub-due{padding:15px}.kyst-modern .cloud-status{align-items:start;gap:10px}.kyst-modern dialog{padding:15px;border-radius:12px}.kyst-modern .hub-due-filters{grid-template-columns:1fr}.kyst-modern .mini-tabs button{font-size:12px;padding:9px}.kyst-modern .toptools{margin-left:auto}.kyst-hero-divider{padding:0 4px}}
@media print{.kyst-navigation,.kyst-brand,.kyst-breadcrumb,.kyst-quick{display:none!important}.kyst-modern main{padding:0!important}.kyst-modules{display:none}}
.kyst-modern nav.kyst-navigation{justify-content:flex-start;min-height:0;margin-top:0;flex-direction:row}
.kyst-modern nav.kyst-navigation>button{width:auto;margin:0;color:#162249;flex:0 0 auto}
.kyst-modern nav.kyst-navigation>details{flex:0 0 auto}.kyst-modern nav.kyst-navigation>details>summary{white-space:nowrap}
html:not(.night-mode) .kyst-modern nav.kyst-navigation>button[aria-current=page]{background:#e4edf6;color:#162249}
@media(max-width:760px){.kyst-modern nav.kyst-navigation>details{position:relative}.kyst-modern nav.kyst-navigation>details>div{top:calc(100% + 6px);left:0;right:auto;min-width:0;width:280px;max-width:calc(100vw - 32px);box-sizing:border-box}.kyst-modern nav.kyst-navigation>details[open]{z-index:2}}
/* The legacy nav scroll container clipped absolutely positioned dropdowns. */
.kyst-modern nav.kyst-navigation{overflow:visible}

.kyst-module-links button{gap:10px}.kyst-module-links button>span:first-child{flex:1}.kyst-module-links .kyst-status{margin:0;white-space:nowrap}.kyst-navigation a.secondary{display:block;text-decoration:none;border:0;border-radius:0;background:transparent;padding:13px 12px;color:inherit;font:inherit}.kyst-navigation a.secondary:hover{background:var(--kyst-bg,#f4f7fc)}

.hub-upcoming{display:inline-block;background:#fff1cf;color:#805b12;padding:4px 6px;border-radius:4px}.kyst-module-copy .kyst-status+.kyst-status{margin-left:6px}

.storage-conflict{border:1px solid #c4d2e5;border-radius:8px;padding:14px;margin:14px 0}.storage-conflict-values{display:grid;grid-template-columns:1fr 1fr;gap:12px}.storage-conflict pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto;background:#fff;color:#17254a;padding:12px;font-size:12px}.storage-conflict small{overflow-wrap:anywhere}@media(max-width:650px){.storage-conflict-values{grid-template-columns:1fr}}

/* Two workspaces, same authorized vessel data and existing workflows. */
.kyst-navigation-mode{margin-left:auto}.kyst-mode{display:flex;gap:4px;padding:4px;border:1px solid var(--kyst-border);border-radius:12px;background:#fff}.kyst-mode button{min-height:42px;border:0;background:transparent;color:#344561;border-radius:8px;padding:10px 15px;font-size:13px;font-weight:600}.kyst-mode button[aria-pressed="true"]{background:#162249;color:#fff}.kyst-mode-label{font-size:12px;font-weight:600;margin:0;padding:10px}
.kyst-operation-actions,.kyst-office-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 24px}.kyst-operation-actions .kyst-quick-action{min-height:100px}.kyst-operation-actions strong{font-size:18px}.kyst-operation-actions small,.kyst-office-tools small{font-size:13px;line-height:1.5}.kyst-dashboard-support{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 24px}.kyst-now,.kyst-read-documents,.kyst-fleet{margin:0 0 24px;padding:24px}.kyst-document-links,.kyst-fleet-links,.kyst-office-account{display:flex;flex-wrap:wrap;gap:10px}.kyst-document-links button,.kyst-fleet-links button{min-height:46px}.kyst-fleet-links button[aria-pressed="true"]{border:2px solid #204e84}.kyst-due-row{display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:left;width:100%;background:transparent;color:inherit;border:0;border-top:1px solid var(--kyst-border);border-radius:0;padding:16px 0}.kyst-due-row>span:first-child{display:flex;flex-direction:column;gap:5px;min-width:0}.kyst-due-row strong{overflow-wrap:anywhere}.kyst-due-row small{font-size:12px;color:var(--kyst-muted)}.kyst-due-row .kyst-status{flex-shrink:0;margin:0}.kyst-office-account{margin:0 0 24px}.kyst-home .personal-approvals{margin-bottom:24px}.kyst-home h2{font-size:22px}.kyst-drift-home .kyst-hero{padding-top:12px}
@media(max-width:760px){.kyst-navigation-mode{width:100%;margin:8px 0 0}.kyst-mode button{flex:1}.kyst-mode{width:100%;box-sizing:border-box}.kyst-operation-actions,.kyst-office-tools{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kyst-operation-actions .kyst-quick-action,.kyst-office-tools .kyst-quick-action{flex-direction:column;align-items:flex-start;padding:16px 12px;min-height:125px}.kyst-operation-actions .kyst-quick-action>svg:last-child,.kyst-office-tools .kyst-quick-action>svg:last-child{display:none}.kyst-operation-actions strong{font-size:16px}.kyst-dashboard-support{grid-template-columns:1fr;gap:10px}.kyst-now,.kyst-read-documents,.kyst-fleet{padding:18px}.kyst-due-row{gap:10px}.kyst-due-row .kyst-status{font-size:10px}.kyst-fleet-links{flex-direction:column}.kyst-fleet-links button{text-align:left}.kyst-office-home .kyst-hero h1{font-size:30px}.kyst-document-links>*{flex:1 1 45%}}
html.night-mode .kyst-mode{background:#172338}html.night-mode .kyst-mode button{color:#d9e4f4}html.night-mode .kyst-mode button[aria-pressed="true"]{background:#365785}html.night-mode .kyst-quick-action{background:#172338;color:#d9e4f4}
@media print{.kyst-navigation-mode,.kyst-mode{display:none!important}}

.kyst-passenger-summary{display:flex;align-items:center;gap:20px;border:1px solid #a8cee5;border-radius:13px;background:#e6f5ff;color:#162249;padding:14px 18px;text-align:left;min-height:80px}.kyst-passenger-summary>span{font-size:16px;font-weight:600}.kyst-passenger-summary small{display:block;font-size:11px;font-weight:400;margin-top:6px}.kyst-passenger-summary strong{font-size:38px;line-height:1;min-width:48px;text-align:center}.kyst-vessel-state:has(.kyst-passenger-summary){flex-direction:column;align-items:end}@media(max-width:760px){.kyst-hero:has(.kyst-passenger-summary){flex-wrap:wrap}.kyst-vessel-state:has(.kyst-passenger-summary){width:100%;align-items:stretch}.kyst-passenger-summary{justify-content:space-between;width:100%;box-sizing:border-box}.kyst-passenger-summary strong{font-size:42px}}html.night-mode .kyst-passenger-summary{background:#172338;color:#e4edf6;border-color:#66758b}
/* Match workspace selectors and theme toggle to the site's other controls. */
.kyst-modern .top :is(#org,#vesselPicker,#night-mode-toggle){box-sizing:border-box;min-height:48px;border:1px solid var(--kyst-border,#dfe7ef);border-radius:12px;background-color:#fff;color:#19254f;font:500 15px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:none;padding:12px 15px;margin-block:0;transition:border-color .15s,background-color .15s}
.kyst-modern .top :is(#org,#vesselPicker){appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366758b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:38px;max-width:250px}
.kyst-modern .top :is(#org,#vesselPicker,#night-mode-toggle):hover{border-color:#a5bdd5;background-color:#f5f8fc}.kyst-modern .top :is(#org,#vesselPicker,#night-mode-toggle):focus-visible{outline:2px solid #204e84;outline-offset:3px}.kyst-modern .top #night-mode-toggle{white-space:nowrap;cursor:pointer}.kyst-modern .top>div:not(.toptools)>.pill{display:none}
@media(max-width:760px){.kyst-modern .top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"brand brand" "organization vessel" "theme tools";align-items:center;gap:12px;padding:16px 0}.kyst-modern .top>.kyst-brand{grid-area:brand;justify-self:start;margin-right:0}.kyst-modern .top>div:not(.toptools){display:contents}.kyst-modern .top #org{grid-area:organization}.kyst-modern .top #vesselPicker{grid-area:vessel;margin-left:0}.kyst-modern .top #night-mode-toggle{grid-area:theme}.kyst-modern .top :is(#org,#vesselPicker,#night-mode-toggle){width:100%;max-width:none;min-width:0;font-size:14px;text-overflow:ellipsis}.kyst-modern .top .toptools{grid-area:tools;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;max-width:100%;margin-left:0}.kyst-modern .top .toptools a{font-size:12px;overflow-wrap:anywhere}}
html.night-mode .kyst-modern .top :is(#org,#vesselPicker){appearance:auto;-webkit-appearance:auto}

/* Shared heading and action layout for certificate and crew dialogs. */
#modal .manual-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}#modal .manual-dialog-head>div{min-width:0}#modal .manual-dialog-head h2{margin:0;font-size:clamp(1.3rem,3vw,1.7rem);font-weight:650;line-height:1.3;overflow-wrap:anywhere;text-transform:none}#modal .kyst-dialog-kicker{margin:0 0 5px;font-size:.85rem;font-weight:600;color:#64748b}#modal .manual-dialog-head>button{flex:0 0 44px;width:44px;min-height:44px;margin:0;border:1px solid #a6bad2;border-radius:12px;background:#fff;color:#162249;font-size:26px;line-height:1;display:flex;align-items:center;justify-content:center}#modal .manual-dialog-head+.mini-tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}#modal .manual-dialog-head+.mini-tabs>button{border:1px solid #a6bad2;border-radius:10px;background:#fff;color:#162249;min-height:44px;padding:10px 16px;font:inherit}#modal .cert-actions{flex-wrap:wrap}#modal .cert-actions>button{min-height:44px;font:inherit}@media print{#modal .manual-dialog-head>button,#modal .cert-actions{display:none!important}}

#modal .manual-dialog-head.exercise-dialog-head{text-transform:none;padding-bottom:0}#modal .manual-dialog-head>button.kyst-dialog-print{width:auto;flex:0 0 auto;font:inherit;font-size:1rem;padding:10px 14px}#modal .manual-dialog-head .kyst-dialog-close span{font-size:28px;color:inherit}@media(max-width:650px){#modal .manual-dialog-head{gap:10px;flex-wrap:wrap}#modal .manual-dialog-head>div{flex:1 1 60%}#modal .manual-dialog-head .kyst-dialog-print{order:3}}

.kyst-operation{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.kyst-operation-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:#edf2f7;color:#475569;font-size:14px}.kyst-operation-badge::before{content:"";width:9px;height:9px;border-radius:50%;background:currentColor}.kyst-operation-badge.in{background:#e5f5ed;color:#24634a}.kyst-operation-badge.out{background:#fff0df;color:#825017}.kyst-operation>button{min-height:44px}@media(max-width:760px){.kyst-operation{justify-content:space-between;width:100%}}html.night-mode .kyst-operation-badge{background:#172338;color:#e4edf6}

/* Keep vessel particulars beside the vessel identity, above dashboard tasks. */
.kyst-hero>div:first-child{min-width:0}.kyst-hero>div>.kyst-information{margin-top:18px;min-width:260px;max-width:100%;box-sizing:border-box}.kyst-hero>div>.kyst-information .card{overflow-wrap:anywhere}
@media(max-width:760px){.kyst-hero>div:first-child{width:100%}.kyst-hero>div>.kyst-information{width:100%;min-width:0}}

/* A clear touch target to return from any module to the dashboard. */
.kyst-breadcrumb .kyst-back-home{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 15px;box-sizing:border-box;border:1px solid var(--kyst-border);border-radius:9px;background:#fff;color:#204e84;font-size:15px;font-weight:600;cursor:pointer}.kyst-back-home:focus-visible{outline:3px solid #2984a0;outline-offset:3px}
@media(max-width:760px){.kyst-breadcrumb .kyst-back-home{flex-basis:100%;justify-content:flex-start;margin-bottom:4px}.kyst-breadcrumb .kyst-back-home+span{display:none}}
html.night-mode .kyst-breadcrumb .kyst-back-home{background:#172338;color:inherit;border-color:#66758b}

.kyst-personal-controls{display:flex;justify-content:flex-end;margin:0 0 24px}.kyst-personal-controls button{min-height:44px}.kyst-personal-content{display:flex;flex-direction:column;gap:24px}.kyst-personal-content>[data-dashboard-card]{margin:0;width:100%;box-sizing:border-box}.kyst-personal-shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.kyst-personal-shortcuts h2{margin:0 0 16px}.kyst-personal-content .kyst-quick-action{min-width:0}.kyst-layout-group{border:1px solid #dfe7ef;border-radius:14px;padding:8px 16px;margin:24px 0}.kyst-layout-group legend{font-weight:650;padding:0 8px}.kyst-layout-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e2e8f0}.kyst-layout-row:last-child{border:0}.maintenance-modal .kyst-layout-row label{display:flex;align-items:center;gap:10px;margin:0;flex:1;min-width:0}.maintenance-modal .kyst-layout-row input{width:20px;height:20px;margin:0;flex:0 0 20px}.kyst-layout-row>div{display:flex;gap:6px}.kyst-layout-row button{min-width:44px;min-height:44px;padding:8px;border-radius:10px;border:1px solid #dfe7ef;background:#fff;color:#182348}.kyst-layout-row button:disabled{opacity:.35}.kyst-layout-editor p{line-height:1.6}.kyst-layout-editor .actions{display:flex;gap:10px;flex-wrap:wrap}#kyst-layout-error{color:#ad2c3d}.kyst-personal-content>.kyst-modules{display:grid}
@media(max-width:760px){.kyst-personal-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kyst-personal-shortcut-grid .kyst-quick-action{flex-direction:column;align-items:flex-start;padding:16px 12px;min-height:125px}.kyst-personal-shortcut-grid .kyst-quick-action>svg:last-child{display:none}.kyst-layout-group{padding:8px 12px}.kyst-layout-row{gap:8px}.kyst-personal-controls{justify-content:stretch}.kyst-personal-controls>button{width:100%}}
html.night-mode .kyst-layout-row button{background:#172338;color:inherit;border-color:#64748b}html.night-mode .kyst-layout-group{border-color:#64748b}

html.night-mode .kyst-layout-head .kk-icon:before{background:currentColor!important}.kyst-layout-row button{font-size:13px;min-width:48px}.kyst-layout-head h2{font-size:24px}

.kyst-hero .kyst-default-controls{justify-content:flex-start;margin:14px 0 0}.kyst-default-controls button{font-size:13px}@media(max-width:760px){.kyst-hero .kyst-default-controls>button{width:auto}}

.kyst-modern nav.kyst-navigation>button>.kyst-icon,.kyst-modern nav.kyst-navigation>details>summary>.kyst-icon{width:19px;height:19px;flex:0 0 19px;stroke-width:1.8;pointer-events:none}.kyst-navigation>button>span,.kyst-navigation>details>summary>span{white-space:nowrap}html:not(.night-mode) .kyst-modern nav.kyst-navigation>details>summary.kyst-nav-active{background:#e4edf6;color:#162249}html.night-mode .kyst-navigation>details>summary.kyst-nav-active{outline:1px solid currentColor;outline-offset:-1px}
@media(max-width:760px){.kyst-modern nav.kyst-navigation>button,.kyst-modern nav.kyst-navigation>details>summary{padding:8px;gap:5px;min-height:44px}.kyst-modern nav.kyst-navigation>button>.kyst-icon,.kyst-modern nav.kyst-navigation>details>summary>.kyst-icon{width:16px;height:16px;flex-basis:16px}}
