/* ATO Staff Portal — app shell (LC Syntegrity portal layout, ATO palette) */
:root {
	--p-side-1: #024430;
	--p-side-2: #011a12;
	--p-primary: #024430;
	--p-primary-2: #066a4c;
	--p-mint: #06d6a0;
	--p-gold: #ffd166;
	--p-gold-d: #e9b949;
	--p-red: #ef476f;
	--p-blue: #3a7bd5;
	--p-amber: #f4a261;
	--p-bg: #f3f6f5;
	--p-card: #ffffff;
	--p-line: #e3ebe7;
	--p-ink: #0b1f17;
	--p-text: #33463e;
	--p-muted: #6b7f76;
	--p-r: 12px;
	--p-shadow: 0 1px 2px rgba(1, 38, 27, .05), 0 4px 14px rgba(1, 38, 27, .05);
	--p-font: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
	--p-head: "Manrope", "Montserrat", system-ui, sans-serif;
	--p-side-w: 248px;
}
* { box-sizing: border-box; }
html, body.atosp-body { margin: 0; padding: 0; }
body.atosp-body { font-family: var(--p-font); font-size: 14.5px; line-height: 1.55; color: var(--p-text); background: var(--p-bg); -webkit-font-smoothing: antialiased; }
.atosp-body a { color: var(--p-primary-2); text-decoration: none; }
.atosp-body a:hover { color: var(--p-mint); }
.atosp-body h1, .atosp-body h2, .atosp-body h3, .atosp-body h4 { font-family: var(--p-head); color: var(--p-ink); margin: 0; line-height: 1.25; }
.atosp-i { flex: none; display: inline-block; vertical-align: middle; }
.atosp-muted { color: var(--p-muted); font-size: .88rem; }
.atosp-strong { font-weight: 700; color: var(--p-ink) !important; }
.atosp-hide-sm { display: inline; }

/* Layout */
.atosp-app { display: flex; min-height: 100vh; }
.atosp-sidebar { width: var(--p-side-w); flex: none; position: fixed; inset: 0 auto 0 0; background: linear-gradient(180deg, var(--p-side-1) 0%, var(--p-side-2) 100%); color: rgba(255,255,255,.78); display: flex; flex-direction: column; z-index: 50; transition: transform .25s; }
.atosp-main { flex: 1; margin-left: var(--p-side-w); min-width: 0; display: flex; flex-direction: column; }
.atosp-brand { display: block; padding: 22px 20px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.atosp-brand img { max-height: 46px; max-width: 170px; width: auto; filter: brightness(0) invert(1); display: block; }
.atosp-brand-text { font-family: var(--p-head); font-weight: 800; font-size: 1.35rem; color: #fff; letter-spacing: .04em; display: block; }
.atosp-brand-text::first-letter { color: var(--p-mint); }
.atosp-brand-sub { display: block; margin-top: 10px; font-family: var(--p-head); font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--p-gold); }
.atosp-nav { flex: 1; overflow-y: auto; padding: 8px 10px 14px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.atosp-nav-section { margin-top: 14px; }
.atosp-nav-title { display: block; padding: 0 10px 6px; font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.42); }
.atosp-nav-link { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 8px; color: rgba(255,255,255,.8) !important; font-size: .9rem; position: relative; transition: background .15s, color .15s; }
.atosp-nav-link:hover { background: rgba(255,255,255,.06); color: #fff !important; }
.atosp-nav-link.is-active { background: rgba(255,255,255,.1); color: #fff !important; font-weight: 700; }
.atosp-nav-link.is-active::before { content: ""; position: absolute; left: -10px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--p-gold); }
.atosp-nav-link .atosp-i { color: rgba(255,255,255,.6); }
.atosp-nav-link.is-active .atosp-i { color: var(--p-gold); }
.atosp-nav-badge { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 800; background: var(--p-gold); color: var(--p-side-2); border-radius: 999px; padding: 1px 7px; }
.atosp-userbox { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.12); }
.atosp-userbox-meta { flex: 1; min-width: 0; }
.atosp-userbox-meta strong { display: block; color: #fff; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atosp-userbox-meta small { color: rgba(255,255,255,.55); font-size: .74rem; display: block; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atosp-userbox a { color: rgba(255,255,255,.7) !important; padding: 4px; }
.atosp-userbox a:hover { color: var(--p-gold) !important; }
.atosp-powered { padding: 8px 14px 14px; font-size: .7rem; color: rgba(255,255,255,.45); text-align: center; background: rgba(0,0,0,.12); }
.atosp-powered a { color: var(--p-gold) !important; }
.atosp-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--p-mint), var(--p-primary-2)); color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: .78rem; flex: none; font-family: var(--p-head); vertical-align: middle; }
.atosp-avatar-lg { width: 52px; height: 52px; font-size: 1rem; }

/* Topbar */
.atosp-topbar { position: sticky; top: 0; z-index: 30; height: 62px; background: #fff; border-bottom: 1px solid var(--p-line); display: flex; align-items: center; gap: 14px; padding: 0 22px; }
.atosp-icon-btn { position: relative; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--p-line); background: #fff; color: var(--p-ink) !important; display: inline-grid; place-items: center; cursor: pointer; }
.atosp-icon-btn:hover { border-color: var(--p-mint); }
.atosp-menu-toggle { display: none; }
.atosp-topsearch { flex: 1; max-width: 460px; display: flex; align-items: center; gap: 8px; background: var(--p-bg); border: 1px solid var(--p-line); border-radius: 10px; padding: 0 12px; height: 40px; color: var(--p-muted); }
.atosp-topsearch input { border: 0; background: transparent; outline: 0; flex: 1; font: inherit; color: var(--p-ink); height: 100%; }
.atosp-topbar-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.atosp-dot { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--p-red); color: #fff; font-size: .66rem; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.atosp-dropdown { position: relative; }
.atosp-dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: #fff; border: 1px solid var(--p-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(1,38,27,.14); padding: 6px; display: none; z-index: 60; }
.atosp-dropdown.is-open .atosp-dropdown-menu { display: block; }
.atosp-dropdown-menu a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 8px; color: var(--p-ink) !important; font-size: .9rem; }
.atosp-dropdown-menu a:hover { background: var(--p-bg); }
.atosp-dropdown-wide { min-width: 300px; }
.atosp-dropdown-title { font-family: var(--p-head); font-weight: 800; padding: 8px 12px; font-size: .82rem; color: var(--p-muted); text-transform: uppercase; letter-spacing: .08em; }

/* Content */
.atosp-content { padding: 22px 26px 40px; flex: 1; }
.atosp-pagehead { margin-bottom: 18px; }
.atosp-pagehead h2 { font-size: 1.45rem; font-weight: 800; }
.atosp-crumbs { font-size: .78rem; color: var(--p-muted); margin-bottom: 4px; }
.atosp-banner { background: radial-gradient(500px 220px at 90% 0%, rgba(6,214,160,.25), transparent 70%), linear-gradient(120deg, var(--p-side-1), #013322 60%, var(--p-primary-2)); border-radius: 14px; padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; position: relative; overflow: hidden; color: rgba(255,255,255,.82); }
.atosp-banner::after { content: ""; position: absolute; right: 120px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 34px solid rgba(255,255,255,.05); }
.atosp-banner h1 { color: #fff; font-size: 1.55rem; font-weight: 800; margin-bottom: 4px; }
.atosp-banner p { margin: 0; }
.atosp-banner .atosp-btn { position: relative; z-index: 1; }

/* KPIs */
.atosp-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.atosp-kpi { display: block; background: #fff; border-radius: 10px; padding: 14px 16px; box-shadow: var(--p-shadow); border: 1px solid var(--p-line); border-left: 4px solid var(--p-primary); color: inherit !important; transition: transform .15s; }
a.atosp-kpi:hover { transform: translateY(-2px); }
.atosp-kpi-label { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--p-ink); }
.atosp-kpi strong { display: block; font-family: var(--p-head); font-size: 1.6rem; color: var(--p-ink); margin: 4px 0 2px; }
.atosp-kpi small { color: var(--p-muted); font-size: .76rem; }
.atosp-kpi-gold, .atosp-kpi-amber { border-left-color: var(--p-gold-d); }
.atosp-kpi-mint { border-left-color: var(--p-mint); }
.atosp-kpi-red { border-left-color: var(--p-red); }
.atosp-kpi-blue { border-left-color: var(--p-blue); }

/* Cards */
.atosp-card { background: var(--p-card); border: 1px solid var(--p-line); border-radius: var(--p-r); box-shadow: var(--p-shadow); padding: 18px 20px; margin-bottom: 18px; }
.atosp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.atosp-card-head h3 { font-size: 1.02rem; font-weight: 800; }
.atosp-card-head > a { font-size: .82rem; font-weight: 700; }
.atosp-dash-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.atosp-two-col { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.atosp-two-col-wide { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
.atosp-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.atosp-empty { text-align: center; padding: 26px 10px; color: var(--p-muted); }
.atosp-empty .atosp-i { color: #b5c6be; margin: 0 auto 8px; display: block; }
.atosp-empty h4 { font-size: .98rem; margin-bottom: 4px; }
.atosp-empty p { margin: 0 0 12px; font-size: .88rem; }
.atosp-feed { list-style: none; margin: 0; padding: 0; }
.atosp-feed li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--p-line); }
.atosp-feed li:first-child { border-top: 0; }
.atosp-feed-icon { width: 30px; height: 30px; border-radius: 8px; background: #e7f6f0; color: var(--p-primary-2); display: grid; place-items: center; flex: none; }
.atosp-feed strong { display: block; color: var(--p-ink); font-size: .9rem; }
.atosp-feed small { display: block; color: var(--p-muted); font-size: .76rem; }
.atosp-feed p { margin: 4px 0 0; font-size: .86rem; }
.atosp-group-title { font-size: .74rem !important; text-transform: uppercase; letter-spacing: .12em; color: var(--p-muted) !important; margin: 16px 0 4px !important; }
.atosp-deadline { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--p-line); }
.atosp-deadline:first-child { border-top: 0; }
.atosp-cal { width: 44px; text-align: center; border-radius: 8px; overflow: hidden; border: 1px solid var(--p-line); flex: none; }
.atosp-cal b { display: block; background: var(--p-red); color: #fff; font-size: .62rem; text-transform: uppercase; padding: 2px 0; letter-spacing: .06em; }
.atosp-cal span { display: block; font-family: var(--p-head); font-weight: 800; font-size: 1.05rem; color: var(--p-ink); padding: 2px 0; }

.atosp-deadline strong { display: block; color: var(--p-ink); font-size: .9rem; }
.atosp-deadline small { color: var(--p-muted); }
.atosp-deadline em { font-style: normal; font-size: .78rem; font-weight: 700; color: var(--p-muted); }
.atosp-deadline em.late { color: var(--p-red); }
.atosp-announcement { border-top: 1px solid var(--p-line); padding: 14px 0; }
.atosp-announcement-head { display: flex; justify-content: space-between; gap: 10px; }
.atosp-announcement h4 { font-size: 1rem; }
.atosp-announcement small { color: var(--p-muted); }
.atosp-dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.atosp-dl dt { color: var(--p-muted); font-size: .84rem; }
.atosp-dl dd { margin: 0; font-weight: 700; color: var(--p-ink); }
.atosp-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.atosp-person { display: flex; align-items: flex-start; gap: 16px; padding: 18px; border: 1px solid var(--p-line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.atosp-person:hover { border-color: #cfe5db; box-shadow: var(--p-shadow); }
.atosp-person .atosp-avatar { display: grid; place-items: center; color: #fff; font-size: 1.05rem; letter-spacing: .02em; margin: 0; }
.atosp-person-body { flex: 1; min-width: 0; }
.atosp-person-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.atosp-person-name strong { font-family: var(--p-head); font-size: 1rem; color: var(--p-ink); }
.atosp-person-name em { font-style: normal; }
.atosp-person-role { display: block; color: var(--p-muted); font-size: .82rem; margin: 2px 0 10px; min-height: 1em; }
.atosp-person-contact { display: flex; align-items: center; gap: 8px; font-size: .84rem; padding: 3px 0; color: var(--p-primary-2) !important; min-width: 0; }
.atosp-person-contact .atosp-i { color: var(--p-muted); flex: none; }
.atosp-person-contact span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.atosp-person-edit { display: inline-block; margin-top: 8px; font-size: .78rem; font-weight: 700; }
.atosp-progress { height: 6px; border-radius: 3px; background: #e6eeea; overflow: hidden; }
.atosp-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--p-mint), var(--p-primary-2)); border-radius: 3px; }
.atosp-progress.over span { background: var(--p-red); }

/* Buttons */
.atosp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 16px; border-radius: 9px; border: 1px solid transparent; font-family: var(--p-head); font-weight: 700; font-size: .84rem; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; line-height: 1; }
.atosp-btn-primary { background: var(--p-primary); color: #fff !important; }
.atosp-btn-primary:hover { background: var(--p-primary-2); color: #fff !important; }
.atosp-btn-gold { background: var(--p-gold); color: var(--p-side-2) !important; }
.atosp-btn-gold:hover { background: #ffdc8a; color: var(--p-side-2) !important; }
.atosp-btn-ghost { background: #fff; border-color: var(--p-line); color: var(--p-ink) !important; }
.atosp-btn-ghost:hover { border-color: var(--p-mint); color: var(--p-primary) !important; }
.atosp-btn-xs { height: 30px; padding: 0 10px; font-size: .76rem; border-radius: 7px; }
.atosp-btn-block { width: 100%; height: 46px; font-size: .95rem; }
.atosp-danger { color: var(--p-red) !important; }
.atosp-danger:hover { border-color: var(--p-red) !important; }
.atosp-inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.atosp-back { display: inline-flex; gap: 6px; align-items: center; font-size: .8rem; font-weight: 700; margin-bottom: 4px; }

/* Badges */
.atosp-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.atosp-badge-green { background: #dcf5ec; color: #04573f; }
.atosp-badge-amber { background: #fff3d6; color: #8a5a00; }
.atosp-badge-red { background: #fde4ea; color: #a3163d; }
.atosp-badge-blue { background: #e1ecfb; color: #1f4f96; }
.atosp-badge-grey { background: #edf1ef; color: #4e5f58; }

/* Tables */
.atosp-table-wrap { overflow-x: auto; margin: 0 -20px; }
.atosp-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.atosp-table th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--p-muted); font-weight: 800; padding: 10px 20px; background: #f7faf9; border-top: 1px solid var(--p-line); border-bottom: 1px solid var(--p-line); white-space: nowrap; }
.atosp-table td { padding: 11px 20px; border-bottom: 1px solid var(--p-line); vertical-align: middle; }
.atosp-table tr:hover td { background: #fafcfb; }
.atosp-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.atosp-table .actions { text-align: right; white-space: nowrap; width: 1%; }
.atosp-table .actions > * { margin-left: 4px; }
.atosp-table tfoot td { font-weight: 800; color: var(--p-ink); background: #f7faf9; }
.atosp-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 0 0 14px; }
.atosp-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--p-line); border-radius: 9px; padding: 0 10px; height: 38px; background: #fff; color: var(--p-muted); min-width: 220px; }
.atosp-search input { border: 0 !important; outline: 0; font: inherit; flex: 1; height: 100%; padding: 0 !important; box-shadow: none !important; }
.atosp-toolbar select, .atosp-select-sm { height: 38px; border: 1px solid var(--p-line); border-radius: 9px; padding: 0 10px; font: inherit; background: #fff; color: var(--p-ink); }
.atosp-select-sm { height: 30px; font-size: .8rem; }
.atosp-pagination { display: flex; gap: 6px; justify-content: flex-end; padding-top: 14px; }
.atosp-pagination a, .atosp-pagination span { min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--p-line); font-weight: 700; font-size: .82rem; color: var(--p-ink) !important; }
.atosp-pagination a.is-current { background: var(--p-primary); color: #fff !important; border-color: var(--p-primary); }

/* Forms */
.atosp-form-card { max-width: 980px; }
.atosp-grid-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.atosp-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.atosp-grid-form .atosp-field { margin-bottom: 0; }
.atosp-field-wide { grid-column: 1 / -1; }
.atosp-field label { font-weight: 700; font-size: .82rem; color: var(--p-ink); display: flex; justify-content: space-between; }
.atosp-field label em { color: var(--p-red); font-style: normal; }
.atosp-field small { color: var(--p-muted); font-size: .76rem; }
.atosp-body input[type=text], .atosp-body input:not([type]), .atosp-body input[type=email], .atosp-body input[type=password], .atosp-body input[type=number], .atosp-body input[type=date], .atosp-body input[type=tel], .atosp-body input[type=url], .atosp-body input[type=search], .atosp-body select, .atosp-body textarea { width: 100%; border: 1px solid #cfdcd6; border-radius: 9px; padding: 9px 12px; font: inherit; color: var(--p-ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.atosp-body input:focus, .atosp-body select:focus, .atosp-body textarea:focus { outline: 0; border-color: var(--p-mint); box-shadow: 0 0 0 3px rgba(6,214,160,.18); }
.atosp-toolbar select, .atosp-select-sm, .atosp-topsearch input, .atosp-search input { width: auto; }
.atosp-check { display: flex !important; gap: 8px; align-items: center; font-weight: 500 !important; font-size: .88rem; color: var(--p-text); cursor: pointer; }
.atosp-check input { width: auto; }
.atosp-readonly { padding: 9px 12px; background: var(--p-bg); border-radius: 9px; font-weight: 700; }
.atosp-form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--p-line); }

/* Flash */
.atosp-flash { position: relative; padding: 12px 40px 12px 16px; border-radius: 10px; margin-bottom: 14px; font-weight: 700; font-size: .9rem; border: 1px solid; }
.atosp-flash-success { background: #e3f9f1; color: #04573f; border-color: #b4ecd9; }
.atosp-flash-error { background: #fdecef; color: #9b1c3a; border-color: #f7c2cf; }
.atosp-flash-info { background: #e9f1fd; color: #1f4f96; border-color: #c6dbf8; }
.atosp-flash-x { position: absolute; right: 10px; top: 8px; background: none; border: 0; font-size: 1.3rem; cursor: pointer; color: inherit; opacity: .6; }

/* Tabs */
.atosp-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--p-line); margin: -4px 0 16px; overflow-x: auto; }
.atosp-tabs a { padding: 10px 14px; font-weight: 700; font-size: .86rem; color: var(--p-muted) !important; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.atosp-tabs a.is-active { color: var(--p-primary) !important; border-bottom-color: var(--p-mint); }

/* Login */
.atosp-login { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 100vh; }
.atosp-login-art { position: relative; background: radial-gradient(700px 400px at 80% 0%, rgba(6,214,160,.22), transparent 60%), linear-gradient(160deg, var(--p-side-2), var(--p-side-1)); color: rgba(255,255,255,.8); padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.atosp-login-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(180deg, #000, transparent); }
.atosp-login-art-inner { position: relative; max-width: 520px; }
.atosp-brand-lg { padding: 0; border: 0; margin-bottom: 64px; }
.atosp-login-art h1 { color: #fff; font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -.01em; }
.atosp-login-art p { font-size: 1.05rem; }
.atosp-login-features { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.atosp-login-features li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 16px; }
.atosp-login-features .atosp-i { color: var(--p-gold); margin-top: 2px; }
.atosp-login-features strong { display: block; color: #fff; font-family: var(--p-head); }
.atosp-login-features span { font-size: .9rem; }
.atosp-login-foot { position: relative; font-size: .8rem; color: rgba(255,255,255,.5); }
.atosp-login-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; background: var(--p-bg); }
.atosp-login-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--p-line); border-radius: 16px; padding: 34px 32px; box-shadow: 0 24px 60px rgba(1,38,27,.1); }
.atosp-login-card h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
.atosp-login-card .atosp-form { margin-top: 22px; }
.atosp-login-card .atosp-check { margin: 4px 0 18px; }
.atosp-eyebrow { display: inline-block; font-family: var(--p-head); font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #b8860b; margin-bottom: 8px; }
.atosp-forgot { font-weight: 600; font-size: .78rem; }
.atosp-pass { position: relative; }
.atosp-pass input { padding-right: 44px !important; }
.atosp-pass-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--p-muted); cursor: pointer; padding: 6px; }
.atosp-login-switch { text-align: center; margin: 18px 0 0; font-size: .88rem; }
.atosp-login-notice { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--p-line); font-size: .76rem; color: var(--p-muted); display: flex; gap: 8px; align-items: flex-start; }
.atosp-login-back { margin-top: 20px; font-size: .86rem; font-weight: 700; }
.atosp-denied { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.atosp-denied .atosp-i { color: var(--p-primary-2); margin: 0 auto 12px; display: block; }
.atosp-denied h2 { margin-bottom: 8px; }

/* Overlay (mobile) */
.atosp-overlay { display: none; }

/* Print */
@media print {
	.atosp-sidebar, .atosp-topbar, .atosp-pagehead, .atosp-flash, .atosp-no-print { display: none !important; }
	.atosp-main { margin: 0; }
	.atosp-content { padding: 0; }
	.atosp-card { box-shadow: none; border: 0; }
	body.atosp-body { background: #fff; }
}

/* Responsive */
@media (max-width: 1180px) {
	.atosp-dash-grid, .atosp-two-col, .atosp-two-col-wide { grid-template-columns: 1fr; }
	.atosp-three { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
	.atosp-sidebar { transform: translateX(-100%); box-shadow: 20px 0 60px rgba(0,0,0,.25); }
	.atosp-main { margin-left: 0; }
	.atosp-menu-toggle { display: inline-grid; }
	.atosp-sidebar-open .atosp-sidebar { transform: none; }
	.atosp-sidebar-open .atosp-overlay { display: block; position: fixed; inset: 0; background: rgba(1,26,18,.45); z-index: 40; }
	.atosp-login { grid-template-columns: 1fr; }
	.atosp-login-art { padding: 32px 24px; }
	.atosp-brand-lg { margin-bottom: 26px; }
	.atosp-login-art h1 { font-size: 1.6rem; }
	.atosp-login-features { display: none; }
}
@media (max-width: 640px) {
	.atosp-content { padding: 16px 14px 30px; }
	.atosp-topbar { padding: 0 12px; gap: 8px; }
	.atosp-topsearch { display: none; }
	.atosp-grid-form { grid-template-columns: 1fr; }
	.atosp-banner { flex-direction: column; align-items: flex-start; }
	.atosp-hide-sm { display: none; }
	.atosp-card { padding: 16px 14px; }
	.atosp-table-wrap { margin: 0 -14px; }
	.atosp-table th, .atosp-table td { padding: 10px 14px; }
	.atosp-login-card { padding: 26px 20px; }
}
.atosp-body .atosp-topsearch input, .atosp-body .atosp-search input { border: 0; box-shadow: none; padding: 0; background: transparent; width: auto; }
.atosp-body .atosp-topsearch input:focus, .atosp-body .atosp-search input:focus { box-shadow: none; }
.atosp-topsearch:focus-within, .atosp-search:focus-within { border-color: var(--p-mint); box-shadow: 0 0 0 3px rgba(6,214,160,.15); }
.atosp-deadline > div:not(.atosp-cal) { flex: 1; min-width: 0; }
.atosp-deadline > .atosp-cal { flex: none; }
.atosp-feed li > .atosp-badge, .atosp-feed li > form, .atosp-feed li > strong { align-self: center; }
.atosp-body select.atosp-select-sm { height: 30px; padding: 0 24px 0 8px; width: auto; min-width: 120px; font-size: .8rem; }
.atosp-body .atosp-toolbar select { width: auto; height: 38px; padding: 0 28px 0 10px; }
@media (max-width: 1180px) {
	.atosp-dash-grid, .atosp-two-col, .atosp-two-col-wide, .atosp-three { grid-template-columns: minmax(0, 1fr); }
}
.atosp-main, .atosp-content > * { min-width: 0; }