:root { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #eef4f0; background: #111714; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 80% 0%, #27463b 0, transparent 35%), #111714; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.sidebar { padding: 26px 18px; border-right: 1px solid #2d3b35; background: rgba(16, 24, 20, .8); }
.brand { display: flex; gap: 12px; align-items: center; margin-bottom: 42px; }
.brand strong { display: block; font-size: 15px; }.brand span { color: #9bac9f; font-size: 12px; }
.nav { display: grid; gap: 7px; }.nav button { text-align: left; padding: 13px 14px; color: #aabbb0; background: transparent; border-radius: 12px; }.nav button.active, .nav button:hover { color: #fff; background: #29463a; }
.nav button { display: flex; align-items: center; gap: 11px; }.nav button span { display: grid; place-items: center; width: 22px; height: 22px; color: #b9d6b3; }
.nav button svg { width: 19px; height: 19px; fill: currentColor; display: block; }
.sidebar-footer { position: fixed; bottom: 22px; color: #819288; font-size: 12px; }
.main { padding: 28px 38px 50px; max-width: 1500px; width: 100%; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }.topbar h1 { margin: 0; font-size: clamp(24px, 3vw, 36px); }.muted { color: #9bac9f; }
.pill { padding: 8px 12px; color: #d3e8d0; border: 1px solid #486b59; background: #20372d; border-radius: 999px; font-size: 12px; }
.role-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 13px; color: #d3e8d0; border: 1px solid #486b59; background: #20372d; border-radius: 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }.role-badge svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
.button { min-height: 42px; border-radius: 12px; padding: 10px 15px; color: #17251e; background: #b9d6b3; border: 1px solid transparent; font-weight: 750; transition: transform .14s ease, background .14s ease, border-color .14s ease; }.button:hover { transform: translateY(-1px); background: #c9e4c3; }.button:active { transform: translateY(0); }.button.secondary { color: #e2ece5; background: #25342d; border-color: #4c6357; }.button.secondary:hover { background: #30443a; }.button.danger { color: #ffe2e2; background: #713b40; }.button.danger:hover { background: #86464c; }.button.ghost-danger { background: transparent; border-color: #74484b; }.button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }.card { background: rgba(29, 43, 36, .9); border: 1px solid #35483e; border-radius: 17px; padding: 20px; }.metric-label { color: #9bac9f; font-size: 13px; }.metric-value { margin-top: 12px; font-size: 27px; font-weight: 800; }
.metric-card { min-height: 128px; background: linear-gradient(145deg, rgba(41,70,58,.96), rgba(25,38,32,.96)); }.metric-note { margin-top: 9px; color: #9fb4a7; font-size: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 30px 0 14px; }.section-head h2 { margin: 0; font-size: 20px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; }.toolbar input, .toolbar select, .form input, .form select, .form textarea { min-width: 180px; padding: 11px 12px; color: #ecf4ef; background: #1b2721; border: 1px solid #50675b; border-radius: 11px; outline: none; }.toolbar input:focus, .form input:focus, .form select:focus, .form textarea:focus { border-color: #b9d6b3; box-shadow: 0 0 0 3px rgba(185,214,179,.1); }.form textarea { resize: vertical; width: 100%; }
.filterbar { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }.filterbar > input { flex: 1 1 320px; }.filterbar input, .filterbar select { min-height: 44px; padding: 10px 12px; color: #ecf4ef; background: #1b2721; border: 1px solid #50675b; border-radius: 11px; outline: none; }.filterbar label { display: grid; gap: 5px; color: #aabbb0; font-size: 12px; }
.table-wrap { overflow-x: auto; border: 1px solid #35483e; border-radius: 15px; background: #19241f; }.table { width: 100%; min-width: 760px; border-collapse: collapse; }.table th, .table td { text-align: left; padding: 14px 15px; border-bottom: 1px solid #2d3b35; vertical-align: middle; }.table th { color: #aabbb0; font-size: 12px; font-weight: 600; }.table td { font-size: 13px; }.table tr:last-child td { border-bottom: 0; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }.status.CREATED { color: #ffe0a3; background: #594522; }.status.ACCEPTED { color: #e7dcff; background: #4b3f65; }.status.IN_PROGRESS { color: #cbe2ff; background: #294760; }.status.COMPLETED { color: #cfecc9; background: #28543c; }.status.CANCELLED { color: #ffd1d1; background: #563337; }
.grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.form { display: grid; gap: 12px; max-width: 480px; }.form label { display: grid; gap: 7px; color: #aabbb0; font-size: 13px; }.form input { width: 100%; }.form-actions { display: flex; gap: 10px; align-items: center; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; }.login-card { width: min(440px, 100%); padding: 32px; background: #1b2721; border: 1px solid #45594e; border-radius: 22px; box-shadow: 0 20px 70px rgba(0,0,0,.3); }.login-card h1 { margin: 0 0 8px; }.login-card p { line-height: 1.5; }.login-card .button { width: 100%; margin-top: 6px; }.error { color: #ffb7b7; font-size: 13px; }.success { color: #cfecc9; font-size: 13px; }
.empty { padding: 35px; text-align: center; color: #9bac9f; }.loading { color: #b9d6b3; padding: 20px 0; }
.notice { margin-bottom: 16px; padding: 12px 15px; color: #d8f0d3; background: #254733; border: 1px solid #3d7651; border-radius: 13px; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }.tab { min-height: 42px; padding: 9px 14px; color: #b7c8bd; background: #1b2922; border: 1px solid #40564a; border-radius: 12px; }.tab.active { color: #17251e; background: #b9d6b3; }
.summary-list { display: grid; gap: 0; }.summary-list div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #35483e; }.summary-list div:last-child { border-bottom: 0; }.summary-list span { color: #aabbb0; }
.dashboard-grid { align-items: start; }.dashboard-grid .table { min-width: 680px; }.finance-cards { margin-top: 18px; }
.check-row { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 9px !important; padding: 11px 12px; border: 1px solid #455d51; border-radius: 11px; background: #1d2d25; }.check-row input { min-width: auto !important; width: 18px !important; height: 18px; }
code { color: #d8e8db; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }.metadata { display: block; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9fb4a7; }
.row-actions { display: flex; flex-wrap: wrap; gap: 7px; min-width: 250px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(4, 9, 7, .76); backdrop-filter: blur(8px); }
.modal { width: min(720px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 24px; border: 1px solid #526b5e; border-radius: 22px; background: #192720; box-shadow: 0 24px 90px rgba(0,0,0,.52); }
.modal-small { width: min(520px, 100%); }.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }.modal-head h2 { margin: 0 0 5px; }.icon-button { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; color: #e5eee8; background: #283a31; border: 1px solid #4c6357; font-size: 25px; line-height: 1; }.icon-button:hover { background: #344a3e; }
.modal-form { max-width: none; }.grid-two.compact { gap: 12px; }.slot-fieldset { margin: 0; padding: 0; border: 0; }.slot-fieldset legend { margin-bottom: 9px; color: #aabbb0; font-size: 13px; }.slot-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }.slot-choice { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 9px !important; padding: 10px 12px; border: 1px solid #455d51; border-radius: 11px; background: #1d2d25; }.slot-choice input { min-width: auto; width: 17px; height: 17px; }.slot-choice:has(input:checked) { color: #eaf5e9; border-color: #87a983; background: #29463a; }.hint { margin: 0; color: #aabbb0; font-size: 12px; line-height: 1.5; }.modal-actions { justify-content: flex-end; margin-top: 6px; }
@media (max-width: 900px) { .shell { grid-template-columns: 1fr; }.sidebar { position: static; border-right: 0; border-bottom: 1px solid #2d3b35; padding: 16px; }.brand { margin-bottom: 14px; }.nav { display: flex; overflow-x: auto; }.nav button { white-space: nowrap; }.sidebar-footer { display: none; }.main { padding: 22px 16px 40px; }.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }.grid-two { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .slot-grid { grid-template-columns: 1fr; }.modal { padding: 18px; }.modal-actions { display: grid; grid-template-columns: 1fr; }.row-actions { min-width: 190px; } }
.brand-logo{width:44px;height:44px;display:block;flex:0 0 auto}
