* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: #f4f6fc; background: radial-gradient(ellipse at 50% -20%, #202b53 0, transparent 55%), #0b1020; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.shell { display: grid; width: min(100% - 40px, 820px); min-height: 100vh; align-content: center; margin: 0 auto; padding: 28px 0 40px; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 52px; }
.brand { display: flex; align-items: center; gap: 11px; color: #bbc6df; font-size: 11px; font-weight: 750; letter-spacing: .14em; }
.brand-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #394563; border-radius: 11px; background: #182139; color: #9af0c8; font-size: 25px; }
.secure-label { display: flex; align-items: center; gap: 8px; color: #9aa6bd; font-size: 12px; }
.secure-label i { width: 7px; height: 7px; border-radius: 50%; background: #86e8bd; box-shadow: 0 0 12px #86e8bd88; }
.intro { margin-bottom: 28px; }
.eyebrow { margin: 0 0 10px; color: #91e8c0; font-size: 10px; font-weight: 750; letter-spacing: .2em; }
h1 { margin: 0; font-size: clamp(34px, 7vw, 46px); letter-spacing: -.055em; }
.intro > p:last-child { margin: 10px 0 0; color: #9aa6bd; font-size: 14px; }
.list-card { padding: 22px; border: 1px solid #26314b; border-radius: 20px; background: linear-gradient(145deg, #171f34, #111829); box-shadow: 0 24px 70px #0004; }
.list-controls { display: flex; align-items: center; gap: 9px; }
.add-link-dialog { width: min(100% - 32px, 480px); max-width: 480px; padding: 0; overflow: visible; border: 1px solid #35415b; border-radius: 20px; background: #151e32; color: #f4f6fc; box-shadow: 0 30px 100px #0009; }
.add-link-dialog::backdrop { background: rgba(3, 7, 16, .76); backdrop-filter: blur(5px); }
.new-link-form { display: grid; gap: 18px; padding: 25px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dialog-heading .eyebrow { margin: 0 0 7px; }
.dialog-heading h2 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.dialog-heading p:last-child { margin: 7px 0 0; color: #8996af; font-size: 12px; }
.dialog-close { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid #35415b; border-radius: 10px; background: #202a40; color: #d8e0ee; font-size: 22px; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: #303c53; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 3px; }
.dialog-notice { min-height: 18px; margin: -6px 0 0; color: #a3f2ce; font-size: 12px; }
.cancel-button { min-height: 40px; padding: 0 15px; border: 1px solid #35415b; border-radius: 10px; background: transparent; color: #cbd5e8; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.cancel-button:hover { background: #202a40; }
.form-field { display: grid; gap: 7px; color: #aab5c9; font-size: 11px; font-weight: 650; }
.form-field input, .url-edit input { width: 100%; min-width: 0; height: 40px; padding: 0 11px; border: 1px solid #35415b; border-radius: 9px; outline: none; background: #0d1423; color: #f4f6fc; font: inherit; font-size: 12px; font-weight: 400; }
.form-field input:focus, .url-edit input:focus { border-color: #76d9ad; box-shadow: 0 0 0 3px #76d9ad20; }
.form-field input::placeholder, .url-edit input::placeholder { color: #77839a; }
.optional { color: #77839a; font-weight: 400; }
.primary-button { min-height: 40px; padding: 0 15px; border: 1px solid #7bd8ad; border-radius: 10px; background: #a3f2ce; color: #10251e; font: inherit; font-size: 12px; font-weight: 750; white-space: nowrap; cursor: pointer; }
.primary-button:hover { background: #bdf8dc; }
.primary-button:disabled { cursor: wait; opacity: .55; }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 2px 2px 18px; border-bottom: 1px solid #29334a; }
h2 { margin: 0; font-size: 16px; }
.list-head p { margin: 5px 0 0; color: #8996af; font-size: 12px; }
.refresh-button { min-height: 38px; padding: 0 13px; border: 1px solid #35415b; border-radius: 10px; background: #202a40; color: #cbd5e8; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.refresh-button:hover { background: #2a3651; }
.notice { margin: 0; color: #aab5c9; font-size: 13px; }
.links { display: grid; gap: 10px; padding-top: 14px; }
.link-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 250px) auto; align-items: center; gap: 18px; padding: 16px; border: 1px solid #28334b; border-radius: 14px; background: #11192a99; transition: border-color .18s, opacity .18s; }
.link-row.active { border-color: #397b60; background: linear-gradient(110deg, rgba(24, 76, 57, .68), rgba(19, 42, 39, .9)); box-shadow: inset 0 1px rgba(163, 242, 206, .06), 0 8px 24px rgba(13, 72, 48, .12); }
.link-row.inactive { border-color: #28334b; background: rgba(17, 25, 42, .6); }
.link-info { min-width: 0; flex: 1; }
.link-title { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font-size: 14px; font-weight: 650; }
.state { padding: 3px 7px; border-radius: 20px; background: #17372f; color: #91e8c0; font-size: 9px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.inactive .state { background: #303849; color: #a3aec2; }
.link-url { overflow: hidden; color: #8996af; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.url-edit { display: none; align-items: center; gap: 6px; margin-top: 8px; }
.url-edit.visible { display: flex; }
.url-edit input { height: 34px; }
.small-button { min-height: 34px; padding: 0 9px; border: 1px solid #35415b; border-radius: 8px; background: #202a40; color: #cbd5e8; font: inherit; font-size: 10px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.small-button.save-url { border-color: #4aa980; background: #16372d; color: #9af0c8; }
.small-button.cancel-url:hover, .small-button.delete-link:hover { background: #303c53; }
.text-editor { display: grid; gap: 6px; color: #9aa6bd; font-size: 10px; font-weight: 650; letter-spacing: .04em; }
.text-editor input { width: 100%; min-width: 0; height: 38px; padding: 0 11px; border: 1px solid #35415b; border-radius: 9px; outline: none; background: #0d1423; color: #f4f6fc; font: inherit; font-size: 12px; letter-spacing: 0; }
.text-editor input:focus { border-color: #76d9ad; box-shadow: 0 0 0 3px #76d9ad20; }
.text-editor input::placeholder { color: #77839a; }
.status-button { min-height: 38px; padding: 0 13px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-size: 11px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .16s, border-color .16s, opacity .16s; }
.status-button.is-active { border-color: #4aa980; background: #16372d; color: #9af0c8; }
.status-button.is-active:hover { background: #1d4939; }
.status-button.is-inactive { border-color: #4b5871; background: #252f43; color: #cbd5e8; }
.status-button.is-inactive:hover { background: #303c53; }
.status-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.status-button:disabled { cursor: wait; opacity: .55; }
.link-actions { display: flex; align-items: center; gap: 8px; }
.on-meeting-control { display: inline-flex; align-items: center; gap: 6px; color: #b6c0d2; font-size: 10px; white-space: nowrap; cursor: pointer; }
.on-meeting-control input { width: 15px; height: 15px; margin: 0; accent-color: #e6a85c; cursor: pointer; }
.on-meeting-control input:disabled { cursor: wait; opacity: .55; }
.link-row.on-meeting { border-color: #875d35; background: linear-gradient(110deg, rgba(91, 62, 32, .44), rgba(34, 37, 48, .9)); }
.link-row.on-meeting .on-meeting-control { color: #ffd29d; }
.copy-button { min-height: 38px; padding: 0 12px; border: 1px solid #35415b; border-radius: 10px; background: #202a40; color: #cbd5e8; font: inherit; font-size: 11px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.copy-button:hover { border-color: #647390; background: #2a3651; }
.copy-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.delete-link { min-height: 38px; padding: 0 11px; border: 1px solid #6e3e50; border-radius: 10px; background: #38202d; color: #ffc2cf; font: inherit; font-size: 11px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.delete-link:hover { background: #4a2939; }
.empty { padding: 28px 8px; color: #9aa6bd; text-align: center; font-size: 13px; }
.footnote { margin: 16px 4px 0; color: #74819a; font-size: 11px; text-align: center; }
@media (max-width: 680px) { .shell { width: min(100% - 28px, 820px); padding-top: 18px; } .list-card { padding: 16px; } .list-head { flex-wrap: wrap; gap: 14px; } .list-controls { gap: 6px; margin-left: auto; } .list-controls button { padding: 0 9px; font-size: 10px; } .new-link-form { gap: 15px; padding: 20px; } .dialog-actions button { width: auto; } .link-row { grid-template-columns: minmax(0, 1fr) auto; gap: 14px 10px; padding: 13px; } .text-editor { grid-column: 1 / -1; grid-row: 2; } .link-actions { grid-column: 1 / -1; grid-row: 3; justify-content: flex-end; flex-wrap: wrap; } .status-button, .copy-button, .delete-link { padding: 0 10px; font-size: 10px; } }
