*{box-sizing:border-box}body,html{height:100%}body{margin:0;overflow:hidden;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f6f7fb;color:#111827}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.shell{height:100vh;overflow:hidden;display:grid;grid-template-columns:240px minmax(0,1fr)}.sidebar{height:100vh;overflow-y:auto;background:#0f172a;color:white;padding:24px;display:flex;flex-direction:column;gap:16px}.sidebar a,.sidebar button{color:white;background:transparent;border:0;padding:10px 12px;border-radius:10px;text-align:left;cursor:pointer}.sidebar a:hover,.sidebar button:hover{background:rgba(255,255,255,.1)}.main{height:100vh;min-width:0;min-height:0;overflow:hidden;padding:24px}.card{background:white;border:1px solid #e5e7eb;border-radius:18px;padding:20px;box-shadow:0 8px 30px rgba(15,23,42,.06)}.stack{flex-direction:column;gap:16px}.row,.stack{display:flex}.row{gap:12px;align-items:center;flex-wrap:wrap}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.input{width:100%;border:1px solid #d1d5db;border-radius:10px;padding:10px 12px;background:white}.label{font-size:13px;color:#374151;display:grid;grid-gap:6px;gap:6px}.btn,.label{font-weight:650}.btn{border:0;border-radius:10px;padding:10px 14px;background:#2563eb;color:white;cursor:pointer}.btn.secondary{background:#e5e7eb;color:#111827}.btn.danger{background:#dc2626}.btn:disabled{opacity:.55;cursor:not-allowed}.table{width:100%;border-collapse:collapse;background:white}.table td,.table th{border-bottom:1px solid #e5e7eb;padding:12px;text-align:left;font-size:14px}.badge{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700;background:#e5e7eb}.badge.published,.ok{background:#dcfce7;color:#166534}.badge.draft{background:#fef3c7;color:#92400e}.badge.archived{background:#e5e7eb;color:#374151}.badge.verified{background:#dcfce7;color:#166534}.badge.pending{background:#fef3c7;color:#92400e}.badge.inactive{background:#e5e7eb;color:#374151}.error{background:#fee2e2;color:#991b1b;overflow-wrap:anywhere;word-break:break-word;min-width:0}.error,.success{padding:10px 12px;border-radius:10px}.success{background:#dcfce7;color:#166534}.muted{color:#6b7280;font-size:14px}.table-scroll{width:100%;min-width:0;overflow-x:auto;border-radius:16px}.actions-cell{position:relative;width:80px;text-align:right!important;overflow:visible}.icon-btn{border:1px solid #d1d5db;background:white;border-radius:10px;padding:6px 10px;cursor:pointer}.action-menu{position:absolute;right:12px;top:44px;z-index:100;min-width:180px;background:white;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 14px 40px rgba(15,23,42,.2);padding:6px;display:grid;grid-gap:4px;gap:4px}.action-menu-fixed{position:fixed;left:auto;z-index:200}.action-menu a,.action-menu button{border:0;background:transparent;color:#111827;text-align:left;padding:9px 10px;border-radius:8px;cursor:pointer}.action-menu a:hover,.action-menu button:hover{background:#f3f4f6}.action-menu .danger-text{color:#b91c1c}.modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:rgba(15,23,42,.45)}.modal{width:min(720px,100%);max-height:calc(100vh - 40px);overflow-x:hidden;overflow-y:auto}.modal,.modal>*{min-width:0}.dns-records{flex:0 0 auto;width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.dns-record{display:grid;grid-template-columns:100px 100px minmax(220px,1fr);min-width:420px;border-top:1px solid #e5e7eb}.dns-record:first-child{border-top:0}.dns-record>*{min-width:0;padding:12px;overflow-wrap:anywhere;word-break:break-word}.dns-record>*+*{border-left:1px solid #e5e7eb}.dns-record-header{background:#f9fafb;color:#374151;font-size:13px;font-weight:700}.dns-record code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#111827;font-size:13px}.data-page,.domain-page{height:100%;min-height:0;display:flex;flex-direction:column;gap:12px}.page-heading{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between}.page-heading h1,.page-heading p,.table-toolbar h2{margin:0}.page-heading p{margin-top:4px;color:#6b7280}.domain-add-bar{flex:0 0 auto;background:white;border:1px solid #e5e7eb;border-radius:14px;padding:12px 16px;box-shadow:0 5px 18px rgba(15,23,42,.04)}.domain-add-form{display:flex;align-items:flex-end;gap:10px}.domain-input{flex:1 1}.domain-hint{margin:7px 0 0;color:#6b7280;font-size:12px}.compact-alert{flex:0 0 auto;padding:8px 12px}.data-list-panel,.domain-list-panel{min-height:0;flex:1 1;display:flex;flex-direction:column;overflow:hidden;background:white;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 8px 30px rgba(15,23,42,.06)}.table-toolbar{flex:0 0 auto;padding:14px 16px;justify-content:space-between;gap:16px;border-bottom:1px solid #e5e7eb}.table-controls,.table-toolbar{display:flex;align-items:center}.table-controls{justify-content:flex-end;gap:10px;flex-wrap:wrap}.search-input{width:220px}.compact-select{width:auto;min-width:92px}.status-select{min-width:160px}.page-size-control{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px;color:#4b5563}.data-table-scroll{min-height:0;flex:1 1;overflow:auto}.data-table thead{position:-webkit-sticky;position:sticky;top:0;z-index:5}.data-table th{background:#f9fafb}.empty-state{height:160px;text-align:center!important;color:#6b7280}.table-footer{flex:0 0 auto;min-height:58px;padding:10px 16px;justify-content:space-between;gap:12px;border-top:1px solid #e5e7eb;background:white}.pagination,.table-footer{display:flex;align-items:center}.pagination{gap:10px;font-size:13px}.compact-btn,.pagination .btn{padding:7px 11px}.compact-btn{display:inline-flex}.user-add-bar{flex:0 0 auto;background:white;border:1px solid #e5e7eb;border-radius:14px;padding:12px 16px;box-shadow:0 5px 18px rgba(15,23,42,.04)}.user-add-form{display:grid;grid-template-columns:1.25fr 1fr 1fr 150px auto;align-items:flex-end;grid-gap:10px;gap:10px}.user-form-actions{flex-wrap:nowrap}.content-scroll-page{width:100%;height:100%;min-height:0;max-height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:4px}.asset-slot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:14px;gap:14px}.textarea{resize:vertical}.seo-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.seo-upload-card{display:grid;grid-gap:10px;gap:10px;padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb}.asset-slot-card{overflow:hidden;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.asset-preview{height:160px;display:grid;place-items:center;overflow:hidden;background:#f3f4f6;color:#6b7280}.asset-preview img{width:100%;height:100%;object-fit:cover}.asset-slot-content{padding:12px;display:grid;grid-gap:9px;gap:9px}.asset-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-asset-state{padding:28px;border:1px dashed #d1d5db;border-radius:12px;text-align:center;color:#6b7280}.file-input-hidden{display:none}.btn.disabled{opacity:.55;cursor:not-allowed}.modal-actions{justify-content:flex-end}.domain-verify-modal{align-content:start}.domain-verify-modal .modal-actions{position:-webkit-sticky;position:sticky;bottom:-20px;z-index:2;margin:0 -20px -20px;padding:14px 20px;border-top:1px solid #e5e7eb;background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.domain-verify-modal .error,.domain-verify-modal .success{flex:0 0 auto;width:100%}.modal-level-2{z-index:70;background:rgba(15,23,42,.58)}.sub-tabs{flex:0 0 auto;display:flex;gap:8px;padding:5px;width:-moz-fit-content;width:fit-content;border:1px solid #e5e7eb;border-radius:12px;background:white}.sub-tabs button{border:0;border-radius:9px;padding:9px 14px;background:transparent;color:#4b5563;cursor:pointer;font-weight:650}.sub-tabs button.active{background:#2563eb;color:white}.selected-spreadsheet{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px 12px;min-width:0;padding:12px;border:1px solid #dbeafe;border-radius:12px;background:#eff6ff}.selected-spreadsheet strong{flex:0 0 100%;min-width:0}.selected-spreadsheet span{flex:1 1 100%;min-width:0;color:#4b5563;font-size:14px;overflow-wrap:anywhere;word-break:break-word}@media (max-width:1100px){.user-add-form{grid-template-columns:repeat(2,minmax(0,1fr))}.user-add-form .btn{align-self:end}}@media (max-width:800px){body{overflow:auto}.shell{height:auto;min-height:100vh;grid-template-columns:1fr;overflow:visible}.sidebar{height:auto;flex-direction:row;overflow:auto}.grid,.seo-upload-grid{grid-template-columns:1fr}.main{height:auto;min-height:calc(100vh - 70px);overflow:visible;padding:16px}.data-page,.domain-page{min-height:calc(100vh - 102px)}.domain-add-form,.table-footer,.table-toolbar{align-items:stretch;flex-direction:column}.user-add-form{grid-template-columns:1fr}.table-controls{justify-content:stretch}.compact-select,.search-input{width:100%}.content-scroll-page{height:auto;overflow:visible}}