|
@@ -1,80 +1,150 @@
|
|
|
-.portal-plan-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
|
|
|
|
|
-.portal-plan-page > .ops-heading { margin-bottom: 0; }
|
|
|
|
|
-.portal-plan-party {
|
|
|
|
|
|
|
+.portal-plan-page {
|
|
|
|
|
+ --plan-gutter: clamp(18px, 2.4vw, 36px);
|
|
|
display: grid;
|
|
display: grid;
|
|
|
- grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
|
|
|
- margin: 0;
|
|
|
|
|
|
|
+ grid-template-columns: minmax(0, 1fr);
|
|
|
|
|
+ gap: 18px;
|
|
|
|
|
+ max-width: 1680px;
|
|
|
|
|
+ container-type: inline-size;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.portal-plan-cover,
|
|
|
|
|
+.portal-plan-sheet {
|
|
|
|
|
+ min-width: 0;
|
|
|
|
|
+ overflow: hidden;
|
|
|
border: 1px solid var(--border);
|
|
border: 1px solid var(--border);
|
|
|
border-radius: var(--radius-card);
|
|
border-radius: var(--radius-card);
|
|
|
background: var(--card);
|
|
background: var(--card);
|
|
|
}
|
|
}
|
|
|
-.portal-plan-party > div { padding: 11px 16px; }
|
|
|
|
|
-.portal-plan-party > div + div { border-inline-start: 1px solid var(--border-subtle); }
|
|
|
|
|
-.portal-plan-party dt { color: var(--muted-foreground); font-size: var(--type-meta); }
|
|
|
|
|
-.portal-plan-party dd {
|
|
|
|
|
- margin: 4px 0 0;
|
|
|
|
|
- color: var(--text-secondary);
|
|
|
|
|
- font-size: var(--type-body);
|
|
|
|
|
- font-weight: 500;
|
|
|
|
|
- overflow-wrap: anywhere;
|
|
|
|
|
-}
|
|
|
|
|
-.portal-plan-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
|
|
|
|
|
-.portal-plan-sections > a {
|
|
|
|
|
|
|
+
|
|
|
|
|
+.portal-plan-cover {
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+ isolation: isolate;
|
|
|
display: grid;
|
|
display: grid;
|
|
|
- grid-template-columns: auto minmax(0, 1fr) auto auto;
|
|
|
|
|
|
|
+ align-content: center;
|
|
|
|
|
+ gap: 22px;
|
|
|
|
|
+ min-height: 206px;
|
|
|
|
|
+ padding: 25px var(--plan-gutter);
|
|
|
|
|
+ background: linear-gradient(100deg, var(--card), var(--primary-soft));
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.portal-plan-art {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ z-index: -1;
|
|
|
|
|
+ inset: 0 0 0 auto;
|
|
|
|
|
+ width: 59%;
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ object-fit: cover;
|
|
|
|
|
+ object-position: 72% 52%;
|
|
|
|
|
+ mask-image: linear-gradient(90deg, transparent, black 27%);
|
|
|
|
|
+ pointer-events: none;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.dark .portal-plan-art { opacity: .26; mix-blend-mode: luminosity; }
|
|
|
|
|
+.portal-plan-identity { width: fit-content; max-width: 58%; }
|
|
|
|
|
+.portal-plan-identity h1 {
|
|
|
|
|
+ display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
gap: 9px;
|
|
gap: 9px;
|
|
|
- min-height: 54px;
|
|
|
|
|
- padding: 9px 13px;
|
|
|
|
|
- border: 1px solid var(--border);
|
|
|
|
|
- border-radius: var(--radius-control);
|
|
|
|
|
- background: var(--card);
|
|
|
|
|
- color: var(--text-secondary);
|
|
|
|
|
- font-size: var(--type-body);
|
|
|
|
|
-}
|
|
|
|
|
-.portal-plan-sections > a:first-child { border-color: var(--primary-border); background: var(--primary-soft); }
|
|
|
|
|
-.portal-plan-sections > a:hover { border-color: var(--border-hover); color: var(--primary); }
|
|
|
|
|
-.portal-plan-sections strong { font-weight: 600; }
|
|
|
|
|
-.portal-plan-section-icon {
|
|
|
|
|
- display: grid;
|
|
|
|
|
- place-items: center;
|
|
|
|
|
- width: 34px;
|
|
|
|
|
- height: 34px;
|
|
|
|
|
- border: 1px solid var(--border);
|
|
|
|
|
- border-radius: 7px;
|
|
|
|
|
- background: var(--card);
|
|
|
|
|
|
|
+ margin: 0;
|
|
|
color: var(--primary-soft-foreground);
|
|
color: var(--primary-soft-foreground);
|
|
|
|
|
+ font-size: var(--type-support);
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ letter-spacing: .08em;
|
|
|
}
|
|
}
|
|
|
-.portal-plan-count {
|
|
|
|
|
- padding: 2px 7px;
|
|
|
|
|
- border-radius: 5px;
|
|
|
|
|
- background: var(--card);
|
|
|
|
|
- color: var(--primary);
|
|
|
|
|
- font-size: var(--type-meta);
|
|
|
|
|
- font-variant-numeric: tabular-nums;
|
|
|
|
|
- white-space: nowrap;
|
|
|
|
|
|
|
+
|
|
|
|
|
+.portal-plan-identity h1::before {
|
|
|
|
|
+ content: "";
|
|
|
|
|
+ width: 22px;
|
|
|
|
|
+ height: 2px;
|
|
|
|
|
+ background: currentColor;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.portal-plan-name {
|
|
|
|
|
+ margin: 8px 0 12px;
|
|
|
|
|
+ color: var(--foreground);
|
|
|
|
|
+ font-size: clamp(25px, 2.15vw, 36px);
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+ line-height: 1.25;
|
|
|
|
|
+ letter-spacing: -.035em;
|
|
|
|
|
+ overflow-wrap: anywhere;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.portal-plan-party,
|
|
|
|
|
+.portal-plan-party > div,
|
|
|
|
|
+.portal-plan-party dt,
|
|
|
|
|
+.portal-plan-index,
|
|
|
|
|
+.portal-plan-index a,
|
|
|
|
|
+.portal-plan-ledger-heading {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.portal-plan-party { flex-wrap: wrap; gap: 5px 20px; margin: 0; font-size: var(--type-support); }
|
|
|
|
|
+.portal-plan-party > div { gap: 7px; min-width: 0; align-items: baseline; }
|
|
|
|
|
+.portal-plan-party dt { flex-shrink: 0; gap: 5px; color: var(--field-label); }
|
|
|
|
|
+.portal-plan-party dt svg { width: 14px; height: 14px; }
|
|
|
|
|
+.portal-plan-party dd { margin: 0; color: var(--text-secondary); overflow-wrap: anywhere; }
|
|
|
|
|
+.portal-plan-index { width: fit-content; max-width: 100%; flex-wrap: wrap; gap: 6px 14px; }
|
|
|
|
|
+.portal-plan-index a {
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ padding: 2px 0;
|
|
|
|
|
+ color: var(--text-secondary);
|
|
|
|
|
+ font-size: var(--type-support);
|
|
|
|
|
+ line-height: 1.3;
|
|
|
|
|
+ text-decoration: none;
|
|
|
}
|
|
}
|
|
|
-.portal-plan-ledger { scroll-margin-block-start: calc(4rem + 12px); }
|
|
|
|
|
-.portal-plan-scroll { max-height: min(460px, 62dvh); overflow: auto; }
|
|
|
|
|
-.portal-plan-scroll:focus-visible, .portal-plan-sections > a:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
|
|
|
|
|
-.portal-plan-table.ops-table { min-width: 890px; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
|
|
|
|
|
|
|
+.portal-plan-index a + a { border-inline-start: 1px solid var(--border-hover); padding-inline-start: 14px; }
|
|
|
|
|
+.portal-plan-index strong { color: var(--primary-soft-foreground); font-size: 20px; font-weight: 550; font-variant-numeric: tabular-nums; }
|
|
|
|
|
+.portal-plan-index svg { color: var(--icon); }
|
|
|
|
|
+.portal-plan-index a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
|
|
|
|
|
+.portal-plan-index a:focus-visible, .portal-plan-scroll:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
|
|
|
|
|
+
|
|
|
|
|
+.portal-plan-ledger { min-width: 0; padding: 22px var(--plan-gutter) 18px; scroll-margin-block-start: 5rem; }
|
|
|
|
|
+.portal-plan-ledger + .portal-plan-ledger { border-top: 1px solid var(--border); }
|
|
|
|
|
+.portal-plan-ledger-heading { gap: 9px; margin-bottom: 14px; color: var(--primary); }
|
|
|
|
|
+.portal-plan-ledger:nth-of-type(2) .portal-plan-ledger-heading { color: var(--field-label); }
|
|
|
|
|
+.portal-plan-ledger-heading h2 { margin: 0; color: var(--foreground); font-size: 17px; line-height: 1.4; font-weight: 600; }
|
|
|
|
|
+.portal-plan-scroll { max-height: min(490px, 62dvh); overflow: auto; }
|
|
|
|
|
+.portal-plan-table.ops-table { min-width: 820px; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
|
|
|
.portal-plan-table th { position: sticky; top: 0; z-index: 1; }
|
|
.portal-plan-table th { position: sticky; top: 0; z-index: 1; }
|
|
|
-.portal-plan-table td { white-space: normal; overflow-wrap: anywhere; }
|
|
|
|
|
|
|
+.portal-plan-table.ops-table :is(th, td):first-child { padding-inline-start: 14px; }
|
|
|
|
|
+.portal-plan-table.ops-table :is(th, td):last-child { padding-inline-end: 14px; text-align: end; }
|
|
|
|
|
+.portal-plan-table :is(th, td):nth-child(3) { text-align: end; }
|
|
|
|
|
+.portal-plan-table.ops-table td { padding-block: 14px; white-space: normal; overflow-wrap: anywhere; }
|
|
|
.portal-plan-table tbody tr:hover td { background: var(--surface-subtle); }
|
|
.portal-plan-table tbody tr:hover td { background: var(--surface-subtle); }
|
|
|
.portal-plan-table td small { display: block; margin-top: 3px; color: var(--muted-foreground); font-size: var(--type-meta); }
|
|
.portal-plan-table td small { display: block; margin-top: 3px; color: var(--muted-foreground); font-size: var(--type-meta); }
|
|
|
-.portal-plan-table :is(th, td):nth-child(3) { text-align: end; }
|
|
|
|
|
-.portal-plan-table .portal-plan-amount { color: var(--primary); font-weight: 500; white-space: nowrap; }
|
|
|
|
|
-.portal-plan-note, .portal-plan-notes { color: var(--muted-foreground); font-size: var(--type-meta); line-height: 1.55; }
|
|
|
|
|
-.portal-plan-note { margin: 0; padding: 11px 24px; background: var(--surface-subtle); }
|
|
|
|
|
-.portal-plan-notes { margin: 0; padding-inline-start: 18px; }
|
|
|
|
|
-.portal-plan-state { display: grid; min-height: 170px; place-content: center; justify-items: center; gap: 10px; padding: 18px; color: var(--muted-foreground); text-align: center; }
|
|
|
|
|
|
|
+.portal-plan-contract { font-family: var(--font-mono); }
|
|
|
|
|
+.portal-plan-table .portal-plan-amount { color: var(--primary-soft-foreground); font-weight: 500; font-variant-numeric: tabular-nums; }
|
|
|
|
|
+.portal-plan-ledger:nth-of-type(2) .portal-plan-amount { color: var(--text-secondary); }
|
|
|
|
|
+
|
|
|
|
|
+.portal-plan-note, .portal-plan-notes {
|
|
|
|
|
+ color: var(--muted-foreground);
|
|
|
|
|
+ font-size: var(--type-meta);
|
|
|
|
|
+ line-height: 1.65;
|
|
|
|
|
+ text-wrap: pretty;
|
|
|
|
|
+}
|
|
|
|
|
+.portal-plan-note {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: flex-start;
|
|
|
|
|
+ gap: 7px;
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ padding-top: 12px;
|
|
|
|
|
+ border-top: 1px solid var(--border-subtle);
|
|
|
|
|
+}
|
|
|
|
|
+.portal-plan-note svg { flex: none; margin-top: 3px; }
|
|
|
|
|
+.portal-plan-notes { margin: 0; padding: 12px var(--plan-gutter); border-top: 1px solid var(--border-subtle); }
|
|
|
|
|
+.portal-plan-state { display: grid; min-height: 160px; place-content: center; justify-items: center; gap: 10px; padding: 18px; color: var(--muted-foreground); text-align: center; }
|
|
|
|
|
+
|
|
|
|
|
+@container (max-width: 740px) {
|
|
|
|
|
+ .portal-plan-art { width: 45%; opacity: .68; }
|
|
|
|
|
+ .portal-plan-identity { max-width: 70%; }
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
-@media (max-width: 600px) {
|
|
|
|
|
- .portal-plan-party { grid-template-columns: minmax(0, 1fr); }
|
|
|
|
|
- .portal-plan-party > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 8px; align-items: baseline; }
|
|
|
|
|
- .portal-plan-party > div + div { border-inline-start: 0; border-top: 1px solid var(--border-subtle); }
|
|
|
|
|
- .portal-plan-party dd { margin: 0; }
|
|
|
|
|
- .portal-plan-sections > a { grid-template-columns: minmax(0, 1fr) auto auto; padding-inline: 10px; }
|
|
|
|
|
- .portal-plan-section-icon { display: none; }
|
|
|
|
|
- .portal-plan-note { padding-inline: 18px; }
|
|
|
|
|
|
|
+@container (max-width: 480px) {
|
|
|
|
|
+ .portal-plan-cover { min-height: auto; padding-block: 20px; gap: 16px; }
|
|
|
|
|
+ .portal-plan-art { width: 35%; opacity: .2; }
|
|
|
|
|
+ .portal-plan-identity { max-width: 100%; }
|
|
|
|
|
+ .portal-plan-party { flex-direction: column; align-items: flex-start; }
|
|
|
|
|
+ .portal-plan-ledger { padding: 18px 0 14px; }
|
|
|
|
|
+ .portal-plan-ledger-heading, .portal-plan-note { margin-inline: var(--plan-gutter); }
|
|
|
}
|
|
}
|