:root{color:var(--ink);background:var(--desk);font:16px -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button,.navigation-link{border:1px solid var(--line);border-radius:var(--radius);background:var(--tile);min-height:46px;color:var(--ink);cursor:pointer;padding:8px 14px}.navigation-link{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}button:hover:enabled,a.navigation-link:hover{filter:brightness(.94)}button:active:enabled{transform:translateY(1px)}button:disabled,[aria-disabled=true]{opacity:.5;cursor:default}:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.primary{background:var(--action-fill,var(--accent));color:var(--on);border-color:#0000;font-weight:600}.danger,.error{color:var(--danger)}h1,h2,p{margin:0}h1{font-size:clamp(28px,4vw,38px)}h2{font-size:20px}p{line-height:1.6}.page-bar{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;max-width:1120px;margin:auto;padding:12px 24px;display:flex}.page-bar>button{margin-left:auto}#account{flex-wrap:wrap;align-items:center;gap:4px;display:flex}#account:empty{display:none}#account a{min-height:46px;color:var(--accent);align-items:center;padding:8px 12px;display:inline-flex}#main{max-width:1120px;margin:30px auto;padding:0 20px}.heading,.heading-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.heading{justify-content:space-between;margin-bottom:22px}.eyebrow{color:var(--muted);margin-bottom:4px}.list{gap:16px;display:grid}.record{border:1px solid var(--line);border-radius:var(--radius);background:var(--tile);min-width:0;padding:20px}.record-top{color:var(--muted);margin-bottom:12px;font-size:13px}.content{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:12px;font-size:22px}.actions{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.actions>*{flex:1}.picture{background:var(--paper);width:100%;margin-bottom:10px;padding:0;display:block;overflow:hidden}.picture img{object-fit:contain;width:100%;max-height:280px;display:block}audio{width:100%;max-width:100%}.empty{text-align:center;color:var(--muted);padding:48px 10px}.field{gap:10px;margin:20px 0;display:grid}textarea,input{border:1px solid var(--line);background:var(--tile);width:100%;min-height:48px;color:var(--ink);border-radius:var(--radius);padding:12px}textarea{resize:vertical;min-height:150px}.error:not(:empty){margin-top:10px}dialog{border:1px solid var(--line);border-radius:var(--radius);background:var(--tile);color:var(--ink);width:min(460px,100% - 32px);max-height:85dvh;padding:24px;overflow:auto}dialog p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px}dialog::backdrop{background:#0008}body:has(dialog[open]){overflow:hidden}#zoom{width:min(860px,100% - 24px)}#zoom img{object-fit:contain;max-width:100%;max-height:65dvh;margin:16px auto 0;display:block}#notice{max-width:560px;color:var(--accent);margin:16px auto;padding:0 20px}#notice:empty{display:none}.composer .field{margin:0 0 16px}.compose-tools{flex-wrap:wrap;gap:8px;display:flex}.compose-tools button{flex:1;justify-content:center;align-items:center;gap:6px;min-height:52px;padding:8px;display:inline-flex}.compose-tools svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:22px;height:22px}#record-audio{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#record-audio[data-state=recording]{color:var(--danger)}#record-status{color:var(--accent);margin-top:8px;font-size:14px}.attachment{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.attachment-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.attachment img{object-fit:contain;background:var(--paper);border-radius:var(--radius);width:100%;max-height:280px;display:block}@media (max-width:600px){.page-bar{gap:6px;padding:8px 14px}#main{margin:20px auto;padding:0 12px}[data-role=owner] #account:not(:empty){order:1;width:100%}}@media (prefers-reduced-motion:reduce){button:active:enabled{transform:none}}html[data-role=owner]:not([data-preview]){--desk:#f2f2f7;--paper:#f2f2f7;--tile:#fff;--ink:#17171b;--muted:#60616a;--line:#d8d8df;--accent:#005fc7;--on:#fff;--fill:#e5e5eb;--selection:#fff;--action-fill:#0064cf;--danger:#b42937;--radius:12px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-role=owner][data-mode=dark]:not([data-preview]){--desk:#101013;--paper:#101013;--tile:#202023;--ink:#f6f6f8;--muted:#aeafb9;--line:#3c3c43;--accent:#7ab8ff;--fill:#29292f;--selection:#494951;--danger:#ff9299;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}[data-role=owner] .page-bar{max-width:760px}[data-role=owner] .page-bar button{color:var(--accent);background:0 0;border:0}[data-role=owner] #account>*{padding-inline:8px;font-size:14px}[data-role=owner] .phone{max-width:560px;margin:auto}[data-role=owner] .phone h1{letter-spacing:-.035em;font-size:clamp(30px,4vw,38px)}[data-role=owner] .heading button:not(.primary){color:var(--accent);background:0 0;border:0}[data-role=owner] .heading .primary{border-radius:24px}.phone .tabs{background:var(--fill);border-radius:13px;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:16px;padding:3px;display:grid}.phone .tabs button{color:var(--muted);background:0 0;border:0}.phone .tabs button[aria-pressed=true]{color:var(--ink);background:var(--selection);font-weight:650;box-shadow:0 1px 4px #0002}.phone .count,.photo-count{font-variant-numeric:tabular-nums;font-size:13px}.phone .list{background:var(--tile);border-radius:18px;display:block}.phone .record{background:0 0;border:0;grid-template-columns:46px minmax(0,1fr) 46px;align-items:start;gap:4px;padding:10px 8px;display:grid;position:relative}.phone .record+.record:before{content:"";background:var(--line);height:1px;position:absolute;inset:0 0 auto 58px}.phone .record-body{min-width:0;padding:7px 0}.phone .content{font-size:18px;font-weight:600;line-height:1.55}.phone .content:last-child{margin:0}.phone .continuation{color:var(--muted);font-size:15px;font-weight:400}.phone .completion,.phone .record-delete{background:0 0;border:0;place-items:center;width:46px;height:46px;padding:0;display:grid}.phone .completion span{border:1.6px solid var(--muted);border-radius:50%;width:23px;height:23px}.phone .completion[data-action=restore] span{background:var(--action-fill);border-color:var(--action-fill);place-items:center;display:grid}.phone .completion[data-action=restore] span:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:10px;transform:translateY(-1px)rotate(42deg)}.phone .completion:hover span{border-color:var(--accent)}.phone .record-delete{font-size:14px}.phone .empty h2{font-size:17px;font-weight:500}#manage-photos{text-align:left;border:0;border-radius:16px;align-items:center;gap:12px;width:100%;min-height:62px;margin-top:24px;padding:10px 16px;display:flex}.photo-icon{background:var(--action-fill);border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.photo-icon svg{fill:none;stroke:#fff;stroke-width:1.7px;stroke-linejoin:round;width:21px;height:21px}.photo-count{color:var(--muted);margin-left:auto}.chevron{border:solid var(--muted);border-width:1.6px 1.6px 0 0;width:8px;height:8px;transform:rotate(45deg)}.phone .composer{background:var(--tile);border-radius:16px;padding:16px}.phone .field{font-weight:600}.phone textarea{background:var(--paper);font-weight:400}.phone .compose-tools button{background:var(--fill);color:var(--accent);border:0}.photo-slots{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;margin:0;padding:0;display:grid}.photo-slot{background:var(--tile);border-radius:16px;flex-direction:column;gap:8px;min-width:0;padding:10px;display:flex}.photo-thumbnail{background:var(--paper);border-radius:10px;overflow:hidden}.photo-thumbnail img{aspect-ratio:3/2;object-fit:cover;width:100%;display:block}.slot-actions{flex-wrap:wrap;gap:4px;display:flex}.slot-actions button{color:var(--accent);border:0;flex:1;padding:6px 4px}.slot-actions .danger{color:var(--danger)}.photo-slot:has(.photo-thumbnail[hidden]) .slot-actions button{aspect-ratio:3/2;background:var(--paper)}[data-role=owner] dialog{border:0;border-radius:20px}@media (max-width:360px){.phone .record{padding-inline:4px}}.manager-header{z-index:1;flex-wrap:nowrap;position:relative}.manager-header #owner-home{color:var(--ink);margin-inline-start:0;font-weight:650}[data-role=owner] .manager-header #account:not(:empty){order:initial;width:auto;margin-inline-start:auto;position:relative}.manager-header .account-menu{z-index:2;border:1px solid var(--line);background:var(--tile);border-radius:15px;width:150px;padding:8px 12px;position:absolute;inset-block-start:100%;inset-inline-end:0;box-shadow:0 8px 24px #0002}.manager-header .account-menu p{color:var(--muted);margin:0;padding:9px 8px}.manager-header .account-menu button{text-align:start;width:100%}.management-home h1{margin-bottom:20px}.management-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.management-grid button{text-align:start;background:var(--tile);border:0;border-radius:17px;justify-items:start;gap:12px;min-height:112px;padding:14px;font-weight:650;display:grid}.management-grid .management-wide{grid-column:1/-1}.management-grid .shortcut-icon{background:var(--fill);width:37px;height:37px;color:var(--accent);border-radius:11px;place-items:center;display:grid}.management-grid svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.management-group{background:var(--tile);border-radius:16px;margin-top:15px;display:grid;overflow:hidden}.management-home-settings{margin-top:24px}.management-group button{text-align:start;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.management-group>*+*{border-top:1px solid var(--line)}.management-group button[aria-pressed=true]{color:var(--accent);font-weight:650}.management-group .log-row,.management-group .message-row{padding:14px 16px}.management-group .log-row{flex-wrap:wrap;justify-content:space-between;gap:12px;display:flex}.management-group time{color:var(--muted);font-variant-numeric:tabular-nums}.log-filters{flex-wrap:wrap;align-items:end;gap:8px;margin-block:12px;display:flex}.log-filters label{min-width:105px;color:var(--muted);flex:1;gap:4px;margin:0;font-size:13px;display:grid}.log-filters select,.log-filters input,.manager-header select{border:1px solid var(--line);width:100%;min-width:0;min-height:44px;color:var(--ink);background:var(--tile);font:inherit;border-radius:10px;margin:0;padding:8px}.log-filters button{min-height:44px}.manager-header select{width:auto}.message-row{gap:8px;display:grid}.message-row audio{width:100%}.message-row button{justify-self:start}[hidden]{display:none!important}.password-help{margin-top:8px;font-size:14px}.password-help summary{min-height:40px;color:var(--accent);cursor:pointer;border-radius:6px;align-items:center;gap:9px;padding:6px 2px;font-weight:500;list-style:none;display:inline-flex}.password-help summary::-webkit-details-marker{display:none}.password-help summary:after{content:"";border:1.5px solid;border-width:0 1.5px 1.5px 0;width:6px;height:6px;margin-top:-3px;transform:rotate(45deg)}.password-help[open] summary:after{margin-top:3px;transform:rotate(225deg)}.password-help summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.password-help p{max-width:100%;color:var(--muted);background:var(--fill);overflow-wrap:anywhere;border-radius:12px;margin:6px 0 0;padding:12px 14px;font-size:13px;line-height:1.7}
