select { appearance:none; padding-right:38px!important; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23757d78' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; }
.dashboard-charts { margin-bottom:26px; align-items:stretch; grid-template-columns:repeat(2,minmax(0,1fr)); }
.chart-panel { padding:24px; min-width:0; }
.chart-panel h3 { margin:0 0 22px; }
.trend-chart { display:block; width:100%; min-height:240px; }
.trend-chart text { font-size:11px; fill:#87928d; }
.chart-legend { display:flex; gap:12px 18px; flex-wrap:wrap; font-size:12px; }
.chart-legend span { display:flex; align-items:center; gap:7px; }
.chart-legend i { width:9px; height:9px; border-radius:50%; }
.chart-legend b { color:#89938d; font-weight:500; }
.topology { display:flex; flex-direction:column; align-items:center; }
.topology-client { font-size:12px; color:#859189; padding:5px 14px; background:#f4f6f4; border-radius:20px; }
.topology-link { width:1px; height:22px; background:#c4d3ca; position:relative; }
.topology-link:after { content:""; position:absolute; bottom:0; left:-3px; width:6px; height:6px; border-right:1px solid #aabeb0; border-bottom:1px solid #aabeb0; transform:rotate(45deg); }
.service-node { border:1px solid #dce8e0; border-radius:12px; background:#f6faf7; padding:13px 12px; text-align:center; min-width:115px; font-size:12px; }
.service-node small { display:block; color:#829187; margin-top:7px; font-size:10px; }
.service-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:#61a47d; margin-right:6px; }
.service-node.attention { border-color:#efdfbb; background:#fffaf1; }
.attention .service-dot { background:#d99b3c; }
.topology-dependencies { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; width:100%; border-top:1px solid #c4d3ca; padding-top:16px; position:relative; }
.topology-dependencies .service-node { position:relative; min-width:0; }
.topology-dependencies .service-node:before { content:""; position:absolute; top:-17px; left:50%; height:16px; width:1px; background:#c4d3ca; }
.chart-caption { text-align:center; font-size:11px; margin:16px 0 0; }
.risk-float { position:fixed; right:30px; bottom:28px; z-index:20; border:1px solid #c94646; border-radius:28px; background:#d84b4b; color:white; padding:14px 20px; box-shadow:0 6px 22px #c838382e; cursor:pointer; display:flex; gap:14px; align-items:center; }
.risk-float b { background:#fff; color:#ca3535; border-radius:12px; padding:2px 8px; }
.password-control { position:relative; width:100%; }
.password-control input { width:100%; padding-right:65px!important; }
.password-control button { position:absolute; right:9px; top:50%; transform:translateY(-50%); border:0; background:transparent; color:#56826c; padding:7px; cursor:pointer; font-size:12px; }
.user-id { display:block; margin-top:5px; font-family:monospace; font-size:11px; }
.detail-link { text-align:left; cursor:pointer; color:inherit; border:1px solid #d6e5db; background:#f4f9f5; }
.detail-link span { color:#56826c; font-size:12px; margin-left:8px; }
.user-artwork-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; margin-top:22px; }
.artwork-card { text-align:left; background:white; border:1px solid var(--line); border-radius:12px; overflow:hidden; padding:0 0 14px; cursor:pointer; }
.artwork-card img { width:100%; height:170px; object-fit:cover; display:block; margin-bottom:12px; }
.artwork-card b,.artwork-card small { display:block; margin:7px 12px; }
.artwork-card .status { margin-left:12px; }
.section-tabs { display:flex; gap:6px; flex-wrap:wrap; border-bottom:1px solid var(--line); margin:20px 0; padding-bottom:8px; }
.section-tabs button { background:transparent; border:0; border-radius:8px; padding:11px 18px; color:#869089; cursor:pointer; font-size:14px; }
.section-tabs button.active { background:#eaf2ec; color:#416b53; font-weight:600; }
.tab-panel[hidden] { display:none!important; }
.form-grid>.section-tabs,.form-grid>.tab-panel { grid-column:1/-1; }
.form-grid>.tab-panel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.form-grid>.section-tabs { margin:0 0 8px; }
.tab-panel>h3 { margin:0; }
.strategy-grid { grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)!important; align-items:start; padding:24px!important; }
.strategy-card:nth-child(1) { grid-column:1; grid-row:1; }
.strategy-card:nth-child(2) { grid-column:1; grid-row:2; }
.strategy-card:nth-child(3) { grid-column:2; grid-row:1 / span 2; grid-template-columns:repeat(2,minmax(0,1fr)); }
.strategy-card:nth-child(3) h3,.strategy-card:nth-child(3)>p { grid-column:1 / -1; }
.strategy-card { border:1px solid #e1e8e1; border-radius:16px; padding:22px; background:#fafcf9; display:grid; grid-template-columns:1fr; gap:18px; }
.strategy-card h3 { margin:0; color:#4c6d56; }
.strategy-card>p { font-size:12px; line-height:1.7; margin:0; min-height:42px; }
.strategy-card .field { grid-column:1; min-width:0; }
.strategy-card:nth-child(3) .field { grid-column:auto; }
.strategy-card:nth-child(3) .field:has(#adPlacementId),.strategy-card:nth-child(3) .field:has(#adRewardAmount),.strategy-card:nth-child(3) .field:has(#failureRefundMode) { grid-column:1 / -1; }
.strategy-card input:not([type=checkbox]),.strategy-card select { width:100%; }
.strategy-grid>.field.full,.strategy-grid>.form-actions { grid-column:1/-1; }
.history-heading { border-top:1px solid var(--line); padding-top:24px!important; }
.personal-security { padding:24px; }
.api-key-heading { padding:8px 0 22px; }
.api-key-eyebrow { display:block; color:#8a817a; font-size:12px; letter-spacing:.08em; margin-bottom:10px; }
.api-key-heading h2 { margin-bottom:10px; }
.api-key-heading p { color:var(--muted); margin:0; line-height:1.8; }
.api-key-policy { display:flex; gap:8px; flex-wrap:wrap; padding:16px; border:1px solid #e1ebe4; background:#f5f9f6; border-radius:12px; }
.api-key-policy span { color:#49735a; font-size:12px; padding:3px 9px; background:white; border-radius:6px; }
.api-key-form { display:flex; flex-direction:column; gap:24px; margin-top:26px; }
.api-key-section { display:grid; gap:18px; }
.drawer .api-key-section h3 { margin:0; font-size:15px; }
.api-key-section+.api-key-section { border-top:1px solid var(--line); padding-top:24px; }
.api-key-form .field input,.api-key-form .field textarea { width:100%; min-width:0; padding:12px 14px; line-height:1.6; transition:border-color .15s,box-shadow .15s; }
.api-key-form .field textarea { resize:vertical; min-height:94px; }
.api-key-form .field input:focus,.api-key-form .field textarea:focus { outline:none; border-color:#d98679; box-shadow:0 0 0 3px #fff0ec; }
.api-key-form .field small { color:var(--muted); font-size:12px; line-height:1.7; }
.api-key-required { color:var(--accent); }
.api-key-optional { font-size:11px; color:#958b83; font-weight:400; margin-left:5px; }
.api-key-watermark-note { display:flex; align-items:center; gap:12px; padding:14px 16px; border-radius:10px; background:#f8f6f3; }
.api-key-watermark-note>span { color:#968476; font-family:Georgia,serif; font-size:22px; }
.api-key-watermark-note p { margin:0; color:#85776b; font-size:12px; line-height:1.8; }
.api-key-footer { border-top:1px solid var(--line); padding:22px 0 8px; display:flex; gap:18px; align-items:center; justify-content:space-between; margin-top:8px; }
.api-key-footer small { color:var(--muted); max-width:290px; font-size:12px; line-height:1.8; }
.api-key-footer .actions { flex-shrink:0; }
.api-key-form .api-key-footer { position:sticky; bottom:0; background:#fff; z-index:1; box-shadow:0 -12px 20px #fff; }
.api-key-form-error { color:#b43c2f; background:#fff0ec; border-radius:8px; padding:12px; margin:0; }
.api-key-success-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:15px; background:#e8f6f0; color:#208966; font-size:26px; margin-bottom:20px; }
.api-key-secret-card { background:#f8faf8; border:1px solid #dce8df; border-radius:14px; padding:22px; display:grid; gap:16px; }
.api-key-secret-card label { display:flex; justify-content:space-between; gap:12px; font-weight:650; }
.api-key-secret-card label span { color:#8a7561; font-size:11px; font-weight:400; }
.api-key-secret-card input { width:100%; min-width:0; border:1px solid #d8e2da; border-radius:8px; padding:14px 12px; color:#30573d; background:white; font-size:13px; }
.api-key-secret-card button { justify-self:start; }
.api-key-save-note { padding:22px 0; }
.api-key-save-note b { font-size:13px; }
.api-key-save-note p { color:var(--muted); font-size:12px; line-height:1.9; margin-bottom:0; }
@media(max-width:620px) { .api-key-footer { align-items:stretch; flex-direction:column; } .api-key-footer .actions { justify-content:flex-end; } .api-key-secret-card { padding:16px; } }
.account-note { padding:12px 16px; font-size:12px; }
@media(max-width:1100px) { .strategy-grid { grid-template-columns:1fr!important; } .strategy-card:nth-child(n) { grid-column:1; grid-row:auto; } .dashboard-charts { grid-template-columns:1fr; } }
@media(max-width:620px) { .form-grid>.tab-panel { grid-template-columns:1fr; } .section-tabs button { padding:10px 12px; } .risk-float { right:16px; bottom:16px; } }
