.card {
    height: 100%;
}

.storage-card {
    border: 1px solid #ececec;
    box-shadow: 0 10px 28px rgba(20, 20, 20, 0.08);
}

.storage-card-title {
    align-items: center;
    display: flex;
    gap: 0.6rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.storage-card-title i {
    color: #4a4a4a;
}

.storage-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.storage-page-links a {
    background: #f8f8f8;
    border: 1px solid #dedede;
    border-radius: 999px;
    color: #2d2d2d;
    font-weight: 700;
    padding: 0.45rem 0.8rem;
    text-decoration: none;
}

.storage-page-links a:hover {
    background: #363636;
    border-color: #363636;
    color: #fff;
}

.storage-facts {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.storage-facts div {
    background: #f8f8f8;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 0.85rem;
}

.storage-facts span {
    color: #4a4a4a;
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.storage-facts p {
    margin: 0;
}

.storage-table-wrap {
    border: 1px solid #e4e6e8;
    border-radius: 8px;
    margin-top: 1.25rem;
}

.storage-table {
    margin-bottom: 0;
}

.storage-table thead th {
    background: #f4f5f6;
}

.storage-table th,
.storage-table td {
    vertical-align: middle;
}

.storage-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 800;
    justify-content: center;
    min-width: 92px;
    padding: 0.25rem 0.7rem;
}

.storage-status-yes {
    background: #e8f5ee;
    color: #17633a;
}

.storage-status-no {
    background: #f5eded;
    color: #7b2d2d;
}

.storage-check-list {
    display: grid;
    gap: 0.85rem;
}

.storage-check {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    display: flex;
    gap: 0.9rem;
    height: 100%;
    padding: 1.1rem;
    box-shadow: 0 10px 24px rgba(20, 20, 20, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.storage-check:hover {
    border-color: #c9cfd7;
    box-shadow: 0 14px 28px rgba(20, 20, 20, 0.09);
    transform: translateY(-1px);
}

.storage-check > span:last-child {
    font-weight: 600;
    line-height: 1.45;
}

.storage-check-icon {
    align-items: center;
    background: #f1f3f5;
    border: 1px solid #d7dce2;
    border-radius: 8px;
    color: #2d2d2d;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: 0.95rem;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.storage-warning {
    background: #fff8e8;
    border: 1px solid #edcc7a;
    border-left: 4px solid #c58a00;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(197, 138, 0, 0.08);
    margin-top: 1rem;
    padding: 1rem 1.1rem;
}

.storage-playground {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.storage-inputs {
    display: grid;
    gap: 1rem;
}

.storage-playground-panel {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 1rem;
}

.storage-playground-panel h3 {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: 1rem;
    font-weight: 700;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.storage-kind-badge {
    background: #f1f3f5;
    border: 1px solid #d7dce2;
    border-radius: 999px;
    color: #4a4a4a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.15rem 0.55rem;
    text-transform: uppercase;
}

.storage-field-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(140px, 0.8fr) minmax(180px, 1.2fr);
}

.storage-real-case {
    align-items: center;
    background: #f8f8f8;
    border: 1px solid #ececec;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1rem 0;
    padding: 1rem;
}

.storage-real-case div {
    align-items: center;
    display: flex;
    gap: 0.45rem;
}

.content .storage-task-requirements {
    counter-reset: storage-task-requirement;
    display: grid;
    gap: 0.75rem;
    list-style: none;
    margin: 1rem 0 1.25rem 0;
    padding: 0;
}

.content .storage-task-requirements li {
    align-items: baseline;
    background: #f8f8f8;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    counter-increment: storage-task-requirement;
    display: flex;
    gap: 0.55rem;
    line-height: 1.45;
    padding: 0.9rem 1rem;
}

.content .storage-task-requirements li::before {
    align-items: center;
    background: #363636;
    border-radius: 50%;
    color: #fff;
    content: counter(storage-task-requirement);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 700;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.mini-page-task {
    display: block;
}

.mini-page-preview {
    background: #fff7e6;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    color: #2d2d2d;
    overflow: hidden;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mini-browser-bar {
    align-items: center;
    background: #2f333c;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: 10px 10px 10px minmax(0, 1fr);
    padding: 0.65rem 0.8rem;
}

.mini-browser-bar > span {
    background: #b7bbc4;
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.mini-browser-address {
    background: #fff;
    border-radius: 999px;
    color: #6a6a6a;
    font-size: 0.85rem;
    overflow: hidden;
    padding: 0.35rem 0.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-page-preview[data-theme="ocean"] {
    background: #dbeafe;
    border-color: #93c5fd;
}

.mini-page-preview[data-theme="mint"] {
    background: #dcfce7;
    border-color: #86efac;
}

.mini-page-preview[data-theme="lavender"] {
    background: #f3e8ff;
    border-color: #d8b4fe;
}

.mini-page-preview[data-theme="gray"] {
    background: #e5e7eb;
    border-color: #c4c8d0;
}

.mini-page-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.62);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(120px, 0.5fr) minmax(0, 1fr);
    padding: 0.8rem 1rem;
}

.mini-page-nav span {
    font-weight: 700;
}

.mini-page-body {
    min-height: 190px;
    padding: 1.5rem;
}

.mini-theme-current {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(54, 54, 54, 0.12);
    border-radius: 8px;
    display: inline-flex;
    font-size: 0.9rem;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.7rem;
}

.mini-theme-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.mini-theme-button {
    align-items: center;
    background: rgba(255, 255, 255, 0.84);
    border: 2px solid rgba(54, 54, 54, 0.14);
    border-radius: 999px;
    color: #363636;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 700;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.45rem 0.8rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mini-theme-button:hover {
    border-color: rgba(54, 54, 54, 0.34);
    box-shadow: 0 8px 18px rgba(20, 20, 20, 0.1);
    transform: translateY(-1px);
}

.mini-theme-button.is-active {
    background: #363636;
    border-color: #363636;
    box-shadow: 0 10px 22px rgba(20, 20, 20, 0.18);
    color: #fff;
}

.mini-theme-dot {
    border: 1px solid rgba(54, 54, 54, 0.18);
    border-radius: 50%;
    display: inline-block;
    height: 16px;
    width: 16px;
}

.mini-theme-button[data-theme="light"] .mini-theme-dot {
    background: #fff7e6;
}

.mini-theme-button[data-theme="ocean"] .mini-theme-dot {
    background: #93c5fd;
}

.mini-theme-button[data-theme="mint"] .mini-theme-dot {
    background: #86efac;
}

.mini-theme-button[data-theme="lavender"] .mini-theme-dot {
    background: #d8b4fe;
}

.mini-theme-button[data-theme="gray"] .mini-theme-dot {
    background: #c4c8d0;
}

.storage-inputs .field {
    margin-bottom: 1rem;
}

.storage-state {
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem;
}

.storage-state-row {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.85rem;
}

.storage-state-row span {
    color: #4a4a4a;
    font-weight: 700;
}

.storage-state-row code {
    background: #f1f1f1;
    color: #202020;
    overflow-wrap: anywhere;
}

.storage-clear-button {
    background: #fff;
    border: 1px solid #363636;
    color: #363636;
    font-weight: 700;
}

.storage-clear-button:hover {
    background: #363636;
    border-color: #363636;
    color: #fff;
}

@media (max-width: 768px) {
    .storage-field-grid,
    .storage-playground {
        grid-template-columns: 1fr;
    }
}
