:root {
	--ink: #20302a;
	--muted: #76817b;
	--subtle: #a2aaa5;
	--line: #e8ece8;
	--canvas: #f4f6f3;
	--paper: #fff;
	--green: #315c4c;
	--green-deep: #214637;
	--green-soft: #e8f1ec;
	--green-pale: #f3f8f5;
	--mint: #a8c9b4;
	--amber: #b47a34;
	--shadow: 0 12px 40px rgba(36, 58, 46, .055);
	font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--canvas);
	color: var(--ink);
	font-size: 14px;
	-webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(73, 132, 102, .3); outline-offset: 2px; }
a { color: inherit; }
svg { display: block; }

.brand-lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-lockup > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.brand-lockup strong { color: #f8fbf8; font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 800; letter-spacing: -.045em; }
.brand-lockup small { color: rgba(240, 249, 243, .63); font-size: 11px; font-weight: 500; letter-spacing: .035em; }
.brand-symbol { width: 34px; height: 34px; display: flex; justify-content: center; align-items: end; gap: 3px; padding: 7px; border: 1px solid rgba(238, 249, 241, .3); border-radius: 11px; background: rgba(236, 248, 239, .08); }
.brand-symbol span { width: 4px; border-radius: 5px 5px 2px 2px; background: #d4e9da; }
.brand-symbol span:nth-child(1) { height: 9px; opacity: .74; }
.brand-symbol span:nth-child(2) { height: 15px; }
.brand-symbol span:nth-child(3) { height: 11px; opacity: .86; }
.eyebrow { color: #7f8e85; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.muted { color: var(--muted); }

/* Login */
.login-shell { min-height: 100vh; background: #fff; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .95fr) minmax(460px, 1.05fr); }
.login-left { min-height: 100vh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; padding: 38px 7.3%; color: #fff; background: linear-gradient(153deg, #244b3b 0%, #2c5c48 48%, #183d30 100%); }
.login-left::before, .login-left::after { content: ""; position: absolute; border: 1px solid rgba(222, 242, 228, .1); border-radius: 50%; pointer-events: none; }
.login-left::before { width: 640px; height: 640px; right: -335px; top: 13%; box-shadow: 0 0 0 42px rgba(227, 245, 232, .025), 0 0 0 90px rgba(227, 245, 232, .02); }
.login-left::after { width: 435px; height: 435px; left: -327px; bottom: -275px; box-shadow: 0 0 0 33px rgba(227, 245, 232, .025), 0 0 0 72px rgba(227, 245, 232, .02); }
.login-copy { position: relative; z-index: 1; max-width: 490px; margin-top: -25px; }
.login-copy .eyebrow { color: #a9c9b4; }
.login-copy h1 { margin: 21px 0 17px; color: #f9fcf9; font-family: "Manrope", sans-serif; font-size: clamp(42px, 5.1vw, 66px); font-weight: 600; letter-spacing: -.065em; line-height: 1.08; }
.login-copy h1 em { color: #c6dfcd; font-style: normal; font-weight: 400; }
.login-copy > p { max-width: 360px; margin: 0; color: rgba(240, 248, 242, .72); font-size: 15px; line-height: 1.8; }
.login-assurance { display: inline-flex; align-items: center; gap: 10px; margin-top: 37px; color: rgba(245, 250, 246, .88); font-size: 12px; }
.assurance-icon { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid rgba(220, 241, 226, .4); border-radius: 50%; color: #d3ead9; font-size: 12px; }
.login-footnote { position: relative; z-index: 1; color: rgba(234, 246, 238, .5); font-size: 11px; letter-spacing: .025em; }
.login-panel { display: grid; place-items: center; padding: 48px 9%; background: #fff; }
.login-panel-inner { width: min(100%, 390px); }
.login-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 28px; border: 1px solid #e8eee9; border-radius: 16px; background: #f7faf7; box-shadow: 0 5px 13px rgba(40, 72, 53, .04); }
.login-icon svg { width: 25px; fill: none; stroke: var(--green); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.login-panel h2 { margin: 10px 0 7px; font-family: "Manrope", sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -.05em; }
.login-panel .muted { margin: 0 0 29px; font-size: 13px; }
.login-form { display: flex; flex-direction: column; }
.login-form label { margin: 15px 0 8px; color: #3f4d45; font-size: 12px; font-weight: 600; }
.input-wrap { position: relative; }
.input-wrap > svg { width: 18px; position: absolute; top: 50%; left: 14px; transform: translateY(-50%); fill: none; stroke: #9aa69e; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.input-wrap input { width: 100%; height: 48px; padding: 0 46px; border: 1px solid #e2e8e3; border-radius: 9px; outline: none; background: #fff; color: #27372e; font-size: 13px; transition: border-color .16s, box-shadow .16s; }
.input-wrap input::placeholder { color: #aab2ac; }
.input-wrap input:focus { border-color: #81a38e; box-shadow: 0 0 0 3px rgba(81, 133, 103, .1); }
.password-toggle { width: 36px; height: 36px; position: absolute; top: 6px; right: 6px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #929e96; cursor: pointer; }
.password-toggle:hover { background: #f2f6f3; color: var(--green); }
.password-toggle svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 9px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.button:active:not(:disabled) { transform: translateY(1px); }
.button:disabled { opacity: .52; cursor: not-allowed; }
.button-primary { color: #fff; background: var(--green); box-shadow: 0 5px 12px rgba(46, 94, 71, .13); }
.button-primary:hover:not(:disabled) { background: #274f3d; box-shadow: 0 8px 17px rgba(46, 94, 71, .2); }
.button-primary svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button-login { width: 100%; justify-content: space-between; margin-top: 28px; padding: 0 17px; }
.button-login span { margin-left: auto; }
.button-login svg { margin-left: auto; }
.login-security { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 25px; color: #89968e; font-size: 11px; }
.login-security svg { width: 15px; fill: none; stroke: #789281; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.mobile-brand { display: none; }
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; line-height: 1.55; }
.alert strong { font-size: 12px; }
.alert code { font-size: 11px; }
.alert-dot { width: 7px; height: 7px; flex: 0 0 7px; margin-top: 5px; border-radius: 50%; background: currentColor; }
.alert-error { margin: 16px 0; border-color: #f1d5d0; background: #fff8f6; color: #9e493d; }
.alert-warning { border-color: #f0dfc5; background: #fffaf1; color: #8a642b; }
.alert-success { border-color: #d2e9d8; background: #f2faf4; color: #346546; }

/* Application shell */
.app-layout { min-height: 100vh; }
.sidebar { width: 248px; position: fixed; inset: 0 auto 0 0; z-index: 5; display: flex; flex-direction: column; padding: 25px 17px 17px; background: #254b3b; color: #fff; }
.sidebar .brand-lockup { padding: 4px 8px 30px; }
.sidebar-group-label { padding: 0 11px; color: rgba(225, 241, 230, .43); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.side-nav { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; }
.side-link { min-height: 44px; position: relative; display: flex; align-items: center; gap: 12px; padding: 0 11px; border-radius: 8px; color: rgba(244, 250, 246, .66); font-size: 12px; font-weight: 500; text-decoration: none; transition: background .16s, color .16s; }
.side-link:hover { background: rgba(239, 249, 242, .07); color: #fff; }
.side-link.active { background: rgba(237, 247, 240, .12); color: #fff; font-weight: 600; }
.nav-icon { width: 19px; height: 19px; display: grid; place-items: center; }
.nav-icon svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.nav-current { width: 4px; height: 19px; position: absolute; left: -17px; border-radius: 0 5px 5px 0; background: #b5d3bd; }
.sidebar-bottom { margin-top: auto; }
.sidebar-support { min-height: 146px; position: relative; overflow: hidden; margin: 0 3px 17px; padding: 18px 16px; border: 1px solid rgba(236, 248, 240, .1); border-radius: 11px; background: linear-gradient(137deg, rgba(218, 238, 223, .12), rgba(216, 237, 223, .035)); }
.support-orbit { width: 78px; height: 78px; position: absolute; right: -19px; top: -26px; border: 1px solid rgba(226, 244, 231, .16); border-radius: 50%; box-shadow: 0 0 0 14px rgba(227, 244, 232, .04), 0 0 0 29px rgba(227, 244, 232, .025); }
.support-orbit span { width: 7px; height: 7px; position: absolute; left: 15px; bottom: 14px; border-radius: 50%; background: #bfdcc7; }
.sidebar-support strong { position: relative; z-index: 1; display: block; color: #f4faf5; font-family: "Manrope", sans-serif; font-size: 14px; line-height: 1.4; letter-spacing: -.03em; }
.sidebar-support p { position: relative; z-index: 1; margin: 8px 0 0; color: rgba(235, 246, 238, .6); font-size: 10px; }
.sidebar-user { display: flex; align-items: center; gap: 10px; min-height: 55px; padding: 10px 6px 0; border-top: 1px solid rgba(234, 245, 237, .12); }
.avatar { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border: 1px solid rgba(234, 247, 237, .22); border-radius: 50%; background: rgba(227, 244, 232, .13); color: #e0f0e4; font-family: "Manrope", sans-serif; font-size: 12px; font-weight: 700; }
.user-meta { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
.user-meta strong { overflow: hidden; color: #f5faf6; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.user-meta small { color: rgba(235, 246, 238, .53); font-size: 10px; }
.logout-form { margin: 0; }
.icon-button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: rgba(233, 246, 237, .64); cursor: pointer; }
.icon-button:hover { background: rgba(239, 249, 242, .1); color: white; }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.main-content { min-height: 100vh; margin-left: 248px; }
.topbar { height: 67px; display: flex; align-items: center; justify-content: space-between; padding: 0 42px; border-bottom: 1px solid #e9ede9; background: rgba(255, 255, 255, .83); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #9aa49d; font-size: 11px; }
.breadcrumb svg { width: 13px; fill: none; stroke: #aab3ad; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.breadcrumb strong { color: #4c5c52; font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.provider-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #deebe1; border-radius: 20px; background: #f6faf6; color: #527660; font-size: 10px; font-weight: 600; }
.provider-status.is-missing { border-color: #f0dfc5; background: #fffaf1; color: #8a642b; }
.status-light { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #69a47a; box-shadow: 0 0 0 3px rgba(105, 164, 122, .12); }
.is-missing .status-light { background: #c28a3c; box-shadow: 0 0 0 3px rgba(194, 138, 60, .12); }
.topbar-date { display: flex; align-items: center; gap: 7px; color: #89958d; font-size: 10px; }
.date-dot { width: 5px; height: 5px; border-radius: 50%; background: #b6c4ba; }
.content-wrap { width: min(100%, 1440px); margin: 0 auto; padding: 34px 42px 21px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.page-heading .eyebrow { margin-bottom: 8px; }
.page-heading h1 { margin: 0; color: #24352c; font-family: "Manrope", sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -.055em; }
.page-heading h1 span { color: #789080; font-weight: 500; }
.page-heading p { margin: 8px 0 0; color: #7f8b83; font-size: 12px; }
.heading-mark { width: 70px; height: 63px; position: relative; display: grid; place-items: center; margin-right: 5px; border: 1px solid #e1eae3; border-radius: 14px; background: #eef5f0; color: #49705a; }
.heading-mark > span { position: absolute; z-index: 1; left: 9px; bottom: 8px; padding: 3px 5px; border: 1px solid #d6e6da; border-radius: 4px; background: #f8fbf8; color: #527760; font-size: 8px; font-weight: 700; letter-spacing: .04em; }
.heading-mark svg { width: 34px; margin: -7px 0 0 8px; fill: none; stroke: #73977d; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.page-alert { margin: -8px 0 17px; }

/* Overview cards */
.overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 18px; }
.overview-card { min-height: 96px; position: relative; display: flex; align-items: center; gap: 13px; overflow: hidden; padding: 16px 17px; border: 1px solid #e8ece8; border-radius: 11px; background: var(--paper); box-shadow: 0 3px 10px rgba(39, 59, 47, .018); }
.overview-card-highlight { border-color: #deeadf; background: linear-gradient(112deg, #fff 15%, #fbfdfb); }
.overview-icon { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; border-radius: 10px; }
.overview-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.green-icon { background: #e8f2eb; color: #507c60; }
.lavender-icon { background: #f0eef8; color: #77709e; }
.amber-icon { background: #f9f1e6; color: #ae7a38; }
.overview-copy { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.overview-copy > span { color: #8d9891; font-size: 10px; font-weight: 500; }
.overview-copy > strong { color: #34463a; font-family: "Manrope", sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -.045em; line-height: 1.15; }
.overview-copy > small { color: #a0aaa3; font-size: 9px; }
.overview-copy .unit { color: #839188; font-family: "DM Sans", sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0; }
.overview-copy .sender-value { overflow: hidden; max-width: 180px; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.overview-sparkline { height: 39px; position: absolute; right: 16px; bottom: 14px; display: flex; align-items: end; gap: 4px; opacity: .5; }
.overview-sparkline i { width: 4px; border-radius: 4px; background: #9fc7a8; }
.overview-sparkline i:nth-child(1) { height: 12px; }.overview-sparkline i:nth-child(2) { height: 18px; }.overview-sparkline i:nth-child(3) { height: 15px; }.overview-sparkline i:nth-child(4) { height: 27px; }.overview-sparkline i:nth-child(5) { height: 20px; }.overview-sparkline i:nth-child(6) { height: 31px; }.overview-sparkline i:nth-child(7) { height: 24px; }.overview-sparkline i:nth-child(8) { height: 35px; }

/* Composer */
.composer-card { padding: 21px 23px 0; border: 1px solid #e6ebe6; border-radius: 12px; background: #fff; box-shadow: var(--shadow); scroll-margin-top: 18px; }
.section-heading { display: flex; align-items: center; gap: 13px; padding-bottom: 19px; border-bottom: 1px solid #edf0ed; }
.section-number { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #dce8de; border-radius: 9px; background: #f3f8f4; color: #52775d; font-size: 10px; font-weight: 700; }
.section-heading h2, .history-heading h2 { margin: 0; color: #2c3b32; font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: -.035em; }
.section-heading p { margin: 4px 0 0; color: #929d95; font-size: 10px; }
.secure-label { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: #738c7a; font-size: 10px; font-weight: 500; }
.secure-label svg { width: 15px; fill: none; stroke: #78927f; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.composer-grid { display: grid; grid-template-columns: minmax(250px, .91fr) minmax(300px, 1.09fr); gap: 23px; padding: 19px 0 22px; }
.field-heading { display: flex; align-items: center; justify-content: space-between; min-height: 18px; }
.field-heading label { color: #3f4c43; font-size: 11px; font-weight: 700; }
.text-button { padding: 2px 0; border: 0; background: transparent; color: #79917f; font-size: 10px; font-weight: 600; cursor: pointer; }
.text-button:hover { color: var(--green-deep); }
.field-hint { min-height: 15px; margin: 4px 0 10px; color: #9aa49d; font-size: 9px; }
.textarea-frame { min-height: 210px; display: flex; overflow: hidden; border: 1px solid #e4eae5; border-radius: 8px; background: #fbfcfb; transition: border .15s, box-shadow .15s; }
.textarea-frame:focus-within { border-color: #a6c1ad; box-shadow: 0 0 0 3px rgba(91, 141, 104, .09); }
.textarea-gutter { width: 40px; flex: 0 0 40px; display: flex; flex-direction: column; gap: 8px; padding: 14px 10px 0 0; border-right: 1px solid #edf0ed; color: #c1c9c2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; text-align: right; }
.textarea-frame textarea { width: 100%; min-height: 208px; resize: vertical; padding: 14px 12px; border: 0; outline: 0; background: transparent; color: #435148; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; line-height: 1.85; }
.textarea-frame textarea::placeholder { color: #b2bdb5; }
.textarea-frame textarea:focus-visible { outline: none; }
.recipient-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.recipient-state { display: inline-flex; align-items: center; gap: 7px; color: #98a39b; font-size: 9px; }
.recipient-state .status-light { width: 5px; height: 5px; background: #bcc8be; box-shadow: none; }
.recipient-state.has-valid { color: #568064; }
.recipient-state.has-valid .status-light { background: #68a47a; box-shadow: 0 0 0 3px rgba(105, 164, 122, .12); }
.recipient-state.has-invalid { color: #ac624d; }
.recipient-state.has-invalid .status-light { background: #c67c61; box-shadow: 0 0 0 3px rgba(198, 124, 97, .12); }
.separator-note { color: #aab3ac; font-size: 9px; }
.upload-hint { display: flex; align-items: center; gap: 9px; margin-top: 17px; padding: 11px 12px; border: 1px dashed #dce6de; border-radius: 8px; background: #fafcfb; }
.upload-icon { width: 25px; height: 25px; display: grid; flex: 0 0 25px; place-items: center; border: 1px solid #e6eee7; border-radius: 7px; background: #fff; color: #7f9a85; }
.upload-icon svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.upload-hint span:last-child { display: flex; flex-direction: column; gap: 3px; }
.upload-hint strong { color: #65746a; font-size: 9px; font-weight: 600; }
.upload-hint small { color: #9da8a0; font-size: 8px; }
.encoding-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border: 1px solid #e2ece4; border-radius: 20px; background: #f7faf7; color: #6f8e77; font-size: 9px; font-weight: 600; }
.encoding-pill span { width: 5px; height: 5px; border-radius: 50%; background: #83ad8d; }
.delivery-setting { display: grid; grid-template-columns: 72px minmax(130px, 1fr) auto; align-items: center; gap: 8px; margin: -1px 0 9px; padding: 7px 9px; border: 1px solid #edf1ed; border-radius: 7px; background: #fbfcfb; }
.delivery-setting label { color: #7d8981; font-size: 9px; font-weight: 600; }
.delivery-setting select { width: 100%; min-width: 0; height: 28px; padding: 0 8px; border: 1px solid #e5ebe6; border-radius: 6px; background: #fff; color: #59675e; font-size: 9px; outline: 0; }
.delivery-setting select:focus { border-color: #a6c1ad; box-shadow: 0 0 0 2px rgba(91, 141, 104, .08); }
.delivery-setting > span { color: #a1aaa3; font-size: 8px; white-space: nowrap; }
.message-editor { overflow: hidden; border: 1px solid #e4eae5; border-radius: 8px; background: #fff; transition: border .15s, box-shadow .15s; }
.message-editor:focus-within { border-color: #a6c1ad; box-shadow: 0 0 0 3px rgba(91, 141, 104, .09); }
.editor-toolbar { height: 33px; display: flex; align-items: center; gap: 4px; padding: 0 11px; border-bottom: 1px solid #edf0ed; background: #fafbfa; }
.editor-dot { width: 6px; height: 6px; border-radius: 50%; background: #d4ddd6; }
.editor-dot:first-child { background: #c6d9ca; }
.editor-label { margin-left: 7px; color: #a0aaa3; font-size: 9px; }
.editor-live { display: flex; align-items: center; gap: 5px; margin-left: auto; color: #96a29a; font-size: 8px; }
.editor-live span { width: 5px; height: 5px; border-radius: 50%; background: #85b291; }
.message-editor textarea { width: 100%; min-height: 139px; display: block; resize: vertical; padding: 14px; border: 0; outline: none; background: transparent; color: #35443a; font-size: 11px; line-height: 1.75; }
.message-editor textarea::placeholder { color: #b2bbb4; }
.message-editor textarea:focus-visible { outline: none; }
.message-footer { height: 31px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border-top: 1px solid #edf0ed; color: #a0aaa3; font-size: 8px; }
.message-footer strong { color: #7d8a81; font-size: 9px; font-weight: 600; }
.counter-divider { margin: 0 4px; color: #c1c9c2; font-weight: 400; }
.preview-box { margin-top: 13px; padding: 10px 11px 11px; border: 1px solid #edf0ed; border-radius: 8px; background: #fbfcfb; }
.preview-caption { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: #9aa49d; font-size: 8px; font-weight: 600; letter-spacing: .08em; }
.preview-caption span:last-child { max-width: 100px; overflow: hidden; font-size: 8px; letter-spacing: .025em; text-overflow: ellipsis; white-space: nowrap; }
.phone-preview { width: min(100%, 270px); position: relative; min-height: 71px; padding: 9px 11px 17px; border: 1px solid #e4eae5; border-radius: 10px 10px 10px 3px; background: #fff; box-shadow: 0 2px 4px rgba(38, 56, 44, .025); }
.phone-speaker { width: 23px; height: 3px; margin: 0 auto 7px; border-radius: 4px; background: #e3e9e4; }
.phone-message { color: #5c6b61; font-size: 9px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-line; }
.preview-time { position: absolute; right: 9px; bottom: 5px; color: #a9b2ab; font-size: 7px; }
.composer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 -23px; padding: 13px 23px; border-top: 1px solid #edf0ed; background: #fcfdfc; border-radius: 0 0 12px 12px; }
.send-summary { display: flex; align-items: center; gap: 9px; }
.summary-check { width: 27px; height: 27px; display: grid; flex: 0 0 27px; place-items: center; border: 1px solid #e0eae1; border-radius: 50%; background: #f3f8f4; color: #679074; }
.summary-check svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.send-summary > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.send-summary strong { color: #65746a; font-size: 9px; font-weight: 600; }
.send-summary small { color: #9ca79f; font-size: 8px; }
.send-button { min-height: 39px; padding: 0 14px; border-radius: 7px; font-size: 10px; }
.send-button svg { width: 15px; }

/* History */
.history-section { padding-top: 31px; scroll-margin-top: 20px; }
.history-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 13px; }
.history-heading .eyebrow { margin-bottom: 6px; }
.history-heading h2 { font-size: 17px; }
.history-heading p { margin: 5px 0 0; color: #89958d; font-size: 10px; }
.history-link { display: inline-flex; align-items: center; gap: 7px; padding: 5px 0; color: #6b8973; font-size: 10px; font-weight: 600; text-decoration: none; }
.history-link:hover { color: #315c4c; }
.history-link svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.history-card { overflow: hidden; border: 1px solid #e7ece7; border-radius: 10px; background: #fff; box-shadow: 0 5px 18px rgba(39, 59, 47, .025); }
.history-table-head, .history-row { display: grid; grid-template-columns: minmax(180px, 1fr) 90px 110px 120px; align-items: center; gap: 16px; }
.history-table-head { min-height: 36px; padding: 0 17px; border-bottom: 1px solid #eef1ee; background: #fafbfa; color: #a0aaa3; font-size: 8px; font-weight: 700; letter-spacing: .09em; }
.history-row { min-height: 57px; padding: 7px 17px; border-bottom: 1px solid #f0f2f0; }
.history-row:last-child { border-bottom: 0; }
.history-message { min-width: 0; display: flex; align-items: center; gap: 9px; color: #59675e; font-size: 10px; }
.history-message > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-type-icon { width: 27px; height: 27px; display: grid; flex: 0 0 27px; place-items: center; border-radius: 8px; background: #f0f6f1; color: #72917a; }
.message-type-icon svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.history-recipient { display: flex; align-items: baseline; gap: 4px; }
.history-recipient strong { color: #44554a; font-size: 10px; font-weight: 700; }
.history-recipient small { color: #9ca69f; font-size: 9px; }
.history-date { color: #89958d; font-size: 9px; }
.history-status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid #e1ece3; border-radius: 20px; background: #f7fbf7; color: #688570; font-size: 8px; font-weight: 600; white-space: nowrap; }
.history-status span { width: 5px; height: 5px; border-radius: 50%; background: #75a381; }
.history-empty { display: flex; flex-direction: column; align-items: center; padding: 27px 15px 29px; text-align: center; }
.empty-icon { width: 37px; height: 37px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 11px; background: #f3f7f4; color: #789580; }
.empty-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.history-empty strong { color: #66756b; font-family: "Manrope", sans-serif; font-size: 11px; }
.history-empty p { margin: 5px 0 0; color: #a2aca4; font-size: 9px; }
.page-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; color: #a1aba4; font-size: 9px; }
.page-footer > span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.footer-status { width: 5px; height: 5px; border-radius: 50%; background: #81aa89; }

@media (max-width: 1160px) {
	.sidebar { width: 220px; }
	.main-content { margin-left: 220px; }
	.topbar { padding: 0 28px; }
	.content-wrap { padding: 30px 28px 20px; }
	.composer-grid { gap: 17px; }
	.overview-card { padding: 14px 13px; gap: 10px; }
	.overview-sparkline { right: 10px; }
}

@media (max-width: 900px) {
	.login-layout { grid-template-columns: minmax(300px, .75fr) minmax(400px, 1.25fr); }
	.login-left { padding: 32px 7%; }
	.login-copy h1 { font-size: clamp(38px, 5.5vw, 52px); }
	.sidebar { width: 70px; align-items: center; padding: 22px 10px 14px; }
	.sidebar .brand-lockup { padding: 4px 0 30px; }
	.sidebar .brand-lockup > div:last-child, .sidebar-group-label, .side-link > span:not(.nav-icon):not(.nav-current), .sidebar-support, .user-meta, .logout-form { display: none; }
	.side-nav { width: 100%; }
	.side-link { justify-content: center; padding: 0; }
	.nav-current { left: -10px; }
	.sidebar-user { justify-content: center; width: 100%; padding: 10px 0 0; }
	.main-content { margin-left: 70px; }
	.topbar { padding: 0 22px; }
	.content-wrap { padding: 28px 22px 18px; }
	.composer-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
}

@media (max-width: 700px) {
	.login-layout { display: flex; flex-direction: column; }
	.login-left { display: none; }
	.login-panel { min-height: 100vh; align-content: start; grid-template-rows: auto 1fr; padding: 22px 24px 35px; }
	.login-panel .mobile-brand { display: flex; align-self: start; width: 100%; margin-bottom: 50px; padding: 8px 0; }
	.login-panel .mobile-brand strong { color: #274b39; }
	.login-panel .mobile-brand small { color: #84958a; }
	.login-panel .brand-symbol { border-color: #dae7dc; background: #f3f8f4; }
	.login-panel .brand-symbol span { background: #4b7658; }
	.login-panel-inner { align-self: start; width: min(100%, 410px); margin: 0 auto; }
	.login-icon { margin-bottom: 22px; }
	.login-panel h2 { font-size: 26px; }
	.topbar { height: 59px; padding: 0 17px; }
	.breadcrumb { display: none; }
	.topbar .mobile-brand { display: flex; }
	.topbar .mobile-brand strong { color: #284d3b; font-size: 13px; }
	.topbar .mobile-brand small { color: #829187; font-size: 9px; }
	.topbar .brand-symbol { width: 30px; height: 30px; border-color: #dce8de; background: #f2f7f3; }
	.topbar .brand-symbol span { background: #50795d; }
	.topbar-right { gap: 0; }
	.provider-status { padding: 6px 8px; font-size: 9px; }
	.topbar-date { display: none; }
	.content-wrap { padding: 24px 16px 18px; }
	.page-heading { align-items: start; margin-bottom: 19px; }
	.page-heading h1 { font-size: 24px; }
	.page-heading p { max-width: 340px; font-size: 11px; line-height: 1.6; }
	.heading-mark { width: 51px; height: 49px; flex: 0 0 51px; margin-left: 12px; border-radius: 11px; }
	.heading-mark svg { width: 27px; }
	.heading-mark > span { left: 6px; bottom: 5px; font-size: 7px; }
	.overview-grid { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
	.overview-card { min-height: 81px; gap: 9px; padding: 11px 10px; border-radius: 9px; }
	.overview-card:last-child { grid-column: 1 / -1; min-height: 71px; }
	.overview-icon { width: 32px; height: 32px; flex-basis: 32px; border-radius: 8px; }
	.overview-icon svg { width: 17px; }
	.overview-copy > span { font-size: 9px; }
	.overview-copy > strong { font-size: 18px; }
	.overview-copy > small { font-size: 8px; }
	.overview-copy .sender-value { max-width: 190px; font-size: 16px; }
	.overview-sparkline { height: 29px; right: 9px; bottom: 11px; gap: 3px; }
	.overview-sparkline i { width: 3px; }
	.overview-sparkline i:nth-child(1) { height: 9px; }.overview-sparkline i:nth-child(2) { height: 14px; }.overview-sparkline i:nth-child(3) { height: 12px; }.overview-sparkline i:nth-child(4) { height: 20px; }.overview-sparkline i:nth-child(5) { height: 16px; }.overview-sparkline i:nth-child(6) { height: 23px; }.overview-sparkline i:nth-child(7) { height: 18px; }.overview-sparkline i:nth-child(8) { height: 27px; }
	.composer-card { padding: 16px 14px 0; border-radius: 10px; }
	.section-heading { gap: 9px; padding-bottom: 14px; }
	.section-number { width: 29px; height: 29px; flex: 0 0 29px; font-size: 9px; }
	.section-heading h2 { font-size: 13px; }
	.section-heading p { max-width: 220px; font-size: 9px; line-height: 1.45; }
	.secure-label { align-self: start; gap: 4px; padding-top: 3px; font-size: 8px; white-space: nowrap; }
	.secure-label svg { width: 13px; }
	.composer-grid { grid-template-columns: 1fr; gap: 23px; padding: 16px 0 18px; }
	.field-heading label { font-size: 10px; }
	.field-hint { font-size: 8px; }
	.delivery-setting { grid-template-columns: 65px minmax(0, 1fr); gap: 6px; }
	.delivery-setting > span { grid-column: 2; white-space: normal; }
	.textarea-frame { min-height: 175px; }
	.textarea-frame textarea { min-height: 173px; }
	.upload-hint { margin-top: 12px; }
	.message-editor textarea { min-height: 118px; }
	.preview-box { padding: 9px; }
	.composer-bottom { align-items: stretch; flex-direction: column; margin: 0 -14px; padding: 13px 14px; }
	.send-summary { align-items: flex-start; }
	.send-button { width: 100%; justify-content: center; }
	.history-section { padding-top: 25px; }
	.history-heading { align-items: start; gap: 10px; }
	.history-heading h2 { font-size: 15px; }
	.history-heading p { max-width: 220px; font-size: 9px; }
	.history-link { gap: 4px; font-size: 9px; white-space: nowrap; }
	.history-table-head { display: none; }
	.history-row { grid-template-columns: minmax(0, 1fr) auto; gap: 7px; min-height: 68px; padding: 10px 12px; }
	.history-message { grid-column: 1 / 2; font-size: 9px; }
	.history-recipient { grid-column: 2; grid-row: 1; justify-self: end; }
	.history-date { grid-column: 1; margin-left: 36px; font-size: 8px; }
	.history-row > div:last-child { grid-column: 2; grid-row: 2; justify-self: end; }
	.history-status { padding: 4px 6px; font-size: 7px; }
	.page-footer { margin-top: 16px; font-size: 8px; }
}

@media (max-width: 380px) {
	.provider-status { font-size: 8px; }
	.page-heading h1 { font-size: 21px; }
	.heading-mark { display: none; }
	.section-heading p { max-width: 170px; }
	.secure-label { font-size: 0; }
	.secure-label svg { width: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
