@charset "UTF-8";
:root {
    --ink: #172d31;
    --muted: #738184;
    --green: #176b56;
    --green-dark: #11513f;
    --mint: #e3f2e9;
    --line: #e3e9e6;
    --surface: #fff;
    --bg: #f5f7f5;
    --nav: #142c2d;
    --amber: #a7772c;
    --radius: 14px;
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.55
}
* {
    box-sizing: border-box
}
body {
    margin: 0;
    background: var(--bg)
}
a {
    color: var(--green);
    text-decoration: none
}
a:hover {
    text-decoration: none;
    color: var(--green-dark)
}
button,input,select,textarea {
    font: inherit
}
button,a,input,textarea,select {
    -webkit-tap-highlight-color: transparent
}
button {
    cursor: pointer
}
svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0
}
h1,h2,h3,p {
    margin-top: 0
}
h1 {
    font-size: 34px;
    letter-spacing: -1.2px;
    line-height: 1.2;
    margin-bottom: 10px;
    font-weight: 650
}
h2 {
    font-size: 17px;
    letter-spacing: -.35px;
    font-weight: 650;
    margin-bottom: 12px
}
h3 {
    font-size: 15px;
    font-weight: 600
}
p {
    color: var(--muted)
}
strong {
    font-weight: 600
}
small {
    font-size: 12px
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
    outline: 3px solid #75b8a1;
    outline-offset: 3px
}
.skip-link {
    position: fixed;
    z-index: 100;
    top: -100px;
    left: 12px;
    background: white;
    padding: 12px
}
.skip-link:focus {
    top: 12px
}
.muted {
    color: var(--muted)
}
.small-text {
    font-size: 12px
}
.plain-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere
}
.full-width {
    grid-column: 1/-1
}
.span-two {
    grid-column: 1/-1
}
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 246px;
    background: var(--nav);
    color: #d9e4df;
    display: flex;
    flex-direction: column;
    padding: 29px 17px 12px;
    z-index: 30;
    overflow-y: auto
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -.7px;
    color: white;
    margin: 0 10px 27px
}
.brand:hover {
    color: white
}
.brand img {
    flex-shrink: 0
}
.brand small {
    display: block;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: 1.7px;
    color: #9fb3ac;
    margin-top: 2px
}
.brand-light {
    font-weight: 400;
    color: #b0c9bd
}
.workspace {
    margin: 0 4px 18px;
    border: 1px solid #38504d;
    border-radius: 9px;
    padding: 11px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px
}
.workspace small,.profile small {
    display: block;
    color: #98aaa6;
    font-size: 10px
}
.workspace-avatar {
    display: grid;
    place-items: center;
    background: #355a50;
    color: #c5e4d4;
    border-radius: 6px;
    height: 31px;
    width: 31px;
    font-weight: 650
}
.dot {
    margin-left: auto;
    width: 6px;
    height: 6px;
    background: #91cdb0;
    border-radius: 50%
}
.nav-caption {
    font-size: 9px;
    letter-spacing: 1.7px;
    color: #90a6a0;
    font-weight: 600;
    margin: 22px 12px 10px
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 13px;
    margin: 2px 0;
    border-radius: 7px;
    font-size: 12px;
    color: #aebeba;
    min-height: 40px
}
.nav-link svg {
    width: 17px;
    height: 17px;
    color: #96ada5
}
.nav-link:hover {
    background: #203e3c;
    color: #fff
}
.nav-link.active {
    background: #294e45;
    color: #e0f3e7
}
.nav-link.active svg {
    color: #a0d6ba
}
.nav-hint {
    margin-left: auto;
    font-size: 10px;
    border: 1px solid #527567;
    border-radius: 4px;
    padding: 0 5px;
    color: #a9c8b9
}
.sidebar-bottom {
    margin-top: auto;
    padding-top: 22px
}
.profile {
    margin-top: 15px;
    padding: 15px 0 4px;
    border-top: 1px solid #304945;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px
}
.profile>div {
    flex: 1;
    min-width: 0
}
.profile strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}
.profile .icon-button {
    color: #9aafa7
}
.avatar,.small-avatar {
    background: #d4e8dc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #386452;
    font-weight: 600;
    font-size: 12px;
    flex-shrink: 0
}
.avatar.large {
    height: 60px;
    width: 60px;
    font-size: 18px
}
.small-avatar {
    width: 24px;
    height: 24px;
    font-size: 10px
}
.shell {
    margin-left: 246px;
    min-height: 100vh;
    display: flex;
    flex-direction: column
}
.topbar {
    height: 78px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0 36px;
    display: flex;
    align-items: center;
    gap: 26px
}
.breadcrumb {
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap
}
.breadcrumb span {
    margin: 0 13px;
    color: #c7cfca
}
.breadcrumb strong {
    color: #465c59;
    font-weight: 500
}
.global-search {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #8a9893;
    max-width: 300px
}
.global-search input {
    width: 210px;
    border: 0!important;
    padding: 8px 0!important;
    box-shadow: none!important;
    font-size: 11px;
    background: none
}
.global-search kbd {
    white-space: nowrap;
    border: 1px solid #e5e9e5;
    background: #f7f9f6;
    font: 10px inherit;
    padding: 0 5px;
    border-radius: 4px
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
    background: white;
    border: 1px solid #dce4de;
    border-radius: 7px;
    padding: 10px 16px;
    font-weight: 550;
    font-size: 12px;
    color: #435d54;
    line-height: 1.5;
    min-height: 37px
}
.button:hover {
    background: #edf4ee;
    border-color: #b7cdc0;
    color: #183f2e
}
.button.primary {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    box-shadow: 0 2px 3px #176b560e
}
.button.primary:hover {
    background: var(--green-dark)
}
.button.small {
    padding: 7px 11px;
    font-size: 11px;
    min-height: 31px
}
.button.full {
    width: 100%;
    margin-top: 14px
}
.button.danger {
    color: #a74335;
    border-color: #edcec8;
    background: #fff9f7
}
.icon-button {
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    color: inherit;
    border-radius: 5px;
    min-width: 30px;
    min-height: 30px
}
.icon-button:hover {
    background: #87a79526
}
.icon-button svg {
    width: 17px;
    height: 17px
}
.mobile-toggle {
    display: none
}
.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}
main {
    padding: 34px 36px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    flex: 1
}
.page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 27px
}
.page-heading p {
    margin-bottom: 0;
    font-size: 12px
}
.eyebrow {
    display: block;
    font-size: 9px;
    letter-spacing: 1.8px;
    color: #7a8e83;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px
}
.hello-dot {
    color: #5caa7b
}
.hero-strip {
    background: #edf3eb;
    border: 1px solid #dce6d9;
    min-height: 160px;
    border-radius: var(--radius);
    padding: 27px 31px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden
}
.hero-strip>div:first-child,.hero-strip>.button {
    z-index: 1
}
.hero-strip h2 {
    font-size: 22px;
    letter-spacing: -.7px;
    margin: 10px 0 7px
}
.hero-strip p {
    font-size: 12px;
    max-width: 450px;
    margin: 0;
    color: #72816d
}
.hero-strip .button {
    margin-right: 12px
}
.pill {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 550;
    white-space: nowrap
}
.pill.mint {
    color: #39714f;
    background: #daebd8
}
.hero-strip .pill {
    font-size: 8px;
    letter-spacing: 1px;
    padding: 4px 7px
}
.pill.amber,.priority-high {
    background: #f6eddc;
    color: #936b26
}
.pill.neutral,.priority-normal {
    background: #eff2f1;
    color: #6c8079
}
.priority-urgent {
    background: #f9e7e1;
    color: #a04e3e
}
.priority-low {
    background: #e9f2f6;
    color: #587b8d
}
.hero-orbit {
    position: absolute;
    right: 20px;
    top: -70px;
    transform: rotate(-25deg);
    opacity: .55;
    pointer-events: none
}
.hero-orbit span {
    display: block;
    position: absolute;
    width: 240px;
    height: 240px;
    border: 1px solid #cbdcc5;
    border-radius: 50%
}
.hero-orbit span:nth-child(2) {
    left: -70px;
    top: 60px
}
.hero-orbit span:nth-child(3) {
    left: -140px;
    top: 120px
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 17px;
    margin-bottom: 25px
}
.stat {
    padding: 19px 22px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--ink)
}
.stat:hover {
    border-color: #abc9b4
}
.stat>span {
    font-size: 11px;
    color: #748279
}
.stat>strong {
    display: block;
    font-size: 30px;
    line-height: 1.3;
    margin: 8px 0;
    font-weight: 600;
    letter-spacing: -1px
}
.stat small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: #839087
}
.stat b {
    font-size: 14px;
    font-weight: 400;
    color: #9baa9c
}
.warning-stat strong {
    color: #a67a3a
}
.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
    gap: 23px
}
.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    min-width: 0
}
.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px
}
.panel-heading h2 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px
}
.panel-heading>a,.panel-heading .actions>a:not(.button) {
    font-size: 10px;
    color: #728b7a;
    white-space: nowrap
}
.panel-subtitle {
    font-size: 11px;
    margin-top: -4px;
    margin-bottom: 14px
}
.count {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    color: #7b8a80;
    background: #eff3ef;
    padding: 1px 6px;
    border-radius: 5px
}
.task-row,.list-row,.event-row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid #edf0ec;
    color: var(--ink);
    font-size: 12px;
    overflow-wrap: anywhere
}
.task-row:last-child,.list-row:last-child,.event-row:last-child {
    border-bottom: 0;
    padding-bottom: 3px
}
.task-row>div,.list-row>div,.event-row>div:last-child {
    flex: 1;
    min-width: 0
}
.task-row small,.list-row small,.event-row small {
    display: block;
    font-size: 10px;
    color: #8a968d;
    margin-top: 4px
}
.task-row small span {
    padding: 0 5px
}
.task-row:hover strong,.list-row:hover strong {
    color: var(--green)
}
.status-marker {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    border: 1.5px solid #a8b6b0;
    border-radius: 50%;
    display: inline-block
}
.status-qualify {
    border-style: dashed
}
.status-doing {
    border-color: #438d68;
    background: #bcdcc7
}
.status-done {
    border-color: #448361;
    background: #448361
}
.status-waiting {
    border-color: #c49c62;
    background: #f2ddb9
}
.due {
    font-size: 10px;
    color: #8b978f;
    white-space: nowrap
}
.overdue {
    color: #b35f4c
}
.empty {
    text-align: center;
    padding: 31px 20px;
    color: var(--muted)
}
.empty h3 {
    color: #475e51;
    font-size: 13px;
    margin: 13px 0 8px
}
.empty p {
    font-size: 12px;
    line-height: 1.7;
    max-width: 370px;
    margin: 0 auto 17px
}
.empty .large-icon {
    height: 35px;
    width: 35px;
    color: #86a293;
    stroke-width: 1.25;
    margin-bottom: 5px
}
.empty-icon {
    display: inline-grid;
    place-items: center;
    width: 39px;
    height: 39px;
    background: #f0f5ed;
    border-radius: 12px;
    color: #79a38a;
    font-size: 22px
}
.empty.compact {
    padding: 20px
}
.panel-bottom {
    display: block;
    text-align: right;
    font-size: 11px;
    padding-top: 13px
}
.company-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    padding-top: 10px
}
.company-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--ink)
}
.company-mini strong {
    font-size: 11px
}
.company-mini small {
    font-size: 9px;
    display: block;
    color: #8b978f;
    margin-top: 4px
}
.company-mark {
    width: 41px;
    height: 41px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: .7px;
    font-weight: 600;
    flex-shrink: 0;
    background: #e7efe4;
    color: #597552
}
.tone-1 {
    background: #edf0e5;
    color: #8c9262
}
.tone-2 {
    background: #f5eae0;
    color: #9c785a
}
.tone-3 {
    background: #e4eef1;
    color: #65828f
}
.date-tile {
    width: 40px;
    flex-shrink: 0;
    background: #f6f7f2;
    border: 1px solid #e9eee3;
    border-radius: 8px;
    text-align: center;
    padding: 4px
}
.date-tile small {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin: 0
}
.date-tile strong {
    display: block;
    font-size: 19px;
    color: #486b53;
    line-height: 1.3
}
.file-marker {
    color: #829485;
    background: #f2f5ee;
    padding: 7px;
    border-radius: 7px;
    display: flex
}
.file-marker svg {
    height: 16px;
    width: 16px
}
.timeline {
    padding: 6px 0
}
.activity {
    display: flex;
    gap: 14px;
    padding: 0 0 19px;
    position: relative;
    font-size: 11px
}
.activity:last-child {
    padding-bottom: 0
}
.activity:before {
    content: "";
    position: absolute;
    left: 4px;
    top: 15px;
    width: 1px;
    height: calc(100% - 16px);
    background: #e6ece4
}
.activity:last-child:before {
    display: none
}
.timeline-dot {
    margin-top: 5px;
    width: 9px;
    height: 9px;
    background: #c9d8c8;
    border: 2px solid white;
    outline: 1px solid #dbe4d7;
    border-radius: 50%;
    flex-shrink: 0
}
.activity small {
    display: block;
    font-size: 9px;
    color: #8b978c;
    margin-top: 3px
}
.footer {
    padding: 10px 36px 22px;
    display: flex;
    justify-content: space-between;
    color: #95a097;
    font-size: 9px
}
.footer .muted {
    padding: 0 5px
}
label {
    display: block;
    font-size: 12px;
    font-weight: 550;
    color: #586d61;
    margin: 0 0 15px
}
input:not([type=checkbox]),select,textarea {
    display: block;
    width: 100%;
    border: 1px solid #dbe3dc;
    background: white;
    border-radius: 7px;
    padding: 10px 12px;
    color: #263b2d;
    min-height: 40px;
    margin-top: 6px;
    font-weight: 400;
    font-size: 13px;
    max-width: 100%
}
input::placeholder,textarea::placeholder {
    color: #9aa59d
}
textarea {
    resize: vertical;
    line-height: 1.65
}
.check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 400
}
.check input {
    accent-color: var(--green);
    width: 16px;
    height: 16px;
    flex-shrink: 0
}
.form-grid,.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 25px
}
.form-actions {
    border-top: 1px solid var(--line);
    padding-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px
}
.record-form {
    max-width: 1000px;
    padding: 30px
}
.record-form>label {
    max-width: 460px
}
.field-help {
    font-size: 11px;
    line-height: 1.7;
    color: #809083;
    font-weight: 400;
    margin-top: 12px
}
.record-form>.field-help {
    margin-top: -5px;
    margin-bottom: 26px
}
.back-link {
    display: block;
    font-size: 12px;
    margin-bottom: 14px;
    color: #7b9182
}
.filter-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 22px
}
.filter-bar input[type=search] {
    width: 270px;
    margin: 0
}
.filter-bar select {
    width: 225px;
    margin: 0
}
.filter-bar .check {
    margin: 0 7px;
    white-space: nowrap
}
.filter-bar .button {
    margin-left: auto
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px
}
.record-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden
}
.record-card:hover {
    border-color: #b4cdb8
}
.card-main {
    display: block;
    padding: 24px;
    position: relative;
    color: var(--ink)
}
.card-main .company-mark {
    width: 49px;
    height: 49px;
    margin-bottom: 22px;
    font-size: 15px
}
.card-main h2 {
    font-size: 17px;
    margin-bottom: 7px;
    overflow-wrap: anywhere
}
.card-main p {
    font-size: 12px;
    margin: 0 0 13px
}
.card-main small {
    display: block;
    font-size: 11px;
    color: #8b978e;
    margin: 8px 0 0
}
.card-arrow {
    position: absolute;
    right: 22px;
    top: 22px;
    color: #93a48f
}
.card-email {
    display: block;
    overflow-wrap: anywhere;
    border-top: 1px solid var(--line);
    padding: 12px 24px;
    font-size: 11px
}
.person-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 17px
}
.profile-large {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 24px
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
    font-size: 12px;
    color: #91a18f
}
.detail-panel {
    padding: 30px
}
.detail-field {
    padding: 9px 0 19px
}
.detail-field dt {
    color: #8a9a8d;
    font-size: 11px;
    margin-bottom: 8px
}
.detail-field dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 13px
}
.detail-field dd a {
    overflow-wrap: anywhere
}
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    border-bottom: 1px solid #dde6dc;
    margin-bottom: 22px;
    padding: 0 0 15px
}
.tabs a {
    font-size: 12px;
    color: #647e68
}
.tabs .count {
    margin-left: 4px
}
.related-section {
    margin-top: 23px;
    scroll-margin-top: 20px
}
.people-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}
.person-card {
    padding: 20px 15px;
    background: #f8faf7;
    border-radius: 10px;
    text-align: center
}
.person-card>a:first-child {
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--ink);
    gap: 6px
}
.person-card .person-photo,.person-card .avatar {
    margin-bottom: 8px
}
.person-card small {
    color: #91a18e
}
.person-card .text-link {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    overflow-wrap: anywhere
}
.delete-form {
    margin-top: 30px
}
.prose {
    line-height: 1.8;
    color: #45594a
}
.prose p {
    color: inherit
}
.prose img {
    max-width: 100%;
    height: auto
}
.prose pre {
    overflow: auto;
    background: #f0f4ed;
    padding: 15px;
    border-radius: 7px
}
.prose table {
    border-collapse: collapse;
    max-width: 100%;
    display: block;
    overflow: auto
}
.prose td,.prose th {
    border: 1px solid var(--line);
    padding: 8px
}
.prose h1 {
    font-size: 24px
}
.prose h2 {
    font-size: 20px
}
.prose blockquote {
    border-left: 3px solid #a4c5a8;
    padding-left: 18px;
    margin-left: 0
}
.board {
    display: grid;
    grid-template-columns: repeat(5,minmax(220px,1fr));
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 18px
}
.kanban-column {
    background: #edf1eb;
    border: 1px solid #e5eae2;
    border-radius: 12px;
    padding: 12px;
    min-height: 420px;
    transition: background .15s
}
.kanban-column>header {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 1px 18px
}
.kanban-column h2 {
    font-size: 12px;
    margin: 0
}
.kanban-column .count {
    margin-left: auto;
    background: #e0e8db;
    color: #85937e
}
.kanban-cards {
    min-height: 50px;
    display: flex;
    flex-direction: column;
    gap: 12px
}
.kanban-card {
    background: #fff;
    border: 1px solid #dce4d8;
    border-radius: 9px;
    padding: 14px;
    box-shadow: 0 2px 2px #30422204
}
.kanban-card[draggable=true] {
    cursor: grab
}
.kanban-card.dragging {
    opacity: .5
}
.kanban-card.saving {
    opacity: .6;
    pointer-events: none
}
.kanban-column.drop-target {
    background: #dfeede;
    outline: 2px dashed #8bac87;
    outline-offset: -3px
}
.card-kicker {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 9px;
    color: #8e9a87;
    margin-bottom: 12px
}
.task-title {
    display: block;
    color: #334a38;
    font-size: 13px;
    font-weight: 550;
    line-height: 1.6
}
.card-description {
    font-size: 10px;
    color: #99a291;
    margin: 8px 0
}
.card-tags {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 10px
}
.kanban-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f0f3ed;
    padding-top: 10px;
    gap: 6px
}
.status-form {
    display: flex;
    align-items: center;
    gap: 3px;
    min-width: 0
}
.status-form select {
    font-size: 9px;
    padding: 3px 2px;
    min-height: 24px;
    margin: 0;
    border-color: transparent;
    background: #f8faf6;
    max-width: 114px
}
.status-form .icon-button {
    padding: 2px;
    min-width: 24px
}
.add-card {
    display: block;
    margin-top: 14px;
    font-size: 10px;
    color: #90a088;
    padding: 5px
}
.alert {
    padding: 15px 18px;
    border: 1px solid #d9e6d6;
    border-radius: 9px;
    background: #edf4ea;
    color: #63765c;
    margin-bottom: 22px;
    font-size: 12px;
    overflow-wrap: anywhere
}
.alert p:last-child {
    margin-bottom: 0
}
.alert.error {
    background: #fff0ea;
    border-color: #eed9cf;
    color: #965448
}
.alert.success {
    background: #e9f6ee;
    border-color: #c4dec9;
    color: #416e4a
}
.alert ul {
    margin: 7px 0
}
.mail-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 21px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px
}
.mail-row:last-child {
    border: 0
}
.mail-row>div:first-of-type {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere
}
.mail-row small {
    display: block;
    color: #8b9b87;
    font-size: 11px;
    margin-top: 5px
}
.mail-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #76a57c;
    flex-shrink: 0
}
.settings-grid {
    align-items: start
}
.settings-grid .panel>p {
    font-size: 12px
}
.widget-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--line)
}
.widget-row label {
    margin: 0
}
.widget-order {
    margin: 18px 0 23px
}
hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 24px 0
}
.roadmap {
    padding-left: 17px;
    font-size: 12px;
    line-height: 2;
    color: #7d8f76
}
.user-details {
    padding: 18px 0;
    border-top: 1px solid var(--line)
}
summary {
    cursor: pointer;
    font-size: 12px
}
details[open] summary {
    margin-bottom: 20px
}
.user-details summary .muted {
    padding-left: 14px;
    font-size: 11px
}
.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #153c2c;
    color: white;
    padding: 14px 24px;
    border-radius: 9px;
    box-shadow: 0 5px 20px #23432825;
    z-index: 100;
    font-size: 13px;
    max-width: 90vw
}
.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(ellipse at 15% 5%,#dbe7d7,transparent 60%),#f3f6ef;
    padding: 35px 20px
}
.auth-card {
    width: 100%;
    max-width: 500px;
    background: #fff;
    padding: 38px 43px;
    border: 1px solid #dce5d5;
    border-radius: 22px;
    box-shadow: 0 18px 90px #30482c0d
}
.auth-brand {
    color: #285135;
    margin: 0 0 32px;
    font-size: 26px
}
.auth-brand:hover {
    color: #285135
}
.auth-brand small {
    color: #8da18b
}
.auth-card h1 {
    font-size: 29px;
    letter-spacing: -1px
}
.auth-card>p {
    font-size: 12px;
    margin-bottom: 25px
}
.auth-card label {
    font-size: 11px
}
.auth-foot {
    text-align: center;
    font-size: 10px!important;
    line-height: 1.7;
    margin: 23px 0 0!important;
    color: #99a593
}
.auth-card .check {
    margin-top: 16px
}
.auth-card input {
    font-size: 13px
}
@media(min-width:1600px) {
    main {
        padding-top: 45px
    }
    .hero-strip {
        min-height: 180px
    }
    .panel {
        padding: 25px
    }
    .dashboard-grid {
        gap: 25px
    }
    .topbar {
        gap: 45px
    }
    .global-search {
        max-width: 360px
    }
    .global-search input {
        width: 260px
    }
}
@media(max-width:1250px) {
    .sidebar {
        width: 220px;
        padding-left: 13px;
        padding-right: 13px
    }
    .shell {
        margin-left: 220px
    }
    .topbar {
        padding: 0 24px;
        gap: 20px
    }
    .breadcrumb {
        display: none
    }
    main {
        padding: 27px 24px
    }
    .global-search {
        margin-left: 0;
        max-width: none;
        flex: 1
    }
    .global-search input {
        width: 100%
    }
    .dashboard-grid {
        gap: 16px
    }
    .stats-grid {
        gap: 12px
    }
    .stat {
        padding: 17px 16px
    }
    .hero-strip {
        padding: 24px
    }
    .hero-strip p {
        max-width: 360px
    }
    .company-mini-grid {
        grid-template-columns: 1fr
    }
    .cards-grid {
        grid-template-columns: repeat(2,1fr)
    }
    .footer {
        padding-left: 24px;
        padding-right: 24px
    }
}
@media(max-width:920px) {
    .dashboard-grid {
        grid-template-columns: 1fr
    }
    .stats-grid {
        grid-template-columns: repeat(2,1fr)
    }
    .hero-strip .button {
        margin: 0
    }
    .hero-strip {
        align-items: flex-start;
        flex-direction: column
    }
    .page-heading {
        align-items: flex-start
    }
    .page-heading>.button {
        font-size: 10px
    }
    .filter-bar {
        flex-wrap: wrap
    }
    .filter-bar input[type=search] {
        flex: 1;
        min-width: 150px
    }
    .people-grid {
        grid-template-columns: repeat(2,1fr)
    }
    .cards-grid {
        gap: 13px
    }
    .form-grid,.detail-grid {
        column-gap: 17px
    }
    .topbar {
        gap: 12px
    }
    .global-search kbd {
        display: none
    }
    .topbar>.button {
        font-size: 10px
    }
}
@media(max-width:680px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform .2s;
        width: 246px;
        box-shadow: 10px 0 30px #162d2920
    }
    .menu-open .sidebar {
        transform: translateX(0)
    }
    .shell {
        margin-left: 0
    }
    .topbar {
        padding: 0 16px;
        height: 67px;
        position: sticky;
        top: 0;
        z-index: 20
    }
    .mobile-toggle {
        display: flex
    }
    .global-search input {
        font-size: 10px
    }
    .global-search {
        gap: 6px
    }
    .topbar>.button {
        padding: 8px 10px;
        font-size: 9px
    }
    main {
        padding: 25px 16px
    }
    .page-heading {
        flex-wrap: wrap;
        gap: 15px
    }
    h1 {
        font-size: 29px
    }
    .hero-strip {
        padding: 24px
    }
    .hero-strip h2 {
        font-size: 22px
    }
    .hero-strip p {
        font-size: 11px
    }
    .stats-grid {
        gap: 11px
    }
    .stat {
        padding: 17px
    }
    .stat>span {
        font-size: 10px
    }
    .stat small {
        font-size: 9px
    }
    .panel {
        padding: 18px
    }
    .cards-grid {
        grid-template-columns: 1fr
    }
    .people-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px
    }
    .form-grid,.detail-grid {
        grid-template-columns: 1fr
    }
    .span-two {
        grid-column: auto
    }
    .record-form {
        padding: 22px
    }
    .filter-bar {
        padding: 12px
    }
    .filter-bar select {
        width: 100%
    }
    .filter-bar .button {
        margin-left: 0
    }
    .mail-row {
        flex-wrap: wrap
    }
    .mail-row .actions {
        padding-left: 23px
    }
    .footer {
        padding: 12px 16px;
        gap: 10px
    }
    .auth-card {
        padding: 30px 25px
    }
    .tabs {
        gap: 14px
    }
    .board {
        margin-right: -16px
    }
    .company-mini-grid {
        grid-template-columns: 1fr 1fr
    }
    .company-mini {
        gap: 8px
    }
    .company-mini .company-mark {
        width: 33px;
        height: 33px
    }
    .company-mini strong {
        font-size: 10px
    }
    .company-mini small {
        font-size: 8px
    }
    .breadcrumb {
        display: none
    }
}
@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto!important;
        transition: none!important
    }
}
@media print {
    .sidebar,.topbar,.button,.filter-bar,.delete-form,.footer {
        display: none!important
    }
    .shell {
        margin: 0
    }
    main {
        padding: 0
    }
    .panel {
        break-inside: avoid
    }
    .dashboard-grid {
        display: block
    }
    .panel {
        margin-bottom: 20px
    }
    body {
        background: white
    }
}
/* Personal mailbox */
.mail-filters {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
    margin: 1rem 0
}
.mail-filters label {
    min-width: 12rem;
    margin: 0
}
.mail-body {
    overflow-wrap: anywhere;
    white-space: pre-wrap
}
.mail-row>div {
    min-width: 0
}
.mail-row strong,.mail-row small {
    overflow-wrap: anywhere
}
.tabs a[aria-current="page"] {
    font-weight: 700;
    text-decoration: underline
}
.nav-count {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #91cdb0;
    color: #102f25;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 0 0 2px #142c2d;
}
.nav-link.active .nav-count {
    background: #b7e3ca;
    box-shadow: 0 0 0 2px #294e45;
}
/* CMDB / IPAM */
.cmdb-address-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.cmdb-address-grid .record-card{padding:16px;overflow-wrap:anywhere}.cmdb-address-grid small{display:block}.panel code{overflow-wrap:anywhere}.detail-grid label input,.detail-grid label select{display:block;width:100%}.panel nav[role=navigation] svg{width:20px;height:20px}
