Files
CyberGarden-Grade/hackathon-grading-system-front/assets/css/app.css
T

2190 lines
35 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
:root {
--bg: #f6f7f2;
--surface: #fff;
--forest: #2c634c;
--forest-dark: #204d3a;
--sage: #e5ecdf;
--sage-light: #f0f4eb;
--ink: #293b32;
--muted: #788276;
--border: #e4e8df;
--danger: #a3443c;
--sand: #eee9d9;
--radius: 14px;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body,
#__nuxt,
#__layout {
min-height: 100%;
margin: 0;
}
html {
background: var(--bg);
}
body {
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
color: var(--ink) !important;
font-size: 14px !important;
line-height: 1.55 !important;
-webkit-font-smoothing: antialiased;
}
button,
input,
select {
font: inherit;
}
button,
a,
input,
select {
-webkit-tap-highlight-color: transparent;
}
button {
cursor: pointer;
color: inherit;
}
button:disabled {
cursor: wait;
opacity: 0.6;
}
a,
a:hover {
text-decoration: none !important;
color: inherit;
}
h1,
h2,
h3,
p {
margin: 0;
}
h1,
h2,
h3 {
font-family: inherit !important;
letter-spacing: -0.035em;
line-height: 1.2;
font-weight: 600;
}
h1 {
font-size: 32px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 17px;
}
svg {
vertical-align: middle;
}
button svg,
a svg {
flex-shrink: 0;
}
::selection {
background: #dce8cf;
}
:focus-visible {
outline: 3px solid #90ad7e !important;
outline-offset: 4px;
}
input:focus-visible,
select:focus-visible {
outline-offset: 1px;
}
.skip-link {
position: fixed;
top: -100px;
left: 20px;
padding: 12px;
background: var(--forest);
color: #fff !important;
z-index: 100;
}
.skip-link:focus {
top: 12px;
}
.app-shell {
display: flex;
min-height: 100vh;
border-top: 3px solid var(--forest);
}
.sidebar {
width: 250px;
flex-shrink: 0;
position: fixed;
top: 3px;
bottom: 0;
display: flex;
flex-direction: column;
background: #fcfdf9;
border-right: 1px solid var(--border);
z-index: 20;
}
.brand {
display: flex;
align-items: center;
gap: 11px;
padding: 29px 23px 32px;
white-space: nowrap;
}
.brand-mark {
width: 42px;
height: 44px;
border-radius: 11px;
background: var(--sage);
display: grid;
place-items: center;
color: var(--forest);
flex-shrink: 0;
}
.app-shell a.brand {
color: var(--ink);
}
.brand strong {
font-size: 19px;
letter-spacing: -0.7px;
font-weight: 700;
}
.brand small {
display: block;
color: var(--muted);
font-size: 11px;
letter-spacing: 0.2px;
margin-top: 1px;
}
.brand-dot {
color: #729064;
}
.workspace-label {
font-size: 11px;
font-weight: 600;
letter-spacing: 1.25px;
text-transform: uppercase;
color: #969d90;
margin: 11px 25px 15px;
}
.main-nav {
padding: 0 13px;
display: flex;
flex-direction: column;
gap: 6px;
}
.nav-item {
display: flex;
align-items: center;
gap: 12px;
padding: 13px 14px;
border-radius: 8px;
color: #71806f !important;
font-size: 14px;
font-weight: 500;
transition: background 0.16s;
}
.nav-item:hover {
background: var(--sage-light);
}
.nav-item.nuxt-link-exact-active {
background: var(--sage);
color: var(--forest) !important;
}
.nav-active-dot {
display: none;
margin-left: auto;
width: 5px;
height: 5px;
border-radius: 50%;
background: var(--forest);
}
.nuxt-link-exact-active .nav-active-dot {
display: block;
}
.sidebar-bottom {
margin-top: auto;
padding: 24px 17px 0;
}
.sidebar-note {
padding: 19px 17px;
background: #f0f3e8;
border: 1px solid #e6ebdd;
border-radius: 11px;
color: #607a4f;
}
.sidebar-note > svg {
margin-bottom: 13px;
}
.sidebar-note strong {
display: block;
font-size: 14px;
max-width: 155px;
line-height: 1.6;
}
.sidebar-note p {
font-size: 12px;
color: #819074;
margin-top: 7px;
line-height: 1.8;
}
.profile {
display: flex;
align-items: center;
gap: 10px;
padding: 23px 0;
margin-top: 18px;
border-top: 1px solid var(--border);
}
.avatar {
width: 34px;
height: 34px;
border-radius: 50%;
background: #e9e5d8;
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
font-size: 12px;
font-weight: 650;
color: #776d4e;
}
.profile-text {
min-width: 0;
flex: 1;
}
.profile-text strong {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 12px;
font-weight: 600;
}
.profile-text small {
font-size: 11px;
color: var(--muted);
}
.workspace {
background: var(--bg);
margin-left: 250px;
width: calc(100% - 250px);
display: flex;
flex-direction: column;
min-height: calc(100vh - 3px);
}
.topbar {
height: 75px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 43px;
border-bottom: 1px solid var(--border);
background: #fdfefa;
gap: 15px;
}
.breadcrumbs {
display: flex;
align-items: center;
gap: 15px;
font-size: 12px;
color: var(--muted);
}
.breadcrumbs strong {
font-weight: 500;
color: #4f5c50;
}
.breadcrumb-slash {
color: #bec6b7;
}
.environment-label {
font-size: 11px;
color: var(--muted);
display: flex;
align-items: center;
gap: 7px;
}
.status-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: #6a9160;
display: inline-block;
}
.main-content {
padding: 38px 43px 40px;
flex: 1;
width: 100%;
max-width: 1560px;
margin: 0 auto;
outline: none;
}
.workspace-footer {
display: flex;
justify-content: space-between;
gap: 16px;
font-size: 11px;
color: #8e9788;
padding: 19px 43px;
border-top: 1px solid var(--border);
}
.button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 9px;
padding: 11px 17px;
min-height: 43px;
border: 1px solid var(--border);
border-radius: 8px;
background: #fff;
font-size: 14px;
font-weight: 600;
white-space: nowrap;
transition: background 0.15s, transform 0.15s;
}
.button:hover {
background: var(--sage-light);
}
.button:active {
transform: translateY(1px);
}
.button-primary {
background: var(--forest);
border-color: var(--forest);
color: white !important;
}
.button-primary:hover {
background: var(--forest-dark);
}
.button-quiet {
background: transparent;
border-color: transparent;
color: var(--muted);
}
.button-sm {
padding: 8px 12px;
min-height: 35px;
font-size: 12px;
}
.icon-button {
display: inline-grid;
place-items: center;
border: 0;
background: transparent;
border-radius: 7px;
padding: 7px;
color: #7d8978;
flex-shrink: 0;
}
.icon-button:hover {
background: var(--sage);
}
.eyebrow {
text-transform: uppercase;
font-size: 11px;
font-weight: 650;
letter-spacing: 1.7px;
color: #7c8b70;
margin-bottom: 12px;
}
.page-heading {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 20px;
margin-bottom: 28px;
}
.page-heading p {
font-size: 14px;
color: var(--muted);
margin-top: 10px;
line-height: 1.7;
}
.heading-actions {
display: flex;
gap: 12px;
align-items: center;
padding-top: 10px;
}
.badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 5px 9px;
border-radius: 5px;
background: var(--sage-light);
color: #678058;
font-size: 11px;
font-weight: 500;
white-space: nowrap;
}
.badge-neutral {
background: #f3f3ee;
color: #87907d;
}
.badge-warm {
background: #f4f0e5;
color: #8e7a4f;
}
.hero-banner {
position: relative;
overflow: hidden;
border: 1px solid #e1e7d7;
background: #eaf0e0;
border-radius: var(--radius);
padding: 31px 34px;
margin-bottom: 26px;
min-height: 184px;
display: flex;
align-items: center;
}
.hero-banner .eyebrow {
color: #6f8261;
}
.hero-banner h2 {
font-size: 28px;
font-weight: 500;
letter-spacing: -1px;
color: #37503a;
}
.hero-banner p {
font-size: 14px;
line-height: 1.8;
max-width: 400px;
color: #7a8870;
margin-top: 12px;
}
.hero-banner .garden-artwork {
position: absolute;
width: 275px;
height: 240px;
right: 19px;
bottom: -34px;
color: #5a7b4e;
}
.hero-copy {
position: relative;
z-index: 1;
max-width: 65%;
}
.hero-tag {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 10px;
color: #6e825f;
margin-top: 17px;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 17px;
margin-bottom: 32px;
}
.stat-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 11px;
padding: 20px 22px;
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 12px;
}
.stat-label {
font-size: 12px;
color: var(--muted);
}
.stat-number {
display: block;
font-size: 29px;
font-weight: 550;
letter-spacing: -1.3px;
margin: 8px 0 1px;
line-height: 1.15;
}
.stat-footnote {
font-size: 11px;
color: #9ba38f;
}
.stat-icon {
display: grid;
place-items: center;
width: 35px;
height: 35px;
border-radius: 9px;
background: #f0f4ea;
color: #799367;
}
.stat-card:nth-child(2) .stat-icon {
background: #f3f1e7;
color: #a49a70;
}
.section-heading {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 19px;
gap: 16px;
}
.section-heading h2 {
font-size: 18px;
}
.count {
font-size: 12px;
background: #e9eee1;
padding: 3px 7px;
border-radius: 5px;
margin-left: 8px;
color: #7d8b6c;
font-weight: 500;
vertical-align: middle;
letter-spacing: 0;
}
.toolbar {
display: flex;
justify-content: space-between;
align-items: center;
gap: 15px;
margin-bottom: 20px;
}
.tabs {
display: flex;
gap: 3px;
padding: 4px;
background: #ecefe5;
border-radius: 8px;
}
.tab {
border: 0;
background: transparent;
color: #7d8974;
font-size: 12px;
padding: 8px 13px;
border-radius: 6px;
white-space: nowrap;
}
.tab.active {
background: white;
color: var(--forest);
box-shadow: 0 1px 4px #263d2510;
}
.search-box {
display: flex;
align-items: center;
gap: 9px;
background: #fff;
border: 1px solid var(--border);
border-radius: 8px;
padding: 0 12px;
color: #98a08f;
max-width: 270px;
width: 100%;
height: 39px;
}
.search-box input {
width: 100%;
background: transparent;
border: 0;
outline: none !important;
font-size: 12px;
min-width: 0;
color: var(--ink);
}
.search-box:focus-within {
border-color: #91aa81;
box-shadow: 0 0 0 3px #b7caaa30;
}
.search-box input::placeholder {
color: #a0a695;
}
.filter-select {
border: 1px solid var(--border);
background: #fff;
color: #697860;
padding: 10px 31px 10px 12px;
border-radius: 7px;
font-size: 12px;
max-width: 260px;
}
.cards-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 19px;
}
.case-card {
padding: 23px 24px;
background: #fff;
border: 1px solid var(--border);
border-radius: 12px;
display: flex;
flex-direction: column;
transition: border-color 0.2s, box-shadow 0.2s;
}
.case-card:hover {
border-color: #b8c7ab;
box-shadow: 0 6px 24px #42553e06;
}
.case-card-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 22px;
gap: 12px;
}
.case-icon {
width: 43px;
height: 43px;
border-radius: 10px;
background: #edf2e6;
color: #789065;
display: grid;
place-items: center;
}
.case-card:nth-child(even) .case-icon {
background: #f3f0e5;
color: #9b9068;
}
.case-number {
font-size: 11px;
font-weight: 550;
letter-spacing: 1px;
color: #9ca38f;
margin-bottom: 8px;
}
.case-card h3 {
font-size: 18px;
line-height: 1.4;
overflow-wrap: anywhere;
}
.case-description {
font-size: 12px;
color: var(--muted);
line-height: 1.9;
margin-top: 10px;
margin-bottom: 22px;
white-space: pre-line;
overflow-wrap: anywhere;
flex: 1;
}
.card-meta {
display: flex;
align-items: center;
gap: 8px;
color: #859078;
font-size: 11px;
margin-bottom: 22px;
}
.progress-meta {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 11px;
color: #8c967f;
margin-bottom: 9px;
}
.progress-track {
height: 4px;
border-radius: 4px;
background: #edf0e7;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: #88a276;
border-radius: 4px;
transition: width 0.3s;
}
.case-card-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
margin-top: 22px;
padding-top: 17px;
border-top: 1px solid #eef0e9;
}
.card-detail {
font-size: 11px;
color: #8c957f;
display: flex;
gap: 6px;
align-items: center;
}
.case-card-footer .button {
padding: 9px 12px;
font-size: 12px;
min-height: 37px;
}
.empty-state {
background: #fff;
border: 1px dashed #ced8c4;
border-radius: 12px;
text-align: center;
padding: 52px 24px;
color: #7c8e6d;
}
.empty-state h3 {
margin: 16px 0 8px;
font-size: 17px;
color: var(--ink);
}
.empty-state p {
font-size: 14px;
color: var(--muted);
}
.empty-state .button {
margin-top: 20px;
}
.back-link {
display: inline-flex;
align-items: center;
gap: 7px;
border: 0;
background: transparent;
color: #7b8e6a;
font-size: 12px;
padding: 0;
margin-bottom: 22px;
}
.back-link:hover {
color: var(--forest);
}
.score-dialog {
width: 620px;
max-width: calc(100% - 32px);
/* stylelint-disable-next-line unit-no-unknown -- Dynamic viewport units keep mobile dialogs visible. */
max-height: calc(100dvh - 40px);
border: 1px solid var(--border);
border-radius: 17px;
padding: 0;
color: var(--ink);
background: var(--bg);
box-shadow: 0 24px 100px #1d352c30;
margin: auto;
}
.score-dialog::backdrop {
background: #26382f65;
backdrop-filter: blur(4px);
}
.dialog-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
padding: 26px 28px 22px;
background: #fff;
border-bottom: 1px solid var(--border);
gap: 16px;
}
.dialog-header h2 {
font-size: 23px;
margin: 5px 0;
}
.dialog-header p {
font-size: 12px;
color: var(--muted);
margin-top: 8px;
}
.dialog-body {
padding: 23px 28px;
}
.score-criterion {
margin-bottom: 24px;
}
.criterion-heading {
display: flex;
justify-content: space-between;
gap: 12px;
align-items: center;
font-size: 14px;
font-weight: 550;
margin-bottom: 10px;
}
.criterion-index {
font-size: 11px;
color: #9aa78e;
margin-right: 8px;
}
.score-scale {
display: flex;
gap: 8px;
}
.score-option {
flex: 1;
min-height: 43px;
min-width: 0;
border-radius: 7px;
background: #fff;
border: 1px solid var(--border);
font-size: 14px;
color: #8d9781;
transition: background 0.15s;
}
.score-option:hover {
border-color: #99ad88;
background: var(--sage-light);
}
.score-option.selected {
background: var(--forest);
border-color: var(--forest);
color: #fff;
box-shadow: 0 2px 5px #2c634c16;
}
.scale-labels {
display: flex;
justify-content: space-between;
margin-top: 7px;
font-size: 10px;
color: #9ca58f;
}
.admin-criteria {
padding: 16px 18px;
background: #ecefe5;
border: 1px solid #e2e7d9;
border-radius: 9px;
}
.admin-criteria-title {
display: flex;
gap: 7px;
align-items: center;
font-size: 11px;
color: #7e8d71;
margin-bottom: 12px;
}
.locked-score {
display: flex;
justify-content: space-between;
gap: 16px;
align-items: center;
font-size: 12px;
color: #7f8a74;
margin-top: 8px;
}
.locked-score strong {
font-weight: 500;
color: #5f7650;
white-space: nowrap;
}
.dialog-footer {
display: flex;
justify-content: space-between;
align-items: center;
gap: 15px;
background: #fff;
padding: 20px 28px;
border-top: 1px solid var(--border);
}
.dialog-footer-actions {
display: flex;
gap: 8px;
}
.score-total {
font-size: 11px;
color: #8a967c;
}
.score-total strong {
display: block;
font-size: 20px;
line-height: 1.3;
letter-spacing: -0.5px;
color: var(--forest);
}
.field > span {
display: block;
margin-bottom: 8px;
}
.checkbox-row span {
overflow-wrap: anywhere;
min-width: 0;
}
.header-profile > span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 260px;
}
.score-total strong span {
font-size: 14px;
color: #9da890;
font-weight: 400;
}
.form-error {
color: var(--danger);
font-size: 14px;
padding: 12px 15px;
background: #f8eeea;
border: 1px solid #efd7d0;
border-radius: 8px;
margin-bottom: 15px;
}
.toast {
position: fixed;
bottom: 24px;
right: 28px;
z-index: 50;
display: flex;
align-items: center;
gap: 10px;
max-width: calc(100% - 32px);
background: var(--forest-dark);
border: 1px solid #42654d;
color: #fff;
font-size: 14px;
padding: 15px 20px;
border-radius: 10px;
box-shadow: 0 8px 30px #213c2920;
}
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.2s, transform 0.2s;
}
.fade-enter,
.fade-leave-to {
opacity: 0;
transform: translateY(8px);
}
.panel {
background: #fff;
border: 1px solid var(--border);
border-radius: 12px;
overflow: hidden;
}
.panel-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
padding: 20px 24px;
border-bottom: 1px solid var(--border);
}
.panel-header h2 {
font-size: 16px;
}
.panel-header p {
font-size: 12px;
color: var(--muted);
margin-top: 5px;
}
.table-scroll {
overflow-x: auto;
}
.user-table td,
.user-table th {
padding-left: 18px;
padding-right: 18px;
}
.data-table {
border-collapse: collapse;
width: 100%;
text-align: left;
font-size: 14px;
white-space: nowrap;
}
.data-table th {
font-size: 11px;
font-weight: 500;
color: #8b957f;
background: #fcfdf9;
padding: 14px 23px;
border-bottom: 1px solid var(--border);
}
.data-table td {
padding: 18px 23px;
border-bottom: 1px solid #edf0e7;
vertical-align: middle;
}
.data-table tbody tr:last-child td {
border-bottom: 0;
}
.data-table tbody tr:hover {
background: #fcfdf9;
}
.table-person {
display: flex;
align-items: center;
gap: 12px;
}
.table-person strong {
font-weight: 550;
display: block;
font-size: 14px;
}
.table-person small {
font-size: 11px;
color: #919a86;
display: block;
margin-top: 3px;
}
.team-avatar {
border-radius: 8px;
background: #eaf0e1;
color: #82916b;
}
.score-input {
width: 65px;
padding: 9px 10px;
border: 1px solid #dfe6d5;
border-radius: 7px;
background: #fafcf7;
color: var(--forest);
text-align: center;
font-size: 14px;
}
.score-input:focus {
background: #fff;
border-color: #8ba17c;
}
.out-of {
font-size: 11px;
color: #acb29f;
margin-left: 7px;
}
.panel-footer {
padding: 16px 23px;
border-top: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
color: #929c86;
font-size: 11px;
background: #fcfdf9;
}
.inline-note {
display: flex;
align-items: center;
gap: 7px;
font-size: 11px;
color: #8c987e;
}
.content-columns {
display: grid;
grid-template-columns: minmax(0, 1fr) 295px;
gap: 22px;
align-items: start;
}
.form-panel {
padding: 24px;
background: #fff;
border: 1px solid var(--border);
border-radius: 12px;
}
.form-panel h2 {
font-size: 17px;
margin: 14px 0 8px;
}
.form-panel > p {
color: var(--muted);
font-size: 12px;
margin-bottom: 24px;
line-height: 1.9;
}
.field {
display: block;
margin-bottom: 18px;
font-size: 12px;
font-weight: 550;
color: #5e7054;
}
.text-input {
width: 100%;
border: 1px solid #dfe5d7;
border-radius: 8px;
padding: 12px 14px;
background: #fcfdf9;
font-size: 14px;
color: var(--ink);
min-height: 44px;
}
.text-input::placeholder {
color: #acb29f;
}
.field > .password-field {
margin-bottom: 0;
display: flex;
align-items: center;
background: #fcfdf9;
border: 1px solid #dfe5d7;
border-radius: 8px;
}
.password-field input {
border: 0;
background: transparent;
outline: none !important;
}
.password-field:focus-within {
outline: 3px solid #90ad7e;
outline-offset: 1px;
}
.password-field .icon-button {
margin-right: 6px;
}
.mono {
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
font-size: 12px;
}
.password-cell {
display: flex;
align-items: center;
gap: 7px;
}
.password-cell .mono {
min-width: 80px;
}
.table-empty {
text-align: center;
padding: 35px !important;
color: var(--muted);
}
.report-section {
margin-bottom: 26px;
}
.ranking-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 15px;
padding: 17px 24px;
border-bottom: 1px solid #edf0e7;
}
.ranking-row:last-child {
border: 0;
}
.ranking-team {
display: flex;
align-items: center;
gap: 16px;
font-size: 14px;
font-weight: 500;
}
.place {
height: 34px;
width: 34px;
display: grid;
place-items: center;
background: #f0f3e9;
border-radius: 8px;
color: #83906e;
font-size: 14px;
font-weight: 600;
}
.place-first {
background: #e8e6d2;
color: #96854c;
}
.rank-label {
font-size: 11px;
color: #8b967e;
}
.report-detail {
padding: 17px 23px;
border-bottom: 1px solid #edf0e7;
}
.report-detail:last-child {
border: 0;
}
.report-detail summary {
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
gap: 12px;
}
.report-detail summary::after {
content: '+';
font-size: 18px;
color: #8a9b7a;
}
.report-detail[open] summary::after {
content: '−';
}
.report-detail p {
color: #8c977f;
font-size: 12px;
margin-top: 12px;
line-height: 1.9;
}
.simple-row strong {
font-size: 14px;
font-weight: 550;
overflow-wrap: anywhere;
}
.data-table strong {
font-weight: 550;
}
.report-detail p strong {
color: #667b59;
font-weight: 500;
}
.report-empty {
padding: 27px 24px;
color: #8b987c;
font-size: 14px;
display: flex;
align-items: center;
gap: 10px;
}
.report-columns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 22px;
}
.report-subtitle {
color: #96a089;
font-size: 11px;
margin: 10px 0 18px;
}
.login-page {
min-height: 100vh;
/* stylelint-disable-next-line unit-no-unknown */
min-height: 100dvh;
display: grid;
place-items: center;
padding: 24px;
background: var(--bg);
}
.login-form {
width: 100%;
max-width: 320px;
}
.login-logo {
display: block;
width: 180px;
height: auto;
margin: 0 auto 16px;
}
.login-title {
margin: 0 0 24px;
font-size: 19px;
font-weight: 600;
line-height: 1.4;
text-align: center;
}
.login-form .text-input {
display: block;
font-size: 16px;
margin-bottom: 16px;
min-height: 48px;
background: var(--surface);
}
.login-form .text-input::placeholder {
font-size: 14px;
}
.login-form .button-primary {
width: 100%;
font-size: 14px;
min-height: 46px;
margin-top: 4px;
}
@media (max-height: 500px) {
.login-logo {
width: 120px;
}
}
@media (min-width: 1550px) {
.main-content {
padding-top: 46px;
}
.hero-banner {
min-height: 205px;
}
.case-card {
padding: 28px;
}
}
@media (max-width: 1180px) {
.sidebar {
width: 220px;
}
.workspace {
margin-left: 220px;
width: calc(100% - 220px);
}
.brand {
padding-left: 18px;
gap: 9px;
}
.brand strong {
font-size: 17px;
}
.main-content {
padding: 30px 27px;
}
.topbar {
padding: 0 27px;
}
.workspace-footer {
padding: 18px 27px;
}
.content-columns {
grid-template-columns: minmax(0, 1fr);
}
.form-panel {
max-width: none;
}
.form-panel form {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0 18px;
}
.form-panel form .button {
align-self: center;
}
.hero-banner .garden-artwork {
right: -32px;
width: 240px;
}
}
@media (max-width: 800px) {
.app-shell {
display: block;
}
.sidebar {
position: static;
width: 100%;
border-right: 0;
border-bottom: 1px solid var(--border);
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
padding: 12px 20px;
gap: 10px;
}
.sidebar .brand {
padding: 0;
gap: 9px;
}
.brand-mark {
width: 34px;
height: 36px;
border-radius: 8px;
}
.brand strong {
font-size: 17px;
}
.brand small {
font-size: 9px;
}
.workspace-label,
.sidebar-note,
.profile-text,
.profile > .avatar {
display: none;
}
.main-nav {
grid-column: 1/-1;
grid-row: 2;
flex-direction: row;
padding: 8px 0 0;
gap: 6px;
overflow: auto;
}
.nav-item {
padding: 10px 12px;
font-size: 12px;
gap: 8px;
white-space: nowrap;
}
.nav-item svg {
width: 16px;
height: 16px;
}
.nav-active-dot {
display: none !important;
}
.sidebar-bottom {
padding: 0;
grid-column: 2;
grid-row: 1;
margin: 0;
}
.profile {
border: 0;
padding: 0;
margin: 0;
}
.workspace {
margin: 0;
width: 100%;
min-height: calc(100vh - 126px);
}
.topbar {
height: 49px;
padding: 0 23px;
}
.breadcrumbs {
font-size: 11px;
gap: 10px;
}
.environment-label {
font-size: 10px;
}
.main-content {
padding: 26px 23px 32px;
}
.workspace-footer {
padding: 17px 23px;
font-size: 10px;
}
.sidebar .main-nav:has(.nav-item:only-child) {
display: none;
}
.hero-banner {
padding: 25px;
min-height: 169px;
}
.hero-banner h2 {
font-size: 25px;
}
.hero-banner p {
font-size: 12px;
}
.hero-banner .garden-artwork {
width: 210px;
right: -20px;
bottom: -42px;
}
.hero-copy {
max-width: 75%;
}
.stat-card {
padding: 16px;
}
.stat-icon {
width: 29px;
height: 29px;
}
.stats-grid {
gap: 10px;
}
.stat-number {
font-size: 26px;
}
.cards-grid {
gap: 15px;
}
.case-card {
padding: 20px;
}
.content-columns {
gap: 20px;
}
}
@media (max-width: 520px) {
h1 {
font-size: 27px;
}
.main-content {
padding: 25px 18px;
}
.sidebar {
padding-left: 18px;
padding-right: 18px;
}
.topbar {
padding: 0 18px;
}
.environment-label {
display: none;
}
.page-heading {
margin-bottom: 24px;
gap: 10px;
}
.heading-actions {
padding: 0;
}
.heading-actions .button {
font-size: 11px;
padding: 9px 10px;
}
.eyebrow {
font-size: 10px;
}
.page-heading p {
font-size: 12px;
}
.hero-banner {
padding: 22px;
min-height: 179px;
}
.hero-copy {
max-width: 90%;
}
.hero-banner h2 {
font-size: 23px;
}
.hero-banner p {
max-width: 230px;
}
.hero-banner .garden-artwork {
opacity: 0.3;
right: -68px;
}
.hero-tag {
font-size: 9px;
}
.stats-grid {
gap: 8px;
margin-bottom: 27px;
}
.stat-card {
padding: 14px 11px;
display: block;
position: relative;
}
.stat-icon {
display: none;
}
.stat-label {
font-size: 10px;
}
.stat-number {
font-size: 25px;
}
.stat-footnote {
font-size: 9px;
}
.section-heading h2 {
font-size: 17px;
}
.toolbar {
align-items: stretch;
flex-direction: column;
gap: 12px;
}
.tabs {
align-self: flex-start;
max-width: 100%;
}
.tab {
font-size: 11px;
padding: 8px 12px;
}
.search-box {
max-width: 100%;
}
.filter-select {
max-width: none;
width: 100%;
}
.section-heading .filter-select {
width: auto;
max-width: 52%;
min-width: 0;
}
.cards-grid {
grid-template-columns: minmax(0, 1fr);
}
.case-card {
padding: 22px;
}
.case-card-top {
margin-bottom: 17px;
}
.case-card h3 {
font-size: 18px;
}
.workspace-footer {
padding: 16px 18px;
}
.workspace-footer > span:last-child {
display: none;
}
.score-dialog {
max-width: calc(100% - 20px);
/* stylelint-disable-next-line unit-no-unknown -- Dynamic viewport units keep mobile dialogs visible. */
max-height: calc(100dvh - 20px);
border-radius: 13px;
}
.dialog-header {
padding: 21px 20px 18px;
}
.dialog-header h2 {
font-size: 21px;
}
.dialog-body {
padding: 22px 20px;
}
.criterion-heading {
font-size: 12px;
}
.score-scale {
gap: 6px;
}
.score-option {
min-height: 40px;
}
.dialog-footer {
padding: 17px 20px;
gap: 8px;
}
.dialog-footer .button {
font-size: 12px;
padding: 10px 12px;
}
.dialog-footer .button-quiet {
padding: 10px 6px;
}
.score-total strong {
font-size: 19px;
}
.panel-header {
padding: 18px;
}
.panel-footer {
padding: 15px 18px;
}
.panel-footer .inline-note {
max-width: 180px;
font-size: 10px;
}
.data-table td,
.data-table th {
padding: 15px 18px;
}
.form-panel {
padding: 22px;
}
.form-panel form {
display: block;
}
.form-panel form .button {
width: 100%;
}
.report-columns {
grid-template-columns: minmax(0, 1fr);
}
.ranking-row {
padding: 15px 18px;
}
.ranking-team {
font-size: 12px;
gap: 10px;
}
.rank-label {
font-size: 10px;
}
.score-input {
width: 56px;
}
.toast {
right: 16px;
bottom: 16px;
font-size: 12px;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
transition: none !important;
animation: none !important;
scroll-behavior: auto !important;
}
}
/* Compact workspace and administration forms. */
.simple-shell .sidebar {
width: 210px;
}
.simple-shell .workspace {
margin-left: 0;
width: 100%;
min-height: calc(100vh - 3px);
}
.simple-shell .main-content {
padding: 36px;
max-width: 1240px;
}
.simple-shell .brand {
padding: 27px 20px;
gap: 10px;
}
.compact-brand img {
object-fit: contain;
}
.case-picture img {
width: 100%;
height: 100%;
object-fit: contain;
}
.simple-shell .brand img {
object-fit: contain;
flex-shrink: 0;
}
.simple-shell .brand strong {
font-size: 17px;
}
.simple-shell .page-heading {
align-items: center;
}
.simple-shell h1 {
font-size: 27px;
overflow-wrap: anywhere;
}
.simple-shell .current-nav {
background: var(--sage);
color: var(--forest) !important;
}
.simple-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding: 20px 23px;
border-bottom: 1px solid var(--border);
}
.simple-row:last-child {
border-bottom: 0;
}
.clickable-row {
width: 100%;
border: 0;
border-bottom: 1px solid var(--border);
background: var(--surface);
color: inherit;
font: inherit;
text-align: left;
}
a.simple-row:hover,
.clickable-row:hover {
background: var(--sage-light);
}
.clickable-row:focus-visible {
outline: 2px solid var(--forest);
outline-offset: -2px;
}
.case-row-label > div,
.clickable-row .case-row-label > span {
min-width: 0;
}
.simple-row > div:first-child {
min-width: 0;
}
.simple-row p,
.simple-row .row-description {
display: block;
font-size: 14px;
color: var(--muted);
margin-top: 6px;
overflow-wrap: anywhere;
white-space: pre-line;
}
.row-actions {
display: flex;
align-items: center;
gap: 12px;
flex-shrink: 0;
}
.form-dialog {
width: 460px;
}
.form-dialog .dialog-footer {
justify-content: flex-end;
}
.checkbox-list {
display: flex;
flex-direction: column;
gap: 15px;
}
.checkbox-row {
display: flex;
align-items: center;
gap: 10px;
font-size: 14px;
cursor: pointer;
}
.checkbox-row input {
width: 17px;
height: 17px;
accent-color: var(--forest);
flex-shrink: 0;
}
.assignment-cell {
white-space: normal;
min-width: 170px;
max-width: 340px;
}
.plain-description {
color: var(--muted);
font-size: 14px;
margin: -10px 0 28px;
white-space: pre-line;
overflow-wrap: anywhere;
}
.table-description {
font-size: 12px;
color: var(--muted);
white-space: normal;
min-width: 140px;
max-width: 300px;
margin-top: 5px;
}
.save-row {
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
margin-top: 16px;
}
.muted {
color: var(--muted);
font-size: 14px;
}
textarea.text-input {
resize: vertical;
}
@media (max-width: 800px) {
.simple-shell .sidebar {
width: 100%;
}
.simple-shell .workspace {
margin-left: 0;
width: 100%;
}
.simple-shell .brand {
padding: 0;
}
.simple-shell .main-content {
padding: 26px 18px;
}
.simple-shell .profile-text {
display: none;
}
.simple-row {
padding: 18px;
gap: 12px;
}
.simple-shell .page-heading {
gap: 12px;
}
.simple-shell h1 {
font-size: 24px;
}
.row-actions {
flex-direction: column;
align-items: flex-end;
gap: 8px;
}
.save-row {
align-items: flex-start;
}
.save-row .muted {
font-size: 11px;
}
}
.simple-shell a:not(.nav-item) {
color: var(--ink) !important;
}
.expert-heading {
flex-wrap: wrap;
}
.expert-header-actions,
.expert-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.expert-actions {
min-width: 235px;
}
.danger-text {
color: var(--danger);
}
.button-danger {
color: #fff;
background: #ef2020;
border-color: #ef2020;
}
.button-danger:hover {
color: #fff;
background: #d81818;
border-color: #d81818;
}
/* Full-width expert cabinet; optional navigation for administrators. */
.workspace-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 65px;
padding: 12px 36px;
border-bottom: 1px solid var(--border);
background: #fcfdf9;
}
.header-profile {
display: flex;
align-items: center;
gap: 12px;
min-width: 0;
font-size: 14px;
color: var(--muted);
}
.compact-brand {
display: flex;
align-items: center;
gap: 10px;
font-size: 16px;
}
.sidebar-heading {
display: flex;
align-items: center;
}
.menu-toggle {
width: 40px;
min-height: 40px;
margin-left: -24px;
padding: 0;
border-radius: 12px;
}
.menu-open .menu-toggle {
position: relative;
z-index: 41;
}
.menu-backdrop {
display: none;
}
.case-picture {
display: inline-flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
width: 44px;
height: 44px;
border-radius: 9px;
background: var(--sage-light);
color: var(--forest);
overflow: hidden;
}
.case-row-label,
.case-title {
display: flex;
align-items: center;
gap: 15px;
min-width: 0;
}
.icon-upload label {
display: block;
margin-bottom: 10px;
}
.icon-upload-controls {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 10px;
}
.icon-upload input {
max-width: 100%;
min-width: 0;
font-size: 12px;
}
.icon-upload .form-error {
margin-top: 12px;
}
.report-tabs {
flex-wrap: wrap;
}
.all-marks-table th {
white-space: normal;
min-width: 130px;
max-width: 185px;
line-height: 1.5;
}
@media (min-width: 801px) {
.simple-shell.menu-open .workspace {
margin-left: 210px;
width: calc(100% - 210px);
}
}
@media (max-width: 800px) {
.menu-toggle {
margin-left: -10px;
}
.menu-open .menu-toggle {
position: fixed;
top: 12px;
left: 218px;
margin-left: 0;
}
.workspace-header {
padding: 10px 18px;
min-height: 58px;
}
.header-profile {
font-size: 11px;
gap: 5px;
}
.header-profile > span {
max-width: 120px;
}
.simple-shell .sidebar {
position: fixed;
top: 3px;
bottom: 0;
left: 0;
z-index: 40;
display: flex;
flex-direction: column;
align-items: stretch;
width: 210px;
padding: 0;
border-right: 1px solid var(--border);
}
.simple-shell .sidebar-heading .brand {
padding: 23px 0 23px 18px;
}
.simple-shell .sidebar .main-nav {
display: flex;
flex-direction: column;
padding: 0 13px;
}
.menu-backdrop {
display: block;
position: fixed;
inset: 0;
border: 0;
padding: 0;
background: #26382f65;
z-index: 35;
}
.case-row-label,
.case-title {
gap: 11px;
}
.case-picture {
width: 38px;
height: 38px;
}
}
.sidebar-heading .brand img {
width: 32px;
height: auto;
}
.sidebar-heading .brand strong {
font-size: 15px;
}
.assignment-picker {
position: relative;
}
.assignment-dropdown {
position: absolute;
top: calc(100% + 8px);
right: 0;
z-index: 20;
width: 340px;
max-width: calc(100vw - 48px);
padding: 16px;
border: 1px solid var(--border);
border-radius: 12px;
background: var(--surface);
box-shadow: 0 8px 24px #293b321a;
}
.assignment-options {
display: flex;
flex-direction: column;
gap: 14px;
max-height: 260px;
overflow-y: auto;
margin-top: 14px;
}
.assignment-options .checkbox-row {
align-items: flex-start;
overflow-wrap: anywhere;
}
.assignment-dropdown .form-error {
margin-top: 12px;
}
.technical-comment-editor {
margin-top: 22px;
}
.technical-comment-editor label {
display: block;
margin-bottom: 8px;
}
.technical-comment-editor .button {
margin-top: 10px;
}
.technical-comment {
margin: 24px 0 16px;
padding: 16px;
border: 1px solid var(--border);
border-radius: 8px;
background: var(--sage-light);
}
.technical-comment h3 {
margin: 0 0 8px;
font-size: 14px;
}
.technical-comment p,
.technical-comment-text {
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.team-status-mobile {
display: none;
}
@media (max-width: 800px) {
.team-status-mobile {
display: flex;
width: fit-content;
margin-top: 8px;
}
.team-status-desktop {
display: none;
}
}
@media (max-width: 800px) {
.team-score-dialog[open] {
display: flex;
flex-direction: column;
overflow: hidden;
}
.team-score-dialog .dialog-header,
.team-score-dialog .dialog-footer {
flex: 0 0 auto;
}
.team-score-dialog .dialog-body {
flex: 1 1 auto;
min-height: 0;
overflow-y: auto;
overscroll-behavior-y: contain;
}
.team-score-dialog .dialog-footer {
flex-direction: column;
align-items: stretch;
padding-bottom: max(17px, env(safe-area-inset-bottom));
}
.team-score-dialog .score-total {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.team-score-dialog .dialog-footer-actions {
justify-content: flex-end;
}
}