Files
koc-loop/koc-portal/app/globals.css

1924 lines
31 KiB
CSS
Raw Normal View History

2026-07-30 12:06:41 +08:00
@import "tailwindcss";
:root {
--font-geist-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
2026-07-30 12:06:41 +08:00
--ink: #15221f;
--ink-soft: #354640;
--green: #1e8d68;
--green-deep: #176e52;
--green-soft: #e7f4ee;
--canvas: #f2f4f1;
--line: #dfe5e1;
--muted: #7f8b87;
--orange: #dd794f;
}
* {
box-sizing: border-box;
}
html {
min-height: 100%;
background: var(--canvas);
}
body {
min-height: 100vh;
margin: 0;
color: var(--ink);
background:
radial-gradient(circle at 8% 4%, rgb(46 153 114 / 0.08), transparent 24%),
var(--canvas);
font-family: var(--font-geist-sans), "PingFang SC", "Microsoft YaHei", sans-serif;
-webkit-font-smoothing: antialiased;
}
button,
input {
color: inherit;
font: inherit;
}
button {
cursor: pointer;
}
button:disabled {
cursor: not-allowed;
opacity: 0.5;
}
.portal-shell {
width: min(100%, 1120px);
min-height: 100vh;
margin: 0 auto;
padding: 24px 24px 48px;
}
.portal-topbar {
display: flex;
min-height: 52px;
align-items: center;
justify-content: space-between;
}
.portal-brand {
display: flex;
align-items: center;
gap: 10px;
}
.portal-brand > span,
.loading-mark {
display: grid;
width: 34px;
height: 34px;
place-items: center;
border-radius: 10px;
color: white;
background: linear-gradient(145deg, #2e9f77, #176348);
font-size: 13px;
font-weight: 760;
box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25);
}
.portal-brand strong {
font-size: 12px;
letter-spacing: 0.12em;
}
.external-label,
.claimant-chip {
padding: 7px 10px;
border: 1px solid #d8e1dc;
border-radius: 14px;
color: #61706b;
background: rgb(255 255 255 / 0.7);
font-size: 9px;
}
.micro {
margin: 0 0 8px;
color: var(--green);
font-size: 9px;
font-weight: 760;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.task-hero {
display: grid;
grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.7fr);
gap: 18px;
margin-top: 22px;
}
.hero-copy {
display: flex;
min-height: 430px;
justify-content: center;
flex-direction: column;
padding: 46px;
overflow: hidden;
border-radius: 24px;
color: white;
background:
radial-gradient(circle at 85% 12%, rgb(90 218 166 / 0.24), transparent 27%),
linear-gradient(135deg, #12241f, #225b47);
box-shadow: 0 22px 60px rgb(20 50 41 / 0.13);
}
.hero-copy .micro {
color: #77d3ad;
}
.hero-copy h1 {
max-width: 680px;
margin: 0;
font-size: clamp(34px, 5vw, 58px);
line-height: 1.08;
letter-spacing: -0.06em;
}
.hero-copy > p:not(.micro) {
max-width: 530px;
margin: 18px 0 0;
color: #afc9bf;
font-size: 13px;
line-height: 1.8;
}
.hero-meta {
display: flex;
gap: 8px;
margin-top: 28px;
}
.hero-meta span {
padding: 8px 10px;
border: 1px solid rgb(255 255 255 / 0.1);
border-radius: 9px;
color: #b8d0c7;
background: rgb(255 255 255 / 0.055);
font-size: 9px;
}
.claim-card,
.submit-card,
.note-document,
.notes-section,
.message-card {
border: 1px solid var(--line);
border-radius: 20px;
background: white;
box-shadow: 0 1px 2px rgb(15 31 26 / 0.03);
}
.screenshot-task-detail .document-label:first-of-type {
margin-top: 26px;
}
.screenshot-task-detail .note-title-row h1 {
color: var(--green-deep);
}
.task-result-picker {
min-height: 160px;
}
.task-result-label-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.task-result-label-row small {
color: #7f8b87;
font-size: 8px;
font-weight: 500;
}
.task-result-gallery {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 9px;
margin-top: 8px;
}
.task-result-thumb,
.task-result-add {
position: relative;
min-height: 112px;
overflow: hidden;
border: 1px solid #d8e2dd;
border-radius: 11px;
background: #f6f9f7;
}
.task-result-thumb {
display: block;
width: 100%;
padding: 0;
border: 1px solid #d8e2dd;
color: inherit;
cursor: zoom-in;
}
.task-result-thumb img {
width: 100%;
height: 112px;
display: block;
object-fit: cover;
}
.task-result-thumb > span {
position: absolute;
right: 6px;
bottom: 6px;
padding: 4px 6px;
border-radius: 7px;
color: #267257;
background: rgb(238 249 244 / 0.94);
font-size: 7px;
font-weight: 700;
}
.task-result-thumb.pending-upload > span {
color: #8a643f;
background: rgb(255 245 233 / 0.94);
}
.task-result-thumb button {
position: absolute;
top: 6px;
right: 6px;
display: grid;
width: 24px;
height: 24px;
place-items: center;
padding: 0;
border: 0;
border-radius: 50%;
color: white;
background: rgb(17 48 39 / 0.78);
font-size: 15px;
cursor: pointer;
}
.task-result-add {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
border-style: dashed;
cursor: pointer;
}
.task-result-add input {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
}
.task-result-add b {
display: grid;
width: 30px;
height: 30px;
place-items: center;
border-radius: 50%;
color: var(--green);
background: var(--green-soft);
font-size: 16px;
}
.task-result-add strong {
margin-top: 8px;
font-size: 8px;
}
.task-result-hint {
display: block;
margin-top: 8px;
color: #8c9793;
font-size: 7px;
line-height: 1.55;
}
2026-07-30 12:06:41 +08:00
.claim-card {
min-height: 430px;
padding: 28px;
}
.claim-card > form {
margin-top: 24px;
}
.entry-switch {
display: grid;
grid-template-columns: 1fr 1fr;
padding: 4px;
border-radius: 11px;
background: #f0f3f1;
}
.entry-switch button {
height: 34px;
border: 0;
border-radius: 8px;
color: #7d8985;
background: transparent;
font-size: 9px;
font-weight: 680;
}
.entry-switch button.active {
color: var(--green-deep);
background: white;
box-shadow: 0 2px 8px rgb(21 46 38 / 0.08);
}
.claim-card h2,
.submit-card h2,
.notes-section h2 {
margin: 0;
font-size: 18px;
letter-spacing: -0.035em;
}
label {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 25px;
}
label > span {
color: #5e6d68;
font-size: 10px;
font-weight: 650;
}
input {
width: 100%;
height: 45px;
padding: 0 13px;
border: 1px solid #d7dfda;
border-radius: 10px;
outline: 0;
background: white;
font-size: 11px;
}
input:focus {
border-color: #6aab92;
box-shadow: 0 0 0 3px rgb(30 141 104 / 0.09);
}
.quantity-control {
display: grid;
grid-template-columns: 48px 1fr 48px;
align-items: center;
margin-top: 18px;
padding: 10px;
border-radius: 14px;
background: #f3f6f4;
}
.quantity-control button {
display: grid;
width: 42px;
height: 42px;
place-items: center;
border: 1px solid #dbe3de;
border-radius: 11px;
background: white;
font-size: 16px;
}
.quantity-control > div {
display: flex;
align-items: baseline;
justify-content: center;
gap: 5px;
}
.quantity-control strong {
font-size: 25px;
}
.quantity-control span {
color: #8c9894;
font-size: 10px;
}
.claim-primary,
.submit-primary,
.message-card button {
width: 100%;
height: 46px;
margin-top: 18px;
border: 1px solid var(--green-deep);
border-radius: 11px;
color: white;
background: var(--green);
font-size: 11px;
font-weight: 700;
}
.claim-primary:hover,
.submit-primary:hover {
background: var(--green-deep);
}
.claim-card small {
display: block;
margin-top: 10px;
color: #99a29f;
font-size: 8px;
text-align: center;
}
.recover-intro {
margin: 10px 0 0;
color: #7d8985;
font-size: 9px;
line-height: 1.65;
}
.recovery-list {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 14px;
}
.recovery-list > button {
position: relative;
display: grid;
min-height: 78px;
padding: 12px 84px 12px 13px;
border: 1px solid #dfe6e2;
border-radius: 11px;
background: #fbfcfb;
text-align: left;
}
.recovery-list > button:hover {
border-color: #acd0c1;
background: #f4f9f7;
}
.recovery-list span {
color: var(--green);
font-size: 8px;
font-weight: 700;
}
.recovery-list strong {
margin-top: 5px;
overflow: hidden;
font-size: 9px;
text-overflow: ellipsis;
white-space: nowrap;
}
.recovery-list small {
margin: 4px 0 0;
text-align: left;
}
.recovery-list i {
position: absolute;
right: 12px;
bottom: 14px;
color: var(--green-deep);
font-size: 8px;
font-style: normal;
font-weight: 700;
}
.steps {
display: grid;
grid-template-columns: 1fr auto 1fr auto 1fr;
align-items: center;
margin-top: 18px;
padding: 20px 24px;
border: 1px solid var(--line);
border-radius: 17px;
background: rgb(255 255 255 / 0.78);
}
.steps > div {
display: grid;
grid-template-columns: auto 1fr;
gap: 3px 10px;
align-items: center;
}
.steps > div > span {
display: grid;
grid-row: 1 / span 2;
width: 31px;
height: 31px;
place-items: center;
border-radius: 9px;
color: var(--green);
background: var(--green-soft);
font-size: 9px;
font-weight: 750;
}
.steps strong {
font-size: 10px;
}
.steps p {
margin: 0;
color: #99a29f;
font-size: 8px;
}
.steps > i {
width: 55px;
height: 1px;
margin: 0 18px;
background: #dce3df;
}
footer {
padding: 30px 0 0;
color: #a0aaa6;
font-size: 8px;
text-align: center;
}
.claimed-hero {
display: flex;
min-height: 176px;
align-items: center;
justify-content: space-between;
margin-top: 22px;
padding: 30px 34px;
border-radius: 22px;
color: white;
background:
radial-gradient(circle at 84% 18%, rgb(90 218 166 / 0.22), transparent 28%),
linear-gradient(130deg, #142721, #235b47);
}
.claimed-hero h1 {
margin: 0;
font-size: clamp(25px, 4vw, 38px);
letter-spacing: -0.05em;
}
.claimed-hero > div:first-child > p:last-child {
margin: 9px 0 0;
color: #a7c1b7;
font-size: 10px;
}
.claimed-hero .micro {
color: #74cfa9;
}
.completion-ring {
display: grid;
width: 90px;
height: 90px;
place-items: center;
border: 6px solid rgb(255 255 255 / 0.13);
border-top-color: #68d1a6;
border-radius: 50%;
}
.completion-ring strong,
.completion-ring span {
grid-area: 1 / 1;
}
.completion-ring strong {
margin-top: -12px;
font-size: 17px;
}
.completion-ring span {
margin-top: 22px;
color: #96b8ab;
font-size: 8px;
}
.notes-section {
margin-top: 16px;
padding: 22px;
}
.section-heading {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 15px;
}
.section-heading p {
margin: 5px 0 0;
color: #929d99;
font-size: 9px;
}
.section-heading > span {
padding: 6px 9px;
border-radius: 11px;
color: var(--green-deep);
background: var(--green-soft);
font-size: 9px;
font-weight: 700;
}
.section-actions {
display: flex;
align-items: center;
gap: 9px;
}
.section-actions > span {
padding: 6px 9px;
border-radius: 11px;
color: var(--green-deep);
background: var(--green-soft);
font-size: 9px;
font-weight: 700;
}
.section-actions > button {
height: 34px;
padding: 0 13px;
border: 1px solid #bcd5ca;
border-radius: 10px;
color: var(--green-deep);
background: white;
font-size: 9px;
font-weight: 700;
}
.section-actions > button:hover,
.section-actions > button.active {
color: white;
border-color: var(--green);
background: var(--green);
}
.section-actions > button:disabled {
color: #a3aca8;
border-color: #e3e8e5;
background: #f5f7f6;
cursor: not-allowed;
}
.share-composer {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(190px, 0.45fr) auto;
gap: 14px;
align-items: end;
margin: 0 0 16px;
padding: 17px;
border: 1px solid #cfe2d9;
border-radius: 14px;
background: #f4faf7;
}
.share-composer h3,
.delegation-history h3 {
margin: 2px 0 0;
font-size: 15px;
}
.share-composer p:not(.micro) {
margin: 6px 0 0;
color: #788680;
font-size: 9px;
}
.share-composer label {
display: grid;
gap: 6px;
color: #60706a;
font-size: 9px;
font-weight: 650;
}
.share-composer input {
height: 38px;
padding: 0 11px;
border: 1px solid #cfdbd5;
border-radius: 10px;
color: var(--ink);
background: white;
outline: none;
}
.share-composer input:focus {
border-color: #76b69d;
box-shadow: 0 0 0 3px rgb(30 141 104 / 0.09);
}
.share-composer-action {
display: flex;
align-items: center;
gap: 10px;
}
.share-composer-action strong {
color: var(--green-deep);
font-size: 9px;
white-space: nowrap;
}
.share-primary {
height: 38px;
padding: 0 15px;
border: 1px solid var(--green);
border-radius: 10px;
color: white;
background: var(--green);
font-size: 9px;
font-weight: 720;
}
.share-primary:disabled {
border-color: #afcfc2;
background: #afcfc2;
cursor: not-allowed;
}
.share-composer > small {
grid-column: 1 / -1;
color: #86938e;
font-size: 8px;
}
.note-list {
display: flex;
flex-direction: column;
}
.note-row {
display: grid;
grid-template-columns: auto auto minmax(0, 1fr) auto auto;
gap: 13px;
align-items: center;
min-height: 76px;
border-top: 1px solid #edf0ee;
}
.note-row.share-selecting {
grid-template-columns: auto auto auto minmax(0, 1fr) auto auto;
}
.share-checkbox {
display: grid;
width: 40px;
height: 40px;
place-items: center;
border-radius: 11px;
cursor: pointer;
}
.share-checkbox input {
position: absolute;
width: 1px;
height: 1px;
overflow: hidden;
opacity: 0;
pointer-events: none;
}
.share-checkbox span {
display: grid;
width: 24px;
height: 24px;
place-items: center;
border: 1px solid #c9d6d0;
border-radius: 7px;
color: transparent;
background: white;
font-size: 12px;
font-weight: 800;
}
.share-checkbox input:checked + span {
color: white;
border-color: var(--green);
background: var(--green);
}
.share-checkbox input:focus-visible + span {
outline: 3px solid rgb(30 141 104 / 0.18);
outline-offset: 2px;
}
.share-checkbox.disabled {
cursor: not-allowed;
opacity: 0.38;
}
.note-thumb {
display: block;
width: 48px;
height: 48px;
object-fit: contain;
border: 1px solid #edf0ee;
border-radius: 9px;
background: #f5f7f5;
}
.note-thumb.empty {
place-content: center;
color: #a0aaa6;
font-size: 7px;
text-align: center;
}
.note-index {
display: grid;
width: 34px;
height: 34px;
place-items: center;
border-radius: 10px;
color: #61716b;
background: #eef2ef;
font-size: 9px;
font-weight: 720;
}
.note-index.done {
color: white;
background: var(--green);
box-shadow: 0 5px 14px rgb(30 141 104 / 0.18);
}
.note-row h3 {
margin: 0;
overflow: hidden;
font-size: 11px;
text-overflow: ellipsis;
white-space: nowrap;
}
.note-row p {
margin: 5px 0 0;
color: #9aa39f;
font-size: 8px;
}
.note-status {
padding: 6px 8px;
border-radius: 11px;
color: #9a673c;
background: #fff1e5;
font-size: 8px;
font-weight: 650;
}
.note-status.done {
color: #27775b;
background: #e9f5f0;
}
.note-status.delegated {
color: #376b79;
background: #e7f3f6;
}
.note-row button {
height: 31px;
padding: 0 10px;
border: 1px solid #dce4df;
border-radius: 8px;
color: #53645e;
background: white;
font-size: 8px;
font-weight: 650;
}
.note-row button:hover {
border-color: #b8d3c8;
color: var(--green-deep);
background: #f4f9f7;
}
.safe-tip {
margin-top: 13px;
color: #909b97;
font-size: 8px;
text-align: center;
}
.claim-tools {
display: flex;
align-items: center;
gap: 8px;
}
.claim-tools > button {
height: 30px;
padding: 0 10px;
border: 1px solid #d8e1dc;
border-radius: 10px;
color: #61706b;
background: rgb(255 255 255 / 0.7);
font-size: 8px;
}
.delegation-history {
margin-top: 18px;
padding-top: 17px;
border-top: 1px solid #edf0ee;
}
.delegation-heading {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.delegation-heading > span {
color: #81908a;
font-size: 9px;
}
.delegation-list {
display: grid;
gap: 8px;
}
.delegation-list > article {
display: grid;
grid-template-columns: minmax(0, 1fr) auto auto auto;
gap: 13px;
align-items: center;
min-height: 58px;
padding: 10px 12px;
border: 1px solid #e2e9e5;
border-radius: 12px;
background: #fbfcfb;
}
.delegation-list > article.revoked {
opacity: 0.58;
}
.delegation-list > article > div:first-child {
display: grid;
gap: 4px;
}
.delegation-list strong {
font-size: 10px;
}
.delegation-list span,
.delegation-list small {
color: #84918c;
font-size: 8px;
}
.delegation-status {
padding: 5px 7px;
border-radius: 9px;
font-weight: 700;
}
.delegation-status.active {
color: #28785b;
background: #e8f5ef;
}
.delegation-status.revoked {
color: #7e8884;
background: #eef1ef;
}
.delegation-actions {
display: flex;
gap: 6px;
}
.delegation-actions button {
height: 30px;
padding: 0 10px;
border: 1px solid #cbd8d2;
border-radius: 8px;
color: var(--green-deep);
background: white;
font-size: 8px;
font-weight: 680;
}
.delegation-actions button.danger {
color: #a25e45;
border-color: #eed1c5;
}
.detail-shell {
width: min(100%, 1220px);
}
.back-link {
margin: 18px 0 12px;
padding: 6px 0;
border: 0;
color: #65736e;
background: transparent;
font-size: 9px;
}
.detail-grid {
display: grid;
grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.65fr);
gap: 16px;
align-items: start;
}
.note-document {
min-height: 650px;
padding: 34px 38px;
}
.mobile-note-summary,
.mobile-note-collapse-trigger {
display: none;
}
2026-07-30 12:06:41 +08:00
.note-document-meta {
display: flex;
gap: 8px;
}
.note-document-meta span {
padding: 5px 7px;
border-radius: 6px;
color: #71807a;
background: #f0f3f1;
font-size: 8px;
}
.note-title-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 20px;
margin-top: 24px;
}
.note-document h1 {
margin: 0;
font-size: clamp(25px, 4vw, 40px);
line-height: 1.25;
letter-spacing: -0.045em;
}
.inline-copy {
flex: 0 0 auto;
min-width: 76px;
height: 34px;
padding: 0 12px;
border: 1px solid #cfe1d9;
border-radius: 9px;
color: var(--green-deep);
background: #f2f8f5;
font-size: 9px;
font-weight: 680;
}
.inline-copy:hover {
border-color: #9fc9b8;
background: #eaf5f0;
}
.document-rule {
width: 36px;
height: 3px;
margin-top: 24px;
border-radius: 3px;
background: var(--green);
}
.document-label {
margin: 24px 0 10px;
color: #8a9591;
font-size: 9px;
font-weight: 700;
}
.document-label-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
margin: 20px 0 10px;
}
.document-label-row .document-label {
margin: 0;
}
.note-body {
color: #3e4c47;
font-size: 13px;
line-height: 1.95;
white-space: pre-wrap;
}
.note-images {
margin-top: 30px;
padding-top: 24px;
border-top: 1px solid #edf0ee;
}
.note-images-heading {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 12px;
margin-bottom: 12px;
}
.note-images-heading .document-label {
margin: 0 0 5px;
}
.note-images-heading span {
color: #909b97;
font-size: 8px;
}
.note-images-heading b {
padding: 6px 8px;
border-radius: 9px;
color: var(--green-deep);
background: var(--green-soft);
font-size: 8px;
}
.note-images-tools {
display: flex;
align-items: center;
gap: 8px;
}
.note-images-tools button {
height: 30px;
padding: 0 11px;
border: 1px solid var(--green-deep);
border-radius: 9px;
color: white;
background: var(--green);
font-size: 8px;
font-weight: 700;
}
.note-images-tools button:hover {
background: var(--green-deep);
}
.note-image-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 12px;
}
.note-image-card {
overflow: hidden;
border: 1px solid #e4e9e6;
border-radius: 12px;
background: #f7f8f7;
}
.note-image-preview {
display: flex;
min-height: 230px;
align-items: center;
justify-content: center;
color: inherit;
text-decoration: none;
}
.note-image-preview img {
display: block;
width: 100%;
height: auto;
max-height: 580px;
object-fit: contain;
}
.note-image-actions {
display: flex;
min-height: 42px;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 7px 8px 7px 12px;
border-top: 1px solid #e4e9e6;
background: white;
}
.note-image-actions span {
color: #7d8985;
font-size: 8px;
font-weight: 650;
}
.note-image-actions button {
height: 28px;
padding: 0 10px;
border: 1px solid #cfe1d9;
border-radius: 8px;
color: var(--green-deep);
background: #f2f8f5;
font-size: 8px;
font-weight: 680;
}
.note-image-actions button:hover {
border-color: #9fc9b8;
background: #eaf5f0;
}
.submit-card {
position: sticky;
top: 18px;
padding: 26px;
}
.submit-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.submit-heading > span {
padding: 6px 8px;
border-radius: 10px;
font-size: 8px;
font-weight: 680;
}
.submit-heading .pending {
color: #9a673c;
background: #fff1e5;
}
.submit-heading .done {
color: #27775b;
background: #e9f5f0;
}
.mapping-note {
display: grid;
grid-template-columns: auto 1fr;
gap: 10px;
align-items: center;
margin-top: 17px;
padding: 11px;
border-radius: 10px;
background: #f3f7f5;
}
.mapping-note span {
padding: 6px;
border-radius: 7px;
color: white;
background: var(--green);
font-size: 8px;
font-weight: 760;
}
.mapping-note p {
margin: 0;
color: #71807a;
font-size: 8px;
line-height: 1.55;
}
.submit-card label {
margin-top: 18px;
}
.evidence-field {
display: block;
margin-top: 18px;
}
.evidence-field > span {
display: block;
margin-bottom: 7px;
color: #52605b;
font-size: 9px;
font-weight: 700;
}
2026-07-30 12:06:41 +08:00
.field-hint {
color: #98a29e;
font-size: 8px;
line-height: 1.5;
}
.screenshot-picker {
position: relative;
display: flex;
min-height: 112px;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 15px;
border: 1px dashed #bfcac5;
border-radius: 11px;
background: #fafbf9;
text-align: center;
}
.screenshot-picker.has-file {
border-style: solid;
border-color: #acd1c1;
background: #f2f9f6;
}
.screenshot-picker input {
position: absolute;
inset: 0;
height: 100%;
opacity: 0;
cursor: pointer;
}
.screenshot-picker b {
display: grid;
width: 27px;
height: 27px;
place-items: center;
border-radius: 50%;
color: var(--green);
background: var(--green-soft);
font-size: 12px;
}
.screenshot-picker strong {
max-width: 100%;
margin-top: 8px;
overflow: hidden;
font-size: 9px;
text-overflow: ellipsis;
white-space: nowrap;
}
.screenshot-picker small {
margin-top: 4px;
color: #99a29f;
font-size: 7px;
}
.submitted-at {
margin: 10px 0 0;
color: #99a29f;
font-size: 8px;
text-align: center;
}
.creator-recovery {
margin-top: 22px;
padding-top: 22px;
border-top: 1px solid #e6ebe8;
}
.creator-recovery-heading {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.creator-recovery-heading .micro {
margin-bottom: 5px;
}
.creator-recovery-heading h3 {
margin: 0;
font-size: 15px;
letter-spacing: -0.025em;
}
.creator-recovery-heading > span {
padding: 6px 8px;
border-radius: 10px;
color: #9a673c;
background: #fff1e5;
font-size: 8px;
font-weight: 680;
}
.creator-recovery-heading > span.done {
color: #27775b;
background: #e9f5f0;
}
.creator-recovery-tip {
margin: 11px 0 0;
color: #77837f;
font-size: 8px;
line-height: 1.65;
}
.screenshot-picker.compact {
min-height: 96px;
}
.screenshot-picker.preview-mode {
align-items: stretch;
justify-content: flex-start;
padding: 8px;
background: #f7faf8;
}
.evidence-empty-state {
display: flex;
min-height: 82px;
align-items: center;
justify-content: center;
flex-direction: column;
}
.evidence-preview-button {
position: relative;
width: 100%;
padding: 0;
overflow: hidden;
border: 0;
border-radius: 9px;
background: #eaf1ed;
cursor: zoom-in;
}
.evidence-preview-button img {
width: 100%;
max-height: 260px;
display: block;
object-fit: contain;
}
.evidence-preview-button.compact-preview img {
max-height: 210px;
}
.evidence-preview-button > span {
position: absolute;
right: 8px;
bottom: 8px;
padding: 5px 8px;
border-radius: 8px;
color: white;
background: rgb(17 48 39 / 0.78);
font-size: 7px;
font-weight: 700;
}
.evidence-upload-action {
position: relative;
width: 100%;
height: 34px;
display: grid;
margin-top: 8px !important;
place-items: center;
overflow: hidden;
border: 1px solid #c5dcd2;
border-radius: 8px;
color: var(--green-deep);
background: #eef7f3;
font-size: 8px;
font-weight: 700;
cursor: pointer;
}
.evidence-upload-action input {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
}
.image-lightbox {
position: fixed;
z-index: 1000;
inset: 0;
display: grid;
place-items: center;
padding: 18px;
background: rgb(9 25 20 / 0.78);
}
.image-lightbox-card {
width: min(920px, 100%);
max-height: calc(100vh - 36px);
display: flex;
overflow: hidden;
border: 1px solid rgb(255 255 255 / 0.2);
border-radius: 16px;
background: #f7faf8;
box-shadow: 0 24px 80px rgb(0 0 0 / 0.32);
flex-direction: column;
}
.image-lightbox-heading {
display: flex;
min-height: 48px;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 10px 14px;
border-bottom: 1px solid #dce5e0;
}
.image-lightbox-heading strong {
overflow: hidden;
color: var(--green-deep);
font-size: 10px;
text-overflow: ellipsis;
white-space: nowrap;
}
.image-lightbox-heading button {
flex: 0 0 auto;
height: 30px;
padding: 0 12px;
border: 1px solid #c7d8d0;
border-radius: 8px;
color: var(--green-deep);
background: white;
font-size: 8px;
font-weight: 700;
}
.image-lightbox-card > img {
width: 100%;
min-height: 0;
max-height: calc(100vh - 102px);
display: block;
object-fit: contain;
background: #14231e;
}
2026-07-30 12:06:41 +08:00
.creator-metric-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.creator-metric-grid label {
margin-top: 12px;
}
.creator-metric-grid input {
padding-inline: 12px;
}
.creator-submit {
width: 100%;
height: 42px;
margin-top: 12px;
border: 1px solid #9fc7b7;
border-radius: 10px;
color: var(--green-deep);
background: #eef7f3;
font-size: 9px;
font-weight: 700;
}
.creator-submit:hover {
border-color: var(--green);
background: #e6f3ed;
}
@media (width <= 520px) {
.task-result-gallery {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
2026-07-30 12:06:41 +08:00
.creator-metric-grid {
grid-template-columns: 1fr;
gap: 0;
}
}
.toast {
position: fixed;
right: 24px;
bottom: 24px;
z-index: 50;
max-width: min(360px, calc(100vw - 32px));
padding: 13px 16px;
border: 1px solid #cde0d8;
border-radius: 11px;
color: #29483d;
background: rgb(255 255 255 / 0.96);
box-shadow: 0 16px 42px rgb(18 37 31 / 0.16);
font-size: 10px;
font-weight: 620;
}
.loading-shell {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.loading-shell p {
margin-top: 13px;
color: #84908c;
font-size: 10px;
}
.message-card {
width: min(100%, 430px);
margin: 15vh auto 0;
padding: 38px;
text-align: center;
}
.message-icon {
display: grid;
width: 42px;
height: 42px;
margin: 0 auto 20px;
place-items: center;
border-radius: 50%;
color: #ad603d;
background: #fff0e8;
font-weight: 800;
}
.message-card h1 {
margin: 0;
font-size: 24px;
}
.message-card > p:not(.micro) {
margin: 10px 0 0;
color: #84908c;
font-size: 10px;
}
@media (max-width: 820px) {
.task-hero,
.detail-grid {
grid-template-columns: 1fr;
}
.hero-copy {
min-height: 330px;
padding: 34px;
}
.claim-card {
min-height: auto;
}
.submit-card {
position: static;
}
}
@media (max-width: 620px) {
.portal-shell {
padding: 14px 14px 38px;
}
.portal-topbar {
min-height: 46px;
}
.task-hero {
margin-top: 14px;
}
.hero-copy {
min-height: 290px;
padding: 28px 23px;
border-radius: 19px;
}
.hero-copy h1 {
font-size: 34px;
}
.claim-card,
.notes-section,
.submit-card {
padding: 20px;
border-radius: 16px;
}
.steps {
grid-template-columns: 1fr;
gap: 14px;
}
.steps > i {
width: 1px;
height: 18px;
margin: 0 0 0 15px;
}
.claimed-hero {
min-height: 150px;
padding: 24px 20px;
}
.completion-ring {
width: 74px;
height: 74px;
}
.note-row {
grid-template-columns: auto auto minmax(0, 1fr) auto;
padding: 13px 0;
}
.note-row.share-selecting {
grid-template-columns: auto auto auto minmax(0, 1fr) auto;
}
.note-row > .note-status {
display: none;
}
.note-row button {
width: 34px;
overflow: hidden;
padding: 0;
color: transparent;
font-size: 0;
}
.note-row button::after {
color: var(--green);
content: "→";
font-size: 13px;
}
.section-heading {
align-items: flex-start;
flex-direction: column;
gap: 12px;
}
.section-actions {
width: 100%;
justify-content: space-between;
}
.share-composer {
grid-template-columns: 1fr;
}
.share-composer > small {
grid-column: auto;
}
.share-composer-action {
justify-content: space-between;
}
.delegation-list > article {
grid-template-columns: minmax(0, 1fr) auto;
}
.delegation-list > article > small {
display: none;
}
.delegation-actions {
grid-column: 1 / -1;
}
.note-document {
min-height: auto;
padding: 25px 20px;
border-radius: 16px;
}
.note-document.mobile-collapsed {
padding: 16px;
}
.note-document.mobile-collapsed .note-document-content {
display: none;
}
.note-document.mobile-collapsed .mobile-note-summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 14px;
}
.mobile-note-summary > div {
display: grid;
min-width: 0;
gap: 4px;
}
.mobile-note-summary span {
color: var(--green);
font-size: 9px;
font-weight: 750;
}
.mobile-note-summary strong {
overflow: hidden;
color: var(--ink);
font-size: 13px;
text-overflow: ellipsis;
white-space: nowrap;
}
.mobile-note-summary small {
color: #899590;
font-size: 8px;
}
.mobile-note-summary button,
.mobile-note-collapse-trigger {
flex: 0 0 auto;
min-height: 34px;
padding: 0 12px;
border: 1px solid #cfe1d9;
border-radius: 9px;
color: var(--green-deep);
background: #f2f8f5;
font-size: 9px;
font-weight: 700;
}
.mobile-note-collapse-trigger {
display: block;
margin: 14px 0 0 auto;
}
2026-07-30 12:06:41 +08:00
.note-document h1 {
font-size: 28px;
}
.note-body {
font-size: 12px;
}
.note-image-grid {
grid-template-columns: 1fr;
}
.note-images-heading {
align-items: flex-start;
flex-direction: column;
}
.note-images-tools {
width: 100%;
justify-content: space-between;
}
.note-images-tools button {
min-width: 112px;
height: 34px;
}
.note-image-preview {
min-height: 200px;
}
.note-title-row {
align-items: stretch;
flex-direction: column;
gap: 14px;
}
.note-title-row .inline-copy {
align-self: flex-start;
}
.toast {
right: 16px;
bottom: 16px;
left: 16px;
text-align: center;
}
}