2026-07-10 23:03:25 +09:00

2080 lines
33 KiB
CSS

html {
font-size: 14px;
min-height: 100%;
}
@media (min-width: 768px) {
html {
font-size: 16px;
}
}
* {
box-sizing: border-box;
}
body {
min-height: 100vh;
margin: 0;
background: #f6f4ef;
color: #1f2937;
}
a {
color: #125b50;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
outline: none;
box-shadow: 0 0 0 0.12rem #f6f4ef, 0 0 0 0.28rem #258cfb;
}
table {
width: 100%;
border-collapse: collapse;
background: #fff;
}
th,
td {
padding: 0.75rem;
border-bottom: 1px solid #d1d5db;
text-align: left;
}
form {
display: grid;
gap: 0.75rem;
max-width: 40rem;
}
input,
select,
textarea,
button {
font: inherit;
}
input,
select,
textarea {
width: 100%;
padding: 0.5rem 0.75rem;
border: 0;
background: #deddd9;
}
button {
width: fit-content;
}
.validation-summary-errors,
span.field-validation-error {
color: #b42318;
}
.validation-summary-valid,
.validation-summary-errors ul:empty {
display: none;
}
.app-shell-body,
.admin-shell,
.auth-shell {
background: #e9e8e5;
}
.app-shell {
display: grid;
grid-template-columns: 240px minmax(0, 1fr);
min-height: 100vh;
}
.app-sidebar {
display: flex;
flex-direction: column;
min-width: 0;
padding: 2.25rem 1.55rem 1.45rem;
border-right: 1px solid #d4d2cc;
}
.app-brand {
display: block;
width: 150px;
margin-bottom: 1.6rem;
}
.app-brand:hover {
text-decoration: none;
}
.app-brand-logo {
display: block;
width: 100%;
height: auto;
}
.app-sidebar-nav {
display: grid;
gap: 1.1rem;
}
.app-nav-section {
display: grid;
gap: 0.45rem;
padding-top: 0.75rem;
border-top: 1px solid #c9c7c1;
}
.app-nav-heading {
margin: 0 0 0.15rem;
color: #111827;
font-size: 0.75rem;
font-weight: 700;
}
.app-nav-list {
display: grid;
gap: 0.15rem;
}
.app-nav-link {
display: grid;
grid-template-columns: 0.72rem minmax(0, 1fr);
align-items: center;
gap: 0.65rem;
min-height: 1.45rem;
color: #6b7280;
font-size: 0.78rem;
line-height: 1.2;
}
.app-nav-link:hover,
.app-nav-link.is-active {
color: #111827;
text-decoration: none;
}
.app-nav-marker {
width: 0.7rem;
height: 0.7rem;
background: #8d8f8d;
}
.app-nav-link.is-active .app-nav-marker {
background: #111827;
}
.app-sidebar-footer {
display: grid;
gap: 0.65rem;
margin-top: auto;
}
.app-user-name {
overflow: hidden;
color: #6b7280;
font-size: 0.75rem;
text-overflow: ellipsis;
white-space: nowrap;
}
.app-sidebar-footer form {
max-width: none;
}
.app-logout-button {
display: inline-flex;
justify-content: center;
align-items: center;
width: 8.4rem;
min-height: 1.55rem;
padding: 0.25rem 1rem;
border: 1px solid #111827;
border-radius: 999px;
background: transparent;
color: #111827;
font-size: 0.76rem;
line-height: 1;
}
.app-logout-button:hover {
text-decoration: none;
}
.app-main {
position: relative;
min-width: 0;
padding: 2.25rem 2.1rem 3rem;
}
.language-switcher {
position: fixed;
top: 1rem;
right: 1.2rem;
z-index: 25;
width: auto;
max-width: none;
margin: 0;
}
.language-switcher select {
width: auto;
min-height: 1.8rem;
padding: 0.25rem 1.8rem 0.25rem 0.65rem;
border: 1px solid #111827;
border-radius: 999px;
background-color: #fff;
color: #111827;
font-size: 0.74rem;
}
.app-page-title {
min-height: 2rem;
margin-bottom: 1rem;
color: #111827;
font-size: 1.6rem;
font-weight: 700;
line-height: 1.2;
}
.app-page-title:empty {
display: none;
}
.app-content {
min-width: 0;
}
.app-content > h1:first-child {
margin-top: 0;
}
.auth-page {
position: relative;
width: min(100% - 2rem, 930px);
min-height: 100vh;
margin: 0 auto;
padding: 4.45rem 0 4rem;
}
.auth-page > .language-switcher {
position: absolute;
top: 4.45rem;
right: 0;
}
.auth-brand {
width: 150px;
margin-bottom: 2.05rem;
}
.auth-brand-logo {
display: block;
width: 100%;
height: auto;
}
.auth-layout {
display: grid;
grid-template-columns: minmax(280px, 360px) minmax(280px, 1fr);
align-items: start;
gap: clamp(3.25rem, 7vw, 5.4rem);
}
.auth-layout-single {
grid-template-columns: minmax(280px, 42rem);
}
.auth-content {
min-width: 0;
}
.auth-content h1 {
margin: 0;
color: #111827;
font-size: 1.85rem;
font-weight: 700;
line-height: 1.1;
}
.auth-content p {
margin: 0.55rem 0 0;
}
.auth-heading-row {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1rem;
margin-bottom: 1.1rem;
}
.auth-heading-row > a {
margin-top: 0.4rem;
color: #c21b12;
font-size: 0.78rem;
white-space: nowrap;
}
.auth-provider-form,
.auth-form {
max-width: none;
}
.auth-provider-button,
.auth-submit-button {
display: inline-flex;
justify-content: center;
align-items: center;
width: 100%;
min-height: 2.25rem;
padding: 0.45rem 1rem;
border: 1px solid #111827;
border-radius: 999px;
background: transparent;
color: #111827;
font-size: 0.82rem;
}
.auth-provider-button::before {
display: inline-block;
width: 1rem;
height: 1rem;
margin-right: 0.45rem;
background: url("../images/google-g.svg") center / contain no-repeat;
content: "";
}
.auth-submit-button {
margin-top: 0.25rem;
}
.auth-divider {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
gap: 0.9rem;
margin: 0.8rem 0;
color: #8a8f98;
font-size: 0.78rem;
}
.auth-divider::before,
.auth-divider::after {
height: 1px;
background: #c9c7c1;
content: "";
}
.auth-form {
gap: 0.6rem;
}
.form-field {
display: grid;
gap: 0.28rem;
}
.form-field label,
.auth-checkbox {
margin: 0;
color: #111827;
font-size: 0.78rem;
font-weight: 700;
}
.form-field input {
min-height: 2.25rem;
}
.auth-form-meta {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
min-height: 1.65rem;
font-size: 0.72rem;
}
.auth-checkbox {
display: inline-flex;
align-items: center;
gap: 0.35rem;
font-weight: 400;
}
.auth-checkbox input {
width: auto;
margin: 0;
}
.auth-terms {
display: inline-flex;
align-items: flex-start;
gap: 0.45rem;
margin: 0.15rem 0 0.25rem;
color: #125b50;
font-size: 0.72rem;
line-height: 1.45;
}
.auth-terms input {
width: auto;
margin-top: 0.15rem;
}
.auth-terms a {
color: #125b50;
text-decoration: underline;
}
.auth-visual {
width: 100%;
min-height: 17.25rem;
margin-top: 4.15rem;
background: #d8d8d8;
}
.auth-document {
width: min(100%, 42rem);
}
.auth-document h1 {
margin-bottom: 1.25rem;
}
.auth-modal {
position: fixed;
inset: 0;
z-index: 20;
display: none;
place-items: start center;
padding: 3.2rem 1rem;
}
.auth-modal:target {
display: grid;
}
.auth-modal-backdrop {
position: fixed;
inset: 0;
background: rgba(233, 232, 229, 0.72);
}
.auth-modal-panel {
position: relative;
z-index: 1;
width: min(100%, 590px);
min-height: 26.5rem;
padding: 3.9rem 7.2rem 3.2rem;
border: 1px solid #111827;
background: #fff;
}
.auth-modal-close {
position: absolute;
top: 1rem;
right: 1.15rem;
color: #111827;
font-size: 1.25rem;
line-height: 1;
}
.auth-modal-close:hover {
text-decoration: none;
}
.auth-modal-heading {
margin-bottom: 1.35rem;
}
.auth-modal-heading h2 {
margin: 0;
color: #111827;
font-size: 2rem;
font-weight: 700;
}
.auth-modal-heading p {
margin: 0.5rem 0 0;
}
.profile-alert {
margin: 0 0 0.75rem;
color: #125b50;
}
.profile-alert.is-error {
color: #c21b12;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.profile-home-grid {
display: grid;
grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.95fr);
gap: 0.65rem;
align-items: start;
}
.profile-panel {
min-width: 0;
background: #fff;
padding: 1.35rem;
}
.profile-summary-panel {
max-height: calc(100vh - 8rem);
overflow-y: auto;
}
.profile-summary-header,
.profile-panel-heading {
display: flex;
align-items: flex-start;
gap: 1rem;
}
.profile-summary-header {
margin-bottom: 1.2rem;
}
.profile-summary-header h1,
.profile-panel-heading h2 {
margin: 0;
color: #111827;
font-size: 1.2rem;
font-weight: 700;
}
.profile-summary-header p {
margin: 0.35rem 0 0;
color: #6b7280;
}
.profile-avatar {
display: grid;
place-items: center;
flex: 0 0 auto;
width: 3.1rem;
height: 3.1rem;
border-radius: 999px;
background: #8d8f8d;
color: #fff;
font-weight: 700;
object-fit: cover;
}
img.profile-avatar {
display: block;
}
.profile-avatar-upload-form {
position: relative;
flex: 0 0 auto;
max-width: none;
margin: 0;
}
.profile-avatar-upload-control {
position: relative;
display: block;
margin: 0;
cursor: pointer;
}
.profile-avatar-upload-control input[type="file"] {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
}
.profile-avatar-edit {
position: absolute;
right: -0.08rem;
bottom: 0;
display: grid;
place-items: center;
width: 1.18rem;
height: 1.18rem;
border: 1px solid #9ca3af;
border-radius: 999px;
background: #fff;
}
.profile-avatar-edit img {
width: 0.72rem;
height: 0.72rem;
}
.avatar-crop-modal {
position: fixed;
inset: 0;
z-index: 1000;
display: grid;
place-items: center;
padding: 1.5rem;
}
.avatar-crop-backdrop {
position: absolute;
inset: 0;
background: rgb(17 24 39 / 0.32);
}
.avatar-crop-panel {
position: relative;
z-index: 1;
width: min(25rem, calc(100vw - 2rem));
padding: 1.25rem;
background: #fff;
border: 1px solid #111827;
}
.avatar-crop-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1rem;
}
.avatar-crop-heading h2 {
margin: 0;
color: #111827;
font-size: 1.2rem;
font-weight: 700;
}
.avatar-crop-close {
display: grid;
place-items: center;
width: 1.7rem;
height: 1.7rem;
border: 1px solid #111827;
border-radius: 999px;
background: transparent;
color: #111827;
line-height: 1;
}
.avatar-crop-stage {
position: relative;
width: 16rem;
max-width: 100%;
aspect-ratio: 1;
margin: 0 auto 1rem;
overflow: hidden;
background: #e3e1de;
border-radius: 999px;
touch-action: none;
cursor: grab;
}
.avatar-crop-stage:active {
cursor: grabbing;
}
.avatar-crop-stage img {
position: absolute;
top: 50%;
left: 50%;
max-width: none;
user-select: none;
}
.avatar-crop-slider {
display: grid;
gap: 0.4rem;
margin-bottom: 1rem;
color: #111827;
font-size: 0.82rem;
font-weight: 700;
}
.avatar-crop-slider input {
width: 100%;
}
.avatar-crop-error {
margin: 0 0 0.75rem;
color: #c21b12;
font-size: 0.82rem;
}
.avatar-crop-actions {
display: flex;
justify-content: flex-end;
gap: 0.65rem;
}
.avatar-crop-actions .profile-pill-button {
margin-left: 0;
}
.profile-pill-link,
.profile-pill-button {
display: inline-flex;
justify-content: center;
align-items: center;
min-width: 5.5rem;
min-height: 1.55rem;
margin-left: auto;
padding: 0.25rem 0.9rem;
border: 1px solid #111827;
border-radius: 999px;
background: transparent;
color: #111827;
font-size: 0.72rem;
line-height: 1;
}
.profile-pill-link:hover {
text-decoration: none;
}
.profile-detail-list {
display: grid;
gap: 0;
margin: 0;
}
.profile-detail-list > div {
display: grid;
grid-template-columns: 6rem minmax(0, 1fr);
gap: 1rem;
padding: 0.55rem 0;
border-bottom: 1px solid #9ca3af;
}
.profile-detail-list dt {
color: #111827;
font-size: 0.76rem;
font-weight: 700;
}
.profile-detail-list dd {
margin: 0;
color: #111827;
font-size: 0.82rem;
}
.profile-preview-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.75rem;
}
.profile-preview-grid > div {
display: block;
min-height: 3.2rem;
padding: 0;
}
.profile-preview-grid dt {
margin-bottom: 0.25rem;
}
.profile-preview-grid dd {
min-height: 2.1rem;
padding: 0.55rem 0.65rem;
background: #fff;
}
.profile-status {
display: inline-flex;
margin-left: 0.45rem;
color: #c21b12;
font-size: 0.72rem;
}
.profile-status.is-ok {
color: #125b50;
}
.profile-status.is-pending {
color: #c21b12;
}
.profile-inline-form {
max-width: none;
margin-top: 1rem;
}
.profile-inline-form .profile-pill-button {
margin-left: 0;
}
.profile-actions-row,
.profile-form-actions,
.profile-address-actions {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 0.65rem;
margin-top: 1rem;
}
.profile-actions-row .profile-pill-link,
.profile-form-actions .profile-pill-link,
.profile-form-actions .profile-pill-button,
.profile-address-actions .profile-pill-link,
.profile-address-actions .profile-pill-button {
margin-left: 0;
margin-top: 0;
box-sizing: border-box;
}
.admin-form-panel .profile-form-actions {
width: 100%;
justify-self: stretch;
justify-content: flex-end;
}
.profile-form-actions > *,
.profile-address-actions > * {
flex: 0 0 auto;
}
.profile-address-actions form {
max-width: none;
margin: 0;
}
.profile-edit-panel {
margin-top: 0;
padding-top: 0;
}
.profile-edit-panel summary {
cursor: pointer;
color: #111827;
font-size: 0.82rem;
font-weight: 700;
}
.profile-edit-panel summary span {
display: inline-flex;
justify-content: center;
align-items: center;
width: 1.35rem;
height: 1.35rem;
margin-right: 0.25rem;
border: 1px solid #111827;
border-radius: 999px;
font-size: 0.75rem;
}
.profile-edit-form {
max-width: none;
margin-top: 1rem;
}
.profile-form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.75rem;
}
.address-form-grid {
display: grid;
gap: 0.7rem;
}
.profile-form-wide {
grid-column: 1 / -1;
}
.profile-panel-heading {
justify-content: space-between;
margin-bottom: 1.25rem;
}
.profile-empty {
margin: 0;
color: #6b7280;
}
.profile-address-card {
display: grid;
gap: 0.45rem;
padding: 0.85rem 0;
border-bottom: 1px solid #9ca3af;
}
.profile-address-card p {
margin: 0;
color: #111827;
font-size: 0.82rem;
}
.profile-address-label {
color: #6b7280;
font-size: 0.76rem;
}
.profile-address-recipient {
color: #111827;
font-size: 1rem;
font-weight: 700;
}
.profile-address-card-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 0.8rem;
}
.profile-address-list {
display: grid;
gap: 0;
}
.admin-dashboard-grid {
display: grid;
grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.85fr);
gap: 0.8rem;
align-items: stretch;
}
.admin-dashboard-stack {
display: grid;
gap: 0.55rem;
}
.admin-dashboard-card,
.admin-dashboard-notice {
background: #fff;
}
.admin-dashboard-link-card {
display: block;
color: inherit;
}
.admin-dashboard-link-card:hover {
color: inherit;
text-decoration: none;
}
.admin-dashboard-card {
min-height: 8.2rem;
padding: 1.25rem 1.45rem;
}
.admin-dashboard-card h2,
.admin-dashboard-notice h2 {
margin: 0;
color: #111827;
font-size: 1.35rem;
font-weight: 700;
}
.admin-dashboard-metric-row {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: end;
gap: 1.5rem;
margin-top: 1.35rem;
}
.admin-dashboard-label,
.admin-dashboard-alert-label {
font-size: 0.72rem;
font-weight: 700;
}
.admin-dashboard-alert-label {
margin-top: 0.8rem;
color: #f20d0d;
}
.admin-dashboard-values {
display: grid;
justify-items: end;
gap: 0.45rem;
}
.admin-dashboard-value {
color: #000;
font-size: 2rem;
font-weight: 500;
line-height: 1;
}
.admin-dashboard-value.is-alert {
color: #f20d0d;
}
.admin-dashboard-notice {
min-height: 25.85rem;
padding: 1.25rem 1.45rem;
}
.data-table-shell {
width: 100%;
min-height: 34rem;
background: #fff;
overflow-x: auto;
}
.admin-tabs {
display: flex;
align-items: end;
width: 100%;
margin-bottom: 0.35rem;
border-bottom: 2px solid #111827;
overflow-x: auto;
overflow-y: hidden;
}
.admin-tab {
position: relative;
display: flex;
flex: 1 1 0;
justify-content: center;
align-items: center;
min-width: 6.75rem;
min-height: 2.9rem;
color: #111827;
font-weight: 700;
white-space: nowrap;
}
.admin-tab:hover {
text-decoration: none;
}
.admin-tab.is-active {
background: #d8d8d8;
}
.admin-table-toolbar {
position: relative;
display: block;
max-width: none;
margin: 0 0 0.3rem;
padding: 0.45rem 0.8rem;
background: #fff;
}
.admin-table-toolbar input[type="search"] {
width: 100%;
min-height: 1.8rem;
padding-left: 2.2rem;
border: 1px solid #111827;
border-radius: 999px;
background: #fff;
}
.admin-table-toolbar .data-table-icon-button {
position: absolute;
top: 50%;
left: 1.25rem;
border: 0;
transform: translateY(-50%);
}
.data-table {
width: 100%;
min-width: 720px;
border-collapse: collapse;
background: #fff;
table-layout: fixed;
}
.data-table th,
.data-table td {
height: 1.7rem;
padding: 0.25rem 0.45rem;
border: 1px solid #6f7378;
color: #111827;
font-size: 0.74rem;
line-height: 1.2;
vertical-align: middle;
}
.data-table td:last-child,
.data-table th:last-child {
width: 14rem;
overflow: hidden;
}
.audit-log-table {
min-width: 1180px;
}
.audit-log-table .data-table-index {
width: 4rem;
}
.audit-log-table th:nth-child(2) {
width: 20rem;
}
.audit-log-table th:nth-child(3) {
width: 26rem;
}
.audit-log-table th:nth-child(5) {
width: 10rem;
}
.audit-log-table th:nth-child(2),
.audit-log-table td:nth-child(2),
.audit-log-table th:nth-child(3),
.audit-log-table td:nth-child(3),
.audit-log-table th:nth-child(5),
.audit-log-table td:nth-child(5) {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.data-table th {
font-weight: 700;
}
.data-table-index {
width: 2.2rem;
text-align: center;
}
.data-table-empty,
.data-table-muted {
color: #6b7280;
}
.data-table-action-form {
display: inline-flex;
flex: 0 0 auto;
max-width: none;
margin: 0;
}
.data-table-actions {
display: flex;
align-items: center;
gap: 0.35rem;
flex-wrap: nowrap;
overflow: hidden;
white-space: nowrap;
}
.data-table-actions > * {
flex: 0 0 auto;
}
.data-table-icon-button {
display: inline-grid;
place-items: center;
width: 1.3rem;
height: 1.3rem;
padding: 0;
border: 1px solid #111827;
border-radius: 999px;
background: transparent;
color: #111827;
font-size: 0.85rem;
line-height: 1;
}
.data-table-pill-button {
display: inline-flex;
flex: 0 0 auto;
justify-content: center;
align-items: center;
min-width: 3rem;
min-height: 1.25rem;
padding: 0.15rem 0.65rem;
border: 1px solid #111827;
border-radius: 999px;
background: transparent;
color: #111827;
font-size: 0.7rem;
white-space: nowrap;
}
.data-table-pill-button:hover {
text-decoration: none;
}
.admin-table-pager {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 0.85rem;
margin-top: 0.65rem;
font-size: 0.78rem;
}
.admin-table-pager .is-disabled {
color: #9ca3af;
pointer-events: none;
}
.admin-page-title {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}
.admin-page-title h1 {
margin: 0;
color: #111827;
font-size: 1.55rem;
font-weight: 700;
}
.admin-form-panel,
.admin-notice {
width: min(100%, 38rem);
padding: 1.4rem 1.6rem;
background: #fff;
}
.admin-form-panel {
display: grid;
gap: 0.7rem;
max-width: 38rem;
margin: 0;
}
.admin-form-panel h2 {
margin: 1rem 0 0.2rem;
color: #111827;
font-size: 1rem;
font-weight: 700;
}
.admin-form-panel label {
margin-top: 0.3rem;
color: #111827;
font-size: 0.78rem;
font-weight: 700;
}
.admin-form-panel input,
.admin-form-panel select,
.admin-form-panel textarea {
width: 100%;
min-height: 2.1rem;
border: 0;
background: #e3e3e3;
}
.admin-form-panel textarea {
min-height: 5rem;
resize: vertical;
}
.admin-form-panel input[type="checkbox"] {
width: 1rem;
height: 1rem;
min-height: 1rem;
margin: 0;
background: transparent;
}
.admin-checkbox-row {
display: inline-grid;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
gap: 0.55rem;
justify-self: start;
width: auto;
min-height: 1.3rem;
padding: 0;
background: transparent;
}
.admin-form-panel .admin-checkbox-row label {
margin: 0;
font-size: 0.78rem;
line-height: 1.2;
}
.admin-form-panel .admin-checkbox-row input[type="checkbox"] {
flex: 0 0 auto;
width: 1rem;
height: 1rem;
min-height: 1rem;
margin: 0;
}
.admin-form-panel button,
.admin-form-panel .account-action-button {
justify-self: start;
margin-top: 0.7rem;
}
.admin-form-panel span,
.admin-form-help {
color: #6b7280;
font-size: 0.75rem;
}
.admin-form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 38rem));
gap: 0.8rem;
align-items: start;
}
.admin-notice {
margin-bottom: 0.8rem;
border-left: 3px solid #111827;
}
.admin-notice strong {
display: block;
margin-bottom: 0.35rem;
}
.admin-notice code,
.data-table code {
white-space: nowrap;
}
.audit-payload-cell {
max-width: 0;
}
.audit-payload-link,
.audit-payload-link code {
display: block;
max-width: 100%;
overflow: hidden;
color: #c21b12;
text-overflow: ellipsis;
white-space: nowrap;
}
.audit-payload-link:hover {
text-decoration: none;
}
.admin-modal-panel-wide {
width: min(100%, 48rem);
}
.audit-payload-full {
max-height: 64vh;
margin: 1rem 0 0;
padding: 1rem;
overflow: auto;
background: #e3e3e3;
color: #111827;
font-size: 0.82rem;
line-height: 1.45;
white-space: pre-wrap;
word-break: break-word;
}
.account-detail-title {
display: flex;
align-items: center;
gap: 0.55rem;
margin-bottom: 1rem;
}
.account-detail-title h1 {
margin: 0;
color: #111827;
font-size: 1.55rem;
font-weight: 700;
}
.account-detail-back {
display: grid;
place-items: center;
width: 1.8rem;
height: 1.8rem;
background: #d8d8d8;
color: #111827;
font-size: 1.15rem;
line-height: 1;
}
.account-detail-back:hover {
text-decoration: none;
}
.account-detail-actions {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 0.7rem;
flex-wrap: wrap;
margin-left: auto;
}
.account-detail-actions form {
max-width: none;
margin: 0;
}
.account-action-button {
display: inline-flex;
justify-content: center;
align-items: center;
min-width: 5.5rem;
min-height: 1.65rem;
padding: 0.25rem 0.85rem;
border: 1px solid #111827;
border-radius: 999px;
background: transparent;
color: #111827;
font-size: 0.74rem;
line-height: 1;
white-space: nowrap;
}
a.account-action-button:hover {
text-decoration: none;
}
.account-action-button.is-danger {
border-color: #f20d0d;
color: #f20d0d;
}
.admin-modal {
position: fixed;
inset: 0;
z-index: 30;
display: none;
place-items: center;
padding: 1rem;
}
.admin-modal:target {
display: grid;
}
.admin-modal-backdrop {
position: fixed;
inset: 0;
background: rgba(233, 232, 229, 0.72);
}
.admin-modal-panel {
position: relative;
z-index: 1;
width: min(100%, 28rem);
padding: 2.4rem 2.6rem;
border: 1px solid #111827;
background: #fff;
}
.admin-modal-panel h2 {
margin: 0;
font-size: 1.45rem;
font-weight: 700;
}
.admin-modal-panel p {
margin: 0.6rem 0 1.2rem;
color: #6b7280;
}
.admin-modal-close {
position: absolute;
top: 0.8rem;
right: 1rem;
color: #111827;
font-size: 1.25rem;
line-height: 1;
}
.admin-modal-close:hover,
.admin-modal-backdrop:hover {
text-decoration: none;
}
.admin-modal-form {
max-width: none;
}
.account-detail-grid {
display: grid;
grid-template-columns: minmax(330px, 0.98fr) minmax(300px, 1fr);
gap: 0.8rem;
align-items: start;
}
.account-detail-profile-panel {
max-height: calc(100vh - 7rem);
}
.account-detail-avatar-wrap {
position: relative;
flex: 0 0 auto;
}
.account-detail-admin-star {
position: absolute;
right: -0.15rem;
bottom: 0.1rem;
display: grid;
place-items: center;
width: 1rem;
height: 1rem;
border-radius: 999px;
background: #111827;
color: #ffe100;
font-size: 0.72rem;
line-height: 1;
}
.account-detail-admin-star::before {
content: "★";
}
.account-detail-role-label {
color: #111827;
font-size: 0.76rem;
font-weight: 700;
}
.account-detail-subscriptions {
min-height: 15.4rem;
padding: 1.25rem 1.45rem;
background: #fff;
}
.account-detail-subscription-count {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 1rem;
margin-bottom: 0.85rem;
color: #111827;
font-size: 1.4rem;
font-weight: 700;
}
.account-detail-subscription-count strong {
font-size: 2rem;
font-weight: 500;
}
.account-detail-subscription-list {
display: grid;
gap: 0.5rem;
margin: 0;
padding: 0;
list-style: none;
}
.account-detail-subscription-list li {
display: flex;
justify-content: space-between;
gap: 1rem;
color: #111827;
font-size: 0.85rem;
font-weight: 700;
}
.tenant-detail-grid {
display: grid;
grid-template-columns: minmax(300px, 0.9fr) minmax(330px, 1.2fr);
gap: 0.8rem;
align-items: start;
}
.tenant-summary-panel,
.tenant-subscription-summary,
.tenant-manager-panel {
padding: 1.25rem 1.45rem;
background: #fff;
}
.tenant-subscription-summary {
min-height: 12.5rem;
}
.tenant-newsletter-grid {
grid-column: 2;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.8rem;
}
.tenant-manager-panel {
grid-column: 1;
}
.tenant-manager-panel-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
}
.tenant-manager-panel h2 {
margin: 0;
color: #111827;
font-size: 1.25rem;
}
.tenant-manager-form {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 0.65rem;
align-items: end;
margin: 0 0 1rem;
}
.tenant-manager-form input {
width: 100%;
min-height: 2rem;
border: 0;
background: #deddda;
padding: 0.4rem 0.55rem;
color: #111827;
}
.tenant-manager-list {
display: grid;
gap: 0.65rem;
margin: 0;
padding: 0;
list-style: none;
}
.tenant-manager-list li {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 0.75rem;
align-items: center;
border-bottom: 1px solid #9ca3af;
padding-bottom: 0.6rem;
}
.tenant-manager-list strong,
.tenant-manager-list span {
display: block;
}
.tenant-manager-list strong {
color: #111827;
font-size: 0.88rem;
}
.tenant-manager-list span {
color: #4b5563;
font-size: 0.78rem;
}
.tenant-manager-list form {
margin: 0;
}
.tenant-newsletter-card {
display: block;
min-height: 10.4rem;
padding: 1rem 1.2rem;
background: #fff;
color: #111827;
}
.tenant-newsletter-card:hover {
text-decoration: none;
}
.tenant-newsletter-card.is-off {
background: #d9d9d9;
}
.tenant-newsletter-card-header {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 1rem;
margin-bottom: 1rem;
}
.tenant-newsletter-card h2 {
margin: 0;
color: #111827;
font-size: 1.25rem;
font-weight: 700;
}
.tenant-newsletter-card p,
.tenant-newsletter-card-header span,
.tenant-newsletter-count span {
margin: 0;
color: #111827;
font-size: 0.78rem;
}
.tenant-newsletter-count {
display: flex;
justify-content: flex-end;
align-items: baseline;
gap: 2.6rem;
margin-top: 2.5rem;
}
.tenant-newsletter-count strong {
color: #111827;
font-size: 2rem;
font-weight: 500;
}
.newsletter-detail-summary {
display: grid;
grid-template-columns: minmax(180px, 0.75fr) repeat(2, minmax(160px, 1.2fr));
gap: 0.8rem;
margin-bottom: 2rem;
}
.newsletter-summary-card {
display: flex;
align-items: center;
gap: 1rem;
min-height: 5.2rem;
padding: 1rem 1.2rem;
background: #fff;
}
.newsletter-summary-card p,
.newsletter-summary-card span {
margin: 0;
color: #111827;
font-size: 0.78rem;
font-weight: 700;
}
.newsletter-summary-card p + p {
margin-top: 0.35rem;
}
.newsletter-summary-card.is-metric {
justify-content: space-between;
align-items: baseline;
}
.newsletter-summary-card strong {
color: #111827;
font-size: 2.6rem;
font-weight: 500;
}
.newsletter-detail-tabs {
margin-bottom: 0.25rem;
}
.notice-panel {
min-height: 34rem;
padding: 1.5rem;
background: #fff;
}
.notice-empty {
margin: 0;
color: #6b7280;
}
.tenant-newsletter-page {
max-width: 60rem;
}
.tenant-newsletter-filter {
display: flex;
align-items: center;
gap: 0.75rem;
max-width: none;
margin: 0 0 1rem;
}
.tenant-newsletter-filter label {
margin: 0;
color: #111827;
font-size: 0.8rem;
font-weight: 700;
}
.tenant-newsletter-filter select {
min-width: 14rem;
min-height: 2rem;
border: 0;
background: #deddda;
padding: 0.35rem 0.55rem;
color: #111827;
}
.tenant-newsletter-management-list {
display: grid;
gap: 0.85rem;
}
.tenant-newsletter-management-group {
display: grid;
gap: 0.85rem;
}
.tenant-newsletter-management-group h2 {
margin: 0 0 0.1rem;
color: #111827;
font-size: 0.9rem;
font-weight: 700;
}
.tenant-newsletter-management-row {
display: grid;
grid-template-columns: minmax(22rem, 1fr) minmax(11rem, 0.58fr);
gap: 0.75rem;
align-items: stretch;
color: inherit;
}
.tenant-newsletter-management-row:hover {
text-decoration: none;
}
.tenant-newsletter-management-card,
.tenant-newsletter-metric-card,
.tenant-newsletter-empty {
background: #fff;
}
.tenant-newsletter-management-card {
min-height: 6rem;
padding: 1rem 1.15rem;
}
.tenant-newsletter-management-card h3 {
margin: 0 0 1rem;
color: #111827;
font-size: 1.35rem;
font-weight: 700;
}
.tenant-newsletter-management-card p {
margin: 0;
color: #111827;
font-size: 0.8rem;
font-weight: 700;
}
.tenant-newsletter-management-metrics {
display: grid;
gap: 0.5rem;
}
.tenant-newsletter-metric-card {
display: flex;
justify-content: space-between;
align-items: baseline;
min-height: 2.75rem;
padding: 0.65rem 0.8rem;
}
.tenant-newsletter-metric-card span {
color: #111827;
font-size: 0.78rem;
font-weight: 700;
}
.tenant-newsletter-metric-card strong {
color: #111827;
font-size: 2rem;
font-weight: 500;
line-height: 1;
}
.tenant-newsletter-empty {
min-height: 16rem;
padding: 1.25rem;
}
.tenant-newsletter-empty p {
margin: 0;
color: #6b7280;
}
.tenant-newsletter-detail-title {
align-items: start;
}
.tenant-newsletter-detail-title h1,
.tenant-newsletter-detail-title p {
margin: 0;
}
.tenant-newsletter-detail-title p {
margin-top: 0.2rem;
color: #4b5563;
font-size: 0.8rem;
font-weight: 700;
}
.tenant-newsletter-detail-summary {
display: grid;
grid-template-columns: repeat(2, minmax(11rem, 14rem));
gap: 0.75rem;
margin: 0 0 2rem;
}
.tenant-newsletter-detail-metric {
display: flex;
justify-content: space-between;
align-items: baseline;
min-height: 5.2rem;
padding: 1rem 1.2rem;
background: #fff;
}
.tenant-newsletter-detail-metric span {
color: #111827;
font-size: 0.78rem;
font-weight: 700;
}
.tenant-newsletter-detail-metric strong {
color: #111827;
font-size: 2.7rem;
font-weight: 500;
line-height: 1;
}
.tenant-newsletter-detail-table th:nth-child(2),
.tenant-newsletter-detail-table td:nth-child(2),
.tenant-newsletter-detail-table th:nth-child(3),
.tenant-newsletter-detail-table td:nth-child(3) {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
@media (max-width: 900px) {
.app-shell {
grid-template-columns: 1fr;
}
.app-sidebar {
position: static;
padding: 1.2rem 1.25rem;
border-right: 0;
border-bottom: 1px solid #d4d2cc;
}
.app-sidebar-nav {
grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}
.app-sidebar-footer {
margin-top: 1rem;
}
.app-main {
padding: 1.5rem 1.25rem 2.5rem;
}
.profile-home-grid {
grid-template-columns: 1fr;
}
.admin-dashboard-grid {
grid-template-columns: 1fr;
}
.account-detail-grid,
.tenant-detail-grid {
grid-template-columns: 1fr;
}
.tenant-newsletter-grid,
.tenant-manager-panel {
grid-column: auto;
}
.newsletter-detail-summary {
grid-template-columns: 1fr;
}
.tenant-newsletter-management-row {
grid-template-columns: 1fr;
}
.tenant-newsletter-detail-summary {
grid-template-columns: 1fr;
}
}
@media (max-width: 760px) {
.auth-page {
width: min(100% - 1.5rem, 930px);
padding-top: 1.5rem;
}
.auth-page > .language-switcher {
top: 1.5rem;
}
.auth-layout {
grid-template-columns: 1fr;
gap: 2rem;
}
.auth-visual {
display: none;
}
.auth-modal {
padding: 1rem;
}
.auth-modal-panel {
padding: 3rem 1.5rem 2rem;
}
.profile-form-grid {
grid-template-columns: 1fr;
}
.profile-preview-grid {
grid-template-columns: 1fr;
}
.profile-detail-list > div {
grid-template-columns: 1fr;
gap: 0.15rem;
}
}